@flowselections/floriday-klanten-module 1.0.36 → 1.0.37
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/BulkStickerUploadDialog.d.ts.map +1 -1
- package/dist-lib/components/klanten/BulkStickerUploadDialog.js +30 -8
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/CustomerAssortmentTab.js +48 -10
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +129 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +129 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +129 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +129 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/client.server.d.ts +7 -8
- package/dist-lib/lib/accounting/twinfield/client.server.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/client.server.js +147 -78
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +387 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.server.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.server.js +17 -0
- package/dist-lib/lib/accounting.functions.d.ts +387 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +129 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-assortment.functions.d.ts +132 -3
- package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-assortment.functions.js +12 -0
- package/dist-lib/lib/customer-notes.functions.d.ts +258 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +129 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-stickers.functions.d.ts +1165 -0
- package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-stickers.functions.js +122 -75
- package/dist-lib/lib/customers.functions.d.ts +1161 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +645 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +516 -0
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +129 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +258 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-price-import.functions.d.ts +258 -0
- package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sticker-import.functions.d.ts +27323 -0
- package/dist-lib/lib/floriday-sticker-import.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-sticker-import.functions.js +307 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +129 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +903 -0
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +129 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +516 -0
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +129 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +1677 -0
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +129 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +258 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +129 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1832,6 +1832,42 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
1832
1832
|
};
|
|
1833
1833
|
Relationships: [];
|
|
1834
1834
|
};
|
|
1835
|
+
customer_assortment_items: {
|
|
1836
|
+
Row: {
|
|
1837
|
+
created_at: string;
|
|
1838
|
+
customer_key: string;
|
|
1839
|
+
id: string;
|
|
1840
|
+
in_assortment: boolean;
|
|
1841
|
+
manual_override: boolean;
|
|
1842
|
+
source: string;
|
|
1843
|
+
synced_at: string | null;
|
|
1844
|
+
trade_item_key: string;
|
|
1845
|
+
updated_at: string;
|
|
1846
|
+
};
|
|
1847
|
+
Insert: {
|
|
1848
|
+
created_at?: string;
|
|
1849
|
+
customer_key: string;
|
|
1850
|
+
id?: string;
|
|
1851
|
+
in_assortment?: boolean;
|
|
1852
|
+
manual_override?: boolean;
|
|
1853
|
+
source?: string;
|
|
1854
|
+
synced_at?: string | null;
|
|
1855
|
+
trade_item_key: string;
|
|
1856
|
+
updated_at?: string;
|
|
1857
|
+
};
|
|
1858
|
+
Update: {
|
|
1859
|
+
created_at?: string;
|
|
1860
|
+
customer_key?: string;
|
|
1861
|
+
id?: string;
|
|
1862
|
+
in_assortment?: boolean;
|
|
1863
|
+
manual_override?: boolean;
|
|
1864
|
+
source?: string;
|
|
1865
|
+
synced_at?: string | null;
|
|
1866
|
+
trade_item_key?: string;
|
|
1867
|
+
updated_at?: string;
|
|
1868
|
+
};
|
|
1869
|
+
Relationships: [];
|
|
1870
|
+
};
|
|
1835
1871
|
customer_audit_log: {
|
|
1836
1872
|
Row: {
|
|
1837
1873
|
action: string;
|
|
@@ -2236,40 +2272,58 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
2236
2272
|
};
|
|
2237
2273
|
customer_product_stickers: {
|
|
2238
2274
|
Row: {
|
|
2275
|
+
content_hash: string | null;
|
|
2239
2276
|
created_at: string;
|
|
2240
2277
|
customer_key: string;
|
|
2241
2278
|
file_name: string;
|
|
2242
2279
|
file_path: string;
|
|
2243
2280
|
file_size: number | null;
|
|
2281
|
+
floriday_sticker_id: string | null;
|
|
2282
|
+
floriday_synced_at: string | null;
|
|
2283
|
+
height_mm: number | null;
|
|
2244
2284
|
id: string;
|
|
2245
2285
|
mime_type: string | null;
|
|
2286
|
+
source: string;
|
|
2246
2287
|
trade_item_key: string;
|
|
2247
2288
|
updated_at: string;
|
|
2248
2289
|
uploaded_by: string | null;
|
|
2290
|
+
width_mm: number | null;
|
|
2249
2291
|
};
|
|
2250
2292
|
Insert: {
|
|
2293
|
+
content_hash?: string | null;
|
|
2251
2294
|
created_at?: string;
|
|
2252
2295
|
customer_key: string;
|
|
2253
2296
|
file_name: string;
|
|
2254
2297
|
file_path: string;
|
|
2255
2298
|
file_size?: number | null;
|
|
2299
|
+
floriday_sticker_id?: string | null;
|
|
2300
|
+
floriday_synced_at?: string | null;
|
|
2301
|
+
height_mm?: number | null;
|
|
2256
2302
|
id?: string;
|
|
2257
2303
|
mime_type?: string | null;
|
|
2304
|
+
source?: string;
|
|
2258
2305
|
trade_item_key: string;
|
|
2259
2306
|
updated_at?: string;
|
|
2260
2307
|
uploaded_by?: string | null;
|
|
2308
|
+
width_mm?: number | null;
|
|
2261
2309
|
};
|
|
2262
2310
|
Update: {
|
|
2311
|
+
content_hash?: string | null;
|
|
2263
2312
|
created_at?: string;
|
|
2264
2313
|
customer_key?: string;
|
|
2265
2314
|
file_name?: string;
|
|
2266
2315
|
file_path?: string;
|
|
2267
2316
|
file_size?: number | null;
|
|
2317
|
+
floriday_sticker_id?: string | null;
|
|
2318
|
+
floriday_synced_at?: string | null;
|
|
2319
|
+
height_mm?: number | null;
|
|
2268
2320
|
id?: string;
|
|
2269
2321
|
mime_type?: string | null;
|
|
2322
|
+
source?: string;
|
|
2270
2323
|
trade_item_key?: string;
|
|
2271
2324
|
updated_at?: string;
|
|
2272
2325
|
uploaded_by?: string | null;
|
|
2326
|
+
width_mm?: number | null;
|
|
2273
2327
|
};
|
|
2274
2328
|
Relationships: [];
|
|
2275
2329
|
};
|
|
@@ -11577,6 +11631,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11577
11631
|
Row: {
|
|
11578
11632
|
actor: string | null;
|
|
11579
11633
|
attempts: number;
|
|
11634
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11580
11635
|
cart_ref: string | null;
|
|
11581
11636
|
created_at: string;
|
|
11582
11637
|
db_action: string | null;
|
|
@@ -11587,6 +11642,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11587
11642
|
decision: string | null;
|
|
11588
11643
|
duration_ms: number | null;
|
|
11589
11644
|
error: string | null;
|
|
11645
|
+
error_class: string | null;
|
|
11590
11646
|
external_action: string | null;
|
|
11591
11647
|
external_ref: string | null;
|
|
11592
11648
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11595,6 +11651,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11595
11651
|
id: string;
|
|
11596
11652
|
input: import("../integrations/supabase/types").Json | null;
|
|
11597
11653
|
next_attempt_at: string | null;
|
|
11654
|
+
next_step: string | null;
|
|
11655
|
+
node_id: string | null;
|
|
11598
11656
|
order_ref: string | null;
|
|
11599
11657
|
order_source: string | null;
|
|
11600
11658
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11611,6 +11669,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11611
11669
|
Insert: {
|
|
11612
11670
|
actor?: string | null;
|
|
11613
11671
|
attempts?: number;
|
|
11672
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11614
11673
|
cart_ref?: string | null;
|
|
11615
11674
|
created_at?: string;
|
|
11616
11675
|
db_action?: string | null;
|
|
@@ -11621,6 +11680,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11621
11680
|
decision?: string | null;
|
|
11622
11681
|
duration_ms?: number | null;
|
|
11623
11682
|
error?: string | null;
|
|
11683
|
+
error_class?: string | null;
|
|
11624
11684
|
external_action?: string | null;
|
|
11625
11685
|
external_ref?: string | null;
|
|
11626
11686
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11629,6 +11689,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11629
11689
|
id?: string;
|
|
11630
11690
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11631
11691
|
next_attempt_at?: string | null;
|
|
11692
|
+
next_step?: string | null;
|
|
11693
|
+
node_id?: string | null;
|
|
11632
11694
|
order_ref?: string | null;
|
|
11633
11695
|
order_source?: string | null;
|
|
11634
11696
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11645,6 +11707,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11645
11707
|
Update: {
|
|
11646
11708
|
actor?: string | null;
|
|
11647
11709
|
attempts?: number;
|
|
11710
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11648
11711
|
cart_ref?: string | null;
|
|
11649
11712
|
created_at?: string;
|
|
11650
11713
|
db_action?: string | null;
|
|
@@ -11655,6 +11718,7 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11655
11718
|
decision?: string | null;
|
|
11656
11719
|
duration_ms?: number | null;
|
|
11657
11720
|
error?: string | null;
|
|
11721
|
+
error_class?: string | null;
|
|
11658
11722
|
external_action?: string | null;
|
|
11659
11723
|
external_ref?: string | null;
|
|
11660
11724
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11663,6 +11727,8 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
11663
11727
|
id?: string;
|
|
11664
11728
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11665
11729
|
next_attempt_at?: string | null;
|
|
11730
|
+
next_step?: string | null;
|
|
11731
|
+
node_id?: string | null;
|
|
11666
11732
|
order_ref?: string | null;
|
|
11667
11733
|
order_source?: string | null;
|
|
11668
11734
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25167,12 +25233,59 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
25167
25233
|
};
|
|
25168
25234
|
Returns: string;
|
|
25169
25235
|
};
|
|
25236
|
+
logistics_trace_all_orders: {
|
|
25237
|
+
Args: {
|
|
25238
|
+
p_limit?: number;
|
|
25239
|
+
p_search?: string;
|
|
25240
|
+
};
|
|
25241
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25242
|
+
};
|
|
25170
25243
|
logistics_trace_batch: {
|
|
25171
25244
|
Args: {
|
|
25172
25245
|
p: import("../integrations/supabase/types").Json;
|
|
25173
25246
|
};
|
|
25174
25247
|
Returns: number;
|
|
25175
25248
|
};
|
|
25249
|
+
logistics_trace_node: {
|
|
25250
|
+
Args: {
|
|
25251
|
+
p_op?: string;
|
|
25252
|
+
p_status?: string;
|
|
25253
|
+
p_table: string;
|
|
25254
|
+
};
|
|
25255
|
+
Returns: string;
|
|
25256
|
+
};
|
|
25257
|
+
logistics_trace_order_overview: {
|
|
25258
|
+
Args: {
|
|
25259
|
+
p_error_class?: string;
|
|
25260
|
+
p_limit?: number;
|
|
25261
|
+
p_search?: string;
|
|
25262
|
+
p_since?: string;
|
|
25263
|
+
p_source?: string;
|
|
25264
|
+
p_state?: string;
|
|
25265
|
+
p_step?: string;
|
|
25266
|
+
};
|
|
25267
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25268
|
+
};
|
|
25269
|
+
logistics_trace_order_state: {
|
|
25270
|
+
Args: {
|
|
25271
|
+
p_order_ref: string;
|
|
25272
|
+
};
|
|
25273
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25274
|
+
};
|
|
25275
|
+
logistics_trace_order_step: {
|
|
25276
|
+
Args: {
|
|
25277
|
+
p_class?: string;
|
|
25278
|
+
p_decision?: string;
|
|
25279
|
+
p_error?: string;
|
|
25280
|
+
p_next_step?: string;
|
|
25281
|
+
p_node: string;
|
|
25282
|
+
p_order_id: string;
|
|
25283
|
+
p_reason?: string;
|
|
25284
|
+
p_status: string;
|
|
25285
|
+
p_step: string;
|
|
25286
|
+
};
|
|
25287
|
+
Returns: undefined;
|
|
25288
|
+
};
|
|
25176
25289
|
logistics_trace_orders: {
|
|
25177
25290
|
Args: {
|
|
25178
25291
|
p_limit?: number;
|
|
@@ -25195,6 +25308,22 @@ export declare const listLogisticsStrategies: import("@tanstack/start-client-cor
|
|
|
25195
25308
|
};
|
|
25196
25309
|
Returns: import("../integrations/supabase/types").Json;
|
|
25197
25310
|
};
|
|
25311
|
+
logistics_trace_version_events: {
|
|
25312
|
+
Args: {
|
|
25313
|
+
p_from?: string;
|
|
25314
|
+
p_limit?: number;
|
|
25315
|
+
p_order_ref: string;
|
|
25316
|
+
p_to?: string;
|
|
25317
|
+
p_version_id: string;
|
|
25318
|
+
};
|
|
25319
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25320
|
+
};
|
|
25321
|
+
logistics_trace_versions: {
|
|
25322
|
+
Args: {
|
|
25323
|
+
p_order_ref: string;
|
|
25324
|
+
};
|
|
25325
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25326
|
+
};
|
|
25198
25327
|
logistics_upsert_task: {
|
|
25199
25328
|
Args: {
|
|
25200
25329
|
p_buffer_ref: string;
|
|
@@ -29015,6 +29144,42 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29015
29144
|
};
|
|
29016
29145
|
Relationships: [];
|
|
29017
29146
|
};
|
|
29147
|
+
customer_assortment_items: {
|
|
29148
|
+
Row: {
|
|
29149
|
+
created_at: string;
|
|
29150
|
+
customer_key: string;
|
|
29151
|
+
id: string;
|
|
29152
|
+
in_assortment: boolean;
|
|
29153
|
+
manual_override: boolean;
|
|
29154
|
+
source: string;
|
|
29155
|
+
synced_at: string | null;
|
|
29156
|
+
trade_item_key: string;
|
|
29157
|
+
updated_at: string;
|
|
29158
|
+
};
|
|
29159
|
+
Insert: {
|
|
29160
|
+
created_at?: string;
|
|
29161
|
+
customer_key: string;
|
|
29162
|
+
id?: string;
|
|
29163
|
+
in_assortment?: boolean;
|
|
29164
|
+
manual_override?: boolean;
|
|
29165
|
+
source?: string;
|
|
29166
|
+
synced_at?: string | null;
|
|
29167
|
+
trade_item_key: string;
|
|
29168
|
+
updated_at?: string;
|
|
29169
|
+
};
|
|
29170
|
+
Update: {
|
|
29171
|
+
created_at?: string;
|
|
29172
|
+
customer_key?: string;
|
|
29173
|
+
id?: string;
|
|
29174
|
+
in_assortment?: boolean;
|
|
29175
|
+
manual_override?: boolean;
|
|
29176
|
+
source?: string;
|
|
29177
|
+
synced_at?: string | null;
|
|
29178
|
+
trade_item_key?: string;
|
|
29179
|
+
updated_at?: string;
|
|
29180
|
+
};
|
|
29181
|
+
Relationships: [];
|
|
29182
|
+
};
|
|
29018
29183
|
customer_audit_log: {
|
|
29019
29184
|
Row: {
|
|
29020
29185
|
action: string;
|
|
@@ -29419,40 +29584,58 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
29419
29584
|
};
|
|
29420
29585
|
customer_product_stickers: {
|
|
29421
29586
|
Row: {
|
|
29587
|
+
content_hash: string | null;
|
|
29422
29588
|
created_at: string;
|
|
29423
29589
|
customer_key: string;
|
|
29424
29590
|
file_name: string;
|
|
29425
29591
|
file_path: string;
|
|
29426
29592
|
file_size: number | null;
|
|
29593
|
+
floriday_sticker_id: string | null;
|
|
29594
|
+
floriday_synced_at: string | null;
|
|
29595
|
+
height_mm: number | null;
|
|
29427
29596
|
id: string;
|
|
29428
29597
|
mime_type: string | null;
|
|
29598
|
+
source: string;
|
|
29429
29599
|
trade_item_key: string;
|
|
29430
29600
|
updated_at: string;
|
|
29431
29601
|
uploaded_by: string | null;
|
|
29602
|
+
width_mm: number | null;
|
|
29432
29603
|
};
|
|
29433
29604
|
Insert: {
|
|
29605
|
+
content_hash?: string | null;
|
|
29434
29606
|
created_at?: string;
|
|
29435
29607
|
customer_key: string;
|
|
29436
29608
|
file_name: string;
|
|
29437
29609
|
file_path: string;
|
|
29438
29610
|
file_size?: number | null;
|
|
29611
|
+
floriday_sticker_id?: string | null;
|
|
29612
|
+
floriday_synced_at?: string | null;
|
|
29613
|
+
height_mm?: number | null;
|
|
29439
29614
|
id?: string;
|
|
29440
29615
|
mime_type?: string | null;
|
|
29616
|
+
source?: string;
|
|
29441
29617
|
trade_item_key: string;
|
|
29442
29618
|
updated_at?: string;
|
|
29443
29619
|
uploaded_by?: string | null;
|
|
29620
|
+
width_mm?: number | null;
|
|
29444
29621
|
};
|
|
29445
29622
|
Update: {
|
|
29623
|
+
content_hash?: string | null;
|
|
29446
29624
|
created_at?: string;
|
|
29447
29625
|
customer_key?: string;
|
|
29448
29626
|
file_name?: string;
|
|
29449
29627
|
file_path?: string;
|
|
29450
29628
|
file_size?: number | null;
|
|
29629
|
+
floriday_sticker_id?: string | null;
|
|
29630
|
+
floriday_synced_at?: string | null;
|
|
29631
|
+
height_mm?: number | null;
|
|
29451
29632
|
id?: string;
|
|
29452
29633
|
mime_type?: string | null;
|
|
29634
|
+
source?: string;
|
|
29453
29635
|
trade_item_key?: string;
|
|
29454
29636
|
updated_at?: string;
|
|
29455
29637
|
uploaded_by?: string | null;
|
|
29638
|
+
width_mm?: number | null;
|
|
29456
29639
|
};
|
|
29457
29640
|
Relationships: [];
|
|
29458
29641
|
};
|
|
@@ -38760,6 +38943,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38760
38943
|
Row: {
|
|
38761
38944
|
actor: string | null;
|
|
38762
38945
|
attempts: number;
|
|
38946
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38763
38947
|
cart_ref: string | null;
|
|
38764
38948
|
created_at: string;
|
|
38765
38949
|
db_action: string | null;
|
|
@@ -38770,6 +38954,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38770
38954
|
decision: string | null;
|
|
38771
38955
|
duration_ms: number | null;
|
|
38772
38956
|
error: string | null;
|
|
38957
|
+
error_class: string | null;
|
|
38773
38958
|
external_action: string | null;
|
|
38774
38959
|
external_ref: string | null;
|
|
38775
38960
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38778,6 +38963,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38778
38963
|
id: string;
|
|
38779
38964
|
input: import("../integrations/supabase/types").Json | null;
|
|
38780
38965
|
next_attempt_at: string | null;
|
|
38966
|
+
next_step: string | null;
|
|
38967
|
+
node_id: string | null;
|
|
38781
38968
|
order_ref: string | null;
|
|
38782
38969
|
order_source: string | null;
|
|
38783
38970
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38794,6 +38981,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38794
38981
|
Insert: {
|
|
38795
38982
|
actor?: string | null;
|
|
38796
38983
|
attempts?: number;
|
|
38984
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38797
38985
|
cart_ref?: string | null;
|
|
38798
38986
|
created_at?: string;
|
|
38799
38987
|
db_action?: string | null;
|
|
@@ -38804,6 +38992,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38804
38992
|
decision?: string | null;
|
|
38805
38993
|
duration_ms?: number | null;
|
|
38806
38994
|
error?: string | null;
|
|
38995
|
+
error_class?: string | null;
|
|
38807
38996
|
external_action?: string | null;
|
|
38808
38997
|
external_ref?: string | null;
|
|
38809
38998
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38812,6 +39001,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38812
39001
|
id?: string;
|
|
38813
39002
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38814
39003
|
next_attempt_at?: string | null;
|
|
39004
|
+
next_step?: string | null;
|
|
39005
|
+
node_id?: string | null;
|
|
38815
39006
|
order_ref?: string | null;
|
|
38816
39007
|
order_source?: string | null;
|
|
38817
39008
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38828,6 +39019,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38828
39019
|
Update: {
|
|
38829
39020
|
actor?: string | null;
|
|
38830
39021
|
attempts?: number;
|
|
39022
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38831
39023
|
cart_ref?: string | null;
|
|
38832
39024
|
created_at?: string;
|
|
38833
39025
|
db_action?: string | null;
|
|
@@ -38838,6 +39030,7 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38838
39030
|
decision?: string | null;
|
|
38839
39031
|
duration_ms?: number | null;
|
|
38840
39032
|
error?: string | null;
|
|
39033
|
+
error_class?: string | null;
|
|
38841
39034
|
external_action?: string | null;
|
|
38842
39035
|
external_ref?: string | null;
|
|
38843
39036
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38846,6 +39039,8 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
38846
39039
|
id?: string;
|
|
38847
39040
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38848
39041
|
next_attempt_at?: string | null;
|
|
39042
|
+
next_step?: string | null;
|
|
39043
|
+
node_id?: string | null;
|
|
38849
39044
|
order_ref?: string | null;
|
|
38850
39045
|
order_source?: string | null;
|
|
38851
39046
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52350,12 +52545,59 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
52350
52545
|
};
|
|
52351
52546
|
Returns: string;
|
|
52352
52547
|
};
|
|
52548
|
+
logistics_trace_all_orders: {
|
|
52549
|
+
Args: {
|
|
52550
|
+
p_limit?: number;
|
|
52551
|
+
p_search?: string;
|
|
52552
|
+
};
|
|
52553
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52554
|
+
};
|
|
52353
52555
|
logistics_trace_batch: {
|
|
52354
52556
|
Args: {
|
|
52355
52557
|
p: import("../integrations/supabase/types").Json;
|
|
52356
52558
|
};
|
|
52357
52559
|
Returns: number;
|
|
52358
52560
|
};
|
|
52561
|
+
logistics_trace_node: {
|
|
52562
|
+
Args: {
|
|
52563
|
+
p_op?: string;
|
|
52564
|
+
p_status?: string;
|
|
52565
|
+
p_table: string;
|
|
52566
|
+
};
|
|
52567
|
+
Returns: string;
|
|
52568
|
+
};
|
|
52569
|
+
logistics_trace_order_overview: {
|
|
52570
|
+
Args: {
|
|
52571
|
+
p_error_class?: string;
|
|
52572
|
+
p_limit?: number;
|
|
52573
|
+
p_search?: string;
|
|
52574
|
+
p_since?: string;
|
|
52575
|
+
p_source?: string;
|
|
52576
|
+
p_state?: string;
|
|
52577
|
+
p_step?: string;
|
|
52578
|
+
};
|
|
52579
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52580
|
+
};
|
|
52581
|
+
logistics_trace_order_state: {
|
|
52582
|
+
Args: {
|
|
52583
|
+
p_order_ref: string;
|
|
52584
|
+
};
|
|
52585
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52586
|
+
};
|
|
52587
|
+
logistics_trace_order_step: {
|
|
52588
|
+
Args: {
|
|
52589
|
+
p_class?: string;
|
|
52590
|
+
p_decision?: string;
|
|
52591
|
+
p_error?: string;
|
|
52592
|
+
p_next_step?: string;
|
|
52593
|
+
p_node: string;
|
|
52594
|
+
p_order_id: string;
|
|
52595
|
+
p_reason?: string;
|
|
52596
|
+
p_status: string;
|
|
52597
|
+
p_step: string;
|
|
52598
|
+
};
|
|
52599
|
+
Returns: undefined;
|
|
52600
|
+
};
|
|
52359
52601
|
logistics_trace_orders: {
|
|
52360
52602
|
Args: {
|
|
52361
52603
|
p_limit?: number;
|
|
@@ -52378,6 +52620,22 @@ export declare const getLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
52378
52620
|
};
|
|
52379
52621
|
Returns: import("../integrations/supabase/types").Json;
|
|
52380
52622
|
};
|
|
52623
|
+
logistics_trace_version_events: {
|
|
52624
|
+
Args: {
|
|
52625
|
+
p_from?: string;
|
|
52626
|
+
p_limit?: number;
|
|
52627
|
+
p_order_ref: string;
|
|
52628
|
+
p_to?: string;
|
|
52629
|
+
p_version_id: string;
|
|
52630
|
+
};
|
|
52631
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52632
|
+
};
|
|
52633
|
+
logistics_trace_versions: {
|
|
52634
|
+
Args: {
|
|
52635
|
+
p_order_ref: string;
|
|
52636
|
+
};
|
|
52637
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52638
|
+
};
|
|
52381
52639
|
logistics_upsert_task: {
|
|
52382
52640
|
Args: {
|
|
52383
52641
|
p_buffer_ref: string;
|
|
@@ -56210,6 +56468,42 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
56210
56468
|
};
|
|
56211
56469
|
Relationships: [];
|
|
56212
56470
|
};
|
|
56471
|
+
customer_assortment_items: {
|
|
56472
|
+
Row: {
|
|
56473
|
+
created_at: string;
|
|
56474
|
+
customer_key: string;
|
|
56475
|
+
id: string;
|
|
56476
|
+
in_assortment: boolean;
|
|
56477
|
+
manual_override: boolean;
|
|
56478
|
+
source: string;
|
|
56479
|
+
synced_at: string | null;
|
|
56480
|
+
trade_item_key: string;
|
|
56481
|
+
updated_at: string;
|
|
56482
|
+
};
|
|
56483
|
+
Insert: {
|
|
56484
|
+
created_at?: string;
|
|
56485
|
+
customer_key: string;
|
|
56486
|
+
id?: string;
|
|
56487
|
+
in_assortment?: boolean;
|
|
56488
|
+
manual_override?: boolean;
|
|
56489
|
+
source?: string;
|
|
56490
|
+
synced_at?: string | null;
|
|
56491
|
+
trade_item_key: string;
|
|
56492
|
+
updated_at?: string;
|
|
56493
|
+
};
|
|
56494
|
+
Update: {
|
|
56495
|
+
created_at?: string;
|
|
56496
|
+
customer_key?: string;
|
|
56497
|
+
id?: string;
|
|
56498
|
+
in_assortment?: boolean;
|
|
56499
|
+
manual_override?: boolean;
|
|
56500
|
+
source?: string;
|
|
56501
|
+
synced_at?: string | null;
|
|
56502
|
+
trade_item_key?: string;
|
|
56503
|
+
updated_at?: string;
|
|
56504
|
+
};
|
|
56505
|
+
Relationships: [];
|
|
56506
|
+
};
|
|
56213
56507
|
customer_audit_log: {
|
|
56214
56508
|
Row: {
|
|
56215
56509
|
action: string;
|
|
@@ -56614,40 +56908,58 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
56614
56908
|
};
|
|
56615
56909
|
customer_product_stickers: {
|
|
56616
56910
|
Row: {
|
|
56911
|
+
content_hash: string | null;
|
|
56617
56912
|
created_at: string;
|
|
56618
56913
|
customer_key: string;
|
|
56619
56914
|
file_name: string;
|
|
56620
56915
|
file_path: string;
|
|
56621
56916
|
file_size: number | null;
|
|
56917
|
+
floriday_sticker_id: string | null;
|
|
56918
|
+
floriday_synced_at: string | null;
|
|
56919
|
+
height_mm: number | null;
|
|
56622
56920
|
id: string;
|
|
56623
56921
|
mime_type: string | null;
|
|
56922
|
+
source: string;
|
|
56624
56923
|
trade_item_key: string;
|
|
56625
56924
|
updated_at: string;
|
|
56626
56925
|
uploaded_by: string | null;
|
|
56926
|
+
width_mm: number | null;
|
|
56627
56927
|
};
|
|
56628
56928
|
Insert: {
|
|
56929
|
+
content_hash?: string | null;
|
|
56629
56930
|
created_at?: string;
|
|
56630
56931
|
customer_key: string;
|
|
56631
56932
|
file_name: string;
|
|
56632
56933
|
file_path: string;
|
|
56633
56934
|
file_size?: number | null;
|
|
56935
|
+
floriday_sticker_id?: string | null;
|
|
56936
|
+
floriday_synced_at?: string | null;
|
|
56937
|
+
height_mm?: number | null;
|
|
56634
56938
|
id?: string;
|
|
56635
56939
|
mime_type?: string | null;
|
|
56940
|
+
source?: string;
|
|
56636
56941
|
trade_item_key: string;
|
|
56637
56942
|
updated_at?: string;
|
|
56638
56943
|
uploaded_by?: string | null;
|
|
56944
|
+
width_mm?: number | null;
|
|
56639
56945
|
};
|
|
56640
56946
|
Update: {
|
|
56947
|
+
content_hash?: string | null;
|
|
56641
56948
|
created_at?: string;
|
|
56642
56949
|
customer_key?: string;
|
|
56643
56950
|
file_name?: string;
|
|
56644
56951
|
file_path?: string;
|
|
56645
56952
|
file_size?: number | null;
|
|
56953
|
+
floriday_sticker_id?: string | null;
|
|
56954
|
+
floriday_synced_at?: string | null;
|
|
56955
|
+
height_mm?: number | null;
|
|
56646
56956
|
id?: string;
|
|
56647
56957
|
mime_type?: string | null;
|
|
56958
|
+
source?: string;
|
|
56648
56959
|
trade_item_key?: string;
|
|
56649
56960
|
updated_at?: string;
|
|
56650
56961
|
uploaded_by?: string | null;
|
|
56962
|
+
width_mm?: number | null;
|
|
56651
56963
|
};
|
|
56652
56964
|
Relationships: [];
|
|
56653
56965
|
};
|
|
@@ -65955,6 +66267,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
65955
66267
|
Row: {
|
|
65956
66268
|
actor: string | null;
|
|
65957
66269
|
attempts: number;
|
|
66270
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
65958
66271
|
cart_ref: string | null;
|
|
65959
66272
|
created_at: string;
|
|
65960
66273
|
db_action: string | null;
|
|
@@ -65965,6 +66278,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
65965
66278
|
decision: string | null;
|
|
65966
66279
|
duration_ms: number | null;
|
|
65967
66280
|
error: string | null;
|
|
66281
|
+
error_class: string | null;
|
|
65968
66282
|
external_action: string | null;
|
|
65969
66283
|
external_ref: string | null;
|
|
65970
66284
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -65973,6 +66287,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
65973
66287
|
id: string;
|
|
65974
66288
|
input: import("../integrations/supabase/types").Json | null;
|
|
65975
66289
|
next_attempt_at: string | null;
|
|
66290
|
+
next_step: string | null;
|
|
66291
|
+
node_id: string | null;
|
|
65976
66292
|
order_ref: string | null;
|
|
65977
66293
|
order_source: string | null;
|
|
65978
66294
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -65989,6 +66305,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
65989
66305
|
Insert: {
|
|
65990
66306
|
actor?: string | null;
|
|
65991
66307
|
attempts?: number;
|
|
66308
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
65992
66309
|
cart_ref?: string | null;
|
|
65993
66310
|
created_at?: string;
|
|
65994
66311
|
db_action?: string | null;
|
|
@@ -65999,6 +66316,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
65999
66316
|
decision?: string | null;
|
|
66000
66317
|
duration_ms?: number | null;
|
|
66001
66318
|
error?: string | null;
|
|
66319
|
+
error_class?: string | null;
|
|
66002
66320
|
external_action?: string | null;
|
|
66003
66321
|
external_ref?: string | null;
|
|
66004
66322
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66007,6 +66325,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
66007
66325
|
id?: string;
|
|
66008
66326
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66009
66327
|
next_attempt_at?: string | null;
|
|
66328
|
+
next_step?: string | null;
|
|
66329
|
+
node_id?: string | null;
|
|
66010
66330
|
order_ref?: string | null;
|
|
66011
66331
|
order_source?: string | null;
|
|
66012
66332
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66023,6 +66343,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
66023
66343
|
Update: {
|
|
66024
66344
|
actor?: string | null;
|
|
66025
66345
|
attempts?: number;
|
|
66346
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66026
66347
|
cart_ref?: string | null;
|
|
66027
66348
|
created_at?: string;
|
|
66028
66349
|
db_action?: string | null;
|
|
@@ -66033,6 +66354,7 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
66033
66354
|
decision?: string | null;
|
|
66034
66355
|
duration_ms?: number | null;
|
|
66035
66356
|
error?: string | null;
|
|
66357
|
+
error_class?: string | null;
|
|
66036
66358
|
external_action?: string | null;
|
|
66037
66359
|
external_ref?: string | null;
|
|
66038
66360
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66041,6 +66363,8 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
66041
66363
|
id?: string;
|
|
66042
66364
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66043
66365
|
next_attempt_at?: string | null;
|
|
66366
|
+
next_step?: string | null;
|
|
66367
|
+
node_id?: string | null;
|
|
66044
66368
|
order_ref?: string | null;
|
|
66045
66369
|
order_source?: string | null;
|
|
66046
66370
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79545,12 +79869,59 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
79545
79869
|
};
|
|
79546
79870
|
Returns: string;
|
|
79547
79871
|
};
|
|
79872
|
+
logistics_trace_all_orders: {
|
|
79873
|
+
Args: {
|
|
79874
|
+
p_limit?: number;
|
|
79875
|
+
p_search?: string;
|
|
79876
|
+
};
|
|
79877
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79878
|
+
};
|
|
79548
79879
|
logistics_trace_batch: {
|
|
79549
79880
|
Args: {
|
|
79550
79881
|
p: import("../integrations/supabase/types").Json;
|
|
79551
79882
|
};
|
|
79552
79883
|
Returns: number;
|
|
79553
79884
|
};
|
|
79885
|
+
logistics_trace_node: {
|
|
79886
|
+
Args: {
|
|
79887
|
+
p_op?: string;
|
|
79888
|
+
p_status?: string;
|
|
79889
|
+
p_table: string;
|
|
79890
|
+
};
|
|
79891
|
+
Returns: string;
|
|
79892
|
+
};
|
|
79893
|
+
logistics_trace_order_overview: {
|
|
79894
|
+
Args: {
|
|
79895
|
+
p_error_class?: string;
|
|
79896
|
+
p_limit?: number;
|
|
79897
|
+
p_search?: string;
|
|
79898
|
+
p_since?: string;
|
|
79899
|
+
p_source?: string;
|
|
79900
|
+
p_state?: string;
|
|
79901
|
+
p_step?: string;
|
|
79902
|
+
};
|
|
79903
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79904
|
+
};
|
|
79905
|
+
logistics_trace_order_state: {
|
|
79906
|
+
Args: {
|
|
79907
|
+
p_order_ref: string;
|
|
79908
|
+
};
|
|
79909
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79910
|
+
};
|
|
79911
|
+
logistics_trace_order_step: {
|
|
79912
|
+
Args: {
|
|
79913
|
+
p_class?: string;
|
|
79914
|
+
p_decision?: string;
|
|
79915
|
+
p_error?: string;
|
|
79916
|
+
p_next_step?: string;
|
|
79917
|
+
p_node: string;
|
|
79918
|
+
p_order_id: string;
|
|
79919
|
+
p_reason?: string;
|
|
79920
|
+
p_status: string;
|
|
79921
|
+
p_step: string;
|
|
79922
|
+
};
|
|
79923
|
+
Returns: undefined;
|
|
79924
|
+
};
|
|
79554
79925
|
logistics_trace_orders: {
|
|
79555
79926
|
Args: {
|
|
79556
79927
|
p_limit?: number;
|
|
@@ -79573,6 +79944,22 @@ export declare const setLogisticsStrategyBinding: import("@tanstack/start-client
|
|
|
79573
79944
|
};
|
|
79574
79945
|
Returns: import("../integrations/supabase/types").Json;
|
|
79575
79946
|
};
|
|
79947
|
+
logistics_trace_version_events: {
|
|
79948
|
+
Args: {
|
|
79949
|
+
p_from?: string;
|
|
79950
|
+
p_limit?: number;
|
|
79951
|
+
p_order_ref: string;
|
|
79952
|
+
p_to?: string;
|
|
79953
|
+
p_version_id: string;
|
|
79954
|
+
};
|
|
79955
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79956
|
+
};
|
|
79957
|
+
logistics_trace_versions: {
|
|
79958
|
+
Args: {
|
|
79959
|
+
p_order_ref: string;
|
|
79960
|
+
};
|
|
79961
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79962
|
+
};
|
|
79576
79963
|
logistics_upsert_task: {
|
|
79577
79964
|
Args: {
|
|
79578
79965
|
p_buffer_ref: string;
|
|
@@ -83406,6 +83793,42 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
83406
83793
|
};
|
|
83407
83794
|
Relationships: [];
|
|
83408
83795
|
};
|
|
83796
|
+
customer_assortment_items: {
|
|
83797
|
+
Row: {
|
|
83798
|
+
created_at: string;
|
|
83799
|
+
customer_key: string;
|
|
83800
|
+
id: string;
|
|
83801
|
+
in_assortment: boolean;
|
|
83802
|
+
manual_override: boolean;
|
|
83803
|
+
source: string;
|
|
83804
|
+
synced_at: string | null;
|
|
83805
|
+
trade_item_key: string;
|
|
83806
|
+
updated_at: string;
|
|
83807
|
+
};
|
|
83808
|
+
Insert: {
|
|
83809
|
+
created_at?: string;
|
|
83810
|
+
customer_key: string;
|
|
83811
|
+
id?: string;
|
|
83812
|
+
in_assortment?: boolean;
|
|
83813
|
+
manual_override?: boolean;
|
|
83814
|
+
source?: string;
|
|
83815
|
+
synced_at?: string | null;
|
|
83816
|
+
trade_item_key: string;
|
|
83817
|
+
updated_at?: string;
|
|
83818
|
+
};
|
|
83819
|
+
Update: {
|
|
83820
|
+
created_at?: string;
|
|
83821
|
+
customer_key?: string;
|
|
83822
|
+
id?: string;
|
|
83823
|
+
in_assortment?: boolean;
|
|
83824
|
+
manual_override?: boolean;
|
|
83825
|
+
source?: string;
|
|
83826
|
+
synced_at?: string | null;
|
|
83827
|
+
trade_item_key?: string;
|
|
83828
|
+
updated_at?: string;
|
|
83829
|
+
};
|
|
83830
|
+
Relationships: [];
|
|
83831
|
+
};
|
|
83409
83832
|
customer_audit_log: {
|
|
83410
83833
|
Row: {
|
|
83411
83834
|
action: string;
|
|
@@ -83810,40 +84233,58 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
83810
84233
|
};
|
|
83811
84234
|
customer_product_stickers: {
|
|
83812
84235
|
Row: {
|
|
84236
|
+
content_hash: string | null;
|
|
83813
84237
|
created_at: string;
|
|
83814
84238
|
customer_key: string;
|
|
83815
84239
|
file_name: string;
|
|
83816
84240
|
file_path: string;
|
|
83817
84241
|
file_size: number | null;
|
|
84242
|
+
floriday_sticker_id: string | null;
|
|
84243
|
+
floriday_synced_at: string | null;
|
|
84244
|
+
height_mm: number | null;
|
|
83818
84245
|
id: string;
|
|
83819
84246
|
mime_type: string | null;
|
|
84247
|
+
source: string;
|
|
83820
84248
|
trade_item_key: string;
|
|
83821
84249
|
updated_at: string;
|
|
83822
84250
|
uploaded_by: string | null;
|
|
84251
|
+
width_mm: number | null;
|
|
83823
84252
|
};
|
|
83824
84253
|
Insert: {
|
|
84254
|
+
content_hash?: string | null;
|
|
83825
84255
|
created_at?: string;
|
|
83826
84256
|
customer_key: string;
|
|
83827
84257
|
file_name: string;
|
|
83828
84258
|
file_path: string;
|
|
83829
84259
|
file_size?: number | null;
|
|
84260
|
+
floriday_sticker_id?: string | null;
|
|
84261
|
+
floriday_synced_at?: string | null;
|
|
84262
|
+
height_mm?: number | null;
|
|
83830
84263
|
id?: string;
|
|
83831
84264
|
mime_type?: string | null;
|
|
84265
|
+
source?: string;
|
|
83832
84266
|
trade_item_key: string;
|
|
83833
84267
|
updated_at?: string;
|
|
83834
84268
|
uploaded_by?: string | null;
|
|
84269
|
+
width_mm?: number | null;
|
|
83835
84270
|
};
|
|
83836
84271
|
Update: {
|
|
84272
|
+
content_hash?: string | null;
|
|
83837
84273
|
created_at?: string;
|
|
83838
84274
|
customer_key?: string;
|
|
83839
84275
|
file_name?: string;
|
|
83840
84276
|
file_path?: string;
|
|
83841
84277
|
file_size?: number | null;
|
|
84278
|
+
floriday_sticker_id?: string | null;
|
|
84279
|
+
floriday_synced_at?: string | null;
|
|
84280
|
+
height_mm?: number | null;
|
|
83842
84281
|
id?: string;
|
|
83843
84282
|
mime_type?: string | null;
|
|
84283
|
+
source?: string;
|
|
83844
84284
|
trade_item_key?: string;
|
|
83845
84285
|
updated_at?: string;
|
|
83846
84286
|
uploaded_by?: string | null;
|
|
84287
|
+
width_mm?: number | null;
|
|
83847
84288
|
};
|
|
83848
84289
|
Relationships: [];
|
|
83849
84290
|
};
|
|
@@ -93151,6 +93592,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93151
93592
|
Row: {
|
|
93152
93593
|
actor: string | null;
|
|
93153
93594
|
attempts: number;
|
|
93595
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
93154
93596
|
cart_ref: string | null;
|
|
93155
93597
|
created_at: string;
|
|
93156
93598
|
db_action: string | null;
|
|
@@ -93161,6 +93603,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93161
93603
|
decision: string | null;
|
|
93162
93604
|
duration_ms: number | null;
|
|
93163
93605
|
error: string | null;
|
|
93606
|
+
error_class: string | null;
|
|
93164
93607
|
external_action: string | null;
|
|
93165
93608
|
external_ref: string | null;
|
|
93166
93609
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -93169,6 +93612,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93169
93612
|
id: string;
|
|
93170
93613
|
input: import("../integrations/supabase/types").Json | null;
|
|
93171
93614
|
next_attempt_at: string | null;
|
|
93615
|
+
next_step: string | null;
|
|
93616
|
+
node_id: string | null;
|
|
93172
93617
|
order_ref: string | null;
|
|
93173
93618
|
order_source: string | null;
|
|
93174
93619
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -93185,6 +93630,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93185
93630
|
Insert: {
|
|
93186
93631
|
actor?: string | null;
|
|
93187
93632
|
attempts?: number;
|
|
93633
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93188
93634
|
cart_ref?: string | null;
|
|
93189
93635
|
created_at?: string;
|
|
93190
93636
|
db_action?: string | null;
|
|
@@ -93195,6 +93641,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93195
93641
|
decision?: string | null;
|
|
93196
93642
|
duration_ms?: number | null;
|
|
93197
93643
|
error?: string | null;
|
|
93644
|
+
error_class?: string | null;
|
|
93198
93645
|
external_action?: string | null;
|
|
93199
93646
|
external_ref?: string | null;
|
|
93200
93647
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93203,6 +93650,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93203
93650
|
id?: string;
|
|
93204
93651
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93205
93652
|
next_attempt_at?: string | null;
|
|
93653
|
+
next_step?: string | null;
|
|
93654
|
+
node_id?: string | null;
|
|
93206
93655
|
order_ref?: string | null;
|
|
93207
93656
|
order_source?: string | null;
|
|
93208
93657
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93219,6 +93668,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93219
93668
|
Update: {
|
|
93220
93669
|
actor?: string | null;
|
|
93221
93670
|
attempts?: number;
|
|
93671
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93222
93672
|
cart_ref?: string | null;
|
|
93223
93673
|
created_at?: string;
|
|
93224
93674
|
db_action?: string | null;
|
|
@@ -93229,6 +93679,7 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93229
93679
|
decision?: string | null;
|
|
93230
93680
|
duration_ms?: number | null;
|
|
93231
93681
|
error?: string | null;
|
|
93682
|
+
error_class?: string | null;
|
|
93232
93683
|
external_action?: string | null;
|
|
93233
93684
|
external_ref?: string | null;
|
|
93234
93685
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93237,6 +93688,8 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
93237
93688
|
id?: string;
|
|
93238
93689
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93239
93690
|
next_attempt_at?: string | null;
|
|
93691
|
+
next_step?: string | null;
|
|
93692
|
+
node_id?: string | null;
|
|
93240
93693
|
order_ref?: string | null;
|
|
93241
93694
|
order_source?: string | null;
|
|
93242
93695
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -106741,12 +107194,59 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
106741
107194
|
};
|
|
106742
107195
|
Returns: string;
|
|
106743
107196
|
};
|
|
107197
|
+
logistics_trace_all_orders: {
|
|
107198
|
+
Args: {
|
|
107199
|
+
p_limit?: number;
|
|
107200
|
+
p_search?: string;
|
|
107201
|
+
};
|
|
107202
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107203
|
+
};
|
|
106744
107204
|
logistics_trace_batch: {
|
|
106745
107205
|
Args: {
|
|
106746
107206
|
p: import("../integrations/supabase/types").Json;
|
|
106747
107207
|
};
|
|
106748
107208
|
Returns: number;
|
|
106749
107209
|
};
|
|
107210
|
+
logistics_trace_node: {
|
|
107211
|
+
Args: {
|
|
107212
|
+
p_op?: string;
|
|
107213
|
+
p_status?: string;
|
|
107214
|
+
p_table: string;
|
|
107215
|
+
};
|
|
107216
|
+
Returns: string;
|
|
107217
|
+
};
|
|
107218
|
+
logistics_trace_order_overview: {
|
|
107219
|
+
Args: {
|
|
107220
|
+
p_error_class?: string;
|
|
107221
|
+
p_limit?: number;
|
|
107222
|
+
p_search?: string;
|
|
107223
|
+
p_since?: string;
|
|
107224
|
+
p_source?: string;
|
|
107225
|
+
p_state?: string;
|
|
107226
|
+
p_step?: string;
|
|
107227
|
+
};
|
|
107228
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107229
|
+
};
|
|
107230
|
+
logistics_trace_order_state: {
|
|
107231
|
+
Args: {
|
|
107232
|
+
p_order_ref: string;
|
|
107233
|
+
};
|
|
107234
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107235
|
+
};
|
|
107236
|
+
logistics_trace_order_step: {
|
|
107237
|
+
Args: {
|
|
107238
|
+
p_class?: string;
|
|
107239
|
+
p_decision?: string;
|
|
107240
|
+
p_error?: string;
|
|
107241
|
+
p_next_step?: string;
|
|
107242
|
+
p_node: string;
|
|
107243
|
+
p_order_id: string;
|
|
107244
|
+
p_reason?: string;
|
|
107245
|
+
p_status: string;
|
|
107246
|
+
p_step: string;
|
|
107247
|
+
};
|
|
107248
|
+
Returns: undefined;
|
|
107249
|
+
};
|
|
106750
107250
|
logistics_trace_orders: {
|
|
106751
107251
|
Args: {
|
|
106752
107252
|
p_limit?: number;
|
|
@@ -106769,6 +107269,22 @@ export declare const resolveLogisticsStrategy: import("@tanstack/start-client-co
|
|
|
106769
107269
|
};
|
|
106770
107270
|
Returns: import("../integrations/supabase/types").Json;
|
|
106771
107271
|
};
|
|
107272
|
+
logistics_trace_version_events: {
|
|
107273
|
+
Args: {
|
|
107274
|
+
p_from?: string;
|
|
107275
|
+
p_limit?: number;
|
|
107276
|
+
p_order_ref: string;
|
|
107277
|
+
p_to?: string;
|
|
107278
|
+
p_version_id: string;
|
|
107279
|
+
};
|
|
107280
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107281
|
+
};
|
|
107282
|
+
logistics_trace_versions: {
|
|
107283
|
+
Args: {
|
|
107284
|
+
p_order_ref: string;
|
|
107285
|
+
};
|
|
107286
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107287
|
+
};
|
|
106772
107288
|
logistics_upsert_task: {
|
|
106773
107289
|
Args: {
|
|
106774
107290
|
p_buffer_ref: string;
|