@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
|
@@ -2228,6 +2228,45 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
2228
2228
|
};
|
|
2229
2229
|
Relationships: [];
|
|
2230
2230
|
};
|
|
2231
|
+
customer_product_stickers: {
|
|
2232
|
+
Row: {
|
|
2233
|
+
created_at: string;
|
|
2234
|
+
customer_key: string;
|
|
2235
|
+
file_name: string;
|
|
2236
|
+
file_path: string;
|
|
2237
|
+
file_size: number | null;
|
|
2238
|
+
id: string;
|
|
2239
|
+
mime_type: string | null;
|
|
2240
|
+
trade_item_key: string;
|
|
2241
|
+
updated_at: string;
|
|
2242
|
+
uploaded_by: string | null;
|
|
2243
|
+
};
|
|
2244
|
+
Insert: {
|
|
2245
|
+
created_at?: string;
|
|
2246
|
+
customer_key: string;
|
|
2247
|
+
file_name: string;
|
|
2248
|
+
file_path: string;
|
|
2249
|
+
file_size?: number | null;
|
|
2250
|
+
id?: string;
|
|
2251
|
+
mime_type?: string | null;
|
|
2252
|
+
trade_item_key: string;
|
|
2253
|
+
updated_at?: string;
|
|
2254
|
+
uploaded_by?: string | null;
|
|
2255
|
+
};
|
|
2256
|
+
Update: {
|
|
2257
|
+
created_at?: string;
|
|
2258
|
+
customer_key?: string;
|
|
2259
|
+
file_name?: string;
|
|
2260
|
+
file_path?: string;
|
|
2261
|
+
file_size?: number | null;
|
|
2262
|
+
id?: string;
|
|
2263
|
+
mime_type?: string | null;
|
|
2264
|
+
trade_item_key?: string;
|
|
2265
|
+
updated_at?: string;
|
|
2266
|
+
uploaded_by?: string | null;
|
|
2267
|
+
};
|
|
2268
|
+
Relationships: [];
|
|
2269
|
+
};
|
|
2231
2270
|
customer_selected_assortment: {
|
|
2232
2271
|
Row: {
|
|
2233
2272
|
article_number: string | null;
|
|
@@ -2276,6 +2315,30 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
2276
2315
|
referencedColumns: ["id"];
|
|
2277
2316
|
}];
|
|
2278
2317
|
};
|
|
2318
|
+
customer_sticker_settings: {
|
|
2319
|
+
Row: {
|
|
2320
|
+
created_at: string;
|
|
2321
|
+
customer_key: string;
|
|
2322
|
+
height_mm: number;
|
|
2323
|
+
updated_at: string;
|
|
2324
|
+
width_mm: number;
|
|
2325
|
+
};
|
|
2326
|
+
Insert: {
|
|
2327
|
+
created_at?: string;
|
|
2328
|
+
customer_key: string;
|
|
2329
|
+
height_mm?: number;
|
|
2330
|
+
updated_at?: string;
|
|
2331
|
+
width_mm?: number;
|
|
2332
|
+
};
|
|
2333
|
+
Update: {
|
|
2334
|
+
created_at?: string;
|
|
2335
|
+
customer_key?: string;
|
|
2336
|
+
height_mm?: number;
|
|
2337
|
+
updated_at?: string;
|
|
2338
|
+
width_mm?: number;
|
|
2339
|
+
};
|
|
2340
|
+
Relationships: [];
|
|
2341
|
+
};
|
|
2279
2342
|
customer_trade_settings: {
|
|
2280
2343
|
Row: {
|
|
2281
2344
|
category: string;
|
|
@@ -5606,6 +5669,102 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
5606
5669
|
referencedColumns: ["id"];
|
|
5607
5670
|
}];
|
|
5608
5671
|
};
|
|
5672
|
+
floriday_api_log: {
|
|
5673
|
+
Row: {
|
|
5674
|
+
action: string | null;
|
|
5675
|
+
caller: string | null;
|
|
5676
|
+
connection_id: string | null;
|
|
5677
|
+
created_at: string;
|
|
5678
|
+
cursor_from: number | null;
|
|
5679
|
+
direction: string;
|
|
5680
|
+
duration_ms: number | null;
|
|
5681
|
+
environment: string | null;
|
|
5682
|
+
error: string | null;
|
|
5683
|
+
floriday_id: string | null;
|
|
5684
|
+
floriday_reference: string | null;
|
|
5685
|
+
http_status: number;
|
|
5686
|
+
id: string;
|
|
5687
|
+
item_count: number | null;
|
|
5688
|
+
kind: string | null;
|
|
5689
|
+
local_id: string | null;
|
|
5690
|
+
local_reference: string | null;
|
|
5691
|
+
method: string;
|
|
5692
|
+
module: string | null;
|
|
5693
|
+
ok: boolean;
|
|
5694
|
+
path: string;
|
|
5695
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5696
|
+
resource_type: string | null;
|
|
5697
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5698
|
+
write_log_id: string | null;
|
|
5699
|
+
};
|
|
5700
|
+
Insert: {
|
|
5701
|
+
action?: string | null;
|
|
5702
|
+
caller?: string | null;
|
|
5703
|
+
connection_id?: string | null;
|
|
5704
|
+
created_at?: string;
|
|
5705
|
+
cursor_from?: number | null;
|
|
5706
|
+
direction: string;
|
|
5707
|
+
duration_ms?: number | null;
|
|
5708
|
+
environment?: string | null;
|
|
5709
|
+
error?: string | null;
|
|
5710
|
+
floriday_id?: string | null;
|
|
5711
|
+
floriday_reference?: string | null;
|
|
5712
|
+
http_status?: number;
|
|
5713
|
+
id?: string;
|
|
5714
|
+
item_count?: number | null;
|
|
5715
|
+
kind?: string | null;
|
|
5716
|
+
local_id?: string | null;
|
|
5717
|
+
local_reference?: string | null;
|
|
5718
|
+
method: string;
|
|
5719
|
+
module?: string | null;
|
|
5720
|
+
ok?: boolean;
|
|
5721
|
+
path: string;
|
|
5722
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5723
|
+
resource_type?: string | null;
|
|
5724
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5725
|
+
write_log_id?: string | null;
|
|
5726
|
+
};
|
|
5727
|
+
Update: {
|
|
5728
|
+
action?: string | null;
|
|
5729
|
+
caller?: string | null;
|
|
5730
|
+
connection_id?: string | null;
|
|
5731
|
+
created_at?: string;
|
|
5732
|
+
cursor_from?: number | null;
|
|
5733
|
+
direction?: string;
|
|
5734
|
+
duration_ms?: number | null;
|
|
5735
|
+
environment?: string | null;
|
|
5736
|
+
error?: string | null;
|
|
5737
|
+
floriday_id?: string | null;
|
|
5738
|
+
floriday_reference?: string | null;
|
|
5739
|
+
http_status?: number;
|
|
5740
|
+
id?: string;
|
|
5741
|
+
item_count?: number | null;
|
|
5742
|
+
kind?: string | null;
|
|
5743
|
+
local_id?: string | null;
|
|
5744
|
+
local_reference?: string | null;
|
|
5745
|
+
method?: string;
|
|
5746
|
+
module?: string | null;
|
|
5747
|
+
ok?: boolean;
|
|
5748
|
+
path?: string;
|
|
5749
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5750
|
+
resource_type?: string | null;
|
|
5751
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5752
|
+
write_log_id?: string | null;
|
|
5753
|
+
};
|
|
5754
|
+
Relationships: [{
|
|
5755
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5756
|
+
columns: ["connection_id"];
|
|
5757
|
+
isOneToOne: false;
|
|
5758
|
+
referencedRelation: "floriday_connections";
|
|
5759
|
+
referencedColumns: ["id"];
|
|
5760
|
+
}, {
|
|
5761
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5762
|
+
columns: ["write_log_id"];
|
|
5763
|
+
isOneToOne: false;
|
|
5764
|
+
referencedRelation: "floriday_write_log";
|
|
5765
|
+
referencedColumns: ["id"];
|
|
5766
|
+
}];
|
|
5767
|
+
};
|
|
5609
5768
|
floriday_auction_letters_cache: {
|
|
5610
5769
|
Row: {
|
|
5611
5770
|
auction_letter_code: string;
|
|
@@ -6806,6 +6965,69 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
6806
6965
|
referencedColumns: ["id"];
|
|
6807
6966
|
}];
|
|
6808
6967
|
};
|
|
6968
|
+
floriday_link_templates: {
|
|
6969
|
+
Row: {
|
|
6970
|
+
created_at: string;
|
|
6971
|
+
floriday_url_template: string | null;
|
|
6972
|
+
is_active: boolean;
|
|
6973
|
+
label: string;
|
|
6974
|
+
local_url_template: string | null;
|
|
6975
|
+
resource_type: string;
|
|
6976
|
+
updated_at: string;
|
|
6977
|
+
};
|
|
6978
|
+
Insert: {
|
|
6979
|
+
created_at?: string;
|
|
6980
|
+
floriday_url_template?: string | null;
|
|
6981
|
+
is_active?: boolean;
|
|
6982
|
+
label: string;
|
|
6983
|
+
local_url_template?: string | null;
|
|
6984
|
+
resource_type: string;
|
|
6985
|
+
updated_at?: string;
|
|
6986
|
+
};
|
|
6987
|
+
Update: {
|
|
6988
|
+
created_at?: string;
|
|
6989
|
+
floriday_url_template?: string | null;
|
|
6990
|
+
is_active?: boolean;
|
|
6991
|
+
label?: string;
|
|
6992
|
+
local_url_template?: string | null;
|
|
6993
|
+
resource_type?: string;
|
|
6994
|
+
updated_at?: string;
|
|
6995
|
+
};
|
|
6996
|
+
Relationships: [];
|
|
6997
|
+
};
|
|
6998
|
+
floriday_log_retention: {
|
|
6999
|
+
Row: {
|
|
7000
|
+
created_at: string;
|
|
7001
|
+
direction: string | null;
|
|
7002
|
+
id: string;
|
|
7003
|
+
keep_failed_days: number | null;
|
|
7004
|
+
keep_ok_days: number | null;
|
|
7005
|
+
note: string | null;
|
|
7006
|
+
resource_type: string | null;
|
|
7007
|
+
updated_at: string;
|
|
7008
|
+
};
|
|
7009
|
+
Insert: {
|
|
7010
|
+
created_at?: string;
|
|
7011
|
+
direction?: string | null;
|
|
7012
|
+
id?: string;
|
|
7013
|
+
keep_failed_days?: number | null;
|
|
7014
|
+
keep_ok_days?: number | null;
|
|
7015
|
+
note?: string | null;
|
|
7016
|
+
resource_type?: string | null;
|
|
7017
|
+
updated_at?: string;
|
|
7018
|
+
};
|
|
7019
|
+
Update: {
|
|
7020
|
+
created_at?: string;
|
|
7021
|
+
direction?: string | null;
|
|
7022
|
+
id?: string;
|
|
7023
|
+
keep_failed_days?: number | null;
|
|
7024
|
+
keep_ok_days?: number | null;
|
|
7025
|
+
note?: string | null;
|
|
7026
|
+
resource_type?: string | null;
|
|
7027
|
+
updated_at?: string;
|
|
7028
|
+
};
|
|
7029
|
+
Relationships: [];
|
|
7030
|
+
};
|
|
6809
7031
|
floriday_logistic_labels_cache: {
|
|
6810
7032
|
Row: {
|
|
6811
7033
|
byte_size: number | null;
|
|
@@ -10931,6 +11153,69 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
10931
11153
|
};
|
|
10932
11154
|
Relationships: [];
|
|
10933
11155
|
};
|
|
11156
|
+
logistics_slip_shipping_note: {
|
|
11157
|
+
Row: {
|
|
11158
|
+
attempts: number;
|
|
11159
|
+
batch_key: string | null;
|
|
11160
|
+
cart_id: string | null;
|
|
11161
|
+
created_at: string;
|
|
11162
|
+
error: string | null;
|
|
11163
|
+
error_code: string | null;
|
|
11164
|
+
fulfillment_order_id: string | null;
|
|
11165
|
+
id: string;
|
|
11166
|
+
locked_until: string | null;
|
|
11167
|
+
next_attempt_at: string | null;
|
|
11168
|
+
order_id: string | null;
|
|
11169
|
+
order_number: string | null;
|
|
11170
|
+
print_job_id: string | null;
|
|
11171
|
+
printer_id: string | null;
|
|
11172
|
+
retry_class: string | null;
|
|
11173
|
+
slip_job_id: string;
|
|
11174
|
+
status: string;
|
|
11175
|
+
updated_at: string;
|
|
11176
|
+
};
|
|
11177
|
+
Insert: {
|
|
11178
|
+
attempts?: number;
|
|
11179
|
+
batch_key?: string | null;
|
|
11180
|
+
cart_id?: string | null;
|
|
11181
|
+
created_at?: string;
|
|
11182
|
+
error?: string | null;
|
|
11183
|
+
error_code?: string | null;
|
|
11184
|
+
fulfillment_order_id?: string | null;
|
|
11185
|
+
id?: string;
|
|
11186
|
+
locked_until?: string | null;
|
|
11187
|
+
next_attempt_at?: string | null;
|
|
11188
|
+
order_id?: string | null;
|
|
11189
|
+
order_number?: string | null;
|
|
11190
|
+
print_job_id?: string | null;
|
|
11191
|
+
printer_id?: string | null;
|
|
11192
|
+
retry_class?: string | null;
|
|
11193
|
+
slip_job_id: string;
|
|
11194
|
+
status?: string;
|
|
11195
|
+
updated_at?: string;
|
|
11196
|
+
};
|
|
11197
|
+
Update: {
|
|
11198
|
+
attempts?: number;
|
|
11199
|
+
batch_key?: string | null;
|
|
11200
|
+
cart_id?: string | null;
|
|
11201
|
+
created_at?: string;
|
|
11202
|
+
error?: string | null;
|
|
11203
|
+
error_code?: string | null;
|
|
11204
|
+
fulfillment_order_id?: string | null;
|
|
11205
|
+
id?: string;
|
|
11206
|
+
locked_until?: string | null;
|
|
11207
|
+
next_attempt_at?: string | null;
|
|
11208
|
+
order_id?: string | null;
|
|
11209
|
+
order_number?: string | null;
|
|
11210
|
+
print_job_id?: string | null;
|
|
11211
|
+
printer_id?: string | null;
|
|
11212
|
+
retry_class?: string | null;
|
|
11213
|
+
slip_job_id?: string;
|
|
11214
|
+
status?: string;
|
|
11215
|
+
updated_at?: string;
|
|
11216
|
+
};
|
|
11217
|
+
Relationships: [];
|
|
11218
|
+
};
|
|
10934
11219
|
logistics_staff_planning: {
|
|
10935
11220
|
Row: {
|
|
10936
11221
|
created_at: string;
|
|
@@ -11282,6 +11567,111 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
11282
11567
|
};
|
|
11283
11568
|
Relationships: [];
|
|
11284
11569
|
};
|
|
11570
|
+
logistics_trace_events: {
|
|
11571
|
+
Row: {
|
|
11572
|
+
actor: string | null;
|
|
11573
|
+
attempts: number;
|
|
11574
|
+
cart_ref: string | null;
|
|
11575
|
+
created_at: string;
|
|
11576
|
+
db_action: string | null;
|
|
11577
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11578
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11579
|
+
db_record: string | null;
|
|
11580
|
+
db_table: string | null;
|
|
11581
|
+
decision: string | null;
|
|
11582
|
+
duration_ms: number | null;
|
|
11583
|
+
error: string | null;
|
|
11584
|
+
external_action: string | null;
|
|
11585
|
+
external_ref: string | null;
|
|
11586
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11587
|
+
external_status: string | null;
|
|
11588
|
+
external_system: string | null;
|
|
11589
|
+
id: string;
|
|
11590
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11591
|
+
next_attempt_at: string | null;
|
|
11592
|
+
order_ref: string | null;
|
|
11593
|
+
order_source: string | null;
|
|
11594
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11595
|
+
phase: string;
|
|
11596
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11597
|
+
reason: string | null;
|
|
11598
|
+
rule: string | null;
|
|
11599
|
+
slip_ref: string | null;
|
|
11600
|
+
status: string;
|
|
11601
|
+
step: string;
|
|
11602
|
+
trace_id: string;
|
|
11603
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11604
|
+
};
|
|
11605
|
+
Insert: {
|
|
11606
|
+
actor?: string | null;
|
|
11607
|
+
attempts?: number;
|
|
11608
|
+
cart_ref?: string | null;
|
|
11609
|
+
created_at?: string;
|
|
11610
|
+
db_action?: string | null;
|
|
11611
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11612
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11613
|
+
db_record?: string | null;
|
|
11614
|
+
db_table?: string | null;
|
|
11615
|
+
decision?: string | null;
|
|
11616
|
+
duration_ms?: number | null;
|
|
11617
|
+
error?: string | null;
|
|
11618
|
+
external_action?: string | null;
|
|
11619
|
+
external_ref?: string | null;
|
|
11620
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11621
|
+
external_status?: string | null;
|
|
11622
|
+
external_system?: string | null;
|
|
11623
|
+
id?: string;
|
|
11624
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
next_attempt_at?: string | null;
|
|
11626
|
+
order_ref?: string | null;
|
|
11627
|
+
order_source?: string | null;
|
|
11628
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11629
|
+
phase: string;
|
|
11630
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11631
|
+
reason?: string | null;
|
|
11632
|
+
rule?: string | null;
|
|
11633
|
+
slip_ref?: string | null;
|
|
11634
|
+
status: string;
|
|
11635
|
+
step: string;
|
|
11636
|
+
trace_id?: string;
|
|
11637
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11638
|
+
};
|
|
11639
|
+
Update: {
|
|
11640
|
+
actor?: string | null;
|
|
11641
|
+
attempts?: number;
|
|
11642
|
+
cart_ref?: string | null;
|
|
11643
|
+
created_at?: string;
|
|
11644
|
+
db_action?: string | null;
|
|
11645
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11646
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11647
|
+
db_record?: string | null;
|
|
11648
|
+
db_table?: string | null;
|
|
11649
|
+
decision?: string | null;
|
|
11650
|
+
duration_ms?: number | null;
|
|
11651
|
+
error?: string | null;
|
|
11652
|
+
external_action?: string | null;
|
|
11653
|
+
external_ref?: string | null;
|
|
11654
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11655
|
+
external_status?: string | null;
|
|
11656
|
+
external_system?: string | null;
|
|
11657
|
+
id?: string;
|
|
11658
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
next_attempt_at?: string | null;
|
|
11660
|
+
order_ref?: string | null;
|
|
11661
|
+
order_source?: string | null;
|
|
11662
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11663
|
+
phase?: string;
|
|
11664
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11665
|
+
reason?: string | null;
|
|
11666
|
+
rule?: string | null;
|
|
11667
|
+
slip_ref?: string | null;
|
|
11668
|
+
status?: string;
|
|
11669
|
+
step?: string;
|
|
11670
|
+
trace_id?: string;
|
|
11671
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11672
|
+
};
|
|
11673
|
+
Relationships: [];
|
|
11674
|
+
};
|
|
11285
11675
|
logistics_variables: {
|
|
11286
11676
|
Row: {
|
|
11287
11677
|
created_at: string;
|
|
@@ -21854,6 +22244,15 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
21854
22244
|
Args: never;
|
|
21855
22245
|
Returns: boolean;
|
|
21856
22246
|
};
|
|
22247
|
+
cancel_open_print_jobs: {
|
|
22248
|
+
Args: {
|
|
22249
|
+
_cutoff: string;
|
|
22250
|
+
};
|
|
22251
|
+
Returns: {
|
|
22252
|
+
extern_job_id: string;
|
|
22253
|
+
id: string;
|
|
22254
|
+
}[];
|
|
22255
|
+
};
|
|
21857
22256
|
check_offer_product_available_stock: {
|
|
21858
22257
|
Args: {
|
|
21859
22258
|
p_campaign_product_id: string;
|
|
@@ -23466,6 +23865,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
23466
23865
|
};
|
|
23467
23866
|
Returns: import("../integrations/supabase/types").Json;
|
|
23468
23867
|
};
|
|
23868
|
+
logistics_cart_plan_status_core: {
|
|
23869
|
+
Args: {
|
|
23870
|
+
p_ref: string;
|
|
23871
|
+
};
|
|
23872
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23873
|
+
};
|
|
23469
23874
|
logistics_cart_release_reason: {
|
|
23470
23875
|
Args: {
|
|
23471
23876
|
p_cart_id: string;
|
|
@@ -23528,6 +23933,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
23528
23933
|
unit_ref: string;
|
|
23529
23934
|
}[];
|
|
23530
23935
|
};
|
|
23936
|
+
logistics_carts_per_print: {
|
|
23937
|
+
Args: never;
|
|
23938
|
+
Returns: number;
|
|
23939
|
+
};
|
|
23531
23940
|
logistics_check_order_allowed: {
|
|
23532
23941
|
Args: {
|
|
23533
23942
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23894,6 +24303,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
23894
24303
|
};
|
|
23895
24304
|
Returns: import("../integrations/supabase/types").Json;
|
|
23896
24305
|
};
|
|
24306
|
+
logistics_ensure_shipping_notes: {
|
|
24307
|
+
Args: {
|
|
24308
|
+
p_limit?: number;
|
|
24309
|
+
};
|
|
24310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24311
|
+
};
|
|
23897
24312
|
logistics_fail_task: {
|
|
23898
24313
|
Args: {
|
|
23899
24314
|
p_error: string;
|
|
@@ -23939,6 +24354,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
23939
24354
|
isSetofReturn: false;
|
|
23940
24355
|
};
|
|
23941
24356
|
};
|
|
24357
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24358
|
+
Args: never;
|
|
24359
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24360
|
+
};
|
|
23942
24361
|
logistics_floriday_cart_plan: {
|
|
23943
24362
|
Args: {
|
|
23944
24363
|
p_order_id: string;
|
|
@@ -23966,6 +24385,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
23966
24385
|
revision: number;
|
|
23967
24386
|
}[];
|
|
23968
24387
|
};
|
|
24388
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24389
|
+
Args: never;
|
|
24390
|
+
Returns: boolean;
|
|
24391
|
+
};
|
|
23969
24392
|
logistics_floriday_finish_push: {
|
|
23970
24393
|
Args: {
|
|
23971
24394
|
_error?: string;
|
|
@@ -24209,6 +24632,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24209
24632
|
};
|
|
24210
24633
|
Returns: string;
|
|
24211
24634
|
};
|
|
24635
|
+
logistics_payload_is_floriday: {
|
|
24636
|
+
Args: {
|
|
24637
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24638
|
+
};
|
|
24639
|
+
Returns: boolean;
|
|
24640
|
+
};
|
|
24212
24641
|
logistics_pick_agenda: {
|
|
24213
24642
|
Args: {
|
|
24214
24643
|
p_from?: string;
|
|
@@ -24331,6 +24760,20 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24331
24760
|
Args: never;
|
|
24332
24761
|
Returns: undefined;
|
|
24333
24762
|
};
|
|
24763
|
+
logistics_plan_progress: {
|
|
24764
|
+
Args: {
|
|
24765
|
+
p_refs: string[];
|
|
24766
|
+
};
|
|
24767
|
+
Returns: {
|
|
24768
|
+
cart_plan_ready: boolean;
|
|
24769
|
+
cart_plan_reason: string;
|
|
24770
|
+
cart_plan_released: boolean;
|
|
24771
|
+
plan_progress: number;
|
|
24772
|
+
plan_state: string;
|
|
24773
|
+
plan_state_since: string;
|
|
24774
|
+
unit_ref: string;
|
|
24775
|
+
}[];
|
|
24776
|
+
};
|
|
24334
24777
|
logistics_plan_prune: {
|
|
24335
24778
|
Args: never;
|
|
24336
24779
|
Returns: number;
|
|
@@ -24352,6 +24795,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24352
24795
|
};
|
|
24353
24796
|
Returns: number;
|
|
24354
24797
|
};
|
|
24798
|
+
logistics_plan_state_for: {
|
|
24799
|
+
Args: {
|
|
24800
|
+
p_ref: string;
|
|
24801
|
+
};
|
|
24802
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24803
|
+
};
|
|
24355
24804
|
logistics_prepare_pick_documents: {
|
|
24356
24805
|
Args: {
|
|
24357
24806
|
p_limit?: number;
|
|
@@ -24410,6 +24859,12 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24410
24859
|
};
|
|
24411
24860
|
Returns: import("../integrations/supabase/types").Json;
|
|
24412
24861
|
};
|
|
24862
|
+
logistics_refresh_plan_state: {
|
|
24863
|
+
Args: {
|
|
24864
|
+
p_limit?: number;
|
|
24865
|
+
};
|
|
24866
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24867
|
+
};
|
|
24413
24868
|
logistics_replan_all: {
|
|
24414
24869
|
Args: {
|
|
24415
24870
|
p_reason?: string;
|
|
@@ -24578,6 +25033,74 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24578
25033
|
};
|
|
24579
25034
|
Returns: import("../integrations/supabase/types").Json;
|
|
24580
25035
|
};
|
|
25036
|
+
logistics_shipping_note_job_for_slip: {
|
|
25037
|
+
Args: {
|
|
25038
|
+
_slip_job_id: string;
|
|
25039
|
+
};
|
|
25040
|
+
Returns: string;
|
|
25041
|
+
};
|
|
25042
|
+
logistics_shipping_notes_wake_all: {
|
|
25043
|
+
Args: never;
|
|
25044
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25045
|
+
};
|
|
25046
|
+
logistics_slip_is_floriday: {
|
|
25047
|
+
Args: {
|
|
25048
|
+
_slip_job_id: string;
|
|
25049
|
+
};
|
|
25050
|
+
Returns: boolean;
|
|
25051
|
+
};
|
|
25052
|
+
logistics_slip_note_claim: {
|
|
25053
|
+
Args: {
|
|
25054
|
+
_lease_seconds?: number;
|
|
25055
|
+
_limit?: number;
|
|
25056
|
+
};
|
|
25057
|
+
Returns: {
|
|
25058
|
+
attempts: number;
|
|
25059
|
+
batch_key: string | null;
|
|
25060
|
+
cart_id: string | null;
|
|
25061
|
+
created_at: string;
|
|
25062
|
+
error: string | null;
|
|
25063
|
+
error_code: string | null;
|
|
25064
|
+
fulfillment_order_id: string | null;
|
|
25065
|
+
id: string;
|
|
25066
|
+
locked_until: string | null;
|
|
25067
|
+
next_attempt_at: string | null;
|
|
25068
|
+
order_id: string | null;
|
|
25069
|
+
order_number: string | null;
|
|
25070
|
+
print_job_id: string | null;
|
|
25071
|
+
printer_id: string | null;
|
|
25072
|
+
retry_class: string | null;
|
|
25073
|
+
slip_job_id: string;
|
|
25074
|
+
status: string;
|
|
25075
|
+
updated_at: string;
|
|
25076
|
+
}[];
|
|
25077
|
+
SetofOptions: {
|
|
25078
|
+
from: "*";
|
|
25079
|
+
to: "logistics_slip_shipping_note";
|
|
25080
|
+
isOneToOne: false;
|
|
25081
|
+
isSetofReturn: true;
|
|
25082
|
+
};
|
|
25083
|
+
};
|
|
25084
|
+
logistics_slip_note_finish: {
|
|
25085
|
+
Args: {
|
|
25086
|
+
_error?: string;
|
|
25087
|
+
_error_code?: string;
|
|
25088
|
+
_fulfillment_order_id?: string;
|
|
25089
|
+
_id: string;
|
|
25090
|
+
_ok: boolean;
|
|
25091
|
+
_print_job_id?: string;
|
|
25092
|
+
_status?: string;
|
|
25093
|
+
};
|
|
25094
|
+
Returns: undefined;
|
|
25095
|
+
};
|
|
25096
|
+
logistics_slip_note_keep_waiting: {
|
|
25097
|
+
Args: {
|
|
25098
|
+
_class?: string;
|
|
25099
|
+
_id: string;
|
|
25100
|
+
_reason: string;
|
|
25101
|
+
};
|
|
25102
|
+
Returns: undefined;
|
|
25103
|
+
};
|
|
24581
25104
|
logistics_sticker_follows_slip: {
|
|
24582
25105
|
Args: never;
|
|
24583
25106
|
Returns: boolean;
|
|
@@ -24632,6 +25155,40 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
24632
25155
|
name: string;
|
|
24633
25156
|
}[];
|
|
24634
25157
|
};
|
|
25158
|
+
logistics_trace: {
|
|
25159
|
+
Args: {
|
|
25160
|
+
p: import("../integrations/supabase/types").Json;
|
|
25161
|
+
};
|
|
25162
|
+
Returns: string;
|
|
25163
|
+
};
|
|
25164
|
+
logistics_trace_batch: {
|
|
25165
|
+
Args: {
|
|
25166
|
+
p: import("../integrations/supabase/types").Json;
|
|
25167
|
+
};
|
|
25168
|
+
Returns: number;
|
|
25169
|
+
};
|
|
25170
|
+
logistics_trace_orders: {
|
|
25171
|
+
Args: {
|
|
25172
|
+
p_limit?: number;
|
|
25173
|
+
p_search?: string;
|
|
25174
|
+
p_since?: string;
|
|
25175
|
+
p_status?: string;
|
|
25176
|
+
};
|
|
25177
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25178
|
+
};
|
|
25179
|
+
logistics_trace_redact: {
|
|
25180
|
+
Args: {
|
|
25181
|
+
p: import("../integrations/supabase/types").Json;
|
|
25182
|
+
};
|
|
25183
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25184
|
+
};
|
|
25185
|
+
logistics_trace_timeline: {
|
|
25186
|
+
Args: {
|
|
25187
|
+
p_limit?: number;
|
|
25188
|
+
p_order_ref: string;
|
|
25189
|
+
};
|
|
25190
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25191
|
+
};
|
|
24635
25192
|
logistics_upsert_task: {
|
|
24636
25193
|
Args: {
|
|
24637
25194
|
p_buffer_ref: string;
|
|
@@ -25673,6 +26230,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
25673
26230
|
};
|
|
25674
26231
|
Returns: undefined;
|
|
25675
26232
|
};
|
|
26233
|
+
prune_floriday_api_log: {
|
|
26234
|
+
Args: never;
|
|
26235
|
+
Returns: number;
|
|
26236
|
+
};
|
|
25676
26237
|
quote_create_from_source: {
|
|
25677
26238
|
Args: {
|
|
25678
26239
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26549,6 +27110,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
|
|
|
26549
27110
|
Args: never;
|
|
26550
27111
|
Returns: string;
|
|
26551
27112
|
};
|
|
27113
|
+
voorraad_cleanup_old_rows: {
|
|
27114
|
+
Args: never;
|
|
27115
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27116
|
+
};
|
|
26552
27117
|
wake_print_queue: {
|
|
26553
27118
|
Args: {
|
|
26554
27119
|
_min_interval_ms?: number;
|