@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
|
@@ -1847,6 +1847,42 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
1847
1847
|
};
|
|
1848
1848
|
Relationships: [];
|
|
1849
1849
|
};
|
|
1850
|
+
customer_assortment_items: {
|
|
1851
|
+
Row: {
|
|
1852
|
+
created_at: string;
|
|
1853
|
+
customer_key: string;
|
|
1854
|
+
id: string;
|
|
1855
|
+
in_assortment: boolean;
|
|
1856
|
+
manual_override: boolean;
|
|
1857
|
+
source: string;
|
|
1858
|
+
synced_at: string | null;
|
|
1859
|
+
trade_item_key: string;
|
|
1860
|
+
updated_at: string;
|
|
1861
|
+
};
|
|
1862
|
+
Insert: {
|
|
1863
|
+
created_at?: string;
|
|
1864
|
+
customer_key: string;
|
|
1865
|
+
id?: string;
|
|
1866
|
+
in_assortment?: boolean;
|
|
1867
|
+
manual_override?: boolean;
|
|
1868
|
+
source?: string;
|
|
1869
|
+
synced_at?: string | null;
|
|
1870
|
+
trade_item_key: string;
|
|
1871
|
+
updated_at?: string;
|
|
1872
|
+
};
|
|
1873
|
+
Update: {
|
|
1874
|
+
created_at?: string;
|
|
1875
|
+
customer_key?: string;
|
|
1876
|
+
id?: string;
|
|
1877
|
+
in_assortment?: boolean;
|
|
1878
|
+
manual_override?: boolean;
|
|
1879
|
+
source?: string;
|
|
1880
|
+
synced_at?: string | null;
|
|
1881
|
+
trade_item_key?: string;
|
|
1882
|
+
updated_at?: string;
|
|
1883
|
+
};
|
|
1884
|
+
Relationships: [];
|
|
1885
|
+
};
|
|
1850
1886
|
customer_audit_log: {
|
|
1851
1887
|
Row: {
|
|
1852
1888
|
action: string;
|
|
@@ -2251,40 +2287,58 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
2251
2287
|
};
|
|
2252
2288
|
customer_product_stickers: {
|
|
2253
2289
|
Row: {
|
|
2290
|
+
content_hash: string | null;
|
|
2254
2291
|
created_at: string;
|
|
2255
2292
|
customer_key: string;
|
|
2256
2293
|
file_name: string;
|
|
2257
2294
|
file_path: string;
|
|
2258
2295
|
file_size: number | null;
|
|
2296
|
+
floriday_sticker_id: string | null;
|
|
2297
|
+
floriday_synced_at: string | null;
|
|
2298
|
+
height_mm: number | null;
|
|
2259
2299
|
id: string;
|
|
2260
2300
|
mime_type: string | null;
|
|
2301
|
+
source: string;
|
|
2261
2302
|
trade_item_key: string;
|
|
2262
2303
|
updated_at: string;
|
|
2263
2304
|
uploaded_by: string | null;
|
|
2305
|
+
width_mm: number | null;
|
|
2264
2306
|
};
|
|
2265
2307
|
Insert: {
|
|
2308
|
+
content_hash?: string | null;
|
|
2266
2309
|
created_at?: string;
|
|
2267
2310
|
customer_key: string;
|
|
2268
2311
|
file_name: string;
|
|
2269
2312
|
file_path: string;
|
|
2270
2313
|
file_size?: number | null;
|
|
2314
|
+
floriday_sticker_id?: string | null;
|
|
2315
|
+
floriday_synced_at?: string | null;
|
|
2316
|
+
height_mm?: number | null;
|
|
2271
2317
|
id?: string;
|
|
2272
2318
|
mime_type?: string | null;
|
|
2319
|
+
source?: string;
|
|
2273
2320
|
trade_item_key: string;
|
|
2274
2321
|
updated_at?: string;
|
|
2275
2322
|
uploaded_by?: string | null;
|
|
2323
|
+
width_mm?: number | null;
|
|
2276
2324
|
};
|
|
2277
2325
|
Update: {
|
|
2326
|
+
content_hash?: string | null;
|
|
2278
2327
|
created_at?: string;
|
|
2279
2328
|
customer_key?: string;
|
|
2280
2329
|
file_name?: string;
|
|
2281
2330
|
file_path?: string;
|
|
2282
2331
|
file_size?: number | null;
|
|
2332
|
+
floriday_sticker_id?: string | null;
|
|
2333
|
+
floriday_synced_at?: string | null;
|
|
2334
|
+
height_mm?: number | null;
|
|
2283
2335
|
id?: string;
|
|
2284
2336
|
mime_type?: string | null;
|
|
2337
|
+
source?: string;
|
|
2285
2338
|
trade_item_key?: string;
|
|
2286
2339
|
updated_at?: string;
|
|
2287
2340
|
uploaded_by?: string | null;
|
|
2341
|
+
width_mm?: number | null;
|
|
2288
2342
|
};
|
|
2289
2343
|
Relationships: [];
|
|
2290
2344
|
};
|
|
@@ -11592,6 +11646,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11592
11646
|
Row: {
|
|
11593
11647
|
actor: string | null;
|
|
11594
11648
|
attempts: number;
|
|
11649
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11595
11650
|
cart_ref: string | null;
|
|
11596
11651
|
created_at: string;
|
|
11597
11652
|
db_action: string | null;
|
|
@@ -11602,6 +11657,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11602
11657
|
decision: string | null;
|
|
11603
11658
|
duration_ms: number | null;
|
|
11604
11659
|
error: string | null;
|
|
11660
|
+
error_class: string | null;
|
|
11605
11661
|
external_action: string | null;
|
|
11606
11662
|
external_ref: string | null;
|
|
11607
11663
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11610,6 +11666,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11610
11666
|
id: string;
|
|
11611
11667
|
input: import("../integrations/supabase/types").Json | null;
|
|
11612
11668
|
next_attempt_at: string | null;
|
|
11669
|
+
next_step: string | null;
|
|
11670
|
+
node_id: string | null;
|
|
11613
11671
|
order_ref: string | null;
|
|
11614
11672
|
order_source: string | null;
|
|
11615
11673
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11626,6 +11684,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11626
11684
|
Insert: {
|
|
11627
11685
|
actor?: string | null;
|
|
11628
11686
|
attempts?: number;
|
|
11687
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11629
11688
|
cart_ref?: string | null;
|
|
11630
11689
|
created_at?: string;
|
|
11631
11690
|
db_action?: string | null;
|
|
@@ -11636,6 +11695,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11636
11695
|
decision?: string | null;
|
|
11637
11696
|
duration_ms?: number | null;
|
|
11638
11697
|
error?: string | null;
|
|
11698
|
+
error_class?: string | null;
|
|
11639
11699
|
external_action?: string | null;
|
|
11640
11700
|
external_ref?: string | null;
|
|
11641
11701
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11644,6 +11704,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11644
11704
|
id?: string;
|
|
11645
11705
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11646
11706
|
next_attempt_at?: string | null;
|
|
11707
|
+
next_step?: string | null;
|
|
11708
|
+
node_id?: string | null;
|
|
11647
11709
|
order_ref?: string | null;
|
|
11648
11710
|
order_source?: string | null;
|
|
11649
11711
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11660,6 +11722,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11660
11722
|
Update: {
|
|
11661
11723
|
actor?: string | null;
|
|
11662
11724
|
attempts?: number;
|
|
11725
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11663
11726
|
cart_ref?: string | null;
|
|
11664
11727
|
created_at?: string;
|
|
11665
11728
|
db_action?: string | null;
|
|
@@ -11670,6 +11733,7 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11670
11733
|
decision?: string | null;
|
|
11671
11734
|
duration_ms?: number | null;
|
|
11672
11735
|
error?: string | null;
|
|
11736
|
+
error_class?: string | null;
|
|
11673
11737
|
external_action?: string | null;
|
|
11674
11738
|
external_ref?: string | null;
|
|
11675
11739
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11678,6 +11742,8 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11678
11742
|
id?: string;
|
|
11679
11743
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11680
11744
|
next_attempt_at?: string | null;
|
|
11745
|
+
next_step?: string | null;
|
|
11746
|
+
node_id?: string | null;
|
|
11681
11747
|
order_ref?: string | null;
|
|
11682
11748
|
order_source?: string | null;
|
|
11683
11749
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25182,12 +25248,59 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
25182
25248
|
};
|
|
25183
25249
|
Returns: string;
|
|
25184
25250
|
};
|
|
25251
|
+
logistics_trace_all_orders: {
|
|
25252
|
+
Args: {
|
|
25253
|
+
p_limit?: number;
|
|
25254
|
+
p_search?: string;
|
|
25255
|
+
};
|
|
25256
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25257
|
+
};
|
|
25185
25258
|
logistics_trace_batch: {
|
|
25186
25259
|
Args: {
|
|
25187
25260
|
p: import("../integrations/supabase/types").Json;
|
|
25188
25261
|
};
|
|
25189
25262
|
Returns: number;
|
|
25190
25263
|
};
|
|
25264
|
+
logistics_trace_node: {
|
|
25265
|
+
Args: {
|
|
25266
|
+
p_op?: string;
|
|
25267
|
+
p_status?: string;
|
|
25268
|
+
p_table: string;
|
|
25269
|
+
};
|
|
25270
|
+
Returns: string;
|
|
25271
|
+
};
|
|
25272
|
+
logistics_trace_order_overview: {
|
|
25273
|
+
Args: {
|
|
25274
|
+
p_error_class?: string;
|
|
25275
|
+
p_limit?: number;
|
|
25276
|
+
p_search?: string;
|
|
25277
|
+
p_since?: string;
|
|
25278
|
+
p_source?: string;
|
|
25279
|
+
p_state?: string;
|
|
25280
|
+
p_step?: string;
|
|
25281
|
+
};
|
|
25282
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25283
|
+
};
|
|
25284
|
+
logistics_trace_order_state: {
|
|
25285
|
+
Args: {
|
|
25286
|
+
p_order_ref: string;
|
|
25287
|
+
};
|
|
25288
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25289
|
+
};
|
|
25290
|
+
logistics_trace_order_step: {
|
|
25291
|
+
Args: {
|
|
25292
|
+
p_class?: string;
|
|
25293
|
+
p_decision?: string;
|
|
25294
|
+
p_error?: string;
|
|
25295
|
+
p_next_step?: string;
|
|
25296
|
+
p_node: string;
|
|
25297
|
+
p_order_id: string;
|
|
25298
|
+
p_reason?: string;
|
|
25299
|
+
p_status: string;
|
|
25300
|
+
p_step: string;
|
|
25301
|
+
};
|
|
25302
|
+
Returns: undefined;
|
|
25303
|
+
};
|
|
25191
25304
|
logistics_trace_orders: {
|
|
25192
25305
|
Args: {
|
|
25193
25306
|
p_limit?: number;
|
|
@@ -25210,6 +25323,22 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
25210
25323
|
};
|
|
25211
25324
|
Returns: import("../integrations/supabase/types").Json;
|
|
25212
25325
|
};
|
|
25326
|
+
logistics_trace_version_events: {
|
|
25327
|
+
Args: {
|
|
25328
|
+
p_from?: string;
|
|
25329
|
+
p_limit?: number;
|
|
25330
|
+
p_order_ref: string;
|
|
25331
|
+
p_to?: string;
|
|
25332
|
+
p_version_id: string;
|
|
25333
|
+
};
|
|
25334
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25335
|
+
};
|
|
25336
|
+
logistics_trace_versions: {
|
|
25337
|
+
Args: {
|
|
25338
|
+
p_order_ref: string;
|
|
25339
|
+
};
|
|
25340
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25341
|
+
};
|
|
25213
25342
|
logistics_upsert_task: {
|
|
25214
25343
|
Args: {
|
|
25215
25344
|
p_buffer_ref: string;
|
|
@@ -29030,6 +29159,42 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29030
29159
|
};
|
|
29031
29160
|
Relationships: [];
|
|
29032
29161
|
};
|
|
29162
|
+
customer_assortment_items: {
|
|
29163
|
+
Row: {
|
|
29164
|
+
created_at: string;
|
|
29165
|
+
customer_key: string;
|
|
29166
|
+
id: string;
|
|
29167
|
+
in_assortment: boolean;
|
|
29168
|
+
manual_override: boolean;
|
|
29169
|
+
source: string;
|
|
29170
|
+
synced_at: string | null;
|
|
29171
|
+
trade_item_key: string;
|
|
29172
|
+
updated_at: string;
|
|
29173
|
+
};
|
|
29174
|
+
Insert: {
|
|
29175
|
+
created_at?: string;
|
|
29176
|
+
customer_key: string;
|
|
29177
|
+
id?: string;
|
|
29178
|
+
in_assortment?: boolean;
|
|
29179
|
+
manual_override?: boolean;
|
|
29180
|
+
source?: string;
|
|
29181
|
+
synced_at?: string | null;
|
|
29182
|
+
trade_item_key: string;
|
|
29183
|
+
updated_at?: string;
|
|
29184
|
+
};
|
|
29185
|
+
Update: {
|
|
29186
|
+
created_at?: string;
|
|
29187
|
+
customer_key?: string;
|
|
29188
|
+
id?: string;
|
|
29189
|
+
in_assortment?: boolean;
|
|
29190
|
+
manual_override?: boolean;
|
|
29191
|
+
source?: string;
|
|
29192
|
+
synced_at?: string | null;
|
|
29193
|
+
trade_item_key?: string;
|
|
29194
|
+
updated_at?: string;
|
|
29195
|
+
};
|
|
29196
|
+
Relationships: [];
|
|
29197
|
+
};
|
|
29033
29198
|
customer_audit_log: {
|
|
29034
29199
|
Row: {
|
|
29035
29200
|
action: string;
|
|
@@ -29434,40 +29599,58 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
29434
29599
|
};
|
|
29435
29600
|
customer_product_stickers: {
|
|
29436
29601
|
Row: {
|
|
29602
|
+
content_hash: string | null;
|
|
29437
29603
|
created_at: string;
|
|
29438
29604
|
customer_key: string;
|
|
29439
29605
|
file_name: string;
|
|
29440
29606
|
file_path: string;
|
|
29441
29607
|
file_size: number | null;
|
|
29608
|
+
floriday_sticker_id: string | null;
|
|
29609
|
+
floriday_synced_at: string | null;
|
|
29610
|
+
height_mm: number | null;
|
|
29442
29611
|
id: string;
|
|
29443
29612
|
mime_type: string | null;
|
|
29613
|
+
source: string;
|
|
29444
29614
|
trade_item_key: string;
|
|
29445
29615
|
updated_at: string;
|
|
29446
29616
|
uploaded_by: string | null;
|
|
29617
|
+
width_mm: number | null;
|
|
29447
29618
|
};
|
|
29448
29619
|
Insert: {
|
|
29620
|
+
content_hash?: string | null;
|
|
29449
29621
|
created_at?: string;
|
|
29450
29622
|
customer_key: string;
|
|
29451
29623
|
file_name: string;
|
|
29452
29624
|
file_path: string;
|
|
29453
29625
|
file_size?: number | null;
|
|
29626
|
+
floriday_sticker_id?: string | null;
|
|
29627
|
+
floriday_synced_at?: string | null;
|
|
29628
|
+
height_mm?: number | null;
|
|
29454
29629
|
id?: string;
|
|
29455
29630
|
mime_type?: string | null;
|
|
29631
|
+
source?: string;
|
|
29456
29632
|
trade_item_key: string;
|
|
29457
29633
|
updated_at?: string;
|
|
29458
29634
|
uploaded_by?: string | null;
|
|
29635
|
+
width_mm?: number | null;
|
|
29459
29636
|
};
|
|
29460
29637
|
Update: {
|
|
29638
|
+
content_hash?: string | null;
|
|
29461
29639
|
created_at?: string;
|
|
29462
29640
|
customer_key?: string;
|
|
29463
29641
|
file_name?: string;
|
|
29464
29642
|
file_path?: string;
|
|
29465
29643
|
file_size?: number | null;
|
|
29644
|
+
floriday_sticker_id?: string | null;
|
|
29645
|
+
floriday_synced_at?: string | null;
|
|
29646
|
+
height_mm?: number | null;
|
|
29466
29647
|
id?: string;
|
|
29467
29648
|
mime_type?: string | null;
|
|
29649
|
+
source?: string;
|
|
29468
29650
|
trade_item_key?: string;
|
|
29469
29651
|
updated_at?: string;
|
|
29470
29652
|
uploaded_by?: string | null;
|
|
29653
|
+
width_mm?: number | null;
|
|
29471
29654
|
};
|
|
29472
29655
|
Relationships: [];
|
|
29473
29656
|
};
|
|
@@ -38775,6 +38958,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38775
38958
|
Row: {
|
|
38776
38959
|
actor: string | null;
|
|
38777
38960
|
attempts: number;
|
|
38961
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38778
38962
|
cart_ref: string | null;
|
|
38779
38963
|
created_at: string;
|
|
38780
38964
|
db_action: string | null;
|
|
@@ -38785,6 +38969,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38785
38969
|
decision: string | null;
|
|
38786
38970
|
duration_ms: number | null;
|
|
38787
38971
|
error: string | null;
|
|
38972
|
+
error_class: string | null;
|
|
38788
38973
|
external_action: string | null;
|
|
38789
38974
|
external_ref: string | null;
|
|
38790
38975
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38793,6 +38978,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38793
38978
|
id: string;
|
|
38794
38979
|
input: import("../integrations/supabase/types").Json | null;
|
|
38795
38980
|
next_attempt_at: string | null;
|
|
38981
|
+
next_step: string | null;
|
|
38982
|
+
node_id: string | null;
|
|
38796
38983
|
order_ref: string | null;
|
|
38797
38984
|
order_source: string | null;
|
|
38798
38985
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38809,6 +38996,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38809
38996
|
Insert: {
|
|
38810
38997
|
actor?: string | null;
|
|
38811
38998
|
attempts?: number;
|
|
38999
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38812
39000
|
cart_ref?: string | null;
|
|
38813
39001
|
created_at?: string;
|
|
38814
39002
|
db_action?: string | null;
|
|
@@ -38819,6 +39007,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38819
39007
|
decision?: string | null;
|
|
38820
39008
|
duration_ms?: number | null;
|
|
38821
39009
|
error?: string | null;
|
|
39010
|
+
error_class?: string | null;
|
|
38822
39011
|
external_action?: string | null;
|
|
38823
39012
|
external_ref?: string | null;
|
|
38824
39013
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38827,6 +39016,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38827
39016
|
id?: string;
|
|
38828
39017
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38829
39018
|
next_attempt_at?: string | null;
|
|
39019
|
+
next_step?: string | null;
|
|
39020
|
+
node_id?: string | null;
|
|
38830
39021
|
order_ref?: string | null;
|
|
38831
39022
|
order_source?: string | null;
|
|
38832
39023
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38843,6 +39034,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38843
39034
|
Update: {
|
|
38844
39035
|
actor?: string | null;
|
|
38845
39036
|
attempts?: number;
|
|
39037
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38846
39038
|
cart_ref?: string | null;
|
|
38847
39039
|
created_at?: string;
|
|
38848
39040
|
db_action?: string | null;
|
|
@@ -38853,6 +39045,7 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38853
39045
|
decision?: string | null;
|
|
38854
39046
|
duration_ms?: number | null;
|
|
38855
39047
|
error?: string | null;
|
|
39048
|
+
error_class?: string | null;
|
|
38856
39049
|
external_action?: string | null;
|
|
38857
39050
|
external_ref?: string | null;
|
|
38858
39051
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38861,6 +39054,8 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
38861
39054
|
id?: string;
|
|
38862
39055
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38863
39056
|
next_attempt_at?: string | null;
|
|
39057
|
+
next_step?: string | null;
|
|
39058
|
+
node_id?: string | null;
|
|
38864
39059
|
order_ref?: string | null;
|
|
38865
39060
|
order_source?: string | null;
|
|
38866
39061
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52365,12 +52560,59 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
52365
52560
|
};
|
|
52366
52561
|
Returns: string;
|
|
52367
52562
|
};
|
|
52563
|
+
logistics_trace_all_orders: {
|
|
52564
|
+
Args: {
|
|
52565
|
+
p_limit?: number;
|
|
52566
|
+
p_search?: string;
|
|
52567
|
+
};
|
|
52568
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52569
|
+
};
|
|
52368
52570
|
logistics_trace_batch: {
|
|
52369
52571
|
Args: {
|
|
52370
52572
|
p: import("../integrations/supabase/types").Json;
|
|
52371
52573
|
};
|
|
52372
52574
|
Returns: number;
|
|
52373
52575
|
};
|
|
52576
|
+
logistics_trace_node: {
|
|
52577
|
+
Args: {
|
|
52578
|
+
p_op?: string;
|
|
52579
|
+
p_status?: string;
|
|
52580
|
+
p_table: string;
|
|
52581
|
+
};
|
|
52582
|
+
Returns: string;
|
|
52583
|
+
};
|
|
52584
|
+
logistics_trace_order_overview: {
|
|
52585
|
+
Args: {
|
|
52586
|
+
p_error_class?: string;
|
|
52587
|
+
p_limit?: number;
|
|
52588
|
+
p_search?: string;
|
|
52589
|
+
p_since?: string;
|
|
52590
|
+
p_source?: string;
|
|
52591
|
+
p_state?: string;
|
|
52592
|
+
p_step?: string;
|
|
52593
|
+
};
|
|
52594
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52595
|
+
};
|
|
52596
|
+
logistics_trace_order_state: {
|
|
52597
|
+
Args: {
|
|
52598
|
+
p_order_ref: string;
|
|
52599
|
+
};
|
|
52600
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52601
|
+
};
|
|
52602
|
+
logistics_trace_order_step: {
|
|
52603
|
+
Args: {
|
|
52604
|
+
p_class?: string;
|
|
52605
|
+
p_decision?: string;
|
|
52606
|
+
p_error?: string;
|
|
52607
|
+
p_next_step?: string;
|
|
52608
|
+
p_node: string;
|
|
52609
|
+
p_order_id: string;
|
|
52610
|
+
p_reason?: string;
|
|
52611
|
+
p_status: string;
|
|
52612
|
+
p_step: string;
|
|
52613
|
+
};
|
|
52614
|
+
Returns: undefined;
|
|
52615
|
+
};
|
|
52374
52616
|
logistics_trace_orders: {
|
|
52375
52617
|
Args: {
|
|
52376
52618
|
p_limit?: number;
|
|
@@ -52393,6 +52635,22 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
52393
52635
|
};
|
|
52394
52636
|
Returns: import("../integrations/supabase/types").Json;
|
|
52395
52637
|
};
|
|
52638
|
+
logistics_trace_version_events: {
|
|
52639
|
+
Args: {
|
|
52640
|
+
p_from?: string;
|
|
52641
|
+
p_limit?: number;
|
|
52642
|
+
p_order_ref: string;
|
|
52643
|
+
p_to?: string;
|
|
52644
|
+
p_version_id: string;
|
|
52645
|
+
};
|
|
52646
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52647
|
+
};
|
|
52648
|
+
logistics_trace_versions: {
|
|
52649
|
+
Args: {
|
|
52650
|
+
p_order_ref: string;
|
|
52651
|
+
};
|
|
52652
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52653
|
+
};
|
|
52396
52654
|
logistics_upsert_task: {
|
|
52397
52655
|
Args: {
|
|
52398
52656
|
p_buffer_ref: string;
|
|
@@ -56223,6 +56481,42 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
56223
56481
|
};
|
|
56224
56482
|
Relationships: [];
|
|
56225
56483
|
};
|
|
56484
|
+
customer_assortment_items: {
|
|
56485
|
+
Row: {
|
|
56486
|
+
created_at: string;
|
|
56487
|
+
customer_key: string;
|
|
56488
|
+
id: string;
|
|
56489
|
+
in_assortment: boolean;
|
|
56490
|
+
manual_override: boolean;
|
|
56491
|
+
source: string;
|
|
56492
|
+
synced_at: string | null;
|
|
56493
|
+
trade_item_key: string;
|
|
56494
|
+
updated_at: string;
|
|
56495
|
+
};
|
|
56496
|
+
Insert: {
|
|
56497
|
+
created_at?: string;
|
|
56498
|
+
customer_key: string;
|
|
56499
|
+
id?: string;
|
|
56500
|
+
in_assortment?: boolean;
|
|
56501
|
+
manual_override?: boolean;
|
|
56502
|
+
source?: string;
|
|
56503
|
+
synced_at?: string | null;
|
|
56504
|
+
trade_item_key: string;
|
|
56505
|
+
updated_at?: string;
|
|
56506
|
+
};
|
|
56507
|
+
Update: {
|
|
56508
|
+
created_at?: string;
|
|
56509
|
+
customer_key?: string;
|
|
56510
|
+
id?: string;
|
|
56511
|
+
in_assortment?: boolean;
|
|
56512
|
+
manual_override?: boolean;
|
|
56513
|
+
source?: string;
|
|
56514
|
+
synced_at?: string | null;
|
|
56515
|
+
trade_item_key?: string;
|
|
56516
|
+
updated_at?: string;
|
|
56517
|
+
};
|
|
56518
|
+
Relationships: [];
|
|
56519
|
+
};
|
|
56226
56520
|
customer_audit_log: {
|
|
56227
56521
|
Row: {
|
|
56228
56522
|
action: string;
|
|
@@ -56627,40 +56921,58 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
56627
56921
|
};
|
|
56628
56922
|
customer_product_stickers: {
|
|
56629
56923
|
Row: {
|
|
56924
|
+
content_hash: string | null;
|
|
56630
56925
|
created_at: string;
|
|
56631
56926
|
customer_key: string;
|
|
56632
56927
|
file_name: string;
|
|
56633
56928
|
file_path: string;
|
|
56634
56929
|
file_size: number | null;
|
|
56930
|
+
floriday_sticker_id: string | null;
|
|
56931
|
+
floriday_synced_at: string | null;
|
|
56932
|
+
height_mm: number | null;
|
|
56635
56933
|
id: string;
|
|
56636
56934
|
mime_type: string | null;
|
|
56935
|
+
source: string;
|
|
56637
56936
|
trade_item_key: string;
|
|
56638
56937
|
updated_at: string;
|
|
56639
56938
|
uploaded_by: string | null;
|
|
56939
|
+
width_mm: number | null;
|
|
56640
56940
|
};
|
|
56641
56941
|
Insert: {
|
|
56942
|
+
content_hash?: string | null;
|
|
56642
56943
|
created_at?: string;
|
|
56643
56944
|
customer_key: string;
|
|
56644
56945
|
file_name: string;
|
|
56645
56946
|
file_path: string;
|
|
56646
56947
|
file_size?: number | null;
|
|
56948
|
+
floriday_sticker_id?: string | null;
|
|
56949
|
+
floriday_synced_at?: string | null;
|
|
56950
|
+
height_mm?: number | null;
|
|
56647
56951
|
id?: string;
|
|
56648
56952
|
mime_type?: string | null;
|
|
56953
|
+
source?: string;
|
|
56649
56954
|
trade_item_key: string;
|
|
56650
56955
|
updated_at?: string;
|
|
56651
56956
|
uploaded_by?: string | null;
|
|
56957
|
+
width_mm?: number | null;
|
|
56652
56958
|
};
|
|
56653
56959
|
Update: {
|
|
56960
|
+
content_hash?: string | null;
|
|
56654
56961
|
created_at?: string;
|
|
56655
56962
|
customer_key?: string;
|
|
56656
56963
|
file_name?: string;
|
|
56657
56964
|
file_path?: string;
|
|
56658
56965
|
file_size?: number | null;
|
|
56966
|
+
floriday_sticker_id?: string | null;
|
|
56967
|
+
floriday_synced_at?: string | null;
|
|
56968
|
+
height_mm?: number | null;
|
|
56659
56969
|
id?: string;
|
|
56660
56970
|
mime_type?: string | null;
|
|
56971
|
+
source?: string;
|
|
56661
56972
|
trade_item_key?: string;
|
|
56662
56973
|
updated_at?: string;
|
|
56663
56974
|
uploaded_by?: string | null;
|
|
56975
|
+
width_mm?: number | null;
|
|
56664
56976
|
};
|
|
56665
56977
|
Relationships: [];
|
|
56666
56978
|
};
|
|
@@ -65968,6 +66280,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
65968
66280
|
Row: {
|
|
65969
66281
|
actor: string | null;
|
|
65970
66282
|
attempts: number;
|
|
66283
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
65971
66284
|
cart_ref: string | null;
|
|
65972
66285
|
created_at: string;
|
|
65973
66286
|
db_action: string | null;
|
|
@@ -65978,6 +66291,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
65978
66291
|
decision: string | null;
|
|
65979
66292
|
duration_ms: number | null;
|
|
65980
66293
|
error: string | null;
|
|
66294
|
+
error_class: string | null;
|
|
65981
66295
|
external_action: string | null;
|
|
65982
66296
|
external_ref: string | null;
|
|
65983
66297
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -65986,6 +66300,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
65986
66300
|
id: string;
|
|
65987
66301
|
input: import("../integrations/supabase/types").Json | null;
|
|
65988
66302
|
next_attempt_at: string | null;
|
|
66303
|
+
next_step: string | null;
|
|
66304
|
+
node_id: string | null;
|
|
65989
66305
|
order_ref: string | null;
|
|
65990
66306
|
order_source: string | null;
|
|
65991
66307
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -66002,6 +66318,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66002
66318
|
Insert: {
|
|
66003
66319
|
actor?: string | null;
|
|
66004
66320
|
attempts?: number;
|
|
66321
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66005
66322
|
cart_ref?: string | null;
|
|
66006
66323
|
created_at?: string;
|
|
66007
66324
|
db_action?: string | null;
|
|
@@ -66012,6 +66329,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66012
66329
|
decision?: string | null;
|
|
66013
66330
|
duration_ms?: number | null;
|
|
66014
66331
|
error?: string | null;
|
|
66332
|
+
error_class?: string | null;
|
|
66015
66333
|
external_action?: string | null;
|
|
66016
66334
|
external_ref?: string | null;
|
|
66017
66335
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66020,6 +66338,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66020
66338
|
id?: string;
|
|
66021
66339
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66022
66340
|
next_attempt_at?: string | null;
|
|
66341
|
+
next_step?: string | null;
|
|
66342
|
+
node_id?: string | null;
|
|
66023
66343
|
order_ref?: string | null;
|
|
66024
66344
|
order_source?: string | null;
|
|
66025
66345
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66036,6 +66356,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66036
66356
|
Update: {
|
|
66037
66357
|
actor?: string | null;
|
|
66038
66358
|
attempts?: number;
|
|
66359
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66039
66360
|
cart_ref?: string | null;
|
|
66040
66361
|
created_at?: string;
|
|
66041
66362
|
db_action?: string | null;
|
|
@@ -66046,6 +66367,7 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66046
66367
|
decision?: string | null;
|
|
66047
66368
|
duration_ms?: number | null;
|
|
66048
66369
|
error?: string | null;
|
|
66370
|
+
error_class?: string | null;
|
|
66049
66371
|
external_action?: string | null;
|
|
66050
66372
|
external_ref?: string | null;
|
|
66051
66373
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66054,6 +66376,8 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
66054
66376
|
id?: string;
|
|
66055
66377
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66056
66378
|
next_attempt_at?: string | null;
|
|
66379
|
+
next_step?: string | null;
|
|
66380
|
+
node_id?: string | null;
|
|
66057
66381
|
order_ref?: string | null;
|
|
66058
66382
|
order_source?: string | null;
|
|
66059
66383
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79558,12 +79882,59 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
79558
79882
|
};
|
|
79559
79883
|
Returns: string;
|
|
79560
79884
|
};
|
|
79885
|
+
logistics_trace_all_orders: {
|
|
79886
|
+
Args: {
|
|
79887
|
+
p_limit?: number;
|
|
79888
|
+
p_search?: string;
|
|
79889
|
+
};
|
|
79890
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79891
|
+
};
|
|
79561
79892
|
logistics_trace_batch: {
|
|
79562
79893
|
Args: {
|
|
79563
79894
|
p: import("../integrations/supabase/types").Json;
|
|
79564
79895
|
};
|
|
79565
79896
|
Returns: number;
|
|
79566
79897
|
};
|
|
79898
|
+
logistics_trace_node: {
|
|
79899
|
+
Args: {
|
|
79900
|
+
p_op?: string;
|
|
79901
|
+
p_status?: string;
|
|
79902
|
+
p_table: string;
|
|
79903
|
+
};
|
|
79904
|
+
Returns: string;
|
|
79905
|
+
};
|
|
79906
|
+
logistics_trace_order_overview: {
|
|
79907
|
+
Args: {
|
|
79908
|
+
p_error_class?: string;
|
|
79909
|
+
p_limit?: number;
|
|
79910
|
+
p_search?: string;
|
|
79911
|
+
p_since?: string;
|
|
79912
|
+
p_source?: string;
|
|
79913
|
+
p_state?: string;
|
|
79914
|
+
p_step?: string;
|
|
79915
|
+
};
|
|
79916
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79917
|
+
};
|
|
79918
|
+
logistics_trace_order_state: {
|
|
79919
|
+
Args: {
|
|
79920
|
+
p_order_ref: string;
|
|
79921
|
+
};
|
|
79922
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79923
|
+
};
|
|
79924
|
+
logistics_trace_order_step: {
|
|
79925
|
+
Args: {
|
|
79926
|
+
p_class?: string;
|
|
79927
|
+
p_decision?: string;
|
|
79928
|
+
p_error?: string;
|
|
79929
|
+
p_next_step?: string;
|
|
79930
|
+
p_node: string;
|
|
79931
|
+
p_order_id: string;
|
|
79932
|
+
p_reason?: string;
|
|
79933
|
+
p_status: string;
|
|
79934
|
+
p_step: string;
|
|
79935
|
+
};
|
|
79936
|
+
Returns: undefined;
|
|
79937
|
+
};
|
|
79567
79938
|
logistics_trace_orders: {
|
|
79568
79939
|
Args: {
|
|
79569
79940
|
p_limit?: number;
|
|
@@ -79586,6 +79957,22 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
79586
79957
|
};
|
|
79587
79958
|
Returns: import("../integrations/supabase/types").Json;
|
|
79588
79959
|
};
|
|
79960
|
+
logistics_trace_version_events: {
|
|
79961
|
+
Args: {
|
|
79962
|
+
p_from?: string;
|
|
79963
|
+
p_limit?: number;
|
|
79964
|
+
p_order_ref: string;
|
|
79965
|
+
p_to?: string;
|
|
79966
|
+
p_version_id: string;
|
|
79967
|
+
};
|
|
79968
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79969
|
+
};
|
|
79970
|
+
logistics_trace_versions: {
|
|
79971
|
+
Args: {
|
|
79972
|
+
p_order_ref: string;
|
|
79973
|
+
};
|
|
79974
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79975
|
+
};
|
|
79589
79976
|
logistics_upsert_task: {
|
|
79590
79977
|
Args: {
|
|
79591
79978
|
p_buffer_ref: string;
|
|
@@ -83432,6 +83819,42 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
83432
83819
|
};
|
|
83433
83820
|
Relationships: [];
|
|
83434
83821
|
};
|
|
83822
|
+
customer_assortment_items: {
|
|
83823
|
+
Row: {
|
|
83824
|
+
created_at: string;
|
|
83825
|
+
customer_key: string;
|
|
83826
|
+
id: string;
|
|
83827
|
+
in_assortment: boolean;
|
|
83828
|
+
manual_override: boolean;
|
|
83829
|
+
source: string;
|
|
83830
|
+
synced_at: string | null;
|
|
83831
|
+
trade_item_key: string;
|
|
83832
|
+
updated_at: string;
|
|
83833
|
+
};
|
|
83834
|
+
Insert: {
|
|
83835
|
+
created_at?: string;
|
|
83836
|
+
customer_key: string;
|
|
83837
|
+
id?: string;
|
|
83838
|
+
in_assortment?: boolean;
|
|
83839
|
+
manual_override?: boolean;
|
|
83840
|
+
source?: string;
|
|
83841
|
+
synced_at?: string | null;
|
|
83842
|
+
trade_item_key: string;
|
|
83843
|
+
updated_at?: string;
|
|
83844
|
+
};
|
|
83845
|
+
Update: {
|
|
83846
|
+
created_at?: string;
|
|
83847
|
+
customer_key?: string;
|
|
83848
|
+
id?: string;
|
|
83849
|
+
in_assortment?: boolean;
|
|
83850
|
+
manual_override?: boolean;
|
|
83851
|
+
source?: string;
|
|
83852
|
+
synced_at?: string | null;
|
|
83853
|
+
trade_item_key?: string;
|
|
83854
|
+
updated_at?: string;
|
|
83855
|
+
};
|
|
83856
|
+
Relationships: [];
|
|
83857
|
+
};
|
|
83435
83858
|
customer_audit_log: {
|
|
83436
83859
|
Row: {
|
|
83437
83860
|
action: string;
|
|
@@ -83836,40 +84259,58 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
83836
84259
|
};
|
|
83837
84260
|
customer_product_stickers: {
|
|
83838
84261
|
Row: {
|
|
84262
|
+
content_hash: string | null;
|
|
83839
84263
|
created_at: string;
|
|
83840
84264
|
customer_key: string;
|
|
83841
84265
|
file_name: string;
|
|
83842
84266
|
file_path: string;
|
|
83843
84267
|
file_size: number | null;
|
|
84268
|
+
floriday_sticker_id: string | null;
|
|
84269
|
+
floriday_synced_at: string | null;
|
|
84270
|
+
height_mm: number | null;
|
|
83844
84271
|
id: string;
|
|
83845
84272
|
mime_type: string | null;
|
|
84273
|
+
source: string;
|
|
83846
84274
|
trade_item_key: string;
|
|
83847
84275
|
updated_at: string;
|
|
83848
84276
|
uploaded_by: string | null;
|
|
84277
|
+
width_mm: number | null;
|
|
83849
84278
|
};
|
|
83850
84279
|
Insert: {
|
|
84280
|
+
content_hash?: string | null;
|
|
83851
84281
|
created_at?: string;
|
|
83852
84282
|
customer_key: string;
|
|
83853
84283
|
file_name: string;
|
|
83854
84284
|
file_path: string;
|
|
83855
84285
|
file_size?: number | null;
|
|
84286
|
+
floriday_sticker_id?: string | null;
|
|
84287
|
+
floriday_synced_at?: string | null;
|
|
84288
|
+
height_mm?: number | null;
|
|
83856
84289
|
id?: string;
|
|
83857
84290
|
mime_type?: string | null;
|
|
84291
|
+
source?: string;
|
|
83858
84292
|
trade_item_key: string;
|
|
83859
84293
|
updated_at?: string;
|
|
83860
84294
|
uploaded_by?: string | null;
|
|
84295
|
+
width_mm?: number | null;
|
|
83861
84296
|
};
|
|
83862
84297
|
Update: {
|
|
84298
|
+
content_hash?: string | null;
|
|
83863
84299
|
created_at?: string;
|
|
83864
84300
|
customer_key?: string;
|
|
83865
84301
|
file_name?: string;
|
|
83866
84302
|
file_path?: string;
|
|
83867
84303
|
file_size?: number | null;
|
|
84304
|
+
floriday_sticker_id?: string | null;
|
|
84305
|
+
floriday_synced_at?: string | null;
|
|
84306
|
+
height_mm?: number | null;
|
|
83868
84307
|
id?: string;
|
|
83869
84308
|
mime_type?: string | null;
|
|
84309
|
+
source?: string;
|
|
83870
84310
|
trade_item_key?: string;
|
|
83871
84311
|
updated_at?: string;
|
|
83872
84312
|
uploaded_by?: string | null;
|
|
84313
|
+
width_mm?: number | null;
|
|
83873
84314
|
};
|
|
83874
84315
|
Relationships: [];
|
|
83875
84316
|
};
|
|
@@ -93177,6 +93618,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93177
93618
|
Row: {
|
|
93178
93619
|
actor: string | null;
|
|
93179
93620
|
attempts: number;
|
|
93621
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
93180
93622
|
cart_ref: string | null;
|
|
93181
93623
|
created_at: string;
|
|
93182
93624
|
db_action: string | null;
|
|
@@ -93187,6 +93629,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93187
93629
|
decision: string | null;
|
|
93188
93630
|
duration_ms: number | null;
|
|
93189
93631
|
error: string | null;
|
|
93632
|
+
error_class: string | null;
|
|
93190
93633
|
external_action: string | null;
|
|
93191
93634
|
external_ref: string | null;
|
|
93192
93635
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -93195,6 +93638,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93195
93638
|
id: string;
|
|
93196
93639
|
input: import("../integrations/supabase/types").Json | null;
|
|
93197
93640
|
next_attempt_at: string | null;
|
|
93641
|
+
next_step: string | null;
|
|
93642
|
+
node_id: string | null;
|
|
93198
93643
|
order_ref: string | null;
|
|
93199
93644
|
order_source: string | null;
|
|
93200
93645
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -93211,6 +93656,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93211
93656
|
Insert: {
|
|
93212
93657
|
actor?: string | null;
|
|
93213
93658
|
attempts?: number;
|
|
93659
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93214
93660
|
cart_ref?: string | null;
|
|
93215
93661
|
created_at?: string;
|
|
93216
93662
|
db_action?: string | null;
|
|
@@ -93221,6 +93667,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93221
93667
|
decision?: string | null;
|
|
93222
93668
|
duration_ms?: number | null;
|
|
93223
93669
|
error?: string | null;
|
|
93670
|
+
error_class?: string | null;
|
|
93224
93671
|
external_action?: string | null;
|
|
93225
93672
|
external_ref?: string | null;
|
|
93226
93673
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93229,6 +93676,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93229
93676
|
id?: string;
|
|
93230
93677
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93231
93678
|
next_attempt_at?: string | null;
|
|
93679
|
+
next_step?: string | null;
|
|
93680
|
+
node_id?: string | null;
|
|
93232
93681
|
order_ref?: string | null;
|
|
93233
93682
|
order_source?: string | null;
|
|
93234
93683
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93245,6 +93694,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93245
93694
|
Update: {
|
|
93246
93695
|
actor?: string | null;
|
|
93247
93696
|
attempts?: number;
|
|
93697
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93248
93698
|
cart_ref?: string | null;
|
|
93249
93699
|
created_at?: string;
|
|
93250
93700
|
db_action?: string | null;
|
|
@@ -93255,6 +93705,7 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93255
93705
|
decision?: string | null;
|
|
93256
93706
|
duration_ms?: number | null;
|
|
93257
93707
|
error?: string | null;
|
|
93708
|
+
error_class?: string | null;
|
|
93258
93709
|
external_action?: string | null;
|
|
93259
93710
|
external_ref?: string | null;
|
|
93260
93711
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93263,6 +93714,8 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
93263
93714
|
id?: string;
|
|
93264
93715
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93265
93716
|
next_attempt_at?: string | null;
|
|
93717
|
+
next_step?: string | null;
|
|
93718
|
+
node_id?: string | null;
|
|
93266
93719
|
order_ref?: string | null;
|
|
93267
93720
|
order_source?: string | null;
|
|
93268
93721
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -106767,12 +107220,59 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
106767
107220
|
};
|
|
106768
107221
|
Returns: string;
|
|
106769
107222
|
};
|
|
107223
|
+
logistics_trace_all_orders: {
|
|
107224
|
+
Args: {
|
|
107225
|
+
p_limit?: number;
|
|
107226
|
+
p_search?: string;
|
|
107227
|
+
};
|
|
107228
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107229
|
+
};
|
|
106770
107230
|
logistics_trace_batch: {
|
|
106771
107231
|
Args: {
|
|
106772
107232
|
p: import("../integrations/supabase/types").Json;
|
|
106773
107233
|
};
|
|
106774
107234
|
Returns: number;
|
|
106775
107235
|
};
|
|
107236
|
+
logistics_trace_node: {
|
|
107237
|
+
Args: {
|
|
107238
|
+
p_op?: string;
|
|
107239
|
+
p_status?: string;
|
|
107240
|
+
p_table: string;
|
|
107241
|
+
};
|
|
107242
|
+
Returns: string;
|
|
107243
|
+
};
|
|
107244
|
+
logistics_trace_order_overview: {
|
|
107245
|
+
Args: {
|
|
107246
|
+
p_error_class?: string;
|
|
107247
|
+
p_limit?: number;
|
|
107248
|
+
p_search?: string;
|
|
107249
|
+
p_since?: string;
|
|
107250
|
+
p_source?: string;
|
|
107251
|
+
p_state?: string;
|
|
107252
|
+
p_step?: string;
|
|
107253
|
+
};
|
|
107254
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107255
|
+
};
|
|
107256
|
+
logistics_trace_order_state: {
|
|
107257
|
+
Args: {
|
|
107258
|
+
p_order_ref: string;
|
|
107259
|
+
};
|
|
107260
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107261
|
+
};
|
|
107262
|
+
logistics_trace_order_step: {
|
|
107263
|
+
Args: {
|
|
107264
|
+
p_class?: string;
|
|
107265
|
+
p_decision?: string;
|
|
107266
|
+
p_error?: string;
|
|
107267
|
+
p_next_step?: string;
|
|
107268
|
+
p_node: string;
|
|
107269
|
+
p_order_id: string;
|
|
107270
|
+
p_reason?: string;
|
|
107271
|
+
p_status: string;
|
|
107272
|
+
p_step: string;
|
|
107273
|
+
};
|
|
107274
|
+
Returns: undefined;
|
|
107275
|
+
};
|
|
106776
107276
|
logistics_trace_orders: {
|
|
106777
107277
|
Args: {
|
|
106778
107278
|
p_limit?: number;
|
|
@@ -106795,6 +107295,22 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
106795
107295
|
};
|
|
106796
107296
|
Returns: import("../integrations/supabase/types").Json;
|
|
106797
107297
|
};
|
|
107298
|
+
logistics_trace_version_events: {
|
|
107299
|
+
Args: {
|
|
107300
|
+
p_from?: string;
|
|
107301
|
+
p_limit?: number;
|
|
107302
|
+
p_order_ref: string;
|
|
107303
|
+
p_to?: string;
|
|
107304
|
+
p_version_id: string;
|
|
107305
|
+
};
|
|
107306
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107307
|
+
};
|
|
107308
|
+
logistics_trace_versions: {
|
|
107309
|
+
Args: {
|
|
107310
|
+
p_order_ref: string;
|
|
107311
|
+
};
|
|
107312
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107313
|
+
};
|
|
106798
107314
|
logistics_upsert_task: {
|
|
106799
107315
|
Args: {
|
|
106800
107316
|
p_buffer_ref: string;
|
|
@@ -110641,6 +111157,42 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
110641
111157
|
};
|
|
110642
111158
|
Relationships: [];
|
|
110643
111159
|
};
|
|
111160
|
+
customer_assortment_items: {
|
|
111161
|
+
Row: {
|
|
111162
|
+
created_at: string;
|
|
111163
|
+
customer_key: string;
|
|
111164
|
+
id: string;
|
|
111165
|
+
in_assortment: boolean;
|
|
111166
|
+
manual_override: boolean;
|
|
111167
|
+
source: string;
|
|
111168
|
+
synced_at: string | null;
|
|
111169
|
+
trade_item_key: string;
|
|
111170
|
+
updated_at: string;
|
|
111171
|
+
};
|
|
111172
|
+
Insert: {
|
|
111173
|
+
created_at?: string;
|
|
111174
|
+
customer_key: string;
|
|
111175
|
+
id?: string;
|
|
111176
|
+
in_assortment?: boolean;
|
|
111177
|
+
manual_override?: boolean;
|
|
111178
|
+
source?: string;
|
|
111179
|
+
synced_at?: string | null;
|
|
111180
|
+
trade_item_key: string;
|
|
111181
|
+
updated_at?: string;
|
|
111182
|
+
};
|
|
111183
|
+
Update: {
|
|
111184
|
+
created_at?: string;
|
|
111185
|
+
customer_key?: string;
|
|
111186
|
+
id?: string;
|
|
111187
|
+
in_assortment?: boolean;
|
|
111188
|
+
manual_override?: boolean;
|
|
111189
|
+
source?: string;
|
|
111190
|
+
synced_at?: string | null;
|
|
111191
|
+
trade_item_key?: string;
|
|
111192
|
+
updated_at?: string;
|
|
111193
|
+
};
|
|
111194
|
+
Relationships: [];
|
|
111195
|
+
};
|
|
110644
111196
|
customer_audit_log: {
|
|
110645
111197
|
Row: {
|
|
110646
111198
|
action: string;
|
|
@@ -111045,40 +111597,58 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
111045
111597
|
};
|
|
111046
111598
|
customer_product_stickers: {
|
|
111047
111599
|
Row: {
|
|
111600
|
+
content_hash: string | null;
|
|
111048
111601
|
created_at: string;
|
|
111049
111602
|
customer_key: string;
|
|
111050
111603
|
file_name: string;
|
|
111051
111604
|
file_path: string;
|
|
111052
111605
|
file_size: number | null;
|
|
111606
|
+
floriday_sticker_id: string | null;
|
|
111607
|
+
floriday_synced_at: string | null;
|
|
111608
|
+
height_mm: number | null;
|
|
111053
111609
|
id: string;
|
|
111054
111610
|
mime_type: string | null;
|
|
111611
|
+
source: string;
|
|
111055
111612
|
trade_item_key: string;
|
|
111056
111613
|
updated_at: string;
|
|
111057
111614
|
uploaded_by: string | null;
|
|
111615
|
+
width_mm: number | null;
|
|
111058
111616
|
};
|
|
111059
111617
|
Insert: {
|
|
111618
|
+
content_hash?: string | null;
|
|
111060
111619
|
created_at?: string;
|
|
111061
111620
|
customer_key: string;
|
|
111062
111621
|
file_name: string;
|
|
111063
111622
|
file_path: string;
|
|
111064
111623
|
file_size?: number | null;
|
|
111624
|
+
floriday_sticker_id?: string | null;
|
|
111625
|
+
floriday_synced_at?: string | null;
|
|
111626
|
+
height_mm?: number | null;
|
|
111065
111627
|
id?: string;
|
|
111066
111628
|
mime_type?: string | null;
|
|
111629
|
+
source?: string;
|
|
111067
111630
|
trade_item_key: string;
|
|
111068
111631
|
updated_at?: string;
|
|
111069
111632
|
uploaded_by?: string | null;
|
|
111633
|
+
width_mm?: number | null;
|
|
111070
111634
|
};
|
|
111071
111635
|
Update: {
|
|
111636
|
+
content_hash?: string | null;
|
|
111072
111637
|
created_at?: string;
|
|
111073
111638
|
customer_key?: string;
|
|
111074
111639
|
file_name?: string;
|
|
111075
111640
|
file_path?: string;
|
|
111076
111641
|
file_size?: number | null;
|
|
111642
|
+
floriday_sticker_id?: string | null;
|
|
111643
|
+
floriday_synced_at?: string | null;
|
|
111644
|
+
height_mm?: number | null;
|
|
111077
111645
|
id?: string;
|
|
111078
111646
|
mime_type?: string | null;
|
|
111647
|
+
source?: string;
|
|
111079
111648
|
trade_item_key?: string;
|
|
111080
111649
|
updated_at?: string;
|
|
111081
111650
|
uploaded_by?: string | null;
|
|
111651
|
+
width_mm?: number | null;
|
|
111082
111652
|
};
|
|
111083
111653
|
Relationships: [];
|
|
111084
111654
|
};
|
|
@@ -120386,6 +120956,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120386
120956
|
Row: {
|
|
120387
120957
|
actor: string | null;
|
|
120388
120958
|
attempts: number;
|
|
120959
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
120389
120960
|
cart_ref: string | null;
|
|
120390
120961
|
created_at: string;
|
|
120391
120962
|
db_action: string | null;
|
|
@@ -120396,6 +120967,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120396
120967
|
decision: string | null;
|
|
120397
120968
|
duration_ms: number | null;
|
|
120398
120969
|
error: string | null;
|
|
120970
|
+
error_class: string | null;
|
|
120399
120971
|
external_action: string | null;
|
|
120400
120972
|
external_ref: string | null;
|
|
120401
120973
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -120404,6 +120976,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120404
120976
|
id: string;
|
|
120405
120977
|
input: import("../integrations/supabase/types").Json | null;
|
|
120406
120978
|
next_attempt_at: string | null;
|
|
120979
|
+
next_step: string | null;
|
|
120980
|
+
node_id: string | null;
|
|
120407
120981
|
order_ref: string | null;
|
|
120408
120982
|
order_source: string | null;
|
|
120409
120983
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -120420,6 +120994,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120420
120994
|
Insert: {
|
|
120421
120995
|
actor?: string | null;
|
|
120422
120996
|
attempts?: number;
|
|
120997
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120423
120998
|
cart_ref?: string | null;
|
|
120424
120999
|
created_at?: string;
|
|
120425
121000
|
db_action?: string | null;
|
|
@@ -120430,6 +121005,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120430
121005
|
decision?: string | null;
|
|
120431
121006
|
duration_ms?: number | null;
|
|
120432
121007
|
error?: string | null;
|
|
121008
|
+
error_class?: string | null;
|
|
120433
121009
|
external_action?: string | null;
|
|
120434
121010
|
external_ref?: string | null;
|
|
120435
121011
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120438,6 +121014,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120438
121014
|
id?: string;
|
|
120439
121015
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120440
121016
|
next_attempt_at?: string | null;
|
|
121017
|
+
next_step?: string | null;
|
|
121018
|
+
node_id?: string | null;
|
|
120441
121019
|
order_ref?: string | null;
|
|
120442
121020
|
order_source?: string | null;
|
|
120443
121021
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120454,6 +121032,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120454
121032
|
Update: {
|
|
120455
121033
|
actor?: string | null;
|
|
120456
121034
|
attempts?: number;
|
|
121035
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120457
121036
|
cart_ref?: string | null;
|
|
120458
121037
|
created_at?: string;
|
|
120459
121038
|
db_action?: string | null;
|
|
@@ -120464,6 +121043,7 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120464
121043
|
decision?: string | null;
|
|
120465
121044
|
duration_ms?: number | null;
|
|
120466
121045
|
error?: string | null;
|
|
121046
|
+
error_class?: string | null;
|
|
120467
121047
|
external_action?: string | null;
|
|
120468
121048
|
external_ref?: string | null;
|
|
120469
121049
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120472,6 +121052,8 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
120472
121052
|
id?: string;
|
|
120473
121053
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120474
121054
|
next_attempt_at?: string | null;
|
|
121055
|
+
next_step?: string | null;
|
|
121056
|
+
node_id?: string | null;
|
|
120475
121057
|
order_ref?: string | null;
|
|
120476
121058
|
order_source?: string | null;
|
|
120477
121059
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -133976,12 +134558,59 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
133976
134558
|
};
|
|
133977
134559
|
Returns: string;
|
|
133978
134560
|
};
|
|
134561
|
+
logistics_trace_all_orders: {
|
|
134562
|
+
Args: {
|
|
134563
|
+
p_limit?: number;
|
|
134564
|
+
p_search?: string;
|
|
134565
|
+
};
|
|
134566
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134567
|
+
};
|
|
133979
134568
|
logistics_trace_batch: {
|
|
133980
134569
|
Args: {
|
|
133981
134570
|
p: import("../integrations/supabase/types").Json;
|
|
133982
134571
|
};
|
|
133983
134572
|
Returns: number;
|
|
133984
134573
|
};
|
|
134574
|
+
logistics_trace_node: {
|
|
134575
|
+
Args: {
|
|
134576
|
+
p_op?: string;
|
|
134577
|
+
p_status?: string;
|
|
134578
|
+
p_table: string;
|
|
134579
|
+
};
|
|
134580
|
+
Returns: string;
|
|
134581
|
+
};
|
|
134582
|
+
logistics_trace_order_overview: {
|
|
134583
|
+
Args: {
|
|
134584
|
+
p_error_class?: string;
|
|
134585
|
+
p_limit?: number;
|
|
134586
|
+
p_search?: string;
|
|
134587
|
+
p_since?: string;
|
|
134588
|
+
p_source?: string;
|
|
134589
|
+
p_state?: string;
|
|
134590
|
+
p_step?: string;
|
|
134591
|
+
};
|
|
134592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134593
|
+
};
|
|
134594
|
+
logistics_trace_order_state: {
|
|
134595
|
+
Args: {
|
|
134596
|
+
p_order_ref: string;
|
|
134597
|
+
};
|
|
134598
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134599
|
+
};
|
|
134600
|
+
logistics_trace_order_step: {
|
|
134601
|
+
Args: {
|
|
134602
|
+
p_class?: string;
|
|
134603
|
+
p_decision?: string;
|
|
134604
|
+
p_error?: string;
|
|
134605
|
+
p_next_step?: string;
|
|
134606
|
+
p_node: string;
|
|
134607
|
+
p_order_id: string;
|
|
134608
|
+
p_reason?: string;
|
|
134609
|
+
p_status: string;
|
|
134610
|
+
p_step: string;
|
|
134611
|
+
};
|
|
134612
|
+
Returns: undefined;
|
|
134613
|
+
};
|
|
133985
134614
|
logistics_trace_orders: {
|
|
133986
134615
|
Args: {
|
|
133987
134616
|
p_limit?: number;
|
|
@@ -134004,6 +134633,22 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
134004
134633
|
};
|
|
134005
134634
|
Returns: import("../integrations/supabase/types").Json;
|
|
134006
134635
|
};
|
|
134636
|
+
logistics_trace_version_events: {
|
|
134637
|
+
Args: {
|
|
134638
|
+
p_from?: string;
|
|
134639
|
+
p_limit?: number;
|
|
134640
|
+
p_order_ref: string;
|
|
134641
|
+
p_to?: string;
|
|
134642
|
+
p_version_id: string;
|
|
134643
|
+
};
|
|
134644
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134645
|
+
};
|
|
134646
|
+
logistics_trace_versions: {
|
|
134647
|
+
Args: {
|
|
134648
|
+
p_order_ref: string;
|
|
134649
|
+
};
|
|
134650
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134651
|
+
};
|
|
134007
134652
|
logistics_upsert_task: {
|
|
134008
134653
|
Args: {
|
|
134009
134654
|
p_buffer_ref: string;
|
|
@@ -137850,6 +138495,42 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
137850
138495
|
};
|
|
137851
138496
|
Relationships: [];
|
|
137852
138497
|
};
|
|
138498
|
+
customer_assortment_items: {
|
|
138499
|
+
Row: {
|
|
138500
|
+
created_at: string;
|
|
138501
|
+
customer_key: string;
|
|
138502
|
+
id: string;
|
|
138503
|
+
in_assortment: boolean;
|
|
138504
|
+
manual_override: boolean;
|
|
138505
|
+
source: string;
|
|
138506
|
+
synced_at: string | null;
|
|
138507
|
+
trade_item_key: string;
|
|
138508
|
+
updated_at: string;
|
|
138509
|
+
};
|
|
138510
|
+
Insert: {
|
|
138511
|
+
created_at?: string;
|
|
138512
|
+
customer_key: string;
|
|
138513
|
+
id?: string;
|
|
138514
|
+
in_assortment?: boolean;
|
|
138515
|
+
manual_override?: boolean;
|
|
138516
|
+
source?: string;
|
|
138517
|
+
synced_at?: string | null;
|
|
138518
|
+
trade_item_key: string;
|
|
138519
|
+
updated_at?: string;
|
|
138520
|
+
};
|
|
138521
|
+
Update: {
|
|
138522
|
+
created_at?: string;
|
|
138523
|
+
customer_key?: string;
|
|
138524
|
+
id?: string;
|
|
138525
|
+
in_assortment?: boolean;
|
|
138526
|
+
manual_override?: boolean;
|
|
138527
|
+
source?: string;
|
|
138528
|
+
synced_at?: string | null;
|
|
138529
|
+
trade_item_key?: string;
|
|
138530
|
+
updated_at?: string;
|
|
138531
|
+
};
|
|
138532
|
+
Relationships: [];
|
|
138533
|
+
};
|
|
137853
138534
|
customer_audit_log: {
|
|
137854
138535
|
Row: {
|
|
137855
138536
|
action: string;
|
|
@@ -138254,40 +138935,58 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
138254
138935
|
};
|
|
138255
138936
|
customer_product_stickers: {
|
|
138256
138937
|
Row: {
|
|
138938
|
+
content_hash: string | null;
|
|
138257
138939
|
created_at: string;
|
|
138258
138940
|
customer_key: string;
|
|
138259
138941
|
file_name: string;
|
|
138260
138942
|
file_path: string;
|
|
138261
138943
|
file_size: number | null;
|
|
138944
|
+
floriday_sticker_id: string | null;
|
|
138945
|
+
floriday_synced_at: string | null;
|
|
138946
|
+
height_mm: number | null;
|
|
138262
138947
|
id: string;
|
|
138263
138948
|
mime_type: string | null;
|
|
138949
|
+
source: string;
|
|
138264
138950
|
trade_item_key: string;
|
|
138265
138951
|
updated_at: string;
|
|
138266
138952
|
uploaded_by: string | null;
|
|
138953
|
+
width_mm: number | null;
|
|
138267
138954
|
};
|
|
138268
138955
|
Insert: {
|
|
138956
|
+
content_hash?: string | null;
|
|
138269
138957
|
created_at?: string;
|
|
138270
138958
|
customer_key: string;
|
|
138271
138959
|
file_name: string;
|
|
138272
138960
|
file_path: string;
|
|
138273
138961
|
file_size?: number | null;
|
|
138962
|
+
floriday_sticker_id?: string | null;
|
|
138963
|
+
floriday_synced_at?: string | null;
|
|
138964
|
+
height_mm?: number | null;
|
|
138274
138965
|
id?: string;
|
|
138275
138966
|
mime_type?: string | null;
|
|
138967
|
+
source?: string;
|
|
138276
138968
|
trade_item_key: string;
|
|
138277
138969
|
updated_at?: string;
|
|
138278
138970
|
uploaded_by?: string | null;
|
|
138971
|
+
width_mm?: number | null;
|
|
138279
138972
|
};
|
|
138280
138973
|
Update: {
|
|
138974
|
+
content_hash?: string | null;
|
|
138281
138975
|
created_at?: string;
|
|
138282
138976
|
customer_key?: string;
|
|
138283
138977
|
file_name?: string;
|
|
138284
138978
|
file_path?: string;
|
|
138285
138979
|
file_size?: number | null;
|
|
138980
|
+
floriday_sticker_id?: string | null;
|
|
138981
|
+
floriday_synced_at?: string | null;
|
|
138982
|
+
height_mm?: number | null;
|
|
138286
138983
|
id?: string;
|
|
138287
138984
|
mime_type?: string | null;
|
|
138985
|
+
source?: string;
|
|
138288
138986
|
trade_item_key?: string;
|
|
138289
138987
|
updated_at?: string;
|
|
138290
138988
|
uploaded_by?: string | null;
|
|
138989
|
+
width_mm?: number | null;
|
|
138291
138990
|
};
|
|
138292
138991
|
Relationships: [];
|
|
138293
138992
|
};
|
|
@@ -147595,6 +148294,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147595
148294
|
Row: {
|
|
147596
148295
|
actor: string | null;
|
|
147597
148296
|
attempts: number;
|
|
148297
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
147598
148298
|
cart_ref: string | null;
|
|
147599
148299
|
created_at: string;
|
|
147600
148300
|
db_action: string | null;
|
|
@@ -147605,6 +148305,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147605
148305
|
decision: string | null;
|
|
147606
148306
|
duration_ms: number | null;
|
|
147607
148307
|
error: string | null;
|
|
148308
|
+
error_class: string | null;
|
|
147608
148309
|
external_action: string | null;
|
|
147609
148310
|
external_ref: string | null;
|
|
147610
148311
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -147613,6 +148314,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147613
148314
|
id: string;
|
|
147614
148315
|
input: import("../integrations/supabase/types").Json | null;
|
|
147615
148316
|
next_attempt_at: string | null;
|
|
148317
|
+
next_step: string | null;
|
|
148318
|
+
node_id: string | null;
|
|
147616
148319
|
order_ref: string | null;
|
|
147617
148320
|
order_source: string | null;
|
|
147618
148321
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -147629,6 +148332,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147629
148332
|
Insert: {
|
|
147630
148333
|
actor?: string | null;
|
|
147631
148334
|
attempts?: number;
|
|
148335
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
147632
148336
|
cart_ref?: string | null;
|
|
147633
148337
|
created_at?: string;
|
|
147634
148338
|
db_action?: string | null;
|
|
@@ -147639,6 +148343,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147639
148343
|
decision?: string | null;
|
|
147640
148344
|
duration_ms?: number | null;
|
|
147641
148345
|
error?: string | null;
|
|
148346
|
+
error_class?: string | null;
|
|
147642
148347
|
external_action?: string | null;
|
|
147643
148348
|
external_ref?: string | null;
|
|
147644
148349
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147647,6 +148352,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147647
148352
|
id?: string;
|
|
147648
148353
|
input?: import("../integrations/supabase/types").Json | null;
|
|
147649
148354
|
next_attempt_at?: string | null;
|
|
148355
|
+
next_step?: string | null;
|
|
148356
|
+
node_id?: string | null;
|
|
147650
148357
|
order_ref?: string | null;
|
|
147651
148358
|
order_source?: string | null;
|
|
147652
148359
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147663,6 +148370,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147663
148370
|
Update: {
|
|
147664
148371
|
actor?: string | null;
|
|
147665
148372
|
attempts?: number;
|
|
148373
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
147666
148374
|
cart_ref?: string | null;
|
|
147667
148375
|
created_at?: string;
|
|
147668
148376
|
db_action?: string | null;
|
|
@@ -147673,6 +148381,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147673
148381
|
decision?: string | null;
|
|
147674
148382
|
duration_ms?: number | null;
|
|
147675
148383
|
error?: string | null;
|
|
148384
|
+
error_class?: string | null;
|
|
147676
148385
|
external_action?: string | null;
|
|
147677
148386
|
external_ref?: string | null;
|
|
147678
148387
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147681,6 +148390,8 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
147681
148390
|
id?: string;
|
|
147682
148391
|
input?: import("../integrations/supabase/types").Json | null;
|
|
147683
148392
|
next_attempt_at?: string | null;
|
|
148393
|
+
next_step?: string | null;
|
|
148394
|
+
node_id?: string | null;
|
|
147684
148395
|
order_ref?: string | null;
|
|
147685
148396
|
order_source?: string | null;
|
|
147686
148397
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -161185,12 +161896,59 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
161185
161896
|
};
|
|
161186
161897
|
Returns: string;
|
|
161187
161898
|
};
|
|
161899
|
+
logistics_trace_all_orders: {
|
|
161900
|
+
Args: {
|
|
161901
|
+
p_limit?: number;
|
|
161902
|
+
p_search?: string;
|
|
161903
|
+
};
|
|
161904
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161905
|
+
};
|
|
161188
161906
|
logistics_trace_batch: {
|
|
161189
161907
|
Args: {
|
|
161190
161908
|
p: import("../integrations/supabase/types").Json;
|
|
161191
161909
|
};
|
|
161192
161910
|
Returns: number;
|
|
161193
161911
|
};
|
|
161912
|
+
logistics_trace_node: {
|
|
161913
|
+
Args: {
|
|
161914
|
+
p_op?: string;
|
|
161915
|
+
p_status?: string;
|
|
161916
|
+
p_table: string;
|
|
161917
|
+
};
|
|
161918
|
+
Returns: string;
|
|
161919
|
+
};
|
|
161920
|
+
logistics_trace_order_overview: {
|
|
161921
|
+
Args: {
|
|
161922
|
+
p_error_class?: string;
|
|
161923
|
+
p_limit?: number;
|
|
161924
|
+
p_search?: string;
|
|
161925
|
+
p_since?: string;
|
|
161926
|
+
p_source?: string;
|
|
161927
|
+
p_state?: string;
|
|
161928
|
+
p_step?: string;
|
|
161929
|
+
};
|
|
161930
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161931
|
+
};
|
|
161932
|
+
logistics_trace_order_state: {
|
|
161933
|
+
Args: {
|
|
161934
|
+
p_order_ref: string;
|
|
161935
|
+
};
|
|
161936
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161937
|
+
};
|
|
161938
|
+
logistics_trace_order_step: {
|
|
161939
|
+
Args: {
|
|
161940
|
+
p_class?: string;
|
|
161941
|
+
p_decision?: string;
|
|
161942
|
+
p_error?: string;
|
|
161943
|
+
p_next_step?: string;
|
|
161944
|
+
p_node: string;
|
|
161945
|
+
p_order_id: string;
|
|
161946
|
+
p_reason?: string;
|
|
161947
|
+
p_status: string;
|
|
161948
|
+
p_step: string;
|
|
161949
|
+
};
|
|
161950
|
+
Returns: undefined;
|
|
161951
|
+
};
|
|
161194
161952
|
logistics_trace_orders: {
|
|
161195
161953
|
Args: {
|
|
161196
161954
|
p_limit?: number;
|
|
@@ -161213,6 +161971,22 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
161213
161971
|
};
|
|
161214
161972
|
Returns: import("../integrations/supabase/types").Json;
|
|
161215
161973
|
};
|
|
161974
|
+
logistics_trace_version_events: {
|
|
161975
|
+
Args: {
|
|
161976
|
+
p_from?: string;
|
|
161977
|
+
p_limit?: number;
|
|
161978
|
+
p_order_ref: string;
|
|
161979
|
+
p_to?: string;
|
|
161980
|
+
p_version_id: string;
|
|
161981
|
+
};
|
|
161982
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161983
|
+
};
|
|
161984
|
+
logistics_trace_versions: {
|
|
161985
|
+
Args: {
|
|
161986
|
+
p_order_ref: string;
|
|
161987
|
+
};
|
|
161988
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161989
|
+
};
|
|
161216
161990
|
logistics_upsert_task: {
|
|
161217
161991
|
Args: {
|
|
161218
161992
|
p_buffer_ref: string;
|
|
@@ -165036,6 +165810,42 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
165036
165810
|
};
|
|
165037
165811
|
Relationships: [];
|
|
165038
165812
|
};
|
|
165813
|
+
customer_assortment_items: {
|
|
165814
|
+
Row: {
|
|
165815
|
+
created_at: string;
|
|
165816
|
+
customer_key: string;
|
|
165817
|
+
id: string;
|
|
165818
|
+
in_assortment: boolean;
|
|
165819
|
+
manual_override: boolean;
|
|
165820
|
+
source: string;
|
|
165821
|
+
synced_at: string | null;
|
|
165822
|
+
trade_item_key: string;
|
|
165823
|
+
updated_at: string;
|
|
165824
|
+
};
|
|
165825
|
+
Insert: {
|
|
165826
|
+
created_at?: string;
|
|
165827
|
+
customer_key: string;
|
|
165828
|
+
id?: string;
|
|
165829
|
+
in_assortment?: boolean;
|
|
165830
|
+
manual_override?: boolean;
|
|
165831
|
+
source?: string;
|
|
165832
|
+
synced_at?: string | null;
|
|
165833
|
+
trade_item_key: string;
|
|
165834
|
+
updated_at?: string;
|
|
165835
|
+
};
|
|
165836
|
+
Update: {
|
|
165837
|
+
created_at?: string;
|
|
165838
|
+
customer_key?: string;
|
|
165839
|
+
id?: string;
|
|
165840
|
+
in_assortment?: boolean;
|
|
165841
|
+
manual_override?: boolean;
|
|
165842
|
+
source?: string;
|
|
165843
|
+
synced_at?: string | null;
|
|
165844
|
+
trade_item_key?: string;
|
|
165845
|
+
updated_at?: string;
|
|
165846
|
+
};
|
|
165847
|
+
Relationships: [];
|
|
165848
|
+
};
|
|
165039
165849
|
customer_audit_log: {
|
|
165040
165850
|
Row: {
|
|
165041
165851
|
action: string;
|
|
@@ -165440,40 +166250,58 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
165440
166250
|
};
|
|
165441
166251
|
customer_product_stickers: {
|
|
165442
166252
|
Row: {
|
|
166253
|
+
content_hash: string | null;
|
|
165443
166254
|
created_at: string;
|
|
165444
166255
|
customer_key: string;
|
|
165445
166256
|
file_name: string;
|
|
165446
166257
|
file_path: string;
|
|
165447
166258
|
file_size: number | null;
|
|
166259
|
+
floriday_sticker_id: string | null;
|
|
166260
|
+
floriday_synced_at: string | null;
|
|
166261
|
+
height_mm: number | null;
|
|
165448
166262
|
id: string;
|
|
165449
166263
|
mime_type: string | null;
|
|
166264
|
+
source: string;
|
|
165450
166265
|
trade_item_key: string;
|
|
165451
166266
|
updated_at: string;
|
|
165452
166267
|
uploaded_by: string | null;
|
|
166268
|
+
width_mm: number | null;
|
|
165453
166269
|
};
|
|
165454
166270
|
Insert: {
|
|
166271
|
+
content_hash?: string | null;
|
|
165455
166272
|
created_at?: string;
|
|
165456
166273
|
customer_key: string;
|
|
165457
166274
|
file_name: string;
|
|
165458
166275
|
file_path: string;
|
|
165459
166276
|
file_size?: number | null;
|
|
166277
|
+
floriday_sticker_id?: string | null;
|
|
166278
|
+
floriday_synced_at?: string | null;
|
|
166279
|
+
height_mm?: number | null;
|
|
165460
166280
|
id?: string;
|
|
165461
166281
|
mime_type?: string | null;
|
|
166282
|
+
source?: string;
|
|
165462
166283
|
trade_item_key: string;
|
|
165463
166284
|
updated_at?: string;
|
|
165464
166285
|
uploaded_by?: string | null;
|
|
166286
|
+
width_mm?: number | null;
|
|
165465
166287
|
};
|
|
165466
166288
|
Update: {
|
|
166289
|
+
content_hash?: string | null;
|
|
165467
166290
|
created_at?: string;
|
|
165468
166291
|
customer_key?: string;
|
|
165469
166292
|
file_name?: string;
|
|
165470
166293
|
file_path?: string;
|
|
165471
166294
|
file_size?: number | null;
|
|
166295
|
+
floriday_sticker_id?: string | null;
|
|
166296
|
+
floriday_synced_at?: string | null;
|
|
166297
|
+
height_mm?: number | null;
|
|
165472
166298
|
id?: string;
|
|
165473
166299
|
mime_type?: string | null;
|
|
166300
|
+
source?: string;
|
|
165474
166301
|
trade_item_key?: string;
|
|
165475
166302
|
updated_at?: string;
|
|
165476
166303
|
uploaded_by?: string | null;
|
|
166304
|
+
width_mm?: number | null;
|
|
165477
166305
|
};
|
|
165478
166306
|
Relationships: [];
|
|
165479
166307
|
};
|
|
@@ -174781,6 +175609,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174781
175609
|
Row: {
|
|
174782
175610
|
actor: string | null;
|
|
174783
175611
|
attempts: number;
|
|
175612
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
174784
175613
|
cart_ref: string | null;
|
|
174785
175614
|
created_at: string;
|
|
174786
175615
|
db_action: string | null;
|
|
@@ -174791,6 +175620,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174791
175620
|
decision: string | null;
|
|
174792
175621
|
duration_ms: number | null;
|
|
174793
175622
|
error: string | null;
|
|
175623
|
+
error_class: string | null;
|
|
174794
175624
|
external_action: string | null;
|
|
174795
175625
|
external_ref: string | null;
|
|
174796
175626
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -174799,6 +175629,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174799
175629
|
id: string;
|
|
174800
175630
|
input: import("../integrations/supabase/types").Json | null;
|
|
174801
175631
|
next_attempt_at: string | null;
|
|
175632
|
+
next_step: string | null;
|
|
175633
|
+
node_id: string | null;
|
|
174802
175634
|
order_ref: string | null;
|
|
174803
175635
|
order_source: string | null;
|
|
174804
175636
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -174815,6 +175647,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174815
175647
|
Insert: {
|
|
174816
175648
|
actor?: string | null;
|
|
174817
175649
|
attempts?: number;
|
|
175650
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
174818
175651
|
cart_ref?: string | null;
|
|
174819
175652
|
created_at?: string;
|
|
174820
175653
|
db_action?: string | null;
|
|
@@ -174825,6 +175658,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174825
175658
|
decision?: string | null;
|
|
174826
175659
|
duration_ms?: number | null;
|
|
174827
175660
|
error?: string | null;
|
|
175661
|
+
error_class?: string | null;
|
|
174828
175662
|
external_action?: string | null;
|
|
174829
175663
|
external_ref?: string | null;
|
|
174830
175664
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174833,6 +175667,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174833
175667
|
id?: string;
|
|
174834
175668
|
input?: import("../integrations/supabase/types").Json | null;
|
|
174835
175669
|
next_attempt_at?: string | null;
|
|
175670
|
+
next_step?: string | null;
|
|
175671
|
+
node_id?: string | null;
|
|
174836
175672
|
order_ref?: string | null;
|
|
174837
175673
|
order_source?: string | null;
|
|
174838
175674
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174849,6 +175685,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174849
175685
|
Update: {
|
|
174850
175686
|
actor?: string | null;
|
|
174851
175687
|
attempts?: number;
|
|
175688
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
174852
175689
|
cart_ref?: string | null;
|
|
174853
175690
|
created_at?: string;
|
|
174854
175691
|
db_action?: string | null;
|
|
@@ -174859,6 +175696,7 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174859
175696
|
decision?: string | null;
|
|
174860
175697
|
duration_ms?: number | null;
|
|
174861
175698
|
error?: string | null;
|
|
175699
|
+
error_class?: string | null;
|
|
174862
175700
|
external_action?: string | null;
|
|
174863
175701
|
external_ref?: string | null;
|
|
174864
175702
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174867,6 +175705,8 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
174867
175705
|
id?: string;
|
|
174868
175706
|
input?: import("../integrations/supabase/types").Json | null;
|
|
174869
175707
|
next_attempt_at?: string | null;
|
|
175708
|
+
next_step?: string | null;
|
|
175709
|
+
node_id?: string | null;
|
|
174870
175710
|
order_ref?: string | null;
|
|
174871
175711
|
order_source?: string | null;
|
|
174872
175712
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -188371,12 +189211,59 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
188371
189211
|
};
|
|
188372
189212
|
Returns: string;
|
|
188373
189213
|
};
|
|
189214
|
+
logistics_trace_all_orders: {
|
|
189215
|
+
Args: {
|
|
189216
|
+
p_limit?: number;
|
|
189217
|
+
p_search?: string;
|
|
189218
|
+
};
|
|
189219
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189220
|
+
};
|
|
188374
189221
|
logistics_trace_batch: {
|
|
188375
189222
|
Args: {
|
|
188376
189223
|
p: import("../integrations/supabase/types").Json;
|
|
188377
189224
|
};
|
|
188378
189225
|
Returns: number;
|
|
188379
189226
|
};
|
|
189227
|
+
logistics_trace_node: {
|
|
189228
|
+
Args: {
|
|
189229
|
+
p_op?: string;
|
|
189230
|
+
p_status?: string;
|
|
189231
|
+
p_table: string;
|
|
189232
|
+
};
|
|
189233
|
+
Returns: string;
|
|
189234
|
+
};
|
|
189235
|
+
logistics_trace_order_overview: {
|
|
189236
|
+
Args: {
|
|
189237
|
+
p_error_class?: string;
|
|
189238
|
+
p_limit?: number;
|
|
189239
|
+
p_search?: string;
|
|
189240
|
+
p_since?: string;
|
|
189241
|
+
p_source?: string;
|
|
189242
|
+
p_state?: string;
|
|
189243
|
+
p_step?: string;
|
|
189244
|
+
};
|
|
189245
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189246
|
+
};
|
|
189247
|
+
logistics_trace_order_state: {
|
|
189248
|
+
Args: {
|
|
189249
|
+
p_order_ref: string;
|
|
189250
|
+
};
|
|
189251
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189252
|
+
};
|
|
189253
|
+
logistics_trace_order_step: {
|
|
189254
|
+
Args: {
|
|
189255
|
+
p_class?: string;
|
|
189256
|
+
p_decision?: string;
|
|
189257
|
+
p_error?: string;
|
|
189258
|
+
p_next_step?: string;
|
|
189259
|
+
p_node: string;
|
|
189260
|
+
p_order_id: string;
|
|
189261
|
+
p_reason?: string;
|
|
189262
|
+
p_status: string;
|
|
189263
|
+
p_step: string;
|
|
189264
|
+
};
|
|
189265
|
+
Returns: undefined;
|
|
189266
|
+
};
|
|
188380
189267
|
logistics_trace_orders: {
|
|
188381
189268
|
Args: {
|
|
188382
189269
|
p_limit?: number;
|
|
@@ -188399,6 +189286,22 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
188399
189286
|
};
|
|
188400
189287
|
Returns: import("../integrations/supabase/types").Json;
|
|
188401
189288
|
};
|
|
189289
|
+
logistics_trace_version_events: {
|
|
189290
|
+
Args: {
|
|
189291
|
+
p_from?: string;
|
|
189292
|
+
p_limit?: number;
|
|
189293
|
+
p_order_ref: string;
|
|
189294
|
+
p_to?: string;
|
|
189295
|
+
p_version_id: string;
|
|
189296
|
+
};
|
|
189297
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189298
|
+
};
|
|
189299
|
+
logistics_trace_versions: {
|
|
189300
|
+
Args: {
|
|
189301
|
+
p_order_ref: string;
|
|
189302
|
+
};
|
|
189303
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189304
|
+
};
|
|
188402
189305
|
logistics_upsert_task: {
|
|
188403
189306
|
Args: {
|
|
188404
189307
|
p_buffer_ref: string;
|