@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
|
@@ -2232,6 +2232,45 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
2232
2232
|
};
|
|
2233
2233
|
Relationships: [];
|
|
2234
2234
|
};
|
|
2235
|
+
customer_product_stickers: {
|
|
2236
|
+
Row: {
|
|
2237
|
+
created_at: string;
|
|
2238
|
+
customer_key: string;
|
|
2239
|
+
file_name: string;
|
|
2240
|
+
file_path: string;
|
|
2241
|
+
file_size: number | null;
|
|
2242
|
+
id: string;
|
|
2243
|
+
mime_type: string | null;
|
|
2244
|
+
trade_item_key: string;
|
|
2245
|
+
updated_at: string;
|
|
2246
|
+
uploaded_by: string | null;
|
|
2247
|
+
};
|
|
2248
|
+
Insert: {
|
|
2249
|
+
created_at?: string;
|
|
2250
|
+
customer_key: string;
|
|
2251
|
+
file_name: string;
|
|
2252
|
+
file_path: string;
|
|
2253
|
+
file_size?: number | null;
|
|
2254
|
+
id?: string;
|
|
2255
|
+
mime_type?: string | null;
|
|
2256
|
+
trade_item_key: string;
|
|
2257
|
+
updated_at?: string;
|
|
2258
|
+
uploaded_by?: string | null;
|
|
2259
|
+
};
|
|
2260
|
+
Update: {
|
|
2261
|
+
created_at?: string;
|
|
2262
|
+
customer_key?: string;
|
|
2263
|
+
file_name?: string;
|
|
2264
|
+
file_path?: string;
|
|
2265
|
+
file_size?: number | null;
|
|
2266
|
+
id?: string;
|
|
2267
|
+
mime_type?: string | null;
|
|
2268
|
+
trade_item_key?: string;
|
|
2269
|
+
updated_at?: string;
|
|
2270
|
+
uploaded_by?: string | null;
|
|
2271
|
+
};
|
|
2272
|
+
Relationships: [];
|
|
2273
|
+
};
|
|
2235
2274
|
customer_selected_assortment: {
|
|
2236
2275
|
Row: {
|
|
2237
2276
|
article_number: string | null;
|
|
@@ -2280,6 +2319,30 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
2280
2319
|
referencedColumns: ["id"];
|
|
2281
2320
|
}];
|
|
2282
2321
|
};
|
|
2322
|
+
customer_sticker_settings: {
|
|
2323
|
+
Row: {
|
|
2324
|
+
created_at: string;
|
|
2325
|
+
customer_key: string;
|
|
2326
|
+
height_mm: number;
|
|
2327
|
+
updated_at: string;
|
|
2328
|
+
width_mm: number;
|
|
2329
|
+
};
|
|
2330
|
+
Insert: {
|
|
2331
|
+
created_at?: string;
|
|
2332
|
+
customer_key: string;
|
|
2333
|
+
height_mm?: number;
|
|
2334
|
+
updated_at?: string;
|
|
2335
|
+
width_mm?: number;
|
|
2336
|
+
};
|
|
2337
|
+
Update: {
|
|
2338
|
+
created_at?: string;
|
|
2339
|
+
customer_key?: string;
|
|
2340
|
+
height_mm?: number;
|
|
2341
|
+
updated_at?: string;
|
|
2342
|
+
width_mm?: number;
|
|
2343
|
+
};
|
|
2344
|
+
Relationships: [];
|
|
2345
|
+
};
|
|
2283
2346
|
customer_trade_settings: {
|
|
2284
2347
|
Row: {
|
|
2285
2348
|
category: string;
|
|
@@ -5610,6 +5673,102 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
5610
5673
|
referencedColumns: ["id"];
|
|
5611
5674
|
}];
|
|
5612
5675
|
};
|
|
5676
|
+
floriday_api_log: {
|
|
5677
|
+
Row: {
|
|
5678
|
+
action: string | null;
|
|
5679
|
+
caller: string | null;
|
|
5680
|
+
connection_id: string | null;
|
|
5681
|
+
created_at: string;
|
|
5682
|
+
cursor_from: number | null;
|
|
5683
|
+
direction: string;
|
|
5684
|
+
duration_ms: number | null;
|
|
5685
|
+
environment: string | null;
|
|
5686
|
+
error: string | null;
|
|
5687
|
+
floriday_id: string | null;
|
|
5688
|
+
floriday_reference: string | null;
|
|
5689
|
+
http_status: number;
|
|
5690
|
+
id: string;
|
|
5691
|
+
item_count: number | null;
|
|
5692
|
+
kind: string | null;
|
|
5693
|
+
local_id: string | null;
|
|
5694
|
+
local_reference: string | null;
|
|
5695
|
+
method: string;
|
|
5696
|
+
module: string | null;
|
|
5697
|
+
ok: boolean;
|
|
5698
|
+
path: string;
|
|
5699
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5700
|
+
resource_type: string | null;
|
|
5701
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5702
|
+
write_log_id: string | null;
|
|
5703
|
+
};
|
|
5704
|
+
Insert: {
|
|
5705
|
+
action?: string | null;
|
|
5706
|
+
caller?: string | null;
|
|
5707
|
+
connection_id?: string | null;
|
|
5708
|
+
created_at?: string;
|
|
5709
|
+
cursor_from?: number | null;
|
|
5710
|
+
direction: string;
|
|
5711
|
+
duration_ms?: number | null;
|
|
5712
|
+
environment?: string | null;
|
|
5713
|
+
error?: string | null;
|
|
5714
|
+
floriday_id?: string | null;
|
|
5715
|
+
floriday_reference?: string | null;
|
|
5716
|
+
http_status?: number;
|
|
5717
|
+
id?: string;
|
|
5718
|
+
item_count?: number | null;
|
|
5719
|
+
kind?: string | null;
|
|
5720
|
+
local_id?: string | null;
|
|
5721
|
+
local_reference?: string | null;
|
|
5722
|
+
method: string;
|
|
5723
|
+
module?: string | null;
|
|
5724
|
+
ok?: boolean;
|
|
5725
|
+
path: string;
|
|
5726
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5727
|
+
resource_type?: string | null;
|
|
5728
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5729
|
+
write_log_id?: string | null;
|
|
5730
|
+
};
|
|
5731
|
+
Update: {
|
|
5732
|
+
action?: string | null;
|
|
5733
|
+
caller?: string | null;
|
|
5734
|
+
connection_id?: string | null;
|
|
5735
|
+
created_at?: string;
|
|
5736
|
+
cursor_from?: number | null;
|
|
5737
|
+
direction?: string;
|
|
5738
|
+
duration_ms?: number | null;
|
|
5739
|
+
environment?: string | null;
|
|
5740
|
+
error?: string | null;
|
|
5741
|
+
floriday_id?: string | null;
|
|
5742
|
+
floriday_reference?: string | null;
|
|
5743
|
+
http_status?: number;
|
|
5744
|
+
id?: string;
|
|
5745
|
+
item_count?: number | null;
|
|
5746
|
+
kind?: string | null;
|
|
5747
|
+
local_id?: string | null;
|
|
5748
|
+
local_reference?: string | null;
|
|
5749
|
+
method?: string;
|
|
5750
|
+
module?: string | null;
|
|
5751
|
+
ok?: boolean;
|
|
5752
|
+
path?: string;
|
|
5753
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5754
|
+
resource_type?: string | null;
|
|
5755
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5756
|
+
write_log_id?: string | null;
|
|
5757
|
+
};
|
|
5758
|
+
Relationships: [{
|
|
5759
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5760
|
+
columns: ["connection_id"];
|
|
5761
|
+
isOneToOne: false;
|
|
5762
|
+
referencedRelation: "floriday_connections";
|
|
5763
|
+
referencedColumns: ["id"];
|
|
5764
|
+
}, {
|
|
5765
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5766
|
+
columns: ["write_log_id"];
|
|
5767
|
+
isOneToOne: false;
|
|
5768
|
+
referencedRelation: "floriday_write_log";
|
|
5769
|
+
referencedColumns: ["id"];
|
|
5770
|
+
}];
|
|
5771
|
+
};
|
|
5613
5772
|
floriday_auction_letters_cache: {
|
|
5614
5773
|
Row: {
|
|
5615
5774
|
auction_letter_code: string;
|
|
@@ -6810,6 +6969,69 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
6810
6969
|
referencedColumns: ["id"];
|
|
6811
6970
|
}];
|
|
6812
6971
|
};
|
|
6972
|
+
floriday_link_templates: {
|
|
6973
|
+
Row: {
|
|
6974
|
+
created_at: string;
|
|
6975
|
+
floriday_url_template: string | null;
|
|
6976
|
+
is_active: boolean;
|
|
6977
|
+
label: string;
|
|
6978
|
+
local_url_template: string | null;
|
|
6979
|
+
resource_type: string;
|
|
6980
|
+
updated_at: string;
|
|
6981
|
+
};
|
|
6982
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
7001
|
+
};
|
|
7002
|
+
floriday_log_retention: {
|
|
7003
|
+
Row: {
|
|
7004
|
+
created_at: string;
|
|
7005
|
+
direction: string | null;
|
|
7006
|
+
id: string;
|
|
7007
|
+
keep_failed_days: number | null;
|
|
7008
|
+
keep_ok_days: number | null;
|
|
7009
|
+
note: string | null;
|
|
7010
|
+
resource_type: string | null;
|
|
7011
|
+
updated_at: string;
|
|
7012
|
+
};
|
|
7013
|
+
Insert: {
|
|
7014
|
+
created_at?: string;
|
|
7015
|
+
direction?: string | null;
|
|
7016
|
+
id?: string;
|
|
7017
|
+
keep_failed_days?: number | null;
|
|
7018
|
+
keep_ok_days?: number | null;
|
|
7019
|
+
note?: string | null;
|
|
7020
|
+
resource_type?: string | null;
|
|
7021
|
+
updated_at?: string;
|
|
7022
|
+
};
|
|
7023
|
+
Update: {
|
|
7024
|
+
created_at?: string;
|
|
7025
|
+
direction?: string | null;
|
|
7026
|
+
id?: string;
|
|
7027
|
+
keep_failed_days?: number | null;
|
|
7028
|
+
keep_ok_days?: number | null;
|
|
7029
|
+
note?: string | null;
|
|
7030
|
+
resource_type?: string | null;
|
|
7031
|
+
updated_at?: string;
|
|
7032
|
+
};
|
|
7033
|
+
Relationships: [];
|
|
7034
|
+
};
|
|
6813
7035
|
floriday_logistic_labels_cache: {
|
|
6814
7036
|
Row: {
|
|
6815
7037
|
byte_size: number | null;
|
|
@@ -10935,6 +11157,69 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
10935
11157
|
};
|
|
10936
11158
|
Relationships: [];
|
|
10937
11159
|
};
|
|
11160
|
+
logistics_slip_shipping_note: {
|
|
11161
|
+
Row: {
|
|
11162
|
+
attempts: number;
|
|
11163
|
+
batch_key: string | null;
|
|
11164
|
+
cart_id: string | null;
|
|
11165
|
+
created_at: string;
|
|
11166
|
+
error: string | null;
|
|
11167
|
+
error_code: string | null;
|
|
11168
|
+
fulfillment_order_id: string | null;
|
|
11169
|
+
id: string;
|
|
11170
|
+
locked_until: string | null;
|
|
11171
|
+
next_attempt_at: string | null;
|
|
11172
|
+
order_id: string | null;
|
|
11173
|
+
order_number: string | null;
|
|
11174
|
+
print_job_id: string | null;
|
|
11175
|
+
printer_id: string | null;
|
|
11176
|
+
retry_class: string | null;
|
|
11177
|
+
slip_job_id: string;
|
|
11178
|
+
status: string;
|
|
11179
|
+
updated_at: string;
|
|
11180
|
+
};
|
|
11181
|
+
Insert: {
|
|
11182
|
+
attempts?: number;
|
|
11183
|
+
batch_key?: string | null;
|
|
11184
|
+
cart_id?: string | null;
|
|
11185
|
+
created_at?: string;
|
|
11186
|
+
error?: string | null;
|
|
11187
|
+
error_code?: string | null;
|
|
11188
|
+
fulfillment_order_id?: string | null;
|
|
11189
|
+
id?: string;
|
|
11190
|
+
locked_until?: string | null;
|
|
11191
|
+
next_attempt_at?: string | null;
|
|
11192
|
+
order_id?: string | null;
|
|
11193
|
+
order_number?: string | null;
|
|
11194
|
+
print_job_id?: string | null;
|
|
11195
|
+
printer_id?: string | null;
|
|
11196
|
+
retry_class?: string | null;
|
|
11197
|
+
slip_job_id: string;
|
|
11198
|
+
status?: string;
|
|
11199
|
+
updated_at?: string;
|
|
11200
|
+
};
|
|
11201
|
+
Update: {
|
|
11202
|
+
attempts?: number;
|
|
11203
|
+
batch_key?: string | null;
|
|
11204
|
+
cart_id?: string | null;
|
|
11205
|
+
created_at?: string;
|
|
11206
|
+
error?: string | null;
|
|
11207
|
+
error_code?: string | null;
|
|
11208
|
+
fulfillment_order_id?: string | null;
|
|
11209
|
+
id?: string;
|
|
11210
|
+
locked_until?: string | null;
|
|
11211
|
+
next_attempt_at?: string | null;
|
|
11212
|
+
order_id?: string | null;
|
|
11213
|
+
order_number?: string | null;
|
|
11214
|
+
print_job_id?: string | null;
|
|
11215
|
+
printer_id?: string | null;
|
|
11216
|
+
retry_class?: string | null;
|
|
11217
|
+
slip_job_id?: string;
|
|
11218
|
+
status?: string;
|
|
11219
|
+
updated_at?: string;
|
|
11220
|
+
};
|
|
11221
|
+
Relationships: [];
|
|
11222
|
+
};
|
|
10938
11223
|
logistics_staff_planning: {
|
|
10939
11224
|
Row: {
|
|
10940
11225
|
created_at: string;
|
|
@@ -11286,6 +11571,111 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
11286
11571
|
};
|
|
11287
11572
|
Relationships: [];
|
|
11288
11573
|
};
|
|
11574
|
+
logistics_trace_events: {
|
|
11575
|
+
Row: {
|
|
11576
|
+
actor: string | null;
|
|
11577
|
+
attempts: number;
|
|
11578
|
+
cart_ref: string | null;
|
|
11579
|
+
created_at: string;
|
|
11580
|
+
db_action: string | null;
|
|
11581
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11582
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11583
|
+
db_record: string | null;
|
|
11584
|
+
db_table: string | null;
|
|
11585
|
+
decision: string | null;
|
|
11586
|
+
duration_ms: number | null;
|
|
11587
|
+
error: string | null;
|
|
11588
|
+
external_action: string | null;
|
|
11589
|
+
external_ref: string | null;
|
|
11590
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11591
|
+
external_status: string | null;
|
|
11592
|
+
external_system: string | null;
|
|
11593
|
+
id: string;
|
|
11594
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11595
|
+
next_attempt_at: string | null;
|
|
11596
|
+
order_ref: string | null;
|
|
11597
|
+
order_source: string | null;
|
|
11598
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11599
|
+
phase: string;
|
|
11600
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11601
|
+
reason: string | null;
|
|
11602
|
+
rule: string | null;
|
|
11603
|
+
slip_ref: string | null;
|
|
11604
|
+
status: string;
|
|
11605
|
+
step: string;
|
|
11606
|
+
trace_id: string;
|
|
11607
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
};
|
|
11609
|
+
Insert: {
|
|
11610
|
+
actor?: string | null;
|
|
11611
|
+
attempts?: number;
|
|
11612
|
+
cart_ref?: string | null;
|
|
11613
|
+
created_at?: string;
|
|
11614
|
+
db_action?: string | null;
|
|
11615
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11616
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11617
|
+
db_record?: string | null;
|
|
11618
|
+
db_table?: string | null;
|
|
11619
|
+
decision?: string | null;
|
|
11620
|
+
duration_ms?: number | null;
|
|
11621
|
+
error?: string | null;
|
|
11622
|
+
external_action?: string | null;
|
|
11623
|
+
external_ref?: string | null;
|
|
11624
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
external_status?: string | null;
|
|
11626
|
+
external_system?: string | null;
|
|
11627
|
+
id?: string;
|
|
11628
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11629
|
+
next_attempt_at?: string | null;
|
|
11630
|
+
order_ref?: string | null;
|
|
11631
|
+
order_source?: string | null;
|
|
11632
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11633
|
+
phase: string;
|
|
11634
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11635
|
+
reason?: string | null;
|
|
11636
|
+
rule?: string | null;
|
|
11637
|
+
slip_ref?: string | null;
|
|
11638
|
+
status: string;
|
|
11639
|
+
step: string;
|
|
11640
|
+
trace_id?: string;
|
|
11641
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
};
|
|
11643
|
+
Update: {
|
|
11644
|
+
actor?: string | null;
|
|
11645
|
+
attempts?: number;
|
|
11646
|
+
cart_ref?: string | null;
|
|
11647
|
+
created_at?: string;
|
|
11648
|
+
db_action?: string | null;
|
|
11649
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11650
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11651
|
+
db_record?: string | null;
|
|
11652
|
+
db_table?: string | null;
|
|
11653
|
+
decision?: string | null;
|
|
11654
|
+
duration_ms?: number | null;
|
|
11655
|
+
error?: string | null;
|
|
11656
|
+
external_action?: string | null;
|
|
11657
|
+
external_ref?: string | null;
|
|
11658
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
external_status?: string | null;
|
|
11660
|
+
external_system?: string | null;
|
|
11661
|
+
id?: string;
|
|
11662
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11663
|
+
next_attempt_at?: string | null;
|
|
11664
|
+
order_ref?: string | null;
|
|
11665
|
+
order_source?: string | null;
|
|
11666
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11667
|
+
phase?: string;
|
|
11668
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11669
|
+
reason?: string | null;
|
|
11670
|
+
rule?: string | null;
|
|
11671
|
+
slip_ref?: string | null;
|
|
11672
|
+
status?: string;
|
|
11673
|
+
step?: string;
|
|
11674
|
+
trace_id?: string;
|
|
11675
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11676
|
+
};
|
|
11677
|
+
Relationships: [];
|
|
11678
|
+
};
|
|
11289
11679
|
logistics_variables: {
|
|
11290
11680
|
Row: {
|
|
11291
11681
|
created_at: string;
|
|
@@ -21858,6 +22248,15 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
21858
22248
|
Args: never;
|
|
21859
22249
|
Returns: boolean;
|
|
21860
22250
|
};
|
|
22251
|
+
cancel_open_print_jobs: {
|
|
22252
|
+
Args: {
|
|
22253
|
+
_cutoff: string;
|
|
22254
|
+
};
|
|
22255
|
+
Returns: {
|
|
22256
|
+
extern_job_id: string;
|
|
22257
|
+
id: string;
|
|
22258
|
+
}[];
|
|
22259
|
+
};
|
|
21861
22260
|
check_offer_product_available_stock: {
|
|
21862
22261
|
Args: {
|
|
21863
22262
|
p_campaign_product_id: string;
|
|
@@ -23470,6 +23869,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
23470
23869
|
};
|
|
23471
23870
|
Returns: import("../integrations/supabase/types").Json;
|
|
23472
23871
|
};
|
|
23872
|
+
logistics_cart_plan_status_core: {
|
|
23873
|
+
Args: {
|
|
23874
|
+
p_ref: string;
|
|
23875
|
+
};
|
|
23876
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23877
|
+
};
|
|
23473
23878
|
logistics_cart_release_reason: {
|
|
23474
23879
|
Args: {
|
|
23475
23880
|
p_cart_id: string;
|
|
@@ -23532,6 +23937,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
23532
23937
|
unit_ref: string;
|
|
23533
23938
|
}[];
|
|
23534
23939
|
};
|
|
23940
|
+
logistics_carts_per_print: {
|
|
23941
|
+
Args: never;
|
|
23942
|
+
Returns: number;
|
|
23943
|
+
};
|
|
23535
23944
|
logistics_check_order_allowed: {
|
|
23536
23945
|
Args: {
|
|
23537
23946
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23898,6 +24307,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
23898
24307
|
};
|
|
23899
24308
|
Returns: import("../integrations/supabase/types").Json;
|
|
23900
24309
|
};
|
|
24310
|
+
logistics_ensure_shipping_notes: {
|
|
24311
|
+
Args: {
|
|
24312
|
+
p_limit?: number;
|
|
24313
|
+
};
|
|
24314
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24315
|
+
};
|
|
23901
24316
|
logistics_fail_task: {
|
|
23902
24317
|
Args: {
|
|
23903
24318
|
p_error: string;
|
|
@@ -23943,6 +24358,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
23943
24358
|
isSetofReturn: false;
|
|
23944
24359
|
};
|
|
23945
24360
|
};
|
|
24361
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24362
|
+
Args: never;
|
|
24363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24364
|
+
};
|
|
23946
24365
|
logistics_floriday_cart_plan: {
|
|
23947
24366
|
Args: {
|
|
23948
24367
|
p_order_id: string;
|
|
@@ -23970,6 +24389,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
23970
24389
|
revision: number;
|
|
23971
24390
|
}[];
|
|
23972
24391
|
};
|
|
24392
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24393
|
+
Args: never;
|
|
24394
|
+
Returns: boolean;
|
|
24395
|
+
};
|
|
23973
24396
|
logistics_floriday_finish_push: {
|
|
23974
24397
|
Args: {
|
|
23975
24398
|
_error?: string;
|
|
@@ -24213,6 +24636,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24213
24636
|
};
|
|
24214
24637
|
Returns: string;
|
|
24215
24638
|
};
|
|
24639
|
+
logistics_payload_is_floriday: {
|
|
24640
|
+
Args: {
|
|
24641
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24642
|
+
};
|
|
24643
|
+
Returns: boolean;
|
|
24644
|
+
};
|
|
24216
24645
|
logistics_pick_agenda: {
|
|
24217
24646
|
Args: {
|
|
24218
24647
|
p_from?: string;
|
|
@@ -24335,6 +24764,20 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24335
24764
|
Args: never;
|
|
24336
24765
|
Returns: undefined;
|
|
24337
24766
|
};
|
|
24767
|
+
logistics_plan_progress: {
|
|
24768
|
+
Args: {
|
|
24769
|
+
p_refs: string[];
|
|
24770
|
+
};
|
|
24771
|
+
Returns: {
|
|
24772
|
+
cart_plan_ready: boolean;
|
|
24773
|
+
cart_plan_reason: string;
|
|
24774
|
+
cart_plan_released: boolean;
|
|
24775
|
+
plan_progress: number;
|
|
24776
|
+
plan_state: string;
|
|
24777
|
+
plan_state_since: string;
|
|
24778
|
+
unit_ref: string;
|
|
24779
|
+
}[];
|
|
24780
|
+
};
|
|
24338
24781
|
logistics_plan_prune: {
|
|
24339
24782
|
Args: never;
|
|
24340
24783
|
Returns: number;
|
|
@@ -24356,6 +24799,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24356
24799
|
};
|
|
24357
24800
|
Returns: number;
|
|
24358
24801
|
};
|
|
24802
|
+
logistics_plan_state_for: {
|
|
24803
|
+
Args: {
|
|
24804
|
+
p_ref: string;
|
|
24805
|
+
};
|
|
24806
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24807
|
+
};
|
|
24359
24808
|
logistics_prepare_pick_documents: {
|
|
24360
24809
|
Args: {
|
|
24361
24810
|
p_limit?: number;
|
|
@@ -24414,6 +24863,12 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24414
24863
|
};
|
|
24415
24864
|
Returns: import("../integrations/supabase/types").Json;
|
|
24416
24865
|
};
|
|
24866
|
+
logistics_refresh_plan_state: {
|
|
24867
|
+
Args: {
|
|
24868
|
+
p_limit?: number;
|
|
24869
|
+
};
|
|
24870
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24871
|
+
};
|
|
24417
24872
|
logistics_replan_all: {
|
|
24418
24873
|
Args: {
|
|
24419
24874
|
p_reason?: string;
|
|
@@ -24582,6 +25037,74 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24582
25037
|
};
|
|
24583
25038
|
Returns: import("../integrations/supabase/types").Json;
|
|
24584
25039
|
};
|
|
25040
|
+
logistics_shipping_note_job_for_slip: {
|
|
25041
|
+
Args: {
|
|
25042
|
+
_slip_job_id: string;
|
|
25043
|
+
};
|
|
25044
|
+
Returns: string;
|
|
25045
|
+
};
|
|
25046
|
+
logistics_shipping_notes_wake_all: {
|
|
25047
|
+
Args: never;
|
|
25048
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25049
|
+
};
|
|
25050
|
+
logistics_slip_is_floriday: {
|
|
25051
|
+
Args: {
|
|
25052
|
+
_slip_job_id: string;
|
|
25053
|
+
};
|
|
25054
|
+
Returns: boolean;
|
|
25055
|
+
};
|
|
25056
|
+
logistics_slip_note_claim: {
|
|
25057
|
+
Args: {
|
|
25058
|
+
_lease_seconds?: number;
|
|
25059
|
+
_limit?: number;
|
|
25060
|
+
};
|
|
25061
|
+
Returns: {
|
|
25062
|
+
attempts: number;
|
|
25063
|
+
batch_key: string | null;
|
|
25064
|
+
cart_id: string | null;
|
|
25065
|
+
created_at: string;
|
|
25066
|
+
error: string | null;
|
|
25067
|
+
error_code: string | null;
|
|
25068
|
+
fulfillment_order_id: string | null;
|
|
25069
|
+
id: string;
|
|
25070
|
+
locked_until: string | null;
|
|
25071
|
+
next_attempt_at: string | null;
|
|
25072
|
+
order_id: string | null;
|
|
25073
|
+
order_number: string | null;
|
|
25074
|
+
print_job_id: string | null;
|
|
25075
|
+
printer_id: string | null;
|
|
25076
|
+
retry_class: string | null;
|
|
25077
|
+
slip_job_id: string;
|
|
25078
|
+
status: string;
|
|
25079
|
+
updated_at: string;
|
|
25080
|
+
}[];
|
|
25081
|
+
SetofOptions: {
|
|
25082
|
+
from: "*";
|
|
25083
|
+
to: "logistics_slip_shipping_note";
|
|
25084
|
+
isOneToOne: false;
|
|
25085
|
+
isSetofReturn: true;
|
|
25086
|
+
};
|
|
25087
|
+
};
|
|
25088
|
+
logistics_slip_note_finish: {
|
|
25089
|
+
Args: {
|
|
25090
|
+
_error?: string;
|
|
25091
|
+
_error_code?: string;
|
|
25092
|
+
_fulfillment_order_id?: string;
|
|
25093
|
+
_id: string;
|
|
25094
|
+
_ok: boolean;
|
|
25095
|
+
_print_job_id?: string;
|
|
25096
|
+
_status?: string;
|
|
25097
|
+
};
|
|
25098
|
+
Returns: undefined;
|
|
25099
|
+
};
|
|
25100
|
+
logistics_slip_note_keep_waiting: {
|
|
25101
|
+
Args: {
|
|
25102
|
+
_class?: string;
|
|
25103
|
+
_id: string;
|
|
25104
|
+
_reason: string;
|
|
25105
|
+
};
|
|
25106
|
+
Returns: undefined;
|
|
25107
|
+
};
|
|
24585
25108
|
logistics_sticker_follows_slip: {
|
|
24586
25109
|
Args: never;
|
|
24587
25110
|
Returns: boolean;
|
|
@@ -24636,6 +25159,40 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
24636
25159
|
name: string;
|
|
24637
25160
|
}[];
|
|
24638
25161
|
};
|
|
25162
|
+
logistics_trace: {
|
|
25163
|
+
Args: {
|
|
25164
|
+
p: import("../integrations/supabase/types").Json;
|
|
25165
|
+
};
|
|
25166
|
+
Returns: string;
|
|
25167
|
+
};
|
|
25168
|
+
logistics_trace_batch: {
|
|
25169
|
+
Args: {
|
|
25170
|
+
p: import("../integrations/supabase/types").Json;
|
|
25171
|
+
};
|
|
25172
|
+
Returns: number;
|
|
25173
|
+
};
|
|
25174
|
+
logistics_trace_orders: {
|
|
25175
|
+
Args: {
|
|
25176
|
+
p_limit?: number;
|
|
25177
|
+
p_search?: string;
|
|
25178
|
+
p_since?: string;
|
|
25179
|
+
p_status?: string;
|
|
25180
|
+
};
|
|
25181
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25182
|
+
};
|
|
25183
|
+
logistics_trace_redact: {
|
|
25184
|
+
Args: {
|
|
25185
|
+
p: import("../integrations/supabase/types").Json;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
25189
|
+
logistics_trace_timeline: {
|
|
25190
|
+
Args: {
|
|
25191
|
+
p_limit?: number;
|
|
25192
|
+
p_order_ref: string;
|
|
25193
|
+
};
|
|
25194
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25195
|
+
};
|
|
24639
25196
|
logistics_upsert_task: {
|
|
24640
25197
|
Args: {
|
|
24641
25198
|
p_buffer_ref: string;
|
|
@@ -25677,6 +26234,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
25677
26234
|
};
|
|
25678
26235
|
Returns: undefined;
|
|
25679
26236
|
};
|
|
26237
|
+
prune_floriday_api_log: {
|
|
26238
|
+
Args: never;
|
|
26239
|
+
Returns: number;
|
|
26240
|
+
};
|
|
25680
26241
|
quote_create_from_source: {
|
|
25681
26242
|
Args: {
|
|
25682
26243
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26553,6 +27114,10 @@ export declare const emitLogisticsEvent: import("@tanstack/start-client-core").R
|
|
|
26553
27114
|
Args: never;
|
|
26554
27115
|
Returns: string;
|
|
26555
27116
|
};
|
|
27117
|
+
voorraad_cleanup_old_rows: {
|
|
27118
|
+
Args: never;
|
|
27119
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27120
|
+
};
|
|
26556
27121
|
wake_print_queue: {
|
|
26557
27122
|
Args: {
|
|
26558
27123
|
_min_interval_ms?: number;
|