@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
|
@@ -2224,6 +2224,45 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
2224
2224
|
};
|
|
2225
2225
|
Relationships: [];
|
|
2226
2226
|
};
|
|
2227
|
+
customer_product_stickers: {
|
|
2228
|
+
Row: {
|
|
2229
|
+
created_at: string;
|
|
2230
|
+
customer_key: string;
|
|
2231
|
+
file_name: string;
|
|
2232
|
+
file_path: string;
|
|
2233
|
+
file_size: number | null;
|
|
2234
|
+
id: string;
|
|
2235
|
+
mime_type: string | null;
|
|
2236
|
+
trade_item_key: string;
|
|
2237
|
+
updated_at: string;
|
|
2238
|
+
uploaded_by: string | null;
|
|
2239
|
+
};
|
|
2240
|
+
Insert: {
|
|
2241
|
+
created_at?: string;
|
|
2242
|
+
customer_key: string;
|
|
2243
|
+
file_name: string;
|
|
2244
|
+
file_path: string;
|
|
2245
|
+
file_size?: number | null;
|
|
2246
|
+
id?: string;
|
|
2247
|
+
mime_type?: string | null;
|
|
2248
|
+
trade_item_key: string;
|
|
2249
|
+
updated_at?: string;
|
|
2250
|
+
uploaded_by?: string | null;
|
|
2251
|
+
};
|
|
2252
|
+
Update: {
|
|
2253
|
+
created_at?: string;
|
|
2254
|
+
customer_key?: string;
|
|
2255
|
+
file_name?: string;
|
|
2256
|
+
file_path?: string;
|
|
2257
|
+
file_size?: number | null;
|
|
2258
|
+
id?: string;
|
|
2259
|
+
mime_type?: string | null;
|
|
2260
|
+
trade_item_key?: string;
|
|
2261
|
+
updated_at?: string;
|
|
2262
|
+
uploaded_by?: string | null;
|
|
2263
|
+
};
|
|
2264
|
+
Relationships: [];
|
|
2265
|
+
};
|
|
2227
2266
|
customer_selected_assortment: {
|
|
2228
2267
|
Row: {
|
|
2229
2268
|
article_number: string | null;
|
|
@@ -2272,6 +2311,30 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
2272
2311
|
referencedColumns: ["id"];
|
|
2273
2312
|
}];
|
|
2274
2313
|
};
|
|
2314
|
+
customer_sticker_settings: {
|
|
2315
|
+
Row: {
|
|
2316
|
+
created_at: string;
|
|
2317
|
+
customer_key: string;
|
|
2318
|
+
height_mm: number;
|
|
2319
|
+
updated_at: string;
|
|
2320
|
+
width_mm: number;
|
|
2321
|
+
};
|
|
2322
|
+
Insert: {
|
|
2323
|
+
created_at?: string;
|
|
2324
|
+
customer_key: string;
|
|
2325
|
+
height_mm?: number;
|
|
2326
|
+
updated_at?: string;
|
|
2327
|
+
width_mm?: number;
|
|
2328
|
+
};
|
|
2329
|
+
Update: {
|
|
2330
|
+
created_at?: string;
|
|
2331
|
+
customer_key?: string;
|
|
2332
|
+
height_mm?: number;
|
|
2333
|
+
updated_at?: string;
|
|
2334
|
+
width_mm?: number;
|
|
2335
|
+
};
|
|
2336
|
+
Relationships: [];
|
|
2337
|
+
};
|
|
2275
2338
|
customer_trade_settings: {
|
|
2276
2339
|
Row: {
|
|
2277
2340
|
category: string;
|
|
@@ -5602,6 +5665,102 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
5602
5665
|
referencedColumns: ["id"];
|
|
5603
5666
|
}];
|
|
5604
5667
|
};
|
|
5668
|
+
floriday_api_log: {
|
|
5669
|
+
Row: {
|
|
5670
|
+
action: string | null;
|
|
5671
|
+
caller: string | null;
|
|
5672
|
+
connection_id: string | null;
|
|
5673
|
+
created_at: string;
|
|
5674
|
+
cursor_from: number | null;
|
|
5675
|
+
direction: string;
|
|
5676
|
+
duration_ms: number | null;
|
|
5677
|
+
environment: string | null;
|
|
5678
|
+
error: string | null;
|
|
5679
|
+
floriday_id: string | null;
|
|
5680
|
+
floriday_reference: string | null;
|
|
5681
|
+
http_status: number;
|
|
5682
|
+
id: string;
|
|
5683
|
+
item_count: number | null;
|
|
5684
|
+
kind: string | null;
|
|
5685
|
+
local_id: string | null;
|
|
5686
|
+
local_reference: string | null;
|
|
5687
|
+
method: string;
|
|
5688
|
+
module: string | null;
|
|
5689
|
+
ok: boolean;
|
|
5690
|
+
path: string;
|
|
5691
|
+
request: import("../../../integrations/supabase/types").Json | null;
|
|
5692
|
+
resource_type: string | null;
|
|
5693
|
+
response: import("../../../integrations/supabase/types").Json | null;
|
|
5694
|
+
write_log_id: string | null;
|
|
5695
|
+
};
|
|
5696
|
+
Insert: {
|
|
5697
|
+
action?: string | null;
|
|
5698
|
+
caller?: string | null;
|
|
5699
|
+
connection_id?: string | null;
|
|
5700
|
+
created_at?: string;
|
|
5701
|
+
cursor_from?: number | null;
|
|
5702
|
+
direction: string;
|
|
5703
|
+
duration_ms?: number | null;
|
|
5704
|
+
environment?: string | null;
|
|
5705
|
+
error?: string | null;
|
|
5706
|
+
floriday_id?: string | null;
|
|
5707
|
+
floriday_reference?: string | null;
|
|
5708
|
+
http_status?: number;
|
|
5709
|
+
id?: string;
|
|
5710
|
+
item_count?: number | null;
|
|
5711
|
+
kind?: string | null;
|
|
5712
|
+
local_id?: string | null;
|
|
5713
|
+
local_reference?: string | null;
|
|
5714
|
+
method: string;
|
|
5715
|
+
module?: string | null;
|
|
5716
|
+
ok?: boolean;
|
|
5717
|
+
path: string;
|
|
5718
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
5719
|
+
resource_type?: string | null;
|
|
5720
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
5721
|
+
write_log_id?: string | null;
|
|
5722
|
+
};
|
|
5723
|
+
Update: {
|
|
5724
|
+
action?: string | null;
|
|
5725
|
+
caller?: string | null;
|
|
5726
|
+
connection_id?: string | null;
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
cursor_from?: number | null;
|
|
5729
|
+
direction?: string;
|
|
5730
|
+
duration_ms?: number | null;
|
|
5731
|
+
environment?: string | null;
|
|
5732
|
+
error?: string | null;
|
|
5733
|
+
floriday_id?: string | null;
|
|
5734
|
+
floriday_reference?: string | null;
|
|
5735
|
+
http_status?: number;
|
|
5736
|
+
id?: string;
|
|
5737
|
+
item_count?: number | null;
|
|
5738
|
+
kind?: string | null;
|
|
5739
|
+
local_id?: string | null;
|
|
5740
|
+
local_reference?: string | null;
|
|
5741
|
+
method?: string;
|
|
5742
|
+
module?: string | null;
|
|
5743
|
+
ok?: boolean;
|
|
5744
|
+
path?: string;
|
|
5745
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
5746
|
+
resource_type?: string | null;
|
|
5747
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
5748
|
+
write_log_id?: string | null;
|
|
5749
|
+
};
|
|
5750
|
+
Relationships: [{
|
|
5751
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5752
|
+
columns: ["connection_id"];
|
|
5753
|
+
isOneToOne: false;
|
|
5754
|
+
referencedRelation: "floriday_connections";
|
|
5755
|
+
referencedColumns: ["id"];
|
|
5756
|
+
}, {
|
|
5757
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5758
|
+
columns: ["write_log_id"];
|
|
5759
|
+
isOneToOne: false;
|
|
5760
|
+
referencedRelation: "floriday_write_log";
|
|
5761
|
+
referencedColumns: ["id"];
|
|
5762
|
+
}];
|
|
5763
|
+
};
|
|
5605
5764
|
floriday_auction_letters_cache: {
|
|
5606
5765
|
Row: {
|
|
5607
5766
|
auction_letter_code: string;
|
|
@@ -6802,6 +6961,69 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
6802
6961
|
referencedColumns: ["id"];
|
|
6803
6962
|
}];
|
|
6804
6963
|
};
|
|
6964
|
+
floriday_link_templates: {
|
|
6965
|
+
Row: {
|
|
6966
|
+
created_at: string;
|
|
6967
|
+
floriday_url_template: string | null;
|
|
6968
|
+
is_active: boolean;
|
|
6969
|
+
label: string;
|
|
6970
|
+
local_url_template: string | null;
|
|
6971
|
+
resource_type: string;
|
|
6972
|
+
updated_at: string;
|
|
6973
|
+
};
|
|
6974
|
+
Insert: {
|
|
6975
|
+
created_at?: string;
|
|
6976
|
+
floriday_url_template?: string | null;
|
|
6977
|
+
is_active?: boolean;
|
|
6978
|
+
label: string;
|
|
6979
|
+
local_url_template?: string | null;
|
|
6980
|
+
resource_type: string;
|
|
6981
|
+
updated_at?: string;
|
|
6982
|
+
};
|
|
6983
|
+
Update: {
|
|
6984
|
+
created_at?: string;
|
|
6985
|
+
floriday_url_template?: string | null;
|
|
6986
|
+
is_active?: boolean;
|
|
6987
|
+
label?: string;
|
|
6988
|
+
local_url_template?: string | null;
|
|
6989
|
+
resource_type?: string;
|
|
6990
|
+
updated_at?: string;
|
|
6991
|
+
};
|
|
6992
|
+
Relationships: [];
|
|
6993
|
+
};
|
|
6994
|
+
floriday_log_retention: {
|
|
6995
|
+
Row: {
|
|
6996
|
+
created_at: string;
|
|
6997
|
+
direction: string | null;
|
|
6998
|
+
id: string;
|
|
6999
|
+
keep_failed_days: number | null;
|
|
7000
|
+
keep_ok_days: number | null;
|
|
7001
|
+
note: string | null;
|
|
7002
|
+
resource_type: string | null;
|
|
7003
|
+
updated_at: string;
|
|
7004
|
+
};
|
|
7005
|
+
Insert: {
|
|
7006
|
+
created_at?: string;
|
|
7007
|
+
direction?: string | null;
|
|
7008
|
+
id?: string;
|
|
7009
|
+
keep_failed_days?: number | null;
|
|
7010
|
+
keep_ok_days?: number | null;
|
|
7011
|
+
note?: string | null;
|
|
7012
|
+
resource_type?: string | null;
|
|
7013
|
+
updated_at?: string;
|
|
7014
|
+
};
|
|
7015
|
+
Update: {
|
|
7016
|
+
created_at?: string;
|
|
7017
|
+
direction?: string | null;
|
|
7018
|
+
id?: string;
|
|
7019
|
+
keep_failed_days?: number | null;
|
|
7020
|
+
keep_ok_days?: number | null;
|
|
7021
|
+
note?: string | null;
|
|
7022
|
+
resource_type?: string | null;
|
|
7023
|
+
updated_at?: string;
|
|
7024
|
+
};
|
|
7025
|
+
Relationships: [];
|
|
7026
|
+
};
|
|
6805
7027
|
floriday_logistic_labels_cache: {
|
|
6806
7028
|
Row: {
|
|
6807
7029
|
byte_size: number | null;
|
|
@@ -10927,6 +11149,69 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
10927
11149
|
};
|
|
10928
11150
|
Relationships: [];
|
|
10929
11151
|
};
|
|
11152
|
+
logistics_slip_shipping_note: {
|
|
11153
|
+
Row: {
|
|
11154
|
+
attempts: number;
|
|
11155
|
+
batch_key: string | null;
|
|
11156
|
+
cart_id: string | null;
|
|
11157
|
+
created_at: string;
|
|
11158
|
+
error: string | null;
|
|
11159
|
+
error_code: string | null;
|
|
11160
|
+
fulfillment_order_id: string | null;
|
|
11161
|
+
id: string;
|
|
11162
|
+
locked_until: string | null;
|
|
11163
|
+
next_attempt_at: string | null;
|
|
11164
|
+
order_id: string | null;
|
|
11165
|
+
order_number: string | null;
|
|
11166
|
+
print_job_id: string | null;
|
|
11167
|
+
printer_id: string | null;
|
|
11168
|
+
retry_class: string | null;
|
|
11169
|
+
slip_job_id: string;
|
|
11170
|
+
status: string;
|
|
11171
|
+
updated_at: string;
|
|
11172
|
+
};
|
|
11173
|
+
Insert: {
|
|
11174
|
+
attempts?: number;
|
|
11175
|
+
batch_key?: string | null;
|
|
11176
|
+
cart_id?: string | null;
|
|
11177
|
+
created_at?: string;
|
|
11178
|
+
error?: string | null;
|
|
11179
|
+
error_code?: string | null;
|
|
11180
|
+
fulfillment_order_id?: string | null;
|
|
11181
|
+
id?: string;
|
|
11182
|
+
locked_until?: string | null;
|
|
11183
|
+
next_attempt_at?: string | null;
|
|
11184
|
+
order_id?: string | null;
|
|
11185
|
+
order_number?: string | null;
|
|
11186
|
+
print_job_id?: string | null;
|
|
11187
|
+
printer_id?: string | null;
|
|
11188
|
+
retry_class?: string | null;
|
|
11189
|
+
slip_job_id: string;
|
|
11190
|
+
status?: string;
|
|
11191
|
+
updated_at?: string;
|
|
11192
|
+
};
|
|
11193
|
+
Update: {
|
|
11194
|
+
attempts?: number;
|
|
11195
|
+
batch_key?: string | null;
|
|
11196
|
+
cart_id?: string | null;
|
|
11197
|
+
created_at?: string;
|
|
11198
|
+
error?: string | null;
|
|
11199
|
+
error_code?: string | null;
|
|
11200
|
+
fulfillment_order_id?: string | null;
|
|
11201
|
+
id?: string;
|
|
11202
|
+
locked_until?: string | null;
|
|
11203
|
+
next_attempt_at?: string | null;
|
|
11204
|
+
order_id?: string | null;
|
|
11205
|
+
order_number?: string | null;
|
|
11206
|
+
print_job_id?: string | null;
|
|
11207
|
+
printer_id?: string | null;
|
|
11208
|
+
retry_class?: string | null;
|
|
11209
|
+
slip_job_id?: string;
|
|
11210
|
+
status?: string;
|
|
11211
|
+
updated_at?: string;
|
|
11212
|
+
};
|
|
11213
|
+
Relationships: [];
|
|
11214
|
+
};
|
|
10930
11215
|
logistics_staff_planning: {
|
|
10931
11216
|
Row: {
|
|
10932
11217
|
created_at: string;
|
|
@@ -11278,6 +11563,111 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
11278
11563
|
};
|
|
11279
11564
|
Relationships: [];
|
|
11280
11565
|
};
|
|
11566
|
+
logistics_trace_events: {
|
|
11567
|
+
Row: {
|
|
11568
|
+
actor: string | null;
|
|
11569
|
+
attempts: number;
|
|
11570
|
+
cart_ref: string | null;
|
|
11571
|
+
created_at: string;
|
|
11572
|
+
db_action: string | null;
|
|
11573
|
+
db_new: import("../../../integrations/supabase/types").Json | null;
|
|
11574
|
+
db_old: import("../../../integrations/supabase/types").Json | null;
|
|
11575
|
+
db_record: string | null;
|
|
11576
|
+
db_table: string | null;
|
|
11577
|
+
decision: string | null;
|
|
11578
|
+
duration_ms: number | null;
|
|
11579
|
+
error: string | null;
|
|
11580
|
+
external_action: string | null;
|
|
11581
|
+
external_ref: string | null;
|
|
11582
|
+
external_response: import("../../../integrations/supabase/types").Json | null;
|
|
11583
|
+
external_status: string | null;
|
|
11584
|
+
external_system: string | null;
|
|
11585
|
+
id: string;
|
|
11586
|
+
input: import("../../../integrations/supabase/types").Json | null;
|
|
11587
|
+
next_attempt_at: string | null;
|
|
11588
|
+
order_ref: string | null;
|
|
11589
|
+
order_source: string | null;
|
|
11590
|
+
output: import("../../../integrations/supabase/types").Json | null;
|
|
11591
|
+
phase: string;
|
|
11592
|
+
reads: import("../../../integrations/supabase/types").Json | null;
|
|
11593
|
+
reason: string | null;
|
|
11594
|
+
rule: string | null;
|
|
11595
|
+
slip_ref: string | null;
|
|
11596
|
+
status: string;
|
|
11597
|
+
step: string;
|
|
11598
|
+
trace_id: string;
|
|
11599
|
+
values_used: import("../../../integrations/supabase/types").Json | null;
|
|
11600
|
+
};
|
|
11601
|
+
Insert: {
|
|
11602
|
+
actor?: string | null;
|
|
11603
|
+
attempts?: number;
|
|
11604
|
+
cart_ref?: string | null;
|
|
11605
|
+
created_at?: string;
|
|
11606
|
+
db_action?: string | null;
|
|
11607
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
11608
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
11609
|
+
db_record?: string | null;
|
|
11610
|
+
db_table?: string | null;
|
|
11611
|
+
decision?: string | null;
|
|
11612
|
+
duration_ms?: number | null;
|
|
11613
|
+
error?: string | null;
|
|
11614
|
+
external_action?: string | null;
|
|
11615
|
+
external_ref?: string | null;
|
|
11616
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
11617
|
+
external_status?: string | null;
|
|
11618
|
+
external_system?: string | null;
|
|
11619
|
+
id?: string;
|
|
11620
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
11621
|
+
next_attempt_at?: string | null;
|
|
11622
|
+
order_ref?: string | null;
|
|
11623
|
+
order_source?: string | null;
|
|
11624
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
11625
|
+
phase: string;
|
|
11626
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
11627
|
+
reason?: string | null;
|
|
11628
|
+
rule?: string | null;
|
|
11629
|
+
slip_ref?: string | null;
|
|
11630
|
+
status: string;
|
|
11631
|
+
step: string;
|
|
11632
|
+
trace_id?: string;
|
|
11633
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
11634
|
+
};
|
|
11635
|
+
Update: {
|
|
11636
|
+
actor?: string | null;
|
|
11637
|
+
attempts?: number;
|
|
11638
|
+
cart_ref?: string | null;
|
|
11639
|
+
created_at?: string;
|
|
11640
|
+
db_action?: string | null;
|
|
11641
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
11642
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
11643
|
+
db_record?: string | null;
|
|
11644
|
+
db_table?: string | null;
|
|
11645
|
+
decision?: string | null;
|
|
11646
|
+
duration_ms?: number | null;
|
|
11647
|
+
error?: string | null;
|
|
11648
|
+
external_action?: string | null;
|
|
11649
|
+
external_ref?: string | null;
|
|
11650
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
11651
|
+
external_status?: string | null;
|
|
11652
|
+
external_system?: string | null;
|
|
11653
|
+
id?: string;
|
|
11654
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
11655
|
+
next_attempt_at?: string | null;
|
|
11656
|
+
order_ref?: string | null;
|
|
11657
|
+
order_source?: string | null;
|
|
11658
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
11659
|
+
phase?: string;
|
|
11660
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
11661
|
+
reason?: string | null;
|
|
11662
|
+
rule?: string | null;
|
|
11663
|
+
slip_ref?: string | null;
|
|
11664
|
+
status?: string;
|
|
11665
|
+
step?: string;
|
|
11666
|
+
trace_id?: string;
|
|
11667
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
11668
|
+
};
|
|
11669
|
+
Relationships: [];
|
|
11670
|
+
};
|
|
11281
11671
|
logistics_variables: {
|
|
11282
11672
|
Row: {
|
|
11283
11673
|
created_at: string;
|
|
@@ -21850,6 +22240,15 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
21850
22240
|
Args: never;
|
|
21851
22241
|
Returns: boolean;
|
|
21852
22242
|
};
|
|
22243
|
+
cancel_open_print_jobs: {
|
|
22244
|
+
Args: {
|
|
22245
|
+
_cutoff: string;
|
|
22246
|
+
};
|
|
22247
|
+
Returns: {
|
|
22248
|
+
extern_job_id: string;
|
|
22249
|
+
id: string;
|
|
22250
|
+
}[];
|
|
22251
|
+
};
|
|
21853
22252
|
check_offer_product_available_stock: {
|
|
21854
22253
|
Args: {
|
|
21855
22254
|
p_campaign_product_id: string;
|
|
@@ -23462,6 +23861,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
23462
23861
|
};
|
|
23463
23862
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
23464
23863
|
};
|
|
23864
|
+
logistics_cart_plan_status_core: {
|
|
23865
|
+
Args: {
|
|
23866
|
+
p_ref: string;
|
|
23867
|
+
};
|
|
23868
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
23869
|
+
};
|
|
23465
23870
|
logistics_cart_release_reason: {
|
|
23466
23871
|
Args: {
|
|
23467
23872
|
p_cart_id: string;
|
|
@@ -23524,6 +23929,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
23524
23929
|
unit_ref: string;
|
|
23525
23930
|
}[];
|
|
23526
23931
|
};
|
|
23932
|
+
logistics_carts_per_print: {
|
|
23933
|
+
Args: never;
|
|
23934
|
+
Returns: number;
|
|
23935
|
+
};
|
|
23527
23936
|
logistics_check_order_allowed: {
|
|
23528
23937
|
Args: {
|
|
23529
23938
|
p_lines: import("../../../integrations/supabase/types").Json;
|
|
@@ -23890,6 +24299,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
23890
24299
|
};
|
|
23891
24300
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
23892
24301
|
};
|
|
24302
|
+
logistics_ensure_shipping_notes: {
|
|
24303
|
+
Args: {
|
|
24304
|
+
p_limit?: number;
|
|
24305
|
+
};
|
|
24306
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
24307
|
+
};
|
|
23893
24308
|
logistics_fail_task: {
|
|
23894
24309
|
Args: {
|
|
23895
24310
|
p_error: string;
|
|
@@ -23935,6 +24350,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
23935
24350
|
isSetofReturn: false;
|
|
23936
24351
|
};
|
|
23937
24352
|
};
|
|
24353
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24354
|
+
Args: never;
|
|
24355
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
24356
|
+
};
|
|
23938
24357
|
logistics_floriday_cart_plan: {
|
|
23939
24358
|
Args: {
|
|
23940
24359
|
p_order_id: string;
|
|
@@ -23962,6 +24381,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
23962
24381
|
revision: number;
|
|
23963
24382
|
}[];
|
|
23964
24383
|
};
|
|
24384
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24385
|
+
Args: never;
|
|
24386
|
+
Returns: boolean;
|
|
24387
|
+
};
|
|
23965
24388
|
logistics_floriday_finish_push: {
|
|
23966
24389
|
Args: {
|
|
23967
24390
|
_error?: string;
|
|
@@ -24205,6 +24628,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24205
24628
|
};
|
|
24206
24629
|
Returns: string;
|
|
24207
24630
|
};
|
|
24631
|
+
logistics_payload_is_floriday: {
|
|
24632
|
+
Args: {
|
|
24633
|
+
_payload: import("../../../integrations/supabase/types").Json;
|
|
24634
|
+
};
|
|
24635
|
+
Returns: boolean;
|
|
24636
|
+
};
|
|
24208
24637
|
logistics_pick_agenda: {
|
|
24209
24638
|
Args: {
|
|
24210
24639
|
p_from?: string;
|
|
@@ -24327,6 +24756,20 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24327
24756
|
Args: never;
|
|
24328
24757
|
Returns: undefined;
|
|
24329
24758
|
};
|
|
24759
|
+
logistics_plan_progress: {
|
|
24760
|
+
Args: {
|
|
24761
|
+
p_refs: string[];
|
|
24762
|
+
};
|
|
24763
|
+
Returns: {
|
|
24764
|
+
cart_plan_ready: boolean;
|
|
24765
|
+
cart_plan_reason: string;
|
|
24766
|
+
cart_plan_released: boolean;
|
|
24767
|
+
plan_progress: number;
|
|
24768
|
+
plan_state: string;
|
|
24769
|
+
plan_state_since: string;
|
|
24770
|
+
unit_ref: string;
|
|
24771
|
+
}[];
|
|
24772
|
+
};
|
|
24330
24773
|
logistics_plan_prune: {
|
|
24331
24774
|
Args: never;
|
|
24332
24775
|
Returns: number;
|
|
@@ -24348,6 +24791,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24348
24791
|
};
|
|
24349
24792
|
Returns: number;
|
|
24350
24793
|
};
|
|
24794
|
+
logistics_plan_state_for: {
|
|
24795
|
+
Args: {
|
|
24796
|
+
p_ref: string;
|
|
24797
|
+
};
|
|
24798
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
24799
|
+
};
|
|
24351
24800
|
logistics_prepare_pick_documents: {
|
|
24352
24801
|
Args: {
|
|
24353
24802
|
p_limit?: number;
|
|
@@ -24406,6 +24855,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24406
24855
|
};
|
|
24407
24856
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
24408
24857
|
};
|
|
24858
|
+
logistics_refresh_plan_state: {
|
|
24859
|
+
Args: {
|
|
24860
|
+
p_limit?: number;
|
|
24861
|
+
};
|
|
24862
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
24863
|
+
};
|
|
24409
24864
|
logistics_replan_all: {
|
|
24410
24865
|
Args: {
|
|
24411
24866
|
p_reason?: string;
|
|
@@ -24574,6 +25029,74 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24574
25029
|
};
|
|
24575
25030
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
24576
25031
|
};
|
|
25032
|
+
logistics_shipping_note_job_for_slip: {
|
|
25033
|
+
Args: {
|
|
25034
|
+
_slip_job_id: string;
|
|
25035
|
+
};
|
|
25036
|
+
Returns: string;
|
|
25037
|
+
};
|
|
25038
|
+
logistics_shipping_notes_wake_all: {
|
|
25039
|
+
Args: never;
|
|
25040
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
25041
|
+
};
|
|
25042
|
+
logistics_slip_is_floriday: {
|
|
25043
|
+
Args: {
|
|
25044
|
+
_slip_job_id: string;
|
|
25045
|
+
};
|
|
25046
|
+
Returns: boolean;
|
|
25047
|
+
};
|
|
25048
|
+
logistics_slip_note_claim: {
|
|
25049
|
+
Args: {
|
|
25050
|
+
_lease_seconds?: number;
|
|
25051
|
+
_limit?: number;
|
|
25052
|
+
};
|
|
25053
|
+
Returns: {
|
|
25054
|
+
attempts: number;
|
|
25055
|
+
batch_key: string | null;
|
|
25056
|
+
cart_id: string | null;
|
|
25057
|
+
created_at: string;
|
|
25058
|
+
error: string | null;
|
|
25059
|
+
error_code: string | null;
|
|
25060
|
+
fulfillment_order_id: string | null;
|
|
25061
|
+
id: string;
|
|
25062
|
+
locked_until: string | null;
|
|
25063
|
+
next_attempt_at: string | null;
|
|
25064
|
+
order_id: string | null;
|
|
25065
|
+
order_number: string | null;
|
|
25066
|
+
print_job_id: string | null;
|
|
25067
|
+
printer_id: string | null;
|
|
25068
|
+
retry_class: string | null;
|
|
25069
|
+
slip_job_id: string;
|
|
25070
|
+
status: string;
|
|
25071
|
+
updated_at: string;
|
|
25072
|
+
}[];
|
|
25073
|
+
SetofOptions: {
|
|
25074
|
+
from: "*";
|
|
25075
|
+
to: "logistics_slip_shipping_note";
|
|
25076
|
+
isOneToOne: false;
|
|
25077
|
+
isSetofReturn: true;
|
|
25078
|
+
};
|
|
25079
|
+
};
|
|
25080
|
+
logistics_slip_note_finish: {
|
|
25081
|
+
Args: {
|
|
25082
|
+
_error?: string;
|
|
25083
|
+
_error_code?: string;
|
|
25084
|
+
_fulfillment_order_id?: string;
|
|
25085
|
+
_id: string;
|
|
25086
|
+
_ok: boolean;
|
|
25087
|
+
_print_job_id?: string;
|
|
25088
|
+
_status?: string;
|
|
25089
|
+
};
|
|
25090
|
+
Returns: undefined;
|
|
25091
|
+
};
|
|
25092
|
+
logistics_slip_note_keep_waiting: {
|
|
25093
|
+
Args: {
|
|
25094
|
+
_class?: string;
|
|
25095
|
+
_id: string;
|
|
25096
|
+
_reason: string;
|
|
25097
|
+
};
|
|
25098
|
+
Returns: undefined;
|
|
25099
|
+
};
|
|
24577
25100
|
logistics_sticker_follows_slip: {
|
|
24578
25101
|
Args: never;
|
|
24579
25102
|
Returns: boolean;
|
|
@@ -24628,6 +25151,40 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
24628
25151
|
name: string;
|
|
24629
25152
|
}[];
|
|
24630
25153
|
};
|
|
25154
|
+
logistics_trace: {
|
|
25155
|
+
Args: {
|
|
25156
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
25157
|
+
};
|
|
25158
|
+
Returns: string;
|
|
25159
|
+
};
|
|
25160
|
+
logistics_trace_batch: {
|
|
25161
|
+
Args: {
|
|
25162
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
25163
|
+
};
|
|
25164
|
+
Returns: number;
|
|
25165
|
+
};
|
|
25166
|
+
logistics_trace_orders: {
|
|
25167
|
+
Args: {
|
|
25168
|
+
p_limit?: number;
|
|
25169
|
+
p_search?: string;
|
|
25170
|
+
p_since?: string;
|
|
25171
|
+
p_status?: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
25174
|
+
};
|
|
25175
|
+
logistics_trace_redact: {
|
|
25176
|
+
Args: {
|
|
25177
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
25178
|
+
};
|
|
25179
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
25180
|
+
};
|
|
25181
|
+
logistics_trace_timeline: {
|
|
25182
|
+
Args: {
|
|
25183
|
+
p_limit?: number;
|
|
25184
|
+
p_order_ref: string;
|
|
25185
|
+
};
|
|
25186
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
25187
|
+
};
|
|
24631
25188
|
logistics_upsert_task: {
|
|
24632
25189
|
Args: {
|
|
24633
25190
|
p_buffer_ref: string;
|
|
@@ -25669,6 +26226,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
25669
26226
|
};
|
|
25670
26227
|
Returns: undefined;
|
|
25671
26228
|
};
|
|
26229
|
+
prune_floriday_api_log: {
|
|
26230
|
+
Args: never;
|
|
26231
|
+
Returns: number;
|
|
26232
|
+
};
|
|
25672
26233
|
quote_create_from_source: {
|
|
25673
26234
|
Args: {
|
|
25674
26235
|
_payload?: import("../../../integrations/supabase/types").Json;
|
|
@@ -26545,6 +27106,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
|
|
|
26545
27106
|
Args: never;
|
|
26546
27107
|
Returns: string;
|
|
26547
27108
|
};
|
|
27109
|
+
voorraad_cleanup_old_rows: {
|
|
27110
|
+
Args: never;
|
|
27111
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
27112
|
+
};
|
|
26548
27113
|
wake_print_queue: {
|
|
26549
27114
|
Args: {
|
|
26550
27115
|
_min_interval_ms?: number;
|
|
@@ -28844,6 +29409,45 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
28844
29409
|
};
|
|
28845
29410
|
Relationships: [];
|
|
28846
29411
|
};
|
|
29412
|
+
customer_product_stickers: {
|
|
29413
|
+
Row: {
|
|
29414
|
+
created_at: string;
|
|
29415
|
+
customer_key: string;
|
|
29416
|
+
file_name: string;
|
|
29417
|
+
file_path: string;
|
|
29418
|
+
file_size: number | null;
|
|
29419
|
+
id: string;
|
|
29420
|
+
mime_type: string | null;
|
|
29421
|
+
trade_item_key: string;
|
|
29422
|
+
updated_at: string;
|
|
29423
|
+
uploaded_by: string | null;
|
|
29424
|
+
};
|
|
29425
|
+
Insert: {
|
|
29426
|
+
created_at?: string;
|
|
29427
|
+
customer_key: string;
|
|
29428
|
+
file_name: string;
|
|
29429
|
+
file_path: string;
|
|
29430
|
+
file_size?: number | null;
|
|
29431
|
+
id?: string;
|
|
29432
|
+
mime_type?: string | null;
|
|
29433
|
+
trade_item_key: string;
|
|
29434
|
+
updated_at?: string;
|
|
29435
|
+
uploaded_by?: string | null;
|
|
29436
|
+
};
|
|
29437
|
+
Update: {
|
|
29438
|
+
created_at?: string;
|
|
29439
|
+
customer_key?: string;
|
|
29440
|
+
file_name?: string;
|
|
29441
|
+
file_path?: string;
|
|
29442
|
+
file_size?: number | null;
|
|
29443
|
+
id?: string;
|
|
29444
|
+
mime_type?: string | null;
|
|
29445
|
+
trade_item_key?: string;
|
|
29446
|
+
updated_at?: string;
|
|
29447
|
+
uploaded_by?: string | null;
|
|
29448
|
+
};
|
|
29449
|
+
Relationships: [];
|
|
29450
|
+
};
|
|
28847
29451
|
customer_selected_assortment: {
|
|
28848
29452
|
Row: {
|
|
28849
29453
|
article_number: string | null;
|
|
@@ -28892,6 +29496,30 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
28892
29496
|
referencedColumns: ["id"];
|
|
28893
29497
|
}];
|
|
28894
29498
|
};
|
|
29499
|
+
customer_sticker_settings: {
|
|
29500
|
+
Row: {
|
|
29501
|
+
created_at: string;
|
|
29502
|
+
customer_key: string;
|
|
29503
|
+
height_mm: number;
|
|
29504
|
+
updated_at: string;
|
|
29505
|
+
width_mm: number;
|
|
29506
|
+
};
|
|
29507
|
+
Insert: {
|
|
29508
|
+
created_at?: string;
|
|
29509
|
+
customer_key: string;
|
|
29510
|
+
height_mm?: number;
|
|
29511
|
+
updated_at?: string;
|
|
29512
|
+
width_mm?: number;
|
|
29513
|
+
};
|
|
29514
|
+
Update: {
|
|
29515
|
+
created_at?: string;
|
|
29516
|
+
customer_key?: string;
|
|
29517
|
+
height_mm?: number;
|
|
29518
|
+
updated_at?: string;
|
|
29519
|
+
width_mm?: number;
|
|
29520
|
+
};
|
|
29521
|
+
Relationships: [];
|
|
29522
|
+
};
|
|
28895
29523
|
customer_trade_settings: {
|
|
28896
29524
|
Row: {
|
|
28897
29525
|
category: string;
|
|
@@ -32222,6 +32850,102 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
32222
32850
|
referencedColumns: ["id"];
|
|
32223
32851
|
}];
|
|
32224
32852
|
};
|
|
32853
|
+
floriday_api_log: {
|
|
32854
|
+
Row: {
|
|
32855
|
+
action: string | null;
|
|
32856
|
+
caller: string | null;
|
|
32857
|
+
connection_id: string | null;
|
|
32858
|
+
created_at: string;
|
|
32859
|
+
cursor_from: number | null;
|
|
32860
|
+
direction: string;
|
|
32861
|
+
duration_ms: number | null;
|
|
32862
|
+
environment: string | null;
|
|
32863
|
+
error: string | null;
|
|
32864
|
+
floriday_id: string | null;
|
|
32865
|
+
floriday_reference: string | null;
|
|
32866
|
+
http_status: number;
|
|
32867
|
+
id: string;
|
|
32868
|
+
item_count: number | null;
|
|
32869
|
+
kind: string | null;
|
|
32870
|
+
local_id: string | null;
|
|
32871
|
+
local_reference: string | null;
|
|
32872
|
+
method: string;
|
|
32873
|
+
module: string | null;
|
|
32874
|
+
ok: boolean;
|
|
32875
|
+
path: string;
|
|
32876
|
+
request: import("../../../integrations/supabase/types").Json | null;
|
|
32877
|
+
resource_type: string | null;
|
|
32878
|
+
response: import("../../../integrations/supabase/types").Json | null;
|
|
32879
|
+
write_log_id: string | null;
|
|
32880
|
+
};
|
|
32881
|
+
Insert: {
|
|
32882
|
+
action?: string | null;
|
|
32883
|
+
caller?: string | null;
|
|
32884
|
+
connection_id?: string | null;
|
|
32885
|
+
created_at?: string;
|
|
32886
|
+
cursor_from?: number | null;
|
|
32887
|
+
direction: string;
|
|
32888
|
+
duration_ms?: number | null;
|
|
32889
|
+
environment?: string | null;
|
|
32890
|
+
error?: string | null;
|
|
32891
|
+
floriday_id?: string | null;
|
|
32892
|
+
floriday_reference?: string | null;
|
|
32893
|
+
http_status?: number;
|
|
32894
|
+
id?: string;
|
|
32895
|
+
item_count?: number | null;
|
|
32896
|
+
kind?: string | null;
|
|
32897
|
+
local_id?: string | null;
|
|
32898
|
+
local_reference?: string | null;
|
|
32899
|
+
method: string;
|
|
32900
|
+
module?: string | null;
|
|
32901
|
+
ok?: boolean;
|
|
32902
|
+
path: string;
|
|
32903
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
32904
|
+
resource_type?: string | null;
|
|
32905
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
32906
|
+
write_log_id?: string | null;
|
|
32907
|
+
};
|
|
32908
|
+
Update: {
|
|
32909
|
+
action?: string | null;
|
|
32910
|
+
caller?: string | null;
|
|
32911
|
+
connection_id?: string | null;
|
|
32912
|
+
created_at?: string;
|
|
32913
|
+
cursor_from?: number | null;
|
|
32914
|
+
direction?: string;
|
|
32915
|
+
duration_ms?: number | null;
|
|
32916
|
+
environment?: string | null;
|
|
32917
|
+
error?: string | null;
|
|
32918
|
+
floriday_id?: string | null;
|
|
32919
|
+
floriday_reference?: string | null;
|
|
32920
|
+
http_status?: number;
|
|
32921
|
+
id?: string;
|
|
32922
|
+
item_count?: number | null;
|
|
32923
|
+
kind?: string | null;
|
|
32924
|
+
local_id?: string | null;
|
|
32925
|
+
local_reference?: string | null;
|
|
32926
|
+
method?: string;
|
|
32927
|
+
module?: string | null;
|
|
32928
|
+
ok?: boolean;
|
|
32929
|
+
path?: string;
|
|
32930
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
32931
|
+
resource_type?: string | null;
|
|
32932
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
32933
|
+
write_log_id?: string | null;
|
|
32934
|
+
};
|
|
32935
|
+
Relationships: [{
|
|
32936
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32937
|
+
columns: ["connection_id"];
|
|
32938
|
+
isOneToOne: false;
|
|
32939
|
+
referencedRelation: "floriday_connections";
|
|
32940
|
+
referencedColumns: ["id"];
|
|
32941
|
+
}, {
|
|
32942
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32943
|
+
columns: ["write_log_id"];
|
|
32944
|
+
isOneToOne: false;
|
|
32945
|
+
referencedRelation: "floriday_write_log";
|
|
32946
|
+
referencedColumns: ["id"];
|
|
32947
|
+
}];
|
|
32948
|
+
};
|
|
32225
32949
|
floriday_auction_letters_cache: {
|
|
32226
32950
|
Row: {
|
|
32227
32951
|
auction_letter_code: string;
|
|
@@ -33422,6 +34146,69 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
33422
34146
|
referencedColumns: ["id"];
|
|
33423
34147
|
}];
|
|
33424
34148
|
};
|
|
34149
|
+
floriday_link_templates: {
|
|
34150
|
+
Row: {
|
|
34151
|
+
created_at: string;
|
|
34152
|
+
floriday_url_template: string | null;
|
|
34153
|
+
is_active: boolean;
|
|
34154
|
+
label: string;
|
|
34155
|
+
local_url_template: string | null;
|
|
34156
|
+
resource_type: string;
|
|
34157
|
+
updated_at: string;
|
|
34158
|
+
};
|
|
34159
|
+
Insert: {
|
|
34160
|
+
created_at?: string;
|
|
34161
|
+
floriday_url_template?: string | null;
|
|
34162
|
+
is_active?: boolean;
|
|
34163
|
+
label: string;
|
|
34164
|
+
local_url_template?: string | null;
|
|
34165
|
+
resource_type: string;
|
|
34166
|
+
updated_at?: string;
|
|
34167
|
+
};
|
|
34168
|
+
Update: {
|
|
34169
|
+
created_at?: string;
|
|
34170
|
+
floriday_url_template?: string | null;
|
|
34171
|
+
is_active?: boolean;
|
|
34172
|
+
label?: string;
|
|
34173
|
+
local_url_template?: string | null;
|
|
34174
|
+
resource_type?: string;
|
|
34175
|
+
updated_at?: string;
|
|
34176
|
+
};
|
|
34177
|
+
Relationships: [];
|
|
34178
|
+
};
|
|
34179
|
+
floriday_log_retention: {
|
|
34180
|
+
Row: {
|
|
34181
|
+
created_at: string;
|
|
34182
|
+
direction: string | null;
|
|
34183
|
+
id: string;
|
|
34184
|
+
keep_failed_days: number | null;
|
|
34185
|
+
keep_ok_days: number | null;
|
|
34186
|
+
note: string | null;
|
|
34187
|
+
resource_type: string | null;
|
|
34188
|
+
updated_at: string;
|
|
34189
|
+
};
|
|
34190
|
+
Insert: {
|
|
34191
|
+
created_at?: string;
|
|
34192
|
+
direction?: string | null;
|
|
34193
|
+
id?: string;
|
|
34194
|
+
keep_failed_days?: number | null;
|
|
34195
|
+
keep_ok_days?: number | null;
|
|
34196
|
+
note?: string | null;
|
|
34197
|
+
resource_type?: string | null;
|
|
34198
|
+
updated_at?: string;
|
|
34199
|
+
};
|
|
34200
|
+
Update: {
|
|
34201
|
+
created_at?: string;
|
|
34202
|
+
direction?: string | null;
|
|
34203
|
+
id?: string;
|
|
34204
|
+
keep_failed_days?: number | null;
|
|
34205
|
+
keep_ok_days?: number | null;
|
|
34206
|
+
note?: string | null;
|
|
34207
|
+
resource_type?: string | null;
|
|
34208
|
+
updated_at?: string;
|
|
34209
|
+
};
|
|
34210
|
+
Relationships: [];
|
|
34211
|
+
};
|
|
33425
34212
|
floriday_logistic_labels_cache: {
|
|
33426
34213
|
Row: {
|
|
33427
34214
|
byte_size: number | null;
|
|
@@ -37547,6 +38334,69 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
37547
38334
|
};
|
|
37548
38335
|
Relationships: [];
|
|
37549
38336
|
};
|
|
38337
|
+
logistics_slip_shipping_note: {
|
|
38338
|
+
Row: {
|
|
38339
|
+
attempts: number;
|
|
38340
|
+
batch_key: string | null;
|
|
38341
|
+
cart_id: string | null;
|
|
38342
|
+
created_at: string;
|
|
38343
|
+
error: string | null;
|
|
38344
|
+
error_code: string | null;
|
|
38345
|
+
fulfillment_order_id: string | null;
|
|
38346
|
+
id: string;
|
|
38347
|
+
locked_until: string | null;
|
|
38348
|
+
next_attempt_at: string | null;
|
|
38349
|
+
order_id: string | null;
|
|
38350
|
+
order_number: string | null;
|
|
38351
|
+
print_job_id: string | null;
|
|
38352
|
+
printer_id: string | null;
|
|
38353
|
+
retry_class: string | null;
|
|
38354
|
+
slip_job_id: string;
|
|
38355
|
+
status: string;
|
|
38356
|
+
updated_at: string;
|
|
38357
|
+
};
|
|
38358
|
+
Insert: {
|
|
38359
|
+
attempts?: number;
|
|
38360
|
+
batch_key?: string | null;
|
|
38361
|
+
cart_id?: string | null;
|
|
38362
|
+
created_at?: string;
|
|
38363
|
+
error?: string | null;
|
|
38364
|
+
error_code?: string | null;
|
|
38365
|
+
fulfillment_order_id?: string | null;
|
|
38366
|
+
id?: string;
|
|
38367
|
+
locked_until?: string | null;
|
|
38368
|
+
next_attempt_at?: string | null;
|
|
38369
|
+
order_id?: string | null;
|
|
38370
|
+
order_number?: string | null;
|
|
38371
|
+
print_job_id?: string | null;
|
|
38372
|
+
printer_id?: string | null;
|
|
38373
|
+
retry_class?: string | null;
|
|
38374
|
+
slip_job_id: string;
|
|
38375
|
+
status?: string;
|
|
38376
|
+
updated_at?: string;
|
|
38377
|
+
};
|
|
38378
|
+
Update: {
|
|
38379
|
+
attempts?: number;
|
|
38380
|
+
batch_key?: string | null;
|
|
38381
|
+
cart_id?: string | null;
|
|
38382
|
+
created_at?: string;
|
|
38383
|
+
error?: string | null;
|
|
38384
|
+
error_code?: string | null;
|
|
38385
|
+
fulfillment_order_id?: string | null;
|
|
38386
|
+
id?: string;
|
|
38387
|
+
locked_until?: string | null;
|
|
38388
|
+
next_attempt_at?: string | null;
|
|
38389
|
+
order_id?: string | null;
|
|
38390
|
+
order_number?: string | null;
|
|
38391
|
+
print_job_id?: string | null;
|
|
38392
|
+
printer_id?: string | null;
|
|
38393
|
+
retry_class?: string | null;
|
|
38394
|
+
slip_job_id?: string;
|
|
38395
|
+
status?: string;
|
|
38396
|
+
updated_at?: string;
|
|
38397
|
+
};
|
|
38398
|
+
Relationships: [];
|
|
38399
|
+
};
|
|
37550
38400
|
logistics_staff_planning: {
|
|
37551
38401
|
Row: {
|
|
37552
38402
|
created_at: string;
|
|
@@ -37898,6 +38748,111 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
37898
38748
|
};
|
|
37899
38749
|
Relationships: [];
|
|
37900
38750
|
};
|
|
38751
|
+
logistics_trace_events: {
|
|
38752
|
+
Row: {
|
|
38753
|
+
actor: string | null;
|
|
38754
|
+
attempts: number;
|
|
38755
|
+
cart_ref: string | null;
|
|
38756
|
+
created_at: string;
|
|
38757
|
+
db_action: string | null;
|
|
38758
|
+
db_new: import("../../../integrations/supabase/types").Json | null;
|
|
38759
|
+
db_old: import("../../../integrations/supabase/types").Json | null;
|
|
38760
|
+
db_record: string | null;
|
|
38761
|
+
db_table: string | null;
|
|
38762
|
+
decision: string | null;
|
|
38763
|
+
duration_ms: number | null;
|
|
38764
|
+
error: string | null;
|
|
38765
|
+
external_action: string | null;
|
|
38766
|
+
external_ref: string | null;
|
|
38767
|
+
external_response: import("../../../integrations/supabase/types").Json | null;
|
|
38768
|
+
external_status: string | null;
|
|
38769
|
+
external_system: string | null;
|
|
38770
|
+
id: string;
|
|
38771
|
+
input: import("../../../integrations/supabase/types").Json | null;
|
|
38772
|
+
next_attempt_at: string | null;
|
|
38773
|
+
order_ref: string | null;
|
|
38774
|
+
order_source: string | null;
|
|
38775
|
+
output: import("../../../integrations/supabase/types").Json | null;
|
|
38776
|
+
phase: string;
|
|
38777
|
+
reads: import("../../../integrations/supabase/types").Json | null;
|
|
38778
|
+
reason: string | null;
|
|
38779
|
+
rule: string | null;
|
|
38780
|
+
slip_ref: string | null;
|
|
38781
|
+
status: string;
|
|
38782
|
+
step: string;
|
|
38783
|
+
trace_id: string;
|
|
38784
|
+
values_used: import("../../../integrations/supabase/types").Json | null;
|
|
38785
|
+
};
|
|
38786
|
+
Insert: {
|
|
38787
|
+
actor?: string | null;
|
|
38788
|
+
attempts?: number;
|
|
38789
|
+
cart_ref?: string | null;
|
|
38790
|
+
created_at?: string;
|
|
38791
|
+
db_action?: string | null;
|
|
38792
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
38793
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
38794
|
+
db_record?: string | null;
|
|
38795
|
+
db_table?: string | null;
|
|
38796
|
+
decision?: string | null;
|
|
38797
|
+
duration_ms?: number | null;
|
|
38798
|
+
error?: string | null;
|
|
38799
|
+
external_action?: string | null;
|
|
38800
|
+
external_ref?: string | null;
|
|
38801
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
38802
|
+
external_status?: string | null;
|
|
38803
|
+
external_system?: string | null;
|
|
38804
|
+
id?: string;
|
|
38805
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
38806
|
+
next_attempt_at?: string | null;
|
|
38807
|
+
order_ref?: string | null;
|
|
38808
|
+
order_source?: string | null;
|
|
38809
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
38810
|
+
phase: string;
|
|
38811
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
38812
|
+
reason?: string | null;
|
|
38813
|
+
rule?: string | null;
|
|
38814
|
+
slip_ref?: string | null;
|
|
38815
|
+
status: string;
|
|
38816
|
+
step: string;
|
|
38817
|
+
trace_id?: string;
|
|
38818
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
38819
|
+
};
|
|
38820
|
+
Update: {
|
|
38821
|
+
actor?: string | null;
|
|
38822
|
+
attempts?: number;
|
|
38823
|
+
cart_ref?: string | null;
|
|
38824
|
+
created_at?: string;
|
|
38825
|
+
db_action?: string | null;
|
|
38826
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
38827
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
38828
|
+
db_record?: string | null;
|
|
38829
|
+
db_table?: string | null;
|
|
38830
|
+
decision?: string | null;
|
|
38831
|
+
duration_ms?: number | null;
|
|
38832
|
+
error?: string | null;
|
|
38833
|
+
external_action?: string | null;
|
|
38834
|
+
external_ref?: string | null;
|
|
38835
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
38836
|
+
external_status?: string | null;
|
|
38837
|
+
external_system?: string | null;
|
|
38838
|
+
id?: string;
|
|
38839
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
38840
|
+
next_attempt_at?: string | null;
|
|
38841
|
+
order_ref?: string | null;
|
|
38842
|
+
order_source?: string | null;
|
|
38843
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
38844
|
+
phase?: string;
|
|
38845
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
38846
|
+
reason?: string | null;
|
|
38847
|
+
rule?: string | null;
|
|
38848
|
+
slip_ref?: string | null;
|
|
38849
|
+
status?: string;
|
|
38850
|
+
step?: string;
|
|
38851
|
+
trace_id?: string;
|
|
38852
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
38853
|
+
};
|
|
38854
|
+
Relationships: [];
|
|
38855
|
+
};
|
|
37901
38856
|
logistics_variables: {
|
|
37902
38857
|
Row: {
|
|
37903
38858
|
created_at: string;
|
|
@@ -48470,6 +49425,15 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
48470
49425
|
Args: never;
|
|
48471
49426
|
Returns: boolean;
|
|
48472
49427
|
};
|
|
49428
|
+
cancel_open_print_jobs: {
|
|
49429
|
+
Args: {
|
|
49430
|
+
_cutoff: string;
|
|
49431
|
+
};
|
|
49432
|
+
Returns: {
|
|
49433
|
+
extern_job_id: string;
|
|
49434
|
+
id: string;
|
|
49435
|
+
}[];
|
|
49436
|
+
};
|
|
48473
49437
|
check_offer_product_available_stock: {
|
|
48474
49438
|
Args: {
|
|
48475
49439
|
p_campaign_product_id: string;
|
|
@@ -50082,6 +51046,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50082
51046
|
};
|
|
50083
51047
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
50084
51048
|
};
|
|
51049
|
+
logistics_cart_plan_status_core: {
|
|
51050
|
+
Args: {
|
|
51051
|
+
p_ref: string;
|
|
51052
|
+
};
|
|
51053
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
51054
|
+
};
|
|
50085
51055
|
logistics_cart_release_reason: {
|
|
50086
51056
|
Args: {
|
|
50087
51057
|
p_cart_id: string;
|
|
@@ -50144,6 +51114,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50144
51114
|
unit_ref: string;
|
|
50145
51115
|
}[];
|
|
50146
51116
|
};
|
|
51117
|
+
logistics_carts_per_print: {
|
|
51118
|
+
Args: never;
|
|
51119
|
+
Returns: number;
|
|
51120
|
+
};
|
|
50147
51121
|
logistics_check_order_allowed: {
|
|
50148
51122
|
Args: {
|
|
50149
51123
|
p_lines: import("../../../integrations/supabase/types").Json;
|
|
@@ -50510,6 +51484,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50510
51484
|
};
|
|
50511
51485
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
50512
51486
|
};
|
|
51487
|
+
logistics_ensure_shipping_notes: {
|
|
51488
|
+
Args: {
|
|
51489
|
+
p_limit?: number;
|
|
51490
|
+
};
|
|
51491
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
51492
|
+
};
|
|
50513
51493
|
logistics_fail_task: {
|
|
50514
51494
|
Args: {
|
|
50515
51495
|
p_error: string;
|
|
@@ -50555,6 +51535,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50555
51535
|
isSetofReturn: false;
|
|
50556
51536
|
};
|
|
50557
51537
|
};
|
|
51538
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51539
|
+
Args: never;
|
|
51540
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
51541
|
+
};
|
|
50558
51542
|
logistics_floriday_cart_plan: {
|
|
50559
51543
|
Args: {
|
|
50560
51544
|
p_order_id: string;
|
|
@@ -50582,6 +51566,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50582
51566
|
revision: number;
|
|
50583
51567
|
}[];
|
|
50584
51568
|
};
|
|
51569
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51570
|
+
Args: never;
|
|
51571
|
+
Returns: boolean;
|
|
51572
|
+
};
|
|
50585
51573
|
logistics_floriday_finish_push: {
|
|
50586
51574
|
Args: {
|
|
50587
51575
|
_error?: string;
|
|
@@ -50825,6 +51813,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50825
51813
|
};
|
|
50826
51814
|
Returns: string;
|
|
50827
51815
|
};
|
|
51816
|
+
logistics_payload_is_floriday: {
|
|
51817
|
+
Args: {
|
|
51818
|
+
_payload: import("../../../integrations/supabase/types").Json;
|
|
51819
|
+
};
|
|
51820
|
+
Returns: boolean;
|
|
51821
|
+
};
|
|
50828
51822
|
logistics_pick_agenda: {
|
|
50829
51823
|
Args: {
|
|
50830
51824
|
p_from?: string;
|
|
@@ -50947,6 +51941,20 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50947
51941
|
Args: never;
|
|
50948
51942
|
Returns: undefined;
|
|
50949
51943
|
};
|
|
51944
|
+
logistics_plan_progress: {
|
|
51945
|
+
Args: {
|
|
51946
|
+
p_refs: string[];
|
|
51947
|
+
};
|
|
51948
|
+
Returns: {
|
|
51949
|
+
cart_plan_ready: boolean;
|
|
51950
|
+
cart_plan_reason: string;
|
|
51951
|
+
cart_plan_released: boolean;
|
|
51952
|
+
plan_progress: number;
|
|
51953
|
+
plan_state: string;
|
|
51954
|
+
plan_state_since: string;
|
|
51955
|
+
unit_ref: string;
|
|
51956
|
+
}[];
|
|
51957
|
+
};
|
|
50950
51958
|
logistics_plan_prune: {
|
|
50951
51959
|
Args: never;
|
|
50952
51960
|
Returns: number;
|
|
@@ -50968,6 +51976,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
50968
51976
|
};
|
|
50969
51977
|
Returns: number;
|
|
50970
51978
|
};
|
|
51979
|
+
logistics_plan_state_for: {
|
|
51980
|
+
Args: {
|
|
51981
|
+
p_ref: string;
|
|
51982
|
+
};
|
|
51983
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
51984
|
+
};
|
|
50971
51985
|
logistics_prepare_pick_documents: {
|
|
50972
51986
|
Args: {
|
|
50973
51987
|
p_limit?: number;
|
|
@@ -51026,6 +52040,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
51026
52040
|
};
|
|
51027
52041
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
51028
52042
|
};
|
|
52043
|
+
logistics_refresh_plan_state: {
|
|
52044
|
+
Args: {
|
|
52045
|
+
p_limit?: number;
|
|
52046
|
+
};
|
|
52047
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
52048
|
+
};
|
|
51029
52049
|
logistics_replan_all: {
|
|
51030
52050
|
Args: {
|
|
51031
52051
|
p_reason?: string;
|
|
@@ -51194,6 +52214,74 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
51194
52214
|
};
|
|
51195
52215
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
51196
52216
|
};
|
|
52217
|
+
logistics_shipping_note_job_for_slip: {
|
|
52218
|
+
Args: {
|
|
52219
|
+
_slip_job_id: string;
|
|
52220
|
+
};
|
|
52221
|
+
Returns: string;
|
|
52222
|
+
};
|
|
52223
|
+
logistics_shipping_notes_wake_all: {
|
|
52224
|
+
Args: never;
|
|
52225
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
52226
|
+
};
|
|
52227
|
+
logistics_slip_is_floriday: {
|
|
52228
|
+
Args: {
|
|
52229
|
+
_slip_job_id: string;
|
|
52230
|
+
};
|
|
52231
|
+
Returns: boolean;
|
|
52232
|
+
};
|
|
52233
|
+
logistics_slip_note_claim: {
|
|
52234
|
+
Args: {
|
|
52235
|
+
_lease_seconds?: number;
|
|
52236
|
+
_limit?: number;
|
|
52237
|
+
};
|
|
52238
|
+
Returns: {
|
|
52239
|
+
attempts: number;
|
|
52240
|
+
batch_key: string | null;
|
|
52241
|
+
cart_id: string | null;
|
|
52242
|
+
created_at: string;
|
|
52243
|
+
error: string | null;
|
|
52244
|
+
error_code: string | null;
|
|
52245
|
+
fulfillment_order_id: string | null;
|
|
52246
|
+
id: string;
|
|
52247
|
+
locked_until: string | null;
|
|
52248
|
+
next_attempt_at: string | null;
|
|
52249
|
+
order_id: string | null;
|
|
52250
|
+
order_number: string | null;
|
|
52251
|
+
print_job_id: string | null;
|
|
52252
|
+
printer_id: string | null;
|
|
52253
|
+
retry_class: string | null;
|
|
52254
|
+
slip_job_id: string;
|
|
52255
|
+
status: string;
|
|
52256
|
+
updated_at: string;
|
|
52257
|
+
}[];
|
|
52258
|
+
SetofOptions: {
|
|
52259
|
+
from: "*";
|
|
52260
|
+
to: "logistics_slip_shipping_note";
|
|
52261
|
+
isOneToOne: false;
|
|
52262
|
+
isSetofReturn: true;
|
|
52263
|
+
};
|
|
52264
|
+
};
|
|
52265
|
+
logistics_slip_note_finish: {
|
|
52266
|
+
Args: {
|
|
52267
|
+
_error?: string;
|
|
52268
|
+
_error_code?: string;
|
|
52269
|
+
_fulfillment_order_id?: string;
|
|
52270
|
+
_id: string;
|
|
52271
|
+
_ok: boolean;
|
|
52272
|
+
_print_job_id?: string;
|
|
52273
|
+
_status?: string;
|
|
52274
|
+
};
|
|
52275
|
+
Returns: undefined;
|
|
52276
|
+
};
|
|
52277
|
+
logistics_slip_note_keep_waiting: {
|
|
52278
|
+
Args: {
|
|
52279
|
+
_class?: string;
|
|
52280
|
+
_id: string;
|
|
52281
|
+
_reason: string;
|
|
52282
|
+
};
|
|
52283
|
+
Returns: undefined;
|
|
52284
|
+
};
|
|
51197
52285
|
logistics_sticker_follows_slip: {
|
|
51198
52286
|
Args: never;
|
|
51199
52287
|
Returns: boolean;
|
|
@@ -51248,6 +52336,40 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
51248
52336
|
name: string;
|
|
51249
52337
|
}[];
|
|
51250
52338
|
};
|
|
52339
|
+
logistics_trace: {
|
|
52340
|
+
Args: {
|
|
52341
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
52342
|
+
};
|
|
52343
|
+
Returns: string;
|
|
52344
|
+
};
|
|
52345
|
+
logistics_trace_batch: {
|
|
52346
|
+
Args: {
|
|
52347
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
52348
|
+
};
|
|
52349
|
+
Returns: number;
|
|
52350
|
+
};
|
|
52351
|
+
logistics_trace_orders: {
|
|
52352
|
+
Args: {
|
|
52353
|
+
p_limit?: number;
|
|
52354
|
+
p_search?: string;
|
|
52355
|
+
p_since?: string;
|
|
52356
|
+
p_status?: string;
|
|
52357
|
+
};
|
|
52358
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
52359
|
+
};
|
|
52360
|
+
logistics_trace_redact: {
|
|
52361
|
+
Args: {
|
|
52362
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
52363
|
+
};
|
|
52364
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
52365
|
+
};
|
|
52366
|
+
logistics_trace_timeline: {
|
|
52367
|
+
Args: {
|
|
52368
|
+
p_limit?: number;
|
|
52369
|
+
p_order_ref: string;
|
|
52370
|
+
};
|
|
52371
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
52372
|
+
};
|
|
51251
52373
|
logistics_upsert_task: {
|
|
51252
52374
|
Args: {
|
|
51253
52375
|
p_buffer_ref: string;
|
|
@@ -52289,6 +53411,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
52289
53411
|
};
|
|
52290
53412
|
Returns: undefined;
|
|
52291
53413
|
};
|
|
53414
|
+
prune_floriday_api_log: {
|
|
53415
|
+
Args: never;
|
|
53416
|
+
Returns: number;
|
|
53417
|
+
};
|
|
52292
53418
|
quote_create_from_source: {
|
|
52293
53419
|
Args: {
|
|
52294
53420
|
_payload?: import("../../../integrations/supabase/types").Json;
|
|
@@ -53165,6 +54291,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
|
|
|
53165
54291
|
Args: never;
|
|
53166
54292
|
Returns: string;
|
|
53167
54293
|
};
|
|
54294
|
+
voorraad_cleanup_old_rows: {
|
|
54295
|
+
Args: never;
|
|
54296
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
54297
|
+
};
|
|
53168
54298
|
wake_print_queue: {
|
|
53169
54299
|
Args: {
|
|
53170
54300
|
_min_interval_ms?: number;
|
|
@@ -55466,6 +56596,45 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
55466
56596
|
};
|
|
55467
56597
|
Relationships: [];
|
|
55468
56598
|
};
|
|
56599
|
+
customer_product_stickers: {
|
|
56600
|
+
Row: {
|
|
56601
|
+
created_at: string;
|
|
56602
|
+
customer_key: string;
|
|
56603
|
+
file_name: string;
|
|
56604
|
+
file_path: string;
|
|
56605
|
+
file_size: number | null;
|
|
56606
|
+
id: string;
|
|
56607
|
+
mime_type: string | null;
|
|
56608
|
+
trade_item_key: string;
|
|
56609
|
+
updated_at: string;
|
|
56610
|
+
uploaded_by: string | null;
|
|
56611
|
+
};
|
|
56612
|
+
Insert: {
|
|
56613
|
+
created_at?: string;
|
|
56614
|
+
customer_key: string;
|
|
56615
|
+
file_name: string;
|
|
56616
|
+
file_path: string;
|
|
56617
|
+
file_size?: number | null;
|
|
56618
|
+
id?: string;
|
|
56619
|
+
mime_type?: string | null;
|
|
56620
|
+
trade_item_key: string;
|
|
56621
|
+
updated_at?: string;
|
|
56622
|
+
uploaded_by?: string | null;
|
|
56623
|
+
};
|
|
56624
|
+
Update: {
|
|
56625
|
+
created_at?: string;
|
|
56626
|
+
customer_key?: string;
|
|
56627
|
+
file_name?: string;
|
|
56628
|
+
file_path?: string;
|
|
56629
|
+
file_size?: number | null;
|
|
56630
|
+
id?: string;
|
|
56631
|
+
mime_type?: string | null;
|
|
56632
|
+
trade_item_key?: string;
|
|
56633
|
+
updated_at?: string;
|
|
56634
|
+
uploaded_by?: string | null;
|
|
56635
|
+
};
|
|
56636
|
+
Relationships: [];
|
|
56637
|
+
};
|
|
55469
56638
|
customer_selected_assortment: {
|
|
55470
56639
|
Row: {
|
|
55471
56640
|
article_number: string | null;
|
|
@@ -55514,6 +56683,30 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
55514
56683
|
referencedColumns: ["id"];
|
|
55515
56684
|
}];
|
|
55516
56685
|
};
|
|
56686
|
+
customer_sticker_settings: {
|
|
56687
|
+
Row: {
|
|
56688
|
+
created_at: string;
|
|
56689
|
+
customer_key: string;
|
|
56690
|
+
height_mm: number;
|
|
56691
|
+
updated_at: string;
|
|
56692
|
+
width_mm: number;
|
|
56693
|
+
};
|
|
56694
|
+
Insert: {
|
|
56695
|
+
created_at?: string;
|
|
56696
|
+
customer_key: string;
|
|
56697
|
+
height_mm?: number;
|
|
56698
|
+
updated_at?: string;
|
|
56699
|
+
width_mm?: number;
|
|
56700
|
+
};
|
|
56701
|
+
Update: {
|
|
56702
|
+
created_at?: string;
|
|
56703
|
+
customer_key?: string;
|
|
56704
|
+
height_mm?: number;
|
|
56705
|
+
updated_at?: string;
|
|
56706
|
+
width_mm?: number;
|
|
56707
|
+
};
|
|
56708
|
+
Relationships: [];
|
|
56709
|
+
};
|
|
55517
56710
|
customer_trade_settings: {
|
|
55518
56711
|
Row: {
|
|
55519
56712
|
category: string;
|
|
@@ -58844,6 +60037,102 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
58844
60037
|
referencedColumns: ["id"];
|
|
58845
60038
|
}];
|
|
58846
60039
|
};
|
|
60040
|
+
floriday_api_log: {
|
|
60041
|
+
Row: {
|
|
60042
|
+
action: string | null;
|
|
60043
|
+
caller: string | null;
|
|
60044
|
+
connection_id: string | null;
|
|
60045
|
+
created_at: string;
|
|
60046
|
+
cursor_from: number | null;
|
|
60047
|
+
direction: string;
|
|
60048
|
+
duration_ms: number | null;
|
|
60049
|
+
environment: string | null;
|
|
60050
|
+
error: string | null;
|
|
60051
|
+
floriday_id: string | null;
|
|
60052
|
+
floriday_reference: string | null;
|
|
60053
|
+
http_status: number;
|
|
60054
|
+
id: string;
|
|
60055
|
+
item_count: number | null;
|
|
60056
|
+
kind: string | null;
|
|
60057
|
+
local_id: string | null;
|
|
60058
|
+
local_reference: string | null;
|
|
60059
|
+
method: string;
|
|
60060
|
+
module: string | null;
|
|
60061
|
+
ok: boolean;
|
|
60062
|
+
path: string;
|
|
60063
|
+
request: import("../../../integrations/supabase/types").Json | null;
|
|
60064
|
+
resource_type: string | null;
|
|
60065
|
+
response: import("../../../integrations/supabase/types").Json | null;
|
|
60066
|
+
write_log_id: string | null;
|
|
60067
|
+
};
|
|
60068
|
+
Insert: {
|
|
60069
|
+
action?: string | null;
|
|
60070
|
+
caller?: string | null;
|
|
60071
|
+
connection_id?: string | null;
|
|
60072
|
+
created_at?: string;
|
|
60073
|
+
cursor_from?: number | null;
|
|
60074
|
+
direction: string;
|
|
60075
|
+
duration_ms?: number | null;
|
|
60076
|
+
environment?: string | null;
|
|
60077
|
+
error?: string | null;
|
|
60078
|
+
floriday_id?: string | null;
|
|
60079
|
+
floriday_reference?: string | null;
|
|
60080
|
+
http_status?: number;
|
|
60081
|
+
id?: string;
|
|
60082
|
+
item_count?: number | null;
|
|
60083
|
+
kind?: string | null;
|
|
60084
|
+
local_id?: string | null;
|
|
60085
|
+
local_reference?: string | null;
|
|
60086
|
+
method: string;
|
|
60087
|
+
module?: string | null;
|
|
60088
|
+
ok?: boolean;
|
|
60089
|
+
path: string;
|
|
60090
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
60091
|
+
resource_type?: string | null;
|
|
60092
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
60093
|
+
write_log_id?: string | null;
|
|
60094
|
+
};
|
|
60095
|
+
Update: {
|
|
60096
|
+
action?: string | null;
|
|
60097
|
+
caller?: string | null;
|
|
60098
|
+
connection_id?: string | null;
|
|
60099
|
+
created_at?: string;
|
|
60100
|
+
cursor_from?: number | null;
|
|
60101
|
+
direction?: string;
|
|
60102
|
+
duration_ms?: number | null;
|
|
60103
|
+
environment?: string | null;
|
|
60104
|
+
error?: string | null;
|
|
60105
|
+
floriday_id?: string | null;
|
|
60106
|
+
floriday_reference?: string | null;
|
|
60107
|
+
http_status?: number;
|
|
60108
|
+
id?: string;
|
|
60109
|
+
item_count?: number | null;
|
|
60110
|
+
kind?: string | null;
|
|
60111
|
+
local_id?: string | null;
|
|
60112
|
+
local_reference?: string | null;
|
|
60113
|
+
method?: string;
|
|
60114
|
+
module?: string | null;
|
|
60115
|
+
ok?: boolean;
|
|
60116
|
+
path?: string;
|
|
60117
|
+
request?: import("../../../integrations/supabase/types").Json | null;
|
|
60118
|
+
resource_type?: string | null;
|
|
60119
|
+
response?: import("../../../integrations/supabase/types").Json | null;
|
|
60120
|
+
write_log_id?: string | null;
|
|
60121
|
+
};
|
|
60122
|
+
Relationships: [{
|
|
60123
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60124
|
+
columns: ["connection_id"];
|
|
60125
|
+
isOneToOne: false;
|
|
60126
|
+
referencedRelation: "floriday_connections";
|
|
60127
|
+
referencedColumns: ["id"];
|
|
60128
|
+
}, {
|
|
60129
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60130
|
+
columns: ["write_log_id"];
|
|
60131
|
+
isOneToOne: false;
|
|
60132
|
+
referencedRelation: "floriday_write_log";
|
|
60133
|
+
referencedColumns: ["id"];
|
|
60134
|
+
}];
|
|
60135
|
+
};
|
|
58847
60136
|
floriday_auction_letters_cache: {
|
|
58848
60137
|
Row: {
|
|
58849
60138
|
auction_letter_code: string;
|
|
@@ -60044,6 +61333,69 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
60044
61333
|
referencedColumns: ["id"];
|
|
60045
61334
|
}];
|
|
60046
61335
|
};
|
|
61336
|
+
floriday_link_templates: {
|
|
61337
|
+
Row: {
|
|
61338
|
+
created_at: string;
|
|
61339
|
+
floriday_url_template: string | null;
|
|
61340
|
+
is_active: boolean;
|
|
61341
|
+
label: string;
|
|
61342
|
+
local_url_template: string | null;
|
|
61343
|
+
resource_type: string;
|
|
61344
|
+
updated_at: string;
|
|
61345
|
+
};
|
|
61346
|
+
Insert: {
|
|
61347
|
+
created_at?: string;
|
|
61348
|
+
floriday_url_template?: string | null;
|
|
61349
|
+
is_active?: boolean;
|
|
61350
|
+
label: string;
|
|
61351
|
+
local_url_template?: string | null;
|
|
61352
|
+
resource_type: string;
|
|
61353
|
+
updated_at?: string;
|
|
61354
|
+
};
|
|
61355
|
+
Update: {
|
|
61356
|
+
created_at?: string;
|
|
61357
|
+
floriday_url_template?: string | null;
|
|
61358
|
+
is_active?: boolean;
|
|
61359
|
+
label?: string;
|
|
61360
|
+
local_url_template?: string | null;
|
|
61361
|
+
resource_type?: string;
|
|
61362
|
+
updated_at?: string;
|
|
61363
|
+
};
|
|
61364
|
+
Relationships: [];
|
|
61365
|
+
};
|
|
61366
|
+
floriday_log_retention: {
|
|
61367
|
+
Row: {
|
|
61368
|
+
created_at: string;
|
|
61369
|
+
direction: string | null;
|
|
61370
|
+
id: string;
|
|
61371
|
+
keep_failed_days: number | null;
|
|
61372
|
+
keep_ok_days: number | null;
|
|
61373
|
+
note: string | null;
|
|
61374
|
+
resource_type: string | null;
|
|
61375
|
+
updated_at: string;
|
|
61376
|
+
};
|
|
61377
|
+
Insert: {
|
|
61378
|
+
created_at?: string;
|
|
61379
|
+
direction?: string | null;
|
|
61380
|
+
id?: string;
|
|
61381
|
+
keep_failed_days?: number | null;
|
|
61382
|
+
keep_ok_days?: number | null;
|
|
61383
|
+
note?: string | null;
|
|
61384
|
+
resource_type?: string | null;
|
|
61385
|
+
updated_at?: string;
|
|
61386
|
+
};
|
|
61387
|
+
Update: {
|
|
61388
|
+
created_at?: string;
|
|
61389
|
+
direction?: string | null;
|
|
61390
|
+
id?: string;
|
|
61391
|
+
keep_failed_days?: number | null;
|
|
61392
|
+
keep_ok_days?: number | null;
|
|
61393
|
+
note?: string | null;
|
|
61394
|
+
resource_type?: string | null;
|
|
61395
|
+
updated_at?: string;
|
|
61396
|
+
};
|
|
61397
|
+
Relationships: [];
|
|
61398
|
+
};
|
|
60047
61399
|
floriday_logistic_labels_cache: {
|
|
60048
61400
|
Row: {
|
|
60049
61401
|
byte_size: number | null;
|
|
@@ -64169,6 +65521,69 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
64169
65521
|
};
|
|
64170
65522
|
Relationships: [];
|
|
64171
65523
|
};
|
|
65524
|
+
logistics_slip_shipping_note: {
|
|
65525
|
+
Row: {
|
|
65526
|
+
attempts: number;
|
|
65527
|
+
batch_key: string | null;
|
|
65528
|
+
cart_id: string | null;
|
|
65529
|
+
created_at: string;
|
|
65530
|
+
error: string | null;
|
|
65531
|
+
error_code: string | null;
|
|
65532
|
+
fulfillment_order_id: string | null;
|
|
65533
|
+
id: string;
|
|
65534
|
+
locked_until: string | null;
|
|
65535
|
+
next_attempt_at: string | null;
|
|
65536
|
+
order_id: string | null;
|
|
65537
|
+
order_number: string | null;
|
|
65538
|
+
print_job_id: string | null;
|
|
65539
|
+
printer_id: string | null;
|
|
65540
|
+
retry_class: string | null;
|
|
65541
|
+
slip_job_id: string;
|
|
65542
|
+
status: string;
|
|
65543
|
+
updated_at: string;
|
|
65544
|
+
};
|
|
65545
|
+
Insert: {
|
|
65546
|
+
attempts?: number;
|
|
65547
|
+
batch_key?: string | null;
|
|
65548
|
+
cart_id?: string | null;
|
|
65549
|
+
created_at?: string;
|
|
65550
|
+
error?: string | null;
|
|
65551
|
+
error_code?: string | null;
|
|
65552
|
+
fulfillment_order_id?: string | null;
|
|
65553
|
+
id?: string;
|
|
65554
|
+
locked_until?: string | null;
|
|
65555
|
+
next_attempt_at?: string | null;
|
|
65556
|
+
order_id?: string | null;
|
|
65557
|
+
order_number?: string | null;
|
|
65558
|
+
print_job_id?: string | null;
|
|
65559
|
+
printer_id?: string | null;
|
|
65560
|
+
retry_class?: string | null;
|
|
65561
|
+
slip_job_id: string;
|
|
65562
|
+
status?: string;
|
|
65563
|
+
updated_at?: string;
|
|
65564
|
+
};
|
|
65565
|
+
Update: {
|
|
65566
|
+
attempts?: number;
|
|
65567
|
+
batch_key?: string | null;
|
|
65568
|
+
cart_id?: string | null;
|
|
65569
|
+
created_at?: string;
|
|
65570
|
+
error?: string | null;
|
|
65571
|
+
error_code?: string | null;
|
|
65572
|
+
fulfillment_order_id?: string | null;
|
|
65573
|
+
id?: string;
|
|
65574
|
+
locked_until?: string | null;
|
|
65575
|
+
next_attempt_at?: string | null;
|
|
65576
|
+
order_id?: string | null;
|
|
65577
|
+
order_number?: string | null;
|
|
65578
|
+
print_job_id?: string | null;
|
|
65579
|
+
printer_id?: string | null;
|
|
65580
|
+
retry_class?: string | null;
|
|
65581
|
+
slip_job_id?: string;
|
|
65582
|
+
status?: string;
|
|
65583
|
+
updated_at?: string;
|
|
65584
|
+
};
|
|
65585
|
+
Relationships: [];
|
|
65586
|
+
};
|
|
64172
65587
|
logistics_staff_planning: {
|
|
64173
65588
|
Row: {
|
|
64174
65589
|
created_at: string;
|
|
@@ -64520,6 +65935,111 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
64520
65935
|
};
|
|
64521
65936
|
Relationships: [];
|
|
64522
65937
|
};
|
|
65938
|
+
logistics_trace_events: {
|
|
65939
|
+
Row: {
|
|
65940
|
+
actor: string | null;
|
|
65941
|
+
attempts: number;
|
|
65942
|
+
cart_ref: string | null;
|
|
65943
|
+
created_at: string;
|
|
65944
|
+
db_action: string | null;
|
|
65945
|
+
db_new: import("../../../integrations/supabase/types").Json | null;
|
|
65946
|
+
db_old: import("../../../integrations/supabase/types").Json | null;
|
|
65947
|
+
db_record: string | null;
|
|
65948
|
+
db_table: string | null;
|
|
65949
|
+
decision: string | null;
|
|
65950
|
+
duration_ms: number | null;
|
|
65951
|
+
error: string | null;
|
|
65952
|
+
external_action: string | null;
|
|
65953
|
+
external_ref: string | null;
|
|
65954
|
+
external_response: import("../../../integrations/supabase/types").Json | null;
|
|
65955
|
+
external_status: string | null;
|
|
65956
|
+
external_system: string | null;
|
|
65957
|
+
id: string;
|
|
65958
|
+
input: import("../../../integrations/supabase/types").Json | null;
|
|
65959
|
+
next_attempt_at: string | null;
|
|
65960
|
+
order_ref: string | null;
|
|
65961
|
+
order_source: string | null;
|
|
65962
|
+
output: import("../../../integrations/supabase/types").Json | null;
|
|
65963
|
+
phase: string;
|
|
65964
|
+
reads: import("../../../integrations/supabase/types").Json | null;
|
|
65965
|
+
reason: string | null;
|
|
65966
|
+
rule: string | null;
|
|
65967
|
+
slip_ref: string | null;
|
|
65968
|
+
status: string;
|
|
65969
|
+
step: string;
|
|
65970
|
+
trace_id: string;
|
|
65971
|
+
values_used: import("../../../integrations/supabase/types").Json | null;
|
|
65972
|
+
};
|
|
65973
|
+
Insert: {
|
|
65974
|
+
actor?: string | null;
|
|
65975
|
+
attempts?: number;
|
|
65976
|
+
cart_ref?: string | null;
|
|
65977
|
+
created_at?: string;
|
|
65978
|
+
db_action?: string | null;
|
|
65979
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
65980
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
65981
|
+
db_record?: string | null;
|
|
65982
|
+
db_table?: string | null;
|
|
65983
|
+
decision?: string | null;
|
|
65984
|
+
duration_ms?: number | null;
|
|
65985
|
+
error?: string | null;
|
|
65986
|
+
external_action?: string | null;
|
|
65987
|
+
external_ref?: string | null;
|
|
65988
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
65989
|
+
external_status?: string | null;
|
|
65990
|
+
external_system?: string | null;
|
|
65991
|
+
id?: string;
|
|
65992
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
65993
|
+
next_attempt_at?: string | null;
|
|
65994
|
+
order_ref?: string | null;
|
|
65995
|
+
order_source?: string | null;
|
|
65996
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
65997
|
+
phase: string;
|
|
65998
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
65999
|
+
reason?: string | null;
|
|
66000
|
+
rule?: string | null;
|
|
66001
|
+
slip_ref?: string | null;
|
|
66002
|
+
status: string;
|
|
66003
|
+
step: string;
|
|
66004
|
+
trace_id?: string;
|
|
66005
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
66006
|
+
};
|
|
66007
|
+
Update: {
|
|
66008
|
+
actor?: string | null;
|
|
66009
|
+
attempts?: number;
|
|
66010
|
+
cart_ref?: string | null;
|
|
66011
|
+
created_at?: string;
|
|
66012
|
+
db_action?: string | null;
|
|
66013
|
+
db_new?: import("../../../integrations/supabase/types").Json | null;
|
|
66014
|
+
db_old?: import("../../../integrations/supabase/types").Json | null;
|
|
66015
|
+
db_record?: string | null;
|
|
66016
|
+
db_table?: string | null;
|
|
66017
|
+
decision?: string | null;
|
|
66018
|
+
duration_ms?: number | null;
|
|
66019
|
+
error?: string | null;
|
|
66020
|
+
external_action?: string | null;
|
|
66021
|
+
external_ref?: string | null;
|
|
66022
|
+
external_response?: import("../../../integrations/supabase/types").Json | null;
|
|
66023
|
+
external_status?: string | null;
|
|
66024
|
+
external_system?: string | null;
|
|
66025
|
+
id?: string;
|
|
66026
|
+
input?: import("../../../integrations/supabase/types").Json | null;
|
|
66027
|
+
next_attempt_at?: string | null;
|
|
66028
|
+
order_ref?: string | null;
|
|
66029
|
+
order_source?: string | null;
|
|
66030
|
+
output?: import("../../../integrations/supabase/types").Json | null;
|
|
66031
|
+
phase?: string;
|
|
66032
|
+
reads?: import("../../../integrations/supabase/types").Json | null;
|
|
66033
|
+
reason?: string | null;
|
|
66034
|
+
rule?: string | null;
|
|
66035
|
+
slip_ref?: string | null;
|
|
66036
|
+
status?: string;
|
|
66037
|
+
step?: string;
|
|
66038
|
+
trace_id?: string;
|
|
66039
|
+
values_used?: import("../../../integrations/supabase/types").Json | null;
|
|
66040
|
+
};
|
|
66041
|
+
Relationships: [];
|
|
66042
|
+
};
|
|
64523
66043
|
logistics_variables: {
|
|
64524
66044
|
Row: {
|
|
64525
66045
|
created_at: string;
|
|
@@ -75092,6 +76612,15 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
75092
76612
|
Args: never;
|
|
75093
76613
|
Returns: boolean;
|
|
75094
76614
|
};
|
|
76615
|
+
cancel_open_print_jobs: {
|
|
76616
|
+
Args: {
|
|
76617
|
+
_cutoff: string;
|
|
76618
|
+
};
|
|
76619
|
+
Returns: {
|
|
76620
|
+
extern_job_id: string;
|
|
76621
|
+
id: string;
|
|
76622
|
+
}[];
|
|
76623
|
+
};
|
|
75095
76624
|
check_offer_product_available_stock: {
|
|
75096
76625
|
Args: {
|
|
75097
76626
|
p_campaign_product_id: string;
|
|
@@ -76704,6 +78233,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
76704
78233
|
};
|
|
76705
78234
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
76706
78235
|
};
|
|
78236
|
+
logistics_cart_plan_status_core: {
|
|
78237
|
+
Args: {
|
|
78238
|
+
p_ref: string;
|
|
78239
|
+
};
|
|
78240
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
78241
|
+
};
|
|
76707
78242
|
logistics_cart_release_reason: {
|
|
76708
78243
|
Args: {
|
|
76709
78244
|
p_cart_id: string;
|
|
@@ -76766,6 +78301,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
76766
78301
|
unit_ref: string;
|
|
76767
78302
|
}[];
|
|
76768
78303
|
};
|
|
78304
|
+
logistics_carts_per_print: {
|
|
78305
|
+
Args: never;
|
|
78306
|
+
Returns: number;
|
|
78307
|
+
};
|
|
76769
78308
|
logistics_check_order_allowed: {
|
|
76770
78309
|
Args: {
|
|
76771
78310
|
p_lines: import("../../../integrations/supabase/types").Json;
|
|
@@ -77132,6 +78671,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77132
78671
|
};
|
|
77133
78672
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
77134
78673
|
};
|
|
78674
|
+
logistics_ensure_shipping_notes: {
|
|
78675
|
+
Args: {
|
|
78676
|
+
p_limit?: number;
|
|
78677
|
+
};
|
|
78678
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
78679
|
+
};
|
|
77135
78680
|
logistics_fail_task: {
|
|
77136
78681
|
Args: {
|
|
77137
78682
|
p_error: string;
|
|
@@ -77177,6 +78722,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77177
78722
|
isSetofReturn: false;
|
|
77178
78723
|
};
|
|
77179
78724
|
};
|
|
78725
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78726
|
+
Args: never;
|
|
78727
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
78728
|
+
};
|
|
77180
78729
|
logistics_floriday_cart_plan: {
|
|
77181
78730
|
Args: {
|
|
77182
78731
|
p_order_id: string;
|
|
@@ -77204,6 +78753,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77204
78753
|
revision: number;
|
|
77205
78754
|
}[];
|
|
77206
78755
|
};
|
|
78756
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78757
|
+
Args: never;
|
|
78758
|
+
Returns: boolean;
|
|
78759
|
+
};
|
|
77207
78760
|
logistics_floriday_finish_push: {
|
|
77208
78761
|
Args: {
|
|
77209
78762
|
_error?: string;
|
|
@@ -77447,6 +79000,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77447
79000
|
};
|
|
77448
79001
|
Returns: string;
|
|
77449
79002
|
};
|
|
79003
|
+
logistics_payload_is_floriday: {
|
|
79004
|
+
Args: {
|
|
79005
|
+
_payload: import("../../../integrations/supabase/types").Json;
|
|
79006
|
+
};
|
|
79007
|
+
Returns: boolean;
|
|
79008
|
+
};
|
|
77450
79009
|
logistics_pick_agenda: {
|
|
77451
79010
|
Args: {
|
|
77452
79011
|
p_from?: string;
|
|
@@ -77569,6 +79128,20 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77569
79128
|
Args: never;
|
|
77570
79129
|
Returns: undefined;
|
|
77571
79130
|
};
|
|
79131
|
+
logistics_plan_progress: {
|
|
79132
|
+
Args: {
|
|
79133
|
+
p_refs: string[];
|
|
79134
|
+
};
|
|
79135
|
+
Returns: {
|
|
79136
|
+
cart_plan_ready: boolean;
|
|
79137
|
+
cart_plan_reason: string;
|
|
79138
|
+
cart_plan_released: boolean;
|
|
79139
|
+
plan_progress: number;
|
|
79140
|
+
plan_state: string;
|
|
79141
|
+
plan_state_since: string;
|
|
79142
|
+
unit_ref: string;
|
|
79143
|
+
}[];
|
|
79144
|
+
};
|
|
77572
79145
|
logistics_plan_prune: {
|
|
77573
79146
|
Args: never;
|
|
77574
79147
|
Returns: number;
|
|
@@ -77590,6 +79163,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77590
79163
|
};
|
|
77591
79164
|
Returns: number;
|
|
77592
79165
|
};
|
|
79166
|
+
logistics_plan_state_for: {
|
|
79167
|
+
Args: {
|
|
79168
|
+
p_ref: string;
|
|
79169
|
+
};
|
|
79170
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79171
|
+
};
|
|
77593
79172
|
logistics_prepare_pick_documents: {
|
|
77594
79173
|
Args: {
|
|
77595
79174
|
p_limit?: number;
|
|
@@ -77648,6 +79227,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77648
79227
|
};
|
|
77649
79228
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
77650
79229
|
};
|
|
79230
|
+
logistics_refresh_plan_state: {
|
|
79231
|
+
Args: {
|
|
79232
|
+
p_limit?: number;
|
|
79233
|
+
};
|
|
79234
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79235
|
+
};
|
|
77651
79236
|
logistics_replan_all: {
|
|
77652
79237
|
Args: {
|
|
77653
79238
|
p_reason?: string;
|
|
@@ -77816,6 +79401,74 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77816
79401
|
};
|
|
77817
79402
|
Returns: import("../../../integrations/supabase/types").Json;
|
|
77818
79403
|
};
|
|
79404
|
+
logistics_shipping_note_job_for_slip: {
|
|
79405
|
+
Args: {
|
|
79406
|
+
_slip_job_id: string;
|
|
79407
|
+
};
|
|
79408
|
+
Returns: string;
|
|
79409
|
+
};
|
|
79410
|
+
logistics_shipping_notes_wake_all: {
|
|
79411
|
+
Args: never;
|
|
79412
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79413
|
+
};
|
|
79414
|
+
logistics_slip_is_floriday: {
|
|
79415
|
+
Args: {
|
|
79416
|
+
_slip_job_id: string;
|
|
79417
|
+
};
|
|
79418
|
+
Returns: boolean;
|
|
79419
|
+
};
|
|
79420
|
+
logistics_slip_note_claim: {
|
|
79421
|
+
Args: {
|
|
79422
|
+
_lease_seconds?: number;
|
|
79423
|
+
_limit?: number;
|
|
79424
|
+
};
|
|
79425
|
+
Returns: {
|
|
79426
|
+
attempts: number;
|
|
79427
|
+
batch_key: string | null;
|
|
79428
|
+
cart_id: string | null;
|
|
79429
|
+
created_at: string;
|
|
79430
|
+
error: string | null;
|
|
79431
|
+
error_code: string | null;
|
|
79432
|
+
fulfillment_order_id: string | null;
|
|
79433
|
+
id: string;
|
|
79434
|
+
locked_until: string | null;
|
|
79435
|
+
next_attempt_at: string | null;
|
|
79436
|
+
order_id: string | null;
|
|
79437
|
+
order_number: string | null;
|
|
79438
|
+
print_job_id: string | null;
|
|
79439
|
+
printer_id: string | null;
|
|
79440
|
+
retry_class: string | null;
|
|
79441
|
+
slip_job_id: string;
|
|
79442
|
+
status: string;
|
|
79443
|
+
updated_at: string;
|
|
79444
|
+
}[];
|
|
79445
|
+
SetofOptions: {
|
|
79446
|
+
from: "*";
|
|
79447
|
+
to: "logistics_slip_shipping_note";
|
|
79448
|
+
isOneToOne: false;
|
|
79449
|
+
isSetofReturn: true;
|
|
79450
|
+
};
|
|
79451
|
+
};
|
|
79452
|
+
logistics_slip_note_finish: {
|
|
79453
|
+
Args: {
|
|
79454
|
+
_error?: string;
|
|
79455
|
+
_error_code?: string;
|
|
79456
|
+
_fulfillment_order_id?: string;
|
|
79457
|
+
_id: string;
|
|
79458
|
+
_ok: boolean;
|
|
79459
|
+
_print_job_id?: string;
|
|
79460
|
+
_status?: string;
|
|
79461
|
+
};
|
|
79462
|
+
Returns: undefined;
|
|
79463
|
+
};
|
|
79464
|
+
logistics_slip_note_keep_waiting: {
|
|
79465
|
+
Args: {
|
|
79466
|
+
_class?: string;
|
|
79467
|
+
_id: string;
|
|
79468
|
+
_reason: string;
|
|
79469
|
+
};
|
|
79470
|
+
Returns: undefined;
|
|
79471
|
+
};
|
|
77819
79472
|
logistics_sticker_follows_slip: {
|
|
77820
79473
|
Args: never;
|
|
77821
79474
|
Returns: boolean;
|
|
@@ -77870,6 +79523,40 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
77870
79523
|
name: string;
|
|
77871
79524
|
}[];
|
|
77872
79525
|
};
|
|
79526
|
+
logistics_trace: {
|
|
79527
|
+
Args: {
|
|
79528
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
79529
|
+
};
|
|
79530
|
+
Returns: string;
|
|
79531
|
+
};
|
|
79532
|
+
logistics_trace_batch: {
|
|
79533
|
+
Args: {
|
|
79534
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
79535
|
+
};
|
|
79536
|
+
Returns: number;
|
|
79537
|
+
};
|
|
79538
|
+
logistics_trace_orders: {
|
|
79539
|
+
Args: {
|
|
79540
|
+
p_limit?: number;
|
|
79541
|
+
p_search?: string;
|
|
79542
|
+
p_since?: string;
|
|
79543
|
+
p_status?: string;
|
|
79544
|
+
};
|
|
79545
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79546
|
+
};
|
|
79547
|
+
logistics_trace_redact: {
|
|
79548
|
+
Args: {
|
|
79549
|
+
p: import("../../../integrations/supabase/types").Json;
|
|
79550
|
+
};
|
|
79551
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79552
|
+
};
|
|
79553
|
+
logistics_trace_timeline: {
|
|
79554
|
+
Args: {
|
|
79555
|
+
p_limit?: number;
|
|
79556
|
+
p_order_ref: string;
|
|
79557
|
+
};
|
|
79558
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
79559
|
+
};
|
|
77873
79560
|
logistics_upsert_task: {
|
|
77874
79561
|
Args: {
|
|
77875
79562
|
p_buffer_ref: string;
|
|
@@ -78911,6 +80598,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
78911
80598
|
};
|
|
78912
80599
|
Returns: undefined;
|
|
78913
80600
|
};
|
|
80601
|
+
prune_floriday_api_log: {
|
|
80602
|
+
Args: never;
|
|
80603
|
+
Returns: number;
|
|
80604
|
+
};
|
|
78914
80605
|
quote_create_from_source: {
|
|
78915
80606
|
Args: {
|
|
78916
80607
|
_payload?: import("../../../integrations/supabase/types").Json;
|
|
@@ -79787,6 +81478,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
|
|
|
79787
81478
|
Args: never;
|
|
79788
81479
|
Returns: string;
|
|
79789
81480
|
};
|
|
81481
|
+
voorraad_cleanup_old_rows: {
|
|
81482
|
+
Args: never;
|
|
81483
|
+
Returns: import("../../../integrations/supabase/types").Json;
|
|
81484
|
+
};
|
|
79790
81485
|
wake_print_queue: {
|
|
79791
81486
|
Args: {
|
|
79792
81487
|
_min_interval_ms?: number;
|