@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
|
@@ -1833,6 +1833,42 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
1833
1833
|
};
|
|
1834
1834
|
Relationships: [];
|
|
1835
1835
|
};
|
|
1836
|
+
customer_assortment_items: {
|
|
1837
|
+
Row: {
|
|
1838
|
+
created_at: string;
|
|
1839
|
+
customer_key: string;
|
|
1840
|
+
id: string;
|
|
1841
|
+
in_assortment: boolean;
|
|
1842
|
+
manual_override: boolean;
|
|
1843
|
+
source: string;
|
|
1844
|
+
synced_at: string | null;
|
|
1845
|
+
trade_item_key: string;
|
|
1846
|
+
updated_at: string;
|
|
1847
|
+
};
|
|
1848
|
+
Insert: {
|
|
1849
|
+
created_at?: string;
|
|
1850
|
+
customer_key: string;
|
|
1851
|
+
id?: string;
|
|
1852
|
+
in_assortment?: boolean;
|
|
1853
|
+
manual_override?: boolean;
|
|
1854
|
+
source?: string;
|
|
1855
|
+
synced_at?: string | null;
|
|
1856
|
+
trade_item_key: string;
|
|
1857
|
+
updated_at?: string;
|
|
1858
|
+
};
|
|
1859
|
+
Update: {
|
|
1860
|
+
created_at?: string;
|
|
1861
|
+
customer_key?: string;
|
|
1862
|
+
id?: string;
|
|
1863
|
+
in_assortment?: boolean;
|
|
1864
|
+
manual_override?: boolean;
|
|
1865
|
+
source?: string;
|
|
1866
|
+
synced_at?: string | null;
|
|
1867
|
+
trade_item_key?: string;
|
|
1868
|
+
updated_at?: string;
|
|
1869
|
+
};
|
|
1870
|
+
Relationships: [];
|
|
1871
|
+
};
|
|
1836
1872
|
customer_audit_log: {
|
|
1837
1873
|
Row: {
|
|
1838
1874
|
action: string;
|
|
@@ -2237,40 +2273,58 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
2237
2273
|
};
|
|
2238
2274
|
customer_product_stickers: {
|
|
2239
2275
|
Row: {
|
|
2276
|
+
content_hash: string | null;
|
|
2240
2277
|
created_at: string;
|
|
2241
2278
|
customer_key: string;
|
|
2242
2279
|
file_name: string;
|
|
2243
2280
|
file_path: string;
|
|
2244
2281
|
file_size: number | null;
|
|
2282
|
+
floriday_sticker_id: string | null;
|
|
2283
|
+
floriday_synced_at: string | null;
|
|
2284
|
+
height_mm: number | null;
|
|
2245
2285
|
id: string;
|
|
2246
2286
|
mime_type: string | null;
|
|
2287
|
+
source: string;
|
|
2247
2288
|
trade_item_key: string;
|
|
2248
2289
|
updated_at: string;
|
|
2249
2290
|
uploaded_by: string | null;
|
|
2291
|
+
width_mm: number | null;
|
|
2250
2292
|
};
|
|
2251
2293
|
Insert: {
|
|
2294
|
+
content_hash?: string | null;
|
|
2252
2295
|
created_at?: string;
|
|
2253
2296
|
customer_key: string;
|
|
2254
2297
|
file_name: string;
|
|
2255
2298
|
file_path: string;
|
|
2256
2299
|
file_size?: number | null;
|
|
2300
|
+
floriday_sticker_id?: string | null;
|
|
2301
|
+
floriday_synced_at?: string | null;
|
|
2302
|
+
height_mm?: number | null;
|
|
2257
2303
|
id?: string;
|
|
2258
2304
|
mime_type?: string | null;
|
|
2305
|
+
source?: string;
|
|
2259
2306
|
trade_item_key: string;
|
|
2260
2307
|
updated_at?: string;
|
|
2261
2308
|
uploaded_by?: string | null;
|
|
2309
|
+
width_mm?: number | null;
|
|
2262
2310
|
};
|
|
2263
2311
|
Update: {
|
|
2312
|
+
content_hash?: string | null;
|
|
2264
2313
|
created_at?: string;
|
|
2265
2314
|
customer_key?: string;
|
|
2266
2315
|
file_name?: string;
|
|
2267
2316
|
file_path?: string;
|
|
2268
2317
|
file_size?: number | null;
|
|
2318
|
+
floriday_sticker_id?: string | null;
|
|
2319
|
+
floriday_synced_at?: string | null;
|
|
2320
|
+
height_mm?: number | null;
|
|
2269
2321
|
id?: string;
|
|
2270
2322
|
mime_type?: string | null;
|
|
2323
|
+
source?: string;
|
|
2271
2324
|
trade_item_key?: string;
|
|
2272
2325
|
updated_at?: string;
|
|
2273
2326
|
uploaded_by?: string | null;
|
|
2327
|
+
width_mm?: number | null;
|
|
2274
2328
|
};
|
|
2275
2329
|
Relationships: [];
|
|
2276
2330
|
};
|
|
@@ -11578,6 +11632,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11578
11632
|
Row: {
|
|
11579
11633
|
actor: string | null;
|
|
11580
11634
|
attempts: number;
|
|
11635
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11581
11636
|
cart_ref: string | null;
|
|
11582
11637
|
created_at: string;
|
|
11583
11638
|
db_action: string | null;
|
|
@@ -11588,6 +11643,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11588
11643
|
decision: string | null;
|
|
11589
11644
|
duration_ms: number | null;
|
|
11590
11645
|
error: string | null;
|
|
11646
|
+
error_class: string | null;
|
|
11591
11647
|
external_action: string | null;
|
|
11592
11648
|
external_ref: string | null;
|
|
11593
11649
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11596,6 +11652,8 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11596
11652
|
id: string;
|
|
11597
11653
|
input: import("../integrations/supabase/types").Json | null;
|
|
11598
11654
|
next_attempt_at: string | null;
|
|
11655
|
+
next_step: string | null;
|
|
11656
|
+
node_id: string | null;
|
|
11599
11657
|
order_ref: string | null;
|
|
11600
11658
|
order_source: string | null;
|
|
11601
11659
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11612,6 +11670,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11612
11670
|
Insert: {
|
|
11613
11671
|
actor?: string | null;
|
|
11614
11672
|
attempts?: number;
|
|
11673
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11615
11674
|
cart_ref?: string | null;
|
|
11616
11675
|
created_at?: string;
|
|
11617
11676
|
db_action?: string | null;
|
|
@@ -11622,6 +11681,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11622
11681
|
decision?: string | null;
|
|
11623
11682
|
duration_ms?: number | null;
|
|
11624
11683
|
error?: string | null;
|
|
11684
|
+
error_class?: string | null;
|
|
11625
11685
|
external_action?: string | null;
|
|
11626
11686
|
external_ref?: string | null;
|
|
11627
11687
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11630,6 +11690,8 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11630
11690
|
id?: string;
|
|
11631
11691
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11632
11692
|
next_attempt_at?: string | null;
|
|
11693
|
+
next_step?: string | null;
|
|
11694
|
+
node_id?: string | null;
|
|
11633
11695
|
order_ref?: string | null;
|
|
11634
11696
|
order_source?: string | null;
|
|
11635
11697
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11646,6 +11708,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11646
11708
|
Update: {
|
|
11647
11709
|
actor?: string | null;
|
|
11648
11710
|
attempts?: number;
|
|
11711
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11649
11712
|
cart_ref?: string | null;
|
|
11650
11713
|
created_at?: string;
|
|
11651
11714
|
db_action?: string | null;
|
|
@@ -11656,6 +11719,7 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11656
11719
|
decision?: string | null;
|
|
11657
11720
|
duration_ms?: number | null;
|
|
11658
11721
|
error?: string | null;
|
|
11722
|
+
error_class?: string | null;
|
|
11659
11723
|
external_action?: string | null;
|
|
11660
11724
|
external_ref?: string | null;
|
|
11661
11725
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11664,6 +11728,8 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
11664
11728
|
id?: string;
|
|
11665
11729
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11666
11730
|
next_attempt_at?: string | null;
|
|
11731
|
+
next_step?: string | null;
|
|
11732
|
+
node_id?: string | null;
|
|
11667
11733
|
order_ref?: string | null;
|
|
11668
11734
|
order_source?: string | null;
|
|
11669
11735
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25168,12 +25234,59 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
25168
25234
|
};
|
|
25169
25235
|
Returns: string;
|
|
25170
25236
|
};
|
|
25237
|
+
logistics_trace_all_orders: {
|
|
25238
|
+
Args: {
|
|
25239
|
+
p_limit?: number;
|
|
25240
|
+
p_search?: string;
|
|
25241
|
+
};
|
|
25242
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25243
|
+
};
|
|
25171
25244
|
logistics_trace_batch: {
|
|
25172
25245
|
Args: {
|
|
25173
25246
|
p: import("../integrations/supabase/types").Json;
|
|
25174
25247
|
};
|
|
25175
25248
|
Returns: number;
|
|
25176
25249
|
};
|
|
25250
|
+
logistics_trace_node: {
|
|
25251
|
+
Args: {
|
|
25252
|
+
p_op?: string;
|
|
25253
|
+
p_status?: string;
|
|
25254
|
+
p_table: string;
|
|
25255
|
+
};
|
|
25256
|
+
Returns: string;
|
|
25257
|
+
};
|
|
25258
|
+
logistics_trace_order_overview: {
|
|
25259
|
+
Args: {
|
|
25260
|
+
p_error_class?: string;
|
|
25261
|
+
p_limit?: number;
|
|
25262
|
+
p_search?: string;
|
|
25263
|
+
p_since?: string;
|
|
25264
|
+
p_source?: string;
|
|
25265
|
+
p_state?: string;
|
|
25266
|
+
p_step?: string;
|
|
25267
|
+
};
|
|
25268
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25269
|
+
};
|
|
25270
|
+
logistics_trace_order_state: {
|
|
25271
|
+
Args: {
|
|
25272
|
+
p_order_ref: string;
|
|
25273
|
+
};
|
|
25274
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25275
|
+
};
|
|
25276
|
+
logistics_trace_order_step: {
|
|
25277
|
+
Args: {
|
|
25278
|
+
p_class?: string;
|
|
25279
|
+
p_decision?: string;
|
|
25280
|
+
p_error?: string;
|
|
25281
|
+
p_next_step?: string;
|
|
25282
|
+
p_node: string;
|
|
25283
|
+
p_order_id: string;
|
|
25284
|
+
p_reason?: string;
|
|
25285
|
+
p_status: string;
|
|
25286
|
+
p_step: string;
|
|
25287
|
+
};
|
|
25288
|
+
Returns: undefined;
|
|
25289
|
+
};
|
|
25177
25290
|
logistics_trace_orders: {
|
|
25178
25291
|
Args: {
|
|
25179
25292
|
p_limit?: number;
|
|
@@ -25196,6 +25309,22 @@ export declare const precheckTwinfieldPush: import("@tanstack/start-client-core"
|
|
|
25196
25309
|
};
|
|
25197
25310
|
Returns: import("../integrations/supabase/types").Json;
|
|
25198
25311
|
};
|
|
25312
|
+
logistics_trace_version_events: {
|
|
25313
|
+
Args: {
|
|
25314
|
+
p_from?: string;
|
|
25315
|
+
p_limit?: number;
|
|
25316
|
+
p_order_ref: string;
|
|
25317
|
+
p_to?: string;
|
|
25318
|
+
p_version_id: string;
|
|
25319
|
+
};
|
|
25320
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25321
|
+
};
|
|
25322
|
+
logistics_trace_versions: {
|
|
25323
|
+
Args: {
|
|
25324
|
+
p_order_ref: string;
|
|
25325
|
+
};
|
|
25326
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25327
|
+
};
|
|
25199
25328
|
logistics_upsert_task: {
|
|
25200
25329
|
Args: {
|
|
25201
25330
|
p_buffer_ref: string;
|
|
@@ -29024,6 +29153,42 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
29024
29153
|
};
|
|
29025
29154
|
Relationships: [];
|
|
29026
29155
|
};
|
|
29156
|
+
customer_assortment_items: {
|
|
29157
|
+
Row: {
|
|
29158
|
+
created_at: string;
|
|
29159
|
+
customer_key: string;
|
|
29160
|
+
id: string;
|
|
29161
|
+
in_assortment: boolean;
|
|
29162
|
+
manual_override: boolean;
|
|
29163
|
+
source: string;
|
|
29164
|
+
synced_at: string | null;
|
|
29165
|
+
trade_item_key: string;
|
|
29166
|
+
updated_at: string;
|
|
29167
|
+
};
|
|
29168
|
+
Insert: {
|
|
29169
|
+
created_at?: string;
|
|
29170
|
+
customer_key: string;
|
|
29171
|
+
id?: string;
|
|
29172
|
+
in_assortment?: boolean;
|
|
29173
|
+
manual_override?: boolean;
|
|
29174
|
+
source?: string;
|
|
29175
|
+
synced_at?: string | null;
|
|
29176
|
+
trade_item_key: string;
|
|
29177
|
+
updated_at?: string;
|
|
29178
|
+
};
|
|
29179
|
+
Update: {
|
|
29180
|
+
created_at?: string;
|
|
29181
|
+
customer_key?: string;
|
|
29182
|
+
id?: string;
|
|
29183
|
+
in_assortment?: boolean;
|
|
29184
|
+
manual_override?: boolean;
|
|
29185
|
+
source?: string;
|
|
29186
|
+
synced_at?: string | null;
|
|
29187
|
+
trade_item_key?: string;
|
|
29188
|
+
updated_at?: string;
|
|
29189
|
+
};
|
|
29190
|
+
Relationships: [];
|
|
29191
|
+
};
|
|
29027
29192
|
customer_audit_log: {
|
|
29028
29193
|
Row: {
|
|
29029
29194
|
action: string;
|
|
@@ -29428,40 +29593,58 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
29428
29593
|
};
|
|
29429
29594
|
customer_product_stickers: {
|
|
29430
29595
|
Row: {
|
|
29596
|
+
content_hash: string | null;
|
|
29431
29597
|
created_at: string;
|
|
29432
29598
|
customer_key: string;
|
|
29433
29599
|
file_name: string;
|
|
29434
29600
|
file_path: string;
|
|
29435
29601
|
file_size: number | null;
|
|
29602
|
+
floriday_sticker_id: string | null;
|
|
29603
|
+
floriday_synced_at: string | null;
|
|
29604
|
+
height_mm: number | null;
|
|
29436
29605
|
id: string;
|
|
29437
29606
|
mime_type: string | null;
|
|
29607
|
+
source: string;
|
|
29438
29608
|
trade_item_key: string;
|
|
29439
29609
|
updated_at: string;
|
|
29440
29610
|
uploaded_by: string | null;
|
|
29611
|
+
width_mm: number | null;
|
|
29441
29612
|
};
|
|
29442
29613
|
Insert: {
|
|
29614
|
+
content_hash?: string | null;
|
|
29443
29615
|
created_at?: string;
|
|
29444
29616
|
customer_key: string;
|
|
29445
29617
|
file_name: string;
|
|
29446
29618
|
file_path: string;
|
|
29447
29619
|
file_size?: number | null;
|
|
29620
|
+
floriday_sticker_id?: string | null;
|
|
29621
|
+
floriday_synced_at?: string | null;
|
|
29622
|
+
height_mm?: number | null;
|
|
29448
29623
|
id?: string;
|
|
29449
29624
|
mime_type?: string | null;
|
|
29625
|
+
source?: string;
|
|
29450
29626
|
trade_item_key: string;
|
|
29451
29627
|
updated_at?: string;
|
|
29452
29628
|
uploaded_by?: string | null;
|
|
29629
|
+
width_mm?: number | null;
|
|
29453
29630
|
};
|
|
29454
29631
|
Update: {
|
|
29632
|
+
content_hash?: string | null;
|
|
29455
29633
|
created_at?: string;
|
|
29456
29634
|
customer_key?: string;
|
|
29457
29635
|
file_name?: string;
|
|
29458
29636
|
file_path?: string;
|
|
29459
29637
|
file_size?: number | null;
|
|
29638
|
+
floriday_sticker_id?: string | null;
|
|
29639
|
+
floriday_synced_at?: string | null;
|
|
29640
|
+
height_mm?: number | null;
|
|
29460
29641
|
id?: string;
|
|
29461
29642
|
mime_type?: string | null;
|
|
29643
|
+
source?: string;
|
|
29462
29644
|
trade_item_key?: string;
|
|
29463
29645
|
updated_at?: string;
|
|
29464
29646
|
uploaded_by?: string | null;
|
|
29647
|
+
width_mm?: number | null;
|
|
29465
29648
|
};
|
|
29466
29649
|
Relationships: [];
|
|
29467
29650
|
};
|
|
@@ -38769,6 +38952,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38769
38952
|
Row: {
|
|
38770
38953
|
actor: string | null;
|
|
38771
38954
|
attempts: number;
|
|
38955
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38772
38956
|
cart_ref: string | null;
|
|
38773
38957
|
created_at: string;
|
|
38774
38958
|
db_action: string | null;
|
|
@@ -38779,6 +38963,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38779
38963
|
decision: string | null;
|
|
38780
38964
|
duration_ms: number | null;
|
|
38781
38965
|
error: string | null;
|
|
38966
|
+
error_class: string | null;
|
|
38782
38967
|
external_action: string | null;
|
|
38783
38968
|
external_ref: string | null;
|
|
38784
38969
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38787,6 +38972,8 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38787
38972
|
id: string;
|
|
38788
38973
|
input: import("../integrations/supabase/types").Json | null;
|
|
38789
38974
|
next_attempt_at: string | null;
|
|
38975
|
+
next_step: string | null;
|
|
38976
|
+
node_id: string | null;
|
|
38790
38977
|
order_ref: string | null;
|
|
38791
38978
|
order_source: string | null;
|
|
38792
38979
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38803,6 +38990,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38803
38990
|
Insert: {
|
|
38804
38991
|
actor?: string | null;
|
|
38805
38992
|
attempts?: number;
|
|
38993
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38806
38994
|
cart_ref?: string | null;
|
|
38807
38995
|
created_at?: string;
|
|
38808
38996
|
db_action?: string | null;
|
|
@@ -38813,6 +39001,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38813
39001
|
decision?: string | null;
|
|
38814
39002
|
duration_ms?: number | null;
|
|
38815
39003
|
error?: string | null;
|
|
39004
|
+
error_class?: string | null;
|
|
38816
39005
|
external_action?: string | null;
|
|
38817
39006
|
external_ref?: string | null;
|
|
38818
39007
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38821,6 +39010,8 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38821
39010
|
id?: string;
|
|
38822
39011
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38823
39012
|
next_attempt_at?: string | null;
|
|
39013
|
+
next_step?: string | null;
|
|
39014
|
+
node_id?: string | null;
|
|
38824
39015
|
order_ref?: string | null;
|
|
38825
39016
|
order_source?: string | null;
|
|
38826
39017
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38837,6 +39028,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38837
39028
|
Update: {
|
|
38838
39029
|
actor?: string | null;
|
|
38839
39030
|
attempts?: number;
|
|
39031
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38840
39032
|
cart_ref?: string | null;
|
|
38841
39033
|
created_at?: string;
|
|
38842
39034
|
db_action?: string | null;
|
|
@@ -38847,6 +39039,7 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38847
39039
|
decision?: string | null;
|
|
38848
39040
|
duration_ms?: number | null;
|
|
38849
39041
|
error?: string | null;
|
|
39042
|
+
error_class?: string | null;
|
|
38850
39043
|
external_action?: string | null;
|
|
38851
39044
|
external_ref?: string | null;
|
|
38852
39045
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38855,6 +39048,8 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
38855
39048
|
id?: string;
|
|
38856
39049
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38857
39050
|
next_attempt_at?: string | null;
|
|
39051
|
+
next_step?: string | null;
|
|
39052
|
+
node_id?: string | null;
|
|
38858
39053
|
order_ref?: string | null;
|
|
38859
39054
|
order_source?: string | null;
|
|
38860
39055
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52359,12 +52554,59 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
52359
52554
|
};
|
|
52360
52555
|
Returns: string;
|
|
52361
52556
|
};
|
|
52557
|
+
logistics_trace_all_orders: {
|
|
52558
|
+
Args: {
|
|
52559
|
+
p_limit?: number;
|
|
52560
|
+
p_search?: string;
|
|
52561
|
+
};
|
|
52562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52563
|
+
};
|
|
52362
52564
|
logistics_trace_batch: {
|
|
52363
52565
|
Args: {
|
|
52364
52566
|
p: import("../integrations/supabase/types").Json;
|
|
52365
52567
|
};
|
|
52366
52568
|
Returns: number;
|
|
52367
52569
|
};
|
|
52570
|
+
logistics_trace_node: {
|
|
52571
|
+
Args: {
|
|
52572
|
+
p_op?: string;
|
|
52573
|
+
p_status?: string;
|
|
52574
|
+
p_table: string;
|
|
52575
|
+
};
|
|
52576
|
+
Returns: string;
|
|
52577
|
+
};
|
|
52578
|
+
logistics_trace_order_overview: {
|
|
52579
|
+
Args: {
|
|
52580
|
+
p_error_class?: string;
|
|
52581
|
+
p_limit?: number;
|
|
52582
|
+
p_search?: string;
|
|
52583
|
+
p_since?: string;
|
|
52584
|
+
p_source?: string;
|
|
52585
|
+
p_state?: string;
|
|
52586
|
+
p_step?: string;
|
|
52587
|
+
};
|
|
52588
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52589
|
+
};
|
|
52590
|
+
logistics_trace_order_state: {
|
|
52591
|
+
Args: {
|
|
52592
|
+
p_order_ref: string;
|
|
52593
|
+
};
|
|
52594
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52595
|
+
};
|
|
52596
|
+
logistics_trace_order_step: {
|
|
52597
|
+
Args: {
|
|
52598
|
+
p_class?: string;
|
|
52599
|
+
p_decision?: string;
|
|
52600
|
+
p_error?: string;
|
|
52601
|
+
p_next_step?: string;
|
|
52602
|
+
p_node: string;
|
|
52603
|
+
p_order_id: string;
|
|
52604
|
+
p_reason?: string;
|
|
52605
|
+
p_status: string;
|
|
52606
|
+
p_step: string;
|
|
52607
|
+
};
|
|
52608
|
+
Returns: undefined;
|
|
52609
|
+
};
|
|
52368
52610
|
logistics_trace_orders: {
|
|
52369
52611
|
Args: {
|
|
52370
52612
|
p_limit?: number;
|
|
@@ -52387,6 +52629,22 @@ export declare const listCustomers: import("@tanstack/start-client-core").Requir
|
|
|
52387
52629
|
};
|
|
52388
52630
|
Returns: import("../integrations/supabase/types").Json;
|
|
52389
52631
|
};
|
|
52632
|
+
logistics_trace_version_events: {
|
|
52633
|
+
Args: {
|
|
52634
|
+
p_from?: string;
|
|
52635
|
+
p_limit?: number;
|
|
52636
|
+
p_order_ref: string;
|
|
52637
|
+
p_to?: string;
|
|
52638
|
+
p_version_id: string;
|
|
52639
|
+
};
|
|
52640
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52641
|
+
};
|
|
52642
|
+
logistics_trace_versions: {
|
|
52643
|
+
Args: {
|
|
52644
|
+
p_order_ref: string;
|
|
52645
|
+
};
|
|
52646
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52647
|
+
};
|
|
52390
52648
|
logistics_upsert_task: {
|
|
52391
52649
|
Args: {
|
|
52392
52650
|
p_buffer_ref: string;
|
|
@@ -56213,6 +56471,42 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
56213
56471
|
};
|
|
56214
56472
|
Relationships: [];
|
|
56215
56473
|
};
|
|
56474
|
+
customer_assortment_items: {
|
|
56475
|
+
Row: {
|
|
56476
|
+
created_at: string;
|
|
56477
|
+
customer_key: string;
|
|
56478
|
+
id: string;
|
|
56479
|
+
in_assortment: boolean;
|
|
56480
|
+
manual_override: boolean;
|
|
56481
|
+
source: string;
|
|
56482
|
+
synced_at: string | null;
|
|
56483
|
+
trade_item_key: string;
|
|
56484
|
+
updated_at: string;
|
|
56485
|
+
};
|
|
56486
|
+
Insert: {
|
|
56487
|
+
created_at?: string;
|
|
56488
|
+
customer_key: string;
|
|
56489
|
+
id?: string;
|
|
56490
|
+
in_assortment?: boolean;
|
|
56491
|
+
manual_override?: boolean;
|
|
56492
|
+
source?: string;
|
|
56493
|
+
synced_at?: string | null;
|
|
56494
|
+
trade_item_key: string;
|
|
56495
|
+
updated_at?: string;
|
|
56496
|
+
};
|
|
56497
|
+
Update: {
|
|
56498
|
+
created_at?: string;
|
|
56499
|
+
customer_key?: string;
|
|
56500
|
+
id?: string;
|
|
56501
|
+
in_assortment?: boolean;
|
|
56502
|
+
manual_override?: boolean;
|
|
56503
|
+
source?: string;
|
|
56504
|
+
synced_at?: string | null;
|
|
56505
|
+
trade_item_key?: string;
|
|
56506
|
+
updated_at?: string;
|
|
56507
|
+
};
|
|
56508
|
+
Relationships: [];
|
|
56509
|
+
};
|
|
56216
56510
|
customer_audit_log: {
|
|
56217
56511
|
Row: {
|
|
56218
56512
|
action: string;
|
|
@@ -56617,40 +56911,58 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
56617
56911
|
};
|
|
56618
56912
|
customer_product_stickers: {
|
|
56619
56913
|
Row: {
|
|
56914
|
+
content_hash: string | null;
|
|
56620
56915
|
created_at: string;
|
|
56621
56916
|
customer_key: string;
|
|
56622
56917
|
file_name: string;
|
|
56623
56918
|
file_path: string;
|
|
56624
56919
|
file_size: number | null;
|
|
56920
|
+
floriday_sticker_id: string | null;
|
|
56921
|
+
floriday_synced_at: string | null;
|
|
56922
|
+
height_mm: number | null;
|
|
56625
56923
|
id: string;
|
|
56626
56924
|
mime_type: string | null;
|
|
56925
|
+
source: string;
|
|
56627
56926
|
trade_item_key: string;
|
|
56628
56927
|
updated_at: string;
|
|
56629
56928
|
uploaded_by: string | null;
|
|
56929
|
+
width_mm: number | null;
|
|
56630
56930
|
};
|
|
56631
56931
|
Insert: {
|
|
56932
|
+
content_hash?: string | null;
|
|
56632
56933
|
created_at?: string;
|
|
56633
56934
|
customer_key: string;
|
|
56634
56935
|
file_name: string;
|
|
56635
56936
|
file_path: string;
|
|
56636
56937
|
file_size?: number | null;
|
|
56938
|
+
floriday_sticker_id?: string | null;
|
|
56939
|
+
floriday_synced_at?: string | null;
|
|
56940
|
+
height_mm?: number | null;
|
|
56637
56941
|
id?: string;
|
|
56638
56942
|
mime_type?: string | null;
|
|
56943
|
+
source?: string;
|
|
56639
56944
|
trade_item_key: string;
|
|
56640
56945
|
updated_at?: string;
|
|
56641
56946
|
uploaded_by?: string | null;
|
|
56947
|
+
width_mm?: number | null;
|
|
56642
56948
|
};
|
|
56643
56949
|
Update: {
|
|
56950
|
+
content_hash?: string | null;
|
|
56644
56951
|
created_at?: string;
|
|
56645
56952
|
customer_key?: string;
|
|
56646
56953
|
file_name?: string;
|
|
56647
56954
|
file_path?: string;
|
|
56648
56955
|
file_size?: number | null;
|
|
56956
|
+
floriday_sticker_id?: string | null;
|
|
56957
|
+
floriday_synced_at?: string | null;
|
|
56958
|
+
height_mm?: number | null;
|
|
56649
56959
|
id?: string;
|
|
56650
56960
|
mime_type?: string | null;
|
|
56961
|
+
source?: string;
|
|
56651
56962
|
trade_item_key?: string;
|
|
56652
56963
|
updated_at?: string;
|
|
56653
56964
|
uploaded_by?: string | null;
|
|
56965
|
+
width_mm?: number | null;
|
|
56654
56966
|
};
|
|
56655
56967
|
Relationships: [];
|
|
56656
56968
|
};
|
|
@@ -65958,6 +66270,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
65958
66270
|
Row: {
|
|
65959
66271
|
actor: string | null;
|
|
65960
66272
|
attempts: number;
|
|
66273
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
65961
66274
|
cart_ref: string | null;
|
|
65962
66275
|
created_at: string;
|
|
65963
66276
|
db_action: string | null;
|
|
@@ -65968,6 +66281,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
65968
66281
|
decision: string | null;
|
|
65969
66282
|
duration_ms: number | null;
|
|
65970
66283
|
error: string | null;
|
|
66284
|
+
error_class: string | null;
|
|
65971
66285
|
external_action: string | null;
|
|
65972
66286
|
external_ref: string | null;
|
|
65973
66287
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -65976,6 +66290,8 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
65976
66290
|
id: string;
|
|
65977
66291
|
input: import("../integrations/supabase/types").Json | null;
|
|
65978
66292
|
next_attempt_at: string | null;
|
|
66293
|
+
next_step: string | null;
|
|
66294
|
+
node_id: string | null;
|
|
65979
66295
|
order_ref: string | null;
|
|
65980
66296
|
order_source: string | null;
|
|
65981
66297
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -65992,6 +66308,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
65992
66308
|
Insert: {
|
|
65993
66309
|
actor?: string | null;
|
|
65994
66310
|
attempts?: number;
|
|
66311
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
65995
66312
|
cart_ref?: string | null;
|
|
65996
66313
|
created_at?: string;
|
|
65997
66314
|
db_action?: string | null;
|
|
@@ -66002,6 +66319,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
66002
66319
|
decision?: string | null;
|
|
66003
66320
|
duration_ms?: number | null;
|
|
66004
66321
|
error?: string | null;
|
|
66322
|
+
error_class?: string | null;
|
|
66005
66323
|
external_action?: string | null;
|
|
66006
66324
|
external_ref?: string | null;
|
|
66007
66325
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66010,6 +66328,8 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
66010
66328
|
id?: string;
|
|
66011
66329
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66012
66330
|
next_attempt_at?: string | null;
|
|
66331
|
+
next_step?: string | null;
|
|
66332
|
+
node_id?: string | null;
|
|
66013
66333
|
order_ref?: string | null;
|
|
66014
66334
|
order_source?: string | null;
|
|
66015
66335
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66026,6 +66346,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
66026
66346
|
Update: {
|
|
66027
66347
|
actor?: string | null;
|
|
66028
66348
|
attempts?: number;
|
|
66349
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66029
66350
|
cart_ref?: string | null;
|
|
66030
66351
|
created_at?: string;
|
|
66031
66352
|
db_action?: string | null;
|
|
@@ -66036,6 +66357,7 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
66036
66357
|
decision?: string | null;
|
|
66037
66358
|
duration_ms?: number | null;
|
|
66038
66359
|
error?: string | null;
|
|
66360
|
+
error_class?: string | null;
|
|
66039
66361
|
external_action?: string | null;
|
|
66040
66362
|
external_ref?: string | null;
|
|
66041
66363
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66044,6 +66366,8 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
66044
66366
|
id?: string;
|
|
66045
66367
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66046
66368
|
next_attempt_at?: string | null;
|
|
66369
|
+
next_step?: string | null;
|
|
66370
|
+
node_id?: string | null;
|
|
66047
66371
|
order_ref?: string | null;
|
|
66048
66372
|
order_source?: string | null;
|
|
66049
66373
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79548,12 +79872,59 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
79548
79872
|
};
|
|
79549
79873
|
Returns: string;
|
|
79550
79874
|
};
|
|
79875
|
+
logistics_trace_all_orders: {
|
|
79876
|
+
Args: {
|
|
79877
|
+
p_limit?: number;
|
|
79878
|
+
p_search?: string;
|
|
79879
|
+
};
|
|
79880
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79881
|
+
};
|
|
79551
79882
|
logistics_trace_batch: {
|
|
79552
79883
|
Args: {
|
|
79553
79884
|
p: import("../integrations/supabase/types").Json;
|
|
79554
79885
|
};
|
|
79555
79886
|
Returns: number;
|
|
79556
79887
|
};
|
|
79888
|
+
logistics_trace_node: {
|
|
79889
|
+
Args: {
|
|
79890
|
+
p_op?: string;
|
|
79891
|
+
p_status?: string;
|
|
79892
|
+
p_table: string;
|
|
79893
|
+
};
|
|
79894
|
+
Returns: string;
|
|
79895
|
+
};
|
|
79896
|
+
logistics_trace_order_overview: {
|
|
79897
|
+
Args: {
|
|
79898
|
+
p_error_class?: string;
|
|
79899
|
+
p_limit?: number;
|
|
79900
|
+
p_search?: string;
|
|
79901
|
+
p_since?: string;
|
|
79902
|
+
p_source?: string;
|
|
79903
|
+
p_state?: string;
|
|
79904
|
+
p_step?: string;
|
|
79905
|
+
};
|
|
79906
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79907
|
+
};
|
|
79908
|
+
logistics_trace_order_state: {
|
|
79909
|
+
Args: {
|
|
79910
|
+
p_order_ref: string;
|
|
79911
|
+
};
|
|
79912
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79913
|
+
};
|
|
79914
|
+
logistics_trace_order_step: {
|
|
79915
|
+
Args: {
|
|
79916
|
+
p_class?: string;
|
|
79917
|
+
p_decision?: string;
|
|
79918
|
+
p_error?: string;
|
|
79919
|
+
p_next_step?: string;
|
|
79920
|
+
p_node: string;
|
|
79921
|
+
p_order_id: string;
|
|
79922
|
+
p_reason?: string;
|
|
79923
|
+
p_status: string;
|
|
79924
|
+
p_step: string;
|
|
79925
|
+
};
|
|
79926
|
+
Returns: undefined;
|
|
79927
|
+
};
|
|
79557
79928
|
logistics_trace_orders: {
|
|
79558
79929
|
Args: {
|
|
79559
79930
|
p_limit?: number;
|
|
@@ -79576,6 +79947,22 @@ export declare const getCustomer: import("@tanstack/start-client-core").Required
|
|
|
79576
79947
|
};
|
|
79577
79948
|
Returns: import("../integrations/supabase/types").Json;
|
|
79578
79949
|
};
|
|
79950
|
+
logistics_trace_version_events: {
|
|
79951
|
+
Args: {
|
|
79952
|
+
p_from?: string;
|
|
79953
|
+
p_limit?: number;
|
|
79954
|
+
p_order_ref: string;
|
|
79955
|
+
p_to?: string;
|
|
79956
|
+
p_version_id: string;
|
|
79957
|
+
};
|
|
79958
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79959
|
+
};
|
|
79960
|
+
logistics_trace_versions: {
|
|
79961
|
+
Args: {
|
|
79962
|
+
p_order_ref: string;
|
|
79963
|
+
};
|
|
79964
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79965
|
+
};
|
|
79579
79966
|
logistics_upsert_task: {
|
|
79580
79967
|
Args: {
|
|
79581
79968
|
p_buffer_ref: string;
|
|
@@ -83557,6 +83944,42 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
83557
83944
|
};
|
|
83558
83945
|
Relationships: [];
|
|
83559
83946
|
};
|
|
83947
|
+
customer_assortment_items: {
|
|
83948
|
+
Row: {
|
|
83949
|
+
created_at: string;
|
|
83950
|
+
customer_key: string;
|
|
83951
|
+
id: string;
|
|
83952
|
+
in_assortment: boolean;
|
|
83953
|
+
manual_override: boolean;
|
|
83954
|
+
source: string;
|
|
83955
|
+
synced_at: string | null;
|
|
83956
|
+
trade_item_key: string;
|
|
83957
|
+
updated_at: string;
|
|
83958
|
+
};
|
|
83959
|
+
Insert: {
|
|
83960
|
+
created_at?: string;
|
|
83961
|
+
customer_key: string;
|
|
83962
|
+
id?: string;
|
|
83963
|
+
in_assortment?: boolean;
|
|
83964
|
+
manual_override?: boolean;
|
|
83965
|
+
source?: string;
|
|
83966
|
+
synced_at?: string | null;
|
|
83967
|
+
trade_item_key: string;
|
|
83968
|
+
updated_at?: string;
|
|
83969
|
+
};
|
|
83970
|
+
Update: {
|
|
83971
|
+
created_at?: string;
|
|
83972
|
+
customer_key?: string;
|
|
83973
|
+
id?: string;
|
|
83974
|
+
in_assortment?: boolean;
|
|
83975
|
+
manual_override?: boolean;
|
|
83976
|
+
source?: string;
|
|
83977
|
+
synced_at?: string | null;
|
|
83978
|
+
trade_item_key?: string;
|
|
83979
|
+
updated_at?: string;
|
|
83980
|
+
};
|
|
83981
|
+
Relationships: [];
|
|
83982
|
+
};
|
|
83560
83983
|
customer_audit_log: {
|
|
83561
83984
|
Row: {
|
|
83562
83985
|
action: string;
|
|
@@ -83961,40 +84384,58 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
83961
84384
|
};
|
|
83962
84385
|
customer_product_stickers: {
|
|
83963
84386
|
Row: {
|
|
84387
|
+
content_hash: string | null;
|
|
83964
84388
|
created_at: string;
|
|
83965
84389
|
customer_key: string;
|
|
83966
84390
|
file_name: string;
|
|
83967
84391
|
file_path: string;
|
|
83968
84392
|
file_size: number | null;
|
|
84393
|
+
floriday_sticker_id: string | null;
|
|
84394
|
+
floriday_synced_at: string | null;
|
|
84395
|
+
height_mm: number | null;
|
|
83969
84396
|
id: string;
|
|
83970
84397
|
mime_type: string | null;
|
|
84398
|
+
source: string;
|
|
83971
84399
|
trade_item_key: string;
|
|
83972
84400
|
updated_at: string;
|
|
83973
84401
|
uploaded_by: string | null;
|
|
84402
|
+
width_mm: number | null;
|
|
83974
84403
|
};
|
|
83975
84404
|
Insert: {
|
|
84405
|
+
content_hash?: string | null;
|
|
83976
84406
|
created_at?: string;
|
|
83977
84407
|
customer_key: string;
|
|
83978
84408
|
file_name: string;
|
|
83979
84409
|
file_path: string;
|
|
83980
84410
|
file_size?: number | null;
|
|
84411
|
+
floriday_sticker_id?: string | null;
|
|
84412
|
+
floriday_synced_at?: string | null;
|
|
84413
|
+
height_mm?: number | null;
|
|
83981
84414
|
id?: string;
|
|
83982
84415
|
mime_type?: string | null;
|
|
84416
|
+
source?: string;
|
|
83983
84417
|
trade_item_key: string;
|
|
83984
84418
|
updated_at?: string;
|
|
83985
84419
|
uploaded_by?: string | null;
|
|
84420
|
+
width_mm?: number | null;
|
|
83986
84421
|
};
|
|
83987
84422
|
Update: {
|
|
84423
|
+
content_hash?: string | null;
|
|
83988
84424
|
created_at?: string;
|
|
83989
84425
|
customer_key?: string;
|
|
83990
84426
|
file_name?: string;
|
|
83991
84427
|
file_path?: string;
|
|
83992
84428
|
file_size?: number | null;
|
|
84429
|
+
floriday_sticker_id?: string | null;
|
|
84430
|
+
floriday_synced_at?: string | null;
|
|
84431
|
+
height_mm?: number | null;
|
|
83993
84432
|
id?: string;
|
|
83994
84433
|
mime_type?: string | null;
|
|
84434
|
+
source?: string;
|
|
83995
84435
|
trade_item_key?: string;
|
|
83996
84436
|
updated_at?: string;
|
|
83997
84437
|
uploaded_by?: string | null;
|
|
84438
|
+
width_mm?: number | null;
|
|
83998
84439
|
};
|
|
83999
84440
|
Relationships: [];
|
|
84000
84441
|
};
|
|
@@ -93302,6 +93743,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93302
93743
|
Row: {
|
|
93303
93744
|
actor: string | null;
|
|
93304
93745
|
attempts: number;
|
|
93746
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
93305
93747
|
cart_ref: string | null;
|
|
93306
93748
|
created_at: string;
|
|
93307
93749
|
db_action: string | null;
|
|
@@ -93312,6 +93754,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93312
93754
|
decision: string | null;
|
|
93313
93755
|
duration_ms: number | null;
|
|
93314
93756
|
error: string | null;
|
|
93757
|
+
error_class: string | null;
|
|
93315
93758
|
external_action: string | null;
|
|
93316
93759
|
external_ref: string | null;
|
|
93317
93760
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -93320,6 +93763,8 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93320
93763
|
id: string;
|
|
93321
93764
|
input: import("../integrations/supabase/types").Json | null;
|
|
93322
93765
|
next_attempt_at: string | null;
|
|
93766
|
+
next_step: string | null;
|
|
93767
|
+
node_id: string | null;
|
|
93323
93768
|
order_ref: string | null;
|
|
93324
93769
|
order_source: string | null;
|
|
93325
93770
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -93336,6 +93781,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93336
93781
|
Insert: {
|
|
93337
93782
|
actor?: string | null;
|
|
93338
93783
|
attempts?: number;
|
|
93784
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93339
93785
|
cart_ref?: string | null;
|
|
93340
93786
|
created_at?: string;
|
|
93341
93787
|
db_action?: string | null;
|
|
@@ -93346,6 +93792,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93346
93792
|
decision?: string | null;
|
|
93347
93793
|
duration_ms?: number | null;
|
|
93348
93794
|
error?: string | null;
|
|
93795
|
+
error_class?: string | null;
|
|
93349
93796
|
external_action?: string | null;
|
|
93350
93797
|
external_ref?: string | null;
|
|
93351
93798
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93354,6 +93801,8 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93354
93801
|
id?: string;
|
|
93355
93802
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93356
93803
|
next_attempt_at?: string | null;
|
|
93804
|
+
next_step?: string | null;
|
|
93805
|
+
node_id?: string | null;
|
|
93357
93806
|
order_ref?: string | null;
|
|
93358
93807
|
order_source?: string | null;
|
|
93359
93808
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93370,6 +93819,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93370
93819
|
Update: {
|
|
93371
93820
|
actor?: string | null;
|
|
93372
93821
|
attempts?: number;
|
|
93822
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93373
93823
|
cart_ref?: string | null;
|
|
93374
93824
|
created_at?: string;
|
|
93375
93825
|
db_action?: string | null;
|
|
@@ -93380,6 +93830,7 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93380
93830
|
decision?: string | null;
|
|
93381
93831
|
duration_ms?: number | null;
|
|
93382
93832
|
error?: string | null;
|
|
93833
|
+
error_class?: string | null;
|
|
93383
93834
|
external_action?: string | null;
|
|
93384
93835
|
external_ref?: string | null;
|
|
93385
93836
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93388,6 +93839,8 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
93388
93839
|
id?: string;
|
|
93389
93840
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93390
93841
|
next_attempt_at?: string | null;
|
|
93842
|
+
next_step?: string | null;
|
|
93843
|
+
node_id?: string | null;
|
|
93391
93844
|
order_ref?: string | null;
|
|
93392
93845
|
order_source?: string | null;
|
|
93393
93846
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -106892,12 +107345,59 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
106892
107345
|
};
|
|
106893
107346
|
Returns: string;
|
|
106894
107347
|
};
|
|
107348
|
+
logistics_trace_all_orders: {
|
|
107349
|
+
Args: {
|
|
107350
|
+
p_limit?: number;
|
|
107351
|
+
p_search?: string;
|
|
107352
|
+
};
|
|
107353
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107354
|
+
};
|
|
106895
107355
|
logistics_trace_batch: {
|
|
106896
107356
|
Args: {
|
|
106897
107357
|
p: import("../integrations/supabase/types").Json;
|
|
106898
107358
|
};
|
|
106899
107359
|
Returns: number;
|
|
106900
107360
|
};
|
|
107361
|
+
logistics_trace_node: {
|
|
107362
|
+
Args: {
|
|
107363
|
+
p_op?: string;
|
|
107364
|
+
p_status?: string;
|
|
107365
|
+
p_table: string;
|
|
107366
|
+
};
|
|
107367
|
+
Returns: string;
|
|
107368
|
+
};
|
|
107369
|
+
logistics_trace_order_overview: {
|
|
107370
|
+
Args: {
|
|
107371
|
+
p_error_class?: string;
|
|
107372
|
+
p_limit?: number;
|
|
107373
|
+
p_search?: string;
|
|
107374
|
+
p_since?: string;
|
|
107375
|
+
p_source?: string;
|
|
107376
|
+
p_state?: string;
|
|
107377
|
+
p_step?: string;
|
|
107378
|
+
};
|
|
107379
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107380
|
+
};
|
|
107381
|
+
logistics_trace_order_state: {
|
|
107382
|
+
Args: {
|
|
107383
|
+
p_order_ref: string;
|
|
107384
|
+
};
|
|
107385
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107386
|
+
};
|
|
107387
|
+
logistics_trace_order_step: {
|
|
107388
|
+
Args: {
|
|
107389
|
+
p_class?: string;
|
|
107390
|
+
p_decision?: string;
|
|
107391
|
+
p_error?: string;
|
|
107392
|
+
p_next_step?: string;
|
|
107393
|
+
p_node: string;
|
|
107394
|
+
p_order_id: string;
|
|
107395
|
+
p_reason?: string;
|
|
107396
|
+
p_status: string;
|
|
107397
|
+
p_step: string;
|
|
107398
|
+
};
|
|
107399
|
+
Returns: undefined;
|
|
107400
|
+
};
|
|
106901
107401
|
logistics_trace_orders: {
|
|
106902
107402
|
Args: {
|
|
106903
107403
|
p_limit?: number;
|
|
@@ -106920,6 +107420,22 @@ export declare const createCustomer: import("@tanstack/start-client-core").Requi
|
|
|
106920
107420
|
};
|
|
106921
107421
|
Returns: import("../integrations/supabase/types").Json;
|
|
106922
107422
|
};
|
|
107423
|
+
logistics_trace_version_events: {
|
|
107424
|
+
Args: {
|
|
107425
|
+
p_from?: string;
|
|
107426
|
+
p_limit?: number;
|
|
107427
|
+
p_order_ref: string;
|
|
107428
|
+
p_to?: string;
|
|
107429
|
+
p_version_id: string;
|
|
107430
|
+
};
|
|
107431
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107432
|
+
};
|
|
107433
|
+
logistics_trace_versions: {
|
|
107434
|
+
Args: {
|
|
107435
|
+
p_order_ref: string;
|
|
107436
|
+
};
|
|
107437
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107438
|
+
};
|
|
106923
107439
|
logistics_upsert_task: {
|
|
106924
107440
|
Args: {
|
|
106925
107441
|
p_buffer_ref: string;
|
|
@@ -110879,6 +111395,42 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
110879
111395
|
};
|
|
110880
111396
|
Relationships: [];
|
|
110881
111397
|
};
|
|
111398
|
+
customer_assortment_items: {
|
|
111399
|
+
Row: {
|
|
111400
|
+
created_at: string;
|
|
111401
|
+
customer_key: string;
|
|
111402
|
+
id: string;
|
|
111403
|
+
in_assortment: boolean;
|
|
111404
|
+
manual_override: boolean;
|
|
111405
|
+
source: string;
|
|
111406
|
+
synced_at: string | null;
|
|
111407
|
+
trade_item_key: string;
|
|
111408
|
+
updated_at: string;
|
|
111409
|
+
};
|
|
111410
|
+
Insert: {
|
|
111411
|
+
created_at?: string;
|
|
111412
|
+
customer_key: string;
|
|
111413
|
+
id?: string;
|
|
111414
|
+
in_assortment?: boolean;
|
|
111415
|
+
manual_override?: boolean;
|
|
111416
|
+
source?: string;
|
|
111417
|
+
synced_at?: string | null;
|
|
111418
|
+
trade_item_key: string;
|
|
111419
|
+
updated_at?: string;
|
|
111420
|
+
};
|
|
111421
|
+
Update: {
|
|
111422
|
+
created_at?: string;
|
|
111423
|
+
customer_key?: string;
|
|
111424
|
+
id?: string;
|
|
111425
|
+
in_assortment?: boolean;
|
|
111426
|
+
manual_override?: boolean;
|
|
111427
|
+
source?: string;
|
|
111428
|
+
synced_at?: string | null;
|
|
111429
|
+
trade_item_key?: string;
|
|
111430
|
+
updated_at?: string;
|
|
111431
|
+
};
|
|
111432
|
+
Relationships: [];
|
|
111433
|
+
};
|
|
110882
111434
|
customer_audit_log: {
|
|
110883
111435
|
Row: {
|
|
110884
111436
|
action: string;
|
|
@@ -111283,40 +111835,58 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
111283
111835
|
};
|
|
111284
111836
|
customer_product_stickers: {
|
|
111285
111837
|
Row: {
|
|
111838
|
+
content_hash: string | null;
|
|
111286
111839
|
created_at: string;
|
|
111287
111840
|
customer_key: string;
|
|
111288
111841
|
file_name: string;
|
|
111289
111842
|
file_path: string;
|
|
111290
111843
|
file_size: number | null;
|
|
111844
|
+
floriday_sticker_id: string | null;
|
|
111845
|
+
floriday_synced_at: string | null;
|
|
111846
|
+
height_mm: number | null;
|
|
111291
111847
|
id: string;
|
|
111292
111848
|
mime_type: string | null;
|
|
111849
|
+
source: string;
|
|
111293
111850
|
trade_item_key: string;
|
|
111294
111851
|
updated_at: string;
|
|
111295
111852
|
uploaded_by: string | null;
|
|
111853
|
+
width_mm: number | null;
|
|
111296
111854
|
};
|
|
111297
111855
|
Insert: {
|
|
111856
|
+
content_hash?: string | null;
|
|
111298
111857
|
created_at?: string;
|
|
111299
111858
|
customer_key: string;
|
|
111300
111859
|
file_name: string;
|
|
111301
111860
|
file_path: string;
|
|
111302
111861
|
file_size?: number | null;
|
|
111862
|
+
floriday_sticker_id?: string | null;
|
|
111863
|
+
floriday_synced_at?: string | null;
|
|
111864
|
+
height_mm?: number | null;
|
|
111303
111865
|
id?: string;
|
|
111304
111866
|
mime_type?: string | null;
|
|
111867
|
+
source?: string;
|
|
111305
111868
|
trade_item_key: string;
|
|
111306
111869
|
updated_at?: string;
|
|
111307
111870
|
uploaded_by?: string | null;
|
|
111871
|
+
width_mm?: number | null;
|
|
111308
111872
|
};
|
|
111309
111873
|
Update: {
|
|
111874
|
+
content_hash?: string | null;
|
|
111310
111875
|
created_at?: string;
|
|
111311
111876
|
customer_key?: string;
|
|
111312
111877
|
file_name?: string;
|
|
111313
111878
|
file_path?: string;
|
|
111314
111879
|
file_size?: number | null;
|
|
111880
|
+
floriday_sticker_id?: string | null;
|
|
111881
|
+
floriday_synced_at?: string | null;
|
|
111882
|
+
height_mm?: number | null;
|
|
111315
111883
|
id?: string;
|
|
111316
111884
|
mime_type?: string | null;
|
|
111885
|
+
source?: string;
|
|
111317
111886
|
trade_item_key?: string;
|
|
111318
111887
|
updated_at?: string;
|
|
111319
111888
|
uploaded_by?: string | null;
|
|
111889
|
+
width_mm?: number | null;
|
|
111320
111890
|
};
|
|
111321
111891
|
Relationships: [];
|
|
111322
111892
|
};
|
|
@@ -120624,6 +121194,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120624
121194
|
Row: {
|
|
120625
121195
|
actor: string | null;
|
|
120626
121196
|
attempts: number;
|
|
121197
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
120627
121198
|
cart_ref: string | null;
|
|
120628
121199
|
created_at: string;
|
|
120629
121200
|
db_action: string | null;
|
|
@@ -120634,6 +121205,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120634
121205
|
decision: string | null;
|
|
120635
121206
|
duration_ms: number | null;
|
|
120636
121207
|
error: string | null;
|
|
121208
|
+
error_class: string | null;
|
|
120637
121209
|
external_action: string | null;
|
|
120638
121210
|
external_ref: string | null;
|
|
120639
121211
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -120642,6 +121214,8 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120642
121214
|
id: string;
|
|
120643
121215
|
input: import("../integrations/supabase/types").Json | null;
|
|
120644
121216
|
next_attempt_at: string | null;
|
|
121217
|
+
next_step: string | null;
|
|
121218
|
+
node_id: string | null;
|
|
120645
121219
|
order_ref: string | null;
|
|
120646
121220
|
order_source: string | null;
|
|
120647
121221
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -120658,6 +121232,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120658
121232
|
Insert: {
|
|
120659
121233
|
actor?: string | null;
|
|
120660
121234
|
attempts?: number;
|
|
121235
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120661
121236
|
cart_ref?: string | null;
|
|
120662
121237
|
created_at?: string;
|
|
120663
121238
|
db_action?: string | null;
|
|
@@ -120668,6 +121243,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120668
121243
|
decision?: string | null;
|
|
120669
121244
|
duration_ms?: number | null;
|
|
120670
121245
|
error?: string | null;
|
|
121246
|
+
error_class?: string | null;
|
|
120671
121247
|
external_action?: string | null;
|
|
120672
121248
|
external_ref?: string | null;
|
|
120673
121249
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120676,6 +121252,8 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120676
121252
|
id?: string;
|
|
120677
121253
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120678
121254
|
next_attempt_at?: string | null;
|
|
121255
|
+
next_step?: string | null;
|
|
121256
|
+
node_id?: string | null;
|
|
120679
121257
|
order_ref?: string | null;
|
|
120680
121258
|
order_source?: string | null;
|
|
120681
121259
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120692,6 +121270,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120692
121270
|
Update: {
|
|
120693
121271
|
actor?: string | null;
|
|
120694
121272
|
attempts?: number;
|
|
121273
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120695
121274
|
cart_ref?: string | null;
|
|
120696
121275
|
created_at?: string;
|
|
120697
121276
|
db_action?: string | null;
|
|
@@ -120702,6 +121281,7 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120702
121281
|
decision?: string | null;
|
|
120703
121282
|
duration_ms?: number | null;
|
|
120704
121283
|
error?: string | null;
|
|
121284
|
+
error_class?: string | null;
|
|
120705
121285
|
external_action?: string | null;
|
|
120706
121286
|
external_ref?: string | null;
|
|
120707
121287
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120710,6 +121290,8 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
120710
121290
|
id?: string;
|
|
120711
121291
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120712
121292
|
next_attempt_at?: string | null;
|
|
121293
|
+
next_step?: string | null;
|
|
121294
|
+
node_id?: string | null;
|
|
120713
121295
|
order_ref?: string | null;
|
|
120714
121296
|
order_source?: string | null;
|
|
120715
121297
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -134214,12 +134796,59 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
134214
134796
|
};
|
|
134215
134797
|
Returns: string;
|
|
134216
134798
|
};
|
|
134799
|
+
logistics_trace_all_orders: {
|
|
134800
|
+
Args: {
|
|
134801
|
+
p_limit?: number;
|
|
134802
|
+
p_search?: string;
|
|
134803
|
+
};
|
|
134804
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134805
|
+
};
|
|
134217
134806
|
logistics_trace_batch: {
|
|
134218
134807
|
Args: {
|
|
134219
134808
|
p: import("../integrations/supabase/types").Json;
|
|
134220
134809
|
};
|
|
134221
134810
|
Returns: number;
|
|
134222
134811
|
};
|
|
134812
|
+
logistics_trace_node: {
|
|
134813
|
+
Args: {
|
|
134814
|
+
p_op?: string;
|
|
134815
|
+
p_status?: string;
|
|
134816
|
+
p_table: string;
|
|
134817
|
+
};
|
|
134818
|
+
Returns: string;
|
|
134819
|
+
};
|
|
134820
|
+
logistics_trace_order_overview: {
|
|
134821
|
+
Args: {
|
|
134822
|
+
p_error_class?: string;
|
|
134823
|
+
p_limit?: number;
|
|
134824
|
+
p_search?: string;
|
|
134825
|
+
p_since?: string;
|
|
134826
|
+
p_source?: string;
|
|
134827
|
+
p_state?: string;
|
|
134828
|
+
p_step?: string;
|
|
134829
|
+
};
|
|
134830
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134831
|
+
};
|
|
134832
|
+
logistics_trace_order_state: {
|
|
134833
|
+
Args: {
|
|
134834
|
+
p_order_ref: string;
|
|
134835
|
+
};
|
|
134836
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134837
|
+
};
|
|
134838
|
+
logistics_trace_order_step: {
|
|
134839
|
+
Args: {
|
|
134840
|
+
p_class?: string;
|
|
134841
|
+
p_decision?: string;
|
|
134842
|
+
p_error?: string;
|
|
134843
|
+
p_next_step?: string;
|
|
134844
|
+
p_node: string;
|
|
134845
|
+
p_order_id: string;
|
|
134846
|
+
p_reason?: string;
|
|
134847
|
+
p_status: string;
|
|
134848
|
+
p_step: string;
|
|
134849
|
+
};
|
|
134850
|
+
Returns: undefined;
|
|
134851
|
+
};
|
|
134223
134852
|
logistics_trace_orders: {
|
|
134224
134853
|
Args: {
|
|
134225
134854
|
p_limit?: number;
|
|
@@ -134242,6 +134871,22 @@ export declare const updateCustomer: import("@tanstack/start-client-core").Optio
|
|
|
134242
134871
|
};
|
|
134243
134872
|
Returns: import("../integrations/supabase/types").Json;
|
|
134244
134873
|
};
|
|
134874
|
+
logistics_trace_version_events: {
|
|
134875
|
+
Args: {
|
|
134876
|
+
p_from?: string;
|
|
134877
|
+
p_limit?: number;
|
|
134878
|
+
p_order_ref: string;
|
|
134879
|
+
p_to?: string;
|
|
134880
|
+
p_version_id: string;
|
|
134881
|
+
};
|
|
134882
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134883
|
+
};
|
|
134884
|
+
logistics_trace_versions: {
|
|
134885
|
+
Args: {
|
|
134886
|
+
p_order_ref: string;
|
|
134887
|
+
};
|
|
134888
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134889
|
+
};
|
|
134245
134890
|
logistics_upsert_task: {
|
|
134246
134891
|
Args: {
|
|
134247
134892
|
p_buffer_ref: string;
|
|
@@ -138193,6 +138838,42 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
138193
138838
|
};
|
|
138194
138839
|
Relationships: [];
|
|
138195
138840
|
};
|
|
138841
|
+
customer_assortment_items: {
|
|
138842
|
+
Row: {
|
|
138843
|
+
created_at: string;
|
|
138844
|
+
customer_key: string;
|
|
138845
|
+
id: string;
|
|
138846
|
+
in_assortment: boolean;
|
|
138847
|
+
manual_override: boolean;
|
|
138848
|
+
source: string;
|
|
138849
|
+
synced_at: string | null;
|
|
138850
|
+
trade_item_key: string;
|
|
138851
|
+
updated_at: string;
|
|
138852
|
+
};
|
|
138853
|
+
Insert: {
|
|
138854
|
+
created_at?: string;
|
|
138855
|
+
customer_key: string;
|
|
138856
|
+
id?: string;
|
|
138857
|
+
in_assortment?: boolean;
|
|
138858
|
+
manual_override?: boolean;
|
|
138859
|
+
source?: string;
|
|
138860
|
+
synced_at?: string | null;
|
|
138861
|
+
trade_item_key: string;
|
|
138862
|
+
updated_at?: string;
|
|
138863
|
+
};
|
|
138864
|
+
Update: {
|
|
138865
|
+
created_at?: string;
|
|
138866
|
+
customer_key?: string;
|
|
138867
|
+
id?: string;
|
|
138868
|
+
in_assortment?: boolean;
|
|
138869
|
+
manual_override?: boolean;
|
|
138870
|
+
source?: string;
|
|
138871
|
+
synced_at?: string | null;
|
|
138872
|
+
trade_item_key?: string;
|
|
138873
|
+
updated_at?: string;
|
|
138874
|
+
};
|
|
138875
|
+
Relationships: [];
|
|
138876
|
+
};
|
|
138196
138877
|
customer_audit_log: {
|
|
138197
138878
|
Row: {
|
|
138198
138879
|
action: string;
|
|
@@ -138597,40 +139278,58 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
138597
139278
|
};
|
|
138598
139279
|
customer_product_stickers: {
|
|
138599
139280
|
Row: {
|
|
139281
|
+
content_hash: string | null;
|
|
138600
139282
|
created_at: string;
|
|
138601
139283
|
customer_key: string;
|
|
138602
139284
|
file_name: string;
|
|
138603
139285
|
file_path: string;
|
|
138604
139286
|
file_size: number | null;
|
|
139287
|
+
floriday_sticker_id: string | null;
|
|
139288
|
+
floriday_synced_at: string | null;
|
|
139289
|
+
height_mm: number | null;
|
|
138605
139290
|
id: string;
|
|
138606
139291
|
mime_type: string | null;
|
|
139292
|
+
source: string;
|
|
138607
139293
|
trade_item_key: string;
|
|
138608
139294
|
updated_at: string;
|
|
138609
139295
|
uploaded_by: string | null;
|
|
139296
|
+
width_mm: number | null;
|
|
138610
139297
|
};
|
|
138611
139298
|
Insert: {
|
|
139299
|
+
content_hash?: string | null;
|
|
138612
139300
|
created_at?: string;
|
|
138613
139301
|
customer_key: string;
|
|
138614
139302
|
file_name: string;
|
|
138615
139303
|
file_path: string;
|
|
138616
139304
|
file_size?: number | null;
|
|
139305
|
+
floriday_sticker_id?: string | null;
|
|
139306
|
+
floriday_synced_at?: string | null;
|
|
139307
|
+
height_mm?: number | null;
|
|
138617
139308
|
id?: string;
|
|
138618
139309
|
mime_type?: string | null;
|
|
139310
|
+
source?: string;
|
|
138619
139311
|
trade_item_key: string;
|
|
138620
139312
|
updated_at?: string;
|
|
138621
139313
|
uploaded_by?: string | null;
|
|
139314
|
+
width_mm?: number | null;
|
|
138622
139315
|
};
|
|
138623
139316
|
Update: {
|
|
139317
|
+
content_hash?: string | null;
|
|
138624
139318
|
created_at?: string;
|
|
138625
139319
|
customer_key?: string;
|
|
138626
139320
|
file_name?: string;
|
|
138627
139321
|
file_path?: string;
|
|
138628
139322
|
file_size?: number | null;
|
|
139323
|
+
floriday_sticker_id?: string | null;
|
|
139324
|
+
floriday_synced_at?: string | null;
|
|
139325
|
+
height_mm?: number | null;
|
|
138629
139326
|
id?: string;
|
|
138630
139327
|
mime_type?: string | null;
|
|
139328
|
+
source?: string;
|
|
138631
139329
|
trade_item_key?: string;
|
|
138632
139330
|
updated_at?: string;
|
|
138633
139331
|
uploaded_by?: string | null;
|
|
139332
|
+
width_mm?: number | null;
|
|
138634
139333
|
};
|
|
138635
139334
|
Relationships: [];
|
|
138636
139335
|
};
|
|
@@ -147938,6 +148637,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147938
148637
|
Row: {
|
|
147939
148638
|
actor: string | null;
|
|
147940
148639
|
attempts: number;
|
|
148640
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
147941
148641
|
cart_ref: string | null;
|
|
147942
148642
|
created_at: string;
|
|
147943
148643
|
db_action: string | null;
|
|
@@ -147948,6 +148648,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147948
148648
|
decision: string | null;
|
|
147949
148649
|
duration_ms: number | null;
|
|
147950
148650
|
error: string | null;
|
|
148651
|
+
error_class: string | null;
|
|
147951
148652
|
external_action: string | null;
|
|
147952
148653
|
external_ref: string | null;
|
|
147953
148654
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -147956,6 +148657,8 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147956
148657
|
id: string;
|
|
147957
148658
|
input: import("../integrations/supabase/types").Json | null;
|
|
147958
148659
|
next_attempt_at: string | null;
|
|
148660
|
+
next_step: string | null;
|
|
148661
|
+
node_id: string | null;
|
|
147959
148662
|
order_ref: string | null;
|
|
147960
148663
|
order_source: string | null;
|
|
147961
148664
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -147972,6 +148675,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147972
148675
|
Insert: {
|
|
147973
148676
|
actor?: string | null;
|
|
147974
148677
|
attempts?: number;
|
|
148678
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
147975
148679
|
cart_ref?: string | null;
|
|
147976
148680
|
created_at?: string;
|
|
147977
148681
|
db_action?: string | null;
|
|
@@ -147982,6 +148686,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147982
148686
|
decision?: string | null;
|
|
147983
148687
|
duration_ms?: number | null;
|
|
147984
148688
|
error?: string | null;
|
|
148689
|
+
error_class?: string | null;
|
|
147985
148690
|
external_action?: string | null;
|
|
147986
148691
|
external_ref?: string | null;
|
|
147987
148692
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147990,6 +148695,8 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
147990
148695
|
id?: string;
|
|
147991
148696
|
input?: import("../integrations/supabase/types").Json | null;
|
|
147992
148697
|
next_attempt_at?: string | null;
|
|
148698
|
+
next_step?: string | null;
|
|
148699
|
+
node_id?: string | null;
|
|
147993
148700
|
order_ref?: string | null;
|
|
147994
148701
|
order_source?: string | null;
|
|
147995
148702
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -148006,6 +148713,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
148006
148713
|
Update: {
|
|
148007
148714
|
actor?: string | null;
|
|
148008
148715
|
attempts?: number;
|
|
148716
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
148009
148717
|
cart_ref?: string | null;
|
|
148010
148718
|
created_at?: string;
|
|
148011
148719
|
db_action?: string | null;
|
|
@@ -148016,6 +148724,7 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
148016
148724
|
decision?: string | null;
|
|
148017
148725
|
duration_ms?: number | null;
|
|
148018
148726
|
error?: string | null;
|
|
148727
|
+
error_class?: string | null;
|
|
148019
148728
|
external_action?: string | null;
|
|
148020
148729
|
external_ref?: string | null;
|
|
148021
148730
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -148024,6 +148733,8 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
148024
148733
|
id?: string;
|
|
148025
148734
|
input?: import("../integrations/supabase/types").Json | null;
|
|
148026
148735
|
next_attempt_at?: string | null;
|
|
148736
|
+
next_step?: string | null;
|
|
148737
|
+
node_id?: string | null;
|
|
148027
148738
|
order_ref?: string | null;
|
|
148028
148739
|
order_source?: string | null;
|
|
148029
148740
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -161528,12 +162239,59 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
161528
162239
|
};
|
|
161529
162240
|
Returns: string;
|
|
161530
162241
|
};
|
|
162242
|
+
logistics_trace_all_orders: {
|
|
162243
|
+
Args: {
|
|
162244
|
+
p_limit?: number;
|
|
162245
|
+
p_search?: string;
|
|
162246
|
+
};
|
|
162247
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162248
|
+
};
|
|
161531
162249
|
logistics_trace_batch: {
|
|
161532
162250
|
Args: {
|
|
161533
162251
|
p: import("../integrations/supabase/types").Json;
|
|
161534
162252
|
};
|
|
161535
162253
|
Returns: number;
|
|
161536
162254
|
};
|
|
162255
|
+
logistics_trace_node: {
|
|
162256
|
+
Args: {
|
|
162257
|
+
p_op?: string;
|
|
162258
|
+
p_status?: string;
|
|
162259
|
+
p_table: string;
|
|
162260
|
+
};
|
|
162261
|
+
Returns: string;
|
|
162262
|
+
};
|
|
162263
|
+
logistics_trace_order_overview: {
|
|
162264
|
+
Args: {
|
|
162265
|
+
p_error_class?: string;
|
|
162266
|
+
p_limit?: number;
|
|
162267
|
+
p_search?: string;
|
|
162268
|
+
p_since?: string;
|
|
162269
|
+
p_source?: string;
|
|
162270
|
+
p_state?: string;
|
|
162271
|
+
p_step?: string;
|
|
162272
|
+
};
|
|
162273
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162274
|
+
};
|
|
162275
|
+
logistics_trace_order_state: {
|
|
162276
|
+
Args: {
|
|
162277
|
+
p_order_ref: string;
|
|
162278
|
+
};
|
|
162279
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162280
|
+
};
|
|
162281
|
+
logistics_trace_order_step: {
|
|
162282
|
+
Args: {
|
|
162283
|
+
p_class?: string;
|
|
162284
|
+
p_decision?: string;
|
|
162285
|
+
p_error?: string;
|
|
162286
|
+
p_next_step?: string;
|
|
162287
|
+
p_node: string;
|
|
162288
|
+
p_order_id: string;
|
|
162289
|
+
p_reason?: string;
|
|
162290
|
+
p_status: string;
|
|
162291
|
+
p_step: string;
|
|
162292
|
+
};
|
|
162293
|
+
Returns: undefined;
|
|
162294
|
+
};
|
|
161537
162295
|
logistics_trace_orders: {
|
|
161538
162296
|
Args: {
|
|
161539
162297
|
p_limit?: number;
|
|
@@ -161556,6 +162314,22 @@ export declare const deleteCustomer: import("@tanstack/start-client-core").Requi
|
|
|
161556
162314
|
};
|
|
161557
162315
|
Returns: import("../integrations/supabase/types").Json;
|
|
161558
162316
|
};
|
|
162317
|
+
logistics_trace_version_events: {
|
|
162318
|
+
Args: {
|
|
162319
|
+
p_from?: string;
|
|
162320
|
+
p_limit?: number;
|
|
162321
|
+
p_order_ref: string;
|
|
162322
|
+
p_to?: string;
|
|
162323
|
+
p_version_id: string;
|
|
162324
|
+
};
|
|
162325
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162326
|
+
};
|
|
162327
|
+
logistics_trace_versions: {
|
|
162328
|
+
Args: {
|
|
162329
|
+
p_order_ref: string;
|
|
162330
|
+
};
|
|
162331
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162332
|
+
};
|
|
161559
162333
|
logistics_upsert_task: {
|
|
161560
162334
|
Args: {
|
|
161561
162335
|
p_buffer_ref: string;
|
|
@@ -165380,6 +166154,42 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
165380
166154
|
};
|
|
165381
166155
|
Relationships: [];
|
|
165382
166156
|
};
|
|
166157
|
+
customer_assortment_items: {
|
|
166158
|
+
Row: {
|
|
166159
|
+
created_at: string;
|
|
166160
|
+
customer_key: string;
|
|
166161
|
+
id: string;
|
|
166162
|
+
in_assortment: boolean;
|
|
166163
|
+
manual_override: boolean;
|
|
166164
|
+
source: string;
|
|
166165
|
+
synced_at: string | null;
|
|
166166
|
+
trade_item_key: string;
|
|
166167
|
+
updated_at: string;
|
|
166168
|
+
};
|
|
166169
|
+
Insert: {
|
|
166170
|
+
created_at?: string;
|
|
166171
|
+
customer_key: string;
|
|
166172
|
+
id?: string;
|
|
166173
|
+
in_assortment?: boolean;
|
|
166174
|
+
manual_override?: boolean;
|
|
166175
|
+
source?: string;
|
|
166176
|
+
synced_at?: string | null;
|
|
166177
|
+
trade_item_key: string;
|
|
166178
|
+
updated_at?: string;
|
|
166179
|
+
};
|
|
166180
|
+
Update: {
|
|
166181
|
+
created_at?: string;
|
|
166182
|
+
customer_key?: string;
|
|
166183
|
+
id?: string;
|
|
166184
|
+
in_assortment?: boolean;
|
|
166185
|
+
manual_override?: boolean;
|
|
166186
|
+
source?: string;
|
|
166187
|
+
synced_at?: string | null;
|
|
166188
|
+
trade_item_key?: string;
|
|
166189
|
+
updated_at?: string;
|
|
166190
|
+
};
|
|
166191
|
+
Relationships: [];
|
|
166192
|
+
};
|
|
165383
166193
|
customer_audit_log: {
|
|
165384
166194
|
Row: {
|
|
165385
166195
|
action: string;
|
|
@@ -165784,40 +166594,58 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
165784
166594
|
};
|
|
165785
166595
|
customer_product_stickers: {
|
|
165786
166596
|
Row: {
|
|
166597
|
+
content_hash: string | null;
|
|
165787
166598
|
created_at: string;
|
|
165788
166599
|
customer_key: string;
|
|
165789
166600
|
file_name: string;
|
|
165790
166601
|
file_path: string;
|
|
165791
166602
|
file_size: number | null;
|
|
166603
|
+
floriday_sticker_id: string | null;
|
|
166604
|
+
floriday_synced_at: string | null;
|
|
166605
|
+
height_mm: number | null;
|
|
165792
166606
|
id: string;
|
|
165793
166607
|
mime_type: string | null;
|
|
166608
|
+
source: string;
|
|
165794
166609
|
trade_item_key: string;
|
|
165795
166610
|
updated_at: string;
|
|
165796
166611
|
uploaded_by: string | null;
|
|
166612
|
+
width_mm: number | null;
|
|
165797
166613
|
};
|
|
165798
166614
|
Insert: {
|
|
166615
|
+
content_hash?: string | null;
|
|
165799
166616
|
created_at?: string;
|
|
165800
166617
|
customer_key: string;
|
|
165801
166618
|
file_name: string;
|
|
165802
166619
|
file_path: string;
|
|
165803
166620
|
file_size?: number | null;
|
|
166621
|
+
floriday_sticker_id?: string | null;
|
|
166622
|
+
floriday_synced_at?: string | null;
|
|
166623
|
+
height_mm?: number | null;
|
|
165804
166624
|
id?: string;
|
|
165805
166625
|
mime_type?: string | null;
|
|
166626
|
+
source?: string;
|
|
165806
166627
|
trade_item_key: string;
|
|
165807
166628
|
updated_at?: string;
|
|
165808
166629
|
uploaded_by?: string | null;
|
|
166630
|
+
width_mm?: number | null;
|
|
165809
166631
|
};
|
|
165810
166632
|
Update: {
|
|
166633
|
+
content_hash?: string | null;
|
|
165811
166634
|
created_at?: string;
|
|
165812
166635
|
customer_key?: string;
|
|
165813
166636
|
file_name?: string;
|
|
165814
166637
|
file_path?: string;
|
|
165815
166638
|
file_size?: number | null;
|
|
166639
|
+
floriday_sticker_id?: string | null;
|
|
166640
|
+
floriday_synced_at?: string | null;
|
|
166641
|
+
height_mm?: number | null;
|
|
165816
166642
|
id?: string;
|
|
165817
166643
|
mime_type?: string | null;
|
|
166644
|
+
source?: string;
|
|
165818
166645
|
trade_item_key?: string;
|
|
165819
166646
|
updated_at?: string;
|
|
165820
166647
|
uploaded_by?: string | null;
|
|
166648
|
+
width_mm?: number | null;
|
|
165821
166649
|
};
|
|
165822
166650
|
Relationships: [];
|
|
165823
166651
|
};
|
|
@@ -175125,6 +175953,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175125
175953
|
Row: {
|
|
175126
175954
|
actor: string | null;
|
|
175127
175955
|
attempts: number;
|
|
175956
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
175128
175957
|
cart_ref: string | null;
|
|
175129
175958
|
created_at: string;
|
|
175130
175959
|
db_action: string | null;
|
|
@@ -175135,6 +175964,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175135
175964
|
decision: string | null;
|
|
175136
175965
|
duration_ms: number | null;
|
|
175137
175966
|
error: string | null;
|
|
175967
|
+
error_class: string | null;
|
|
175138
175968
|
external_action: string | null;
|
|
175139
175969
|
external_ref: string | null;
|
|
175140
175970
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -175143,6 +175973,8 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175143
175973
|
id: string;
|
|
175144
175974
|
input: import("../integrations/supabase/types").Json | null;
|
|
175145
175975
|
next_attempt_at: string | null;
|
|
175976
|
+
next_step: string | null;
|
|
175977
|
+
node_id: string | null;
|
|
175146
175978
|
order_ref: string | null;
|
|
175147
175979
|
order_source: string | null;
|
|
175148
175980
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -175159,6 +175991,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175159
175991
|
Insert: {
|
|
175160
175992
|
actor?: string | null;
|
|
175161
175993
|
attempts?: number;
|
|
175994
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
175162
175995
|
cart_ref?: string | null;
|
|
175163
175996
|
created_at?: string;
|
|
175164
175997
|
db_action?: string | null;
|
|
@@ -175169,6 +176002,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175169
176002
|
decision?: string | null;
|
|
175170
176003
|
duration_ms?: number | null;
|
|
175171
176004
|
error?: string | null;
|
|
176005
|
+
error_class?: string | null;
|
|
175172
176006
|
external_action?: string | null;
|
|
175173
176007
|
external_ref?: string | null;
|
|
175174
176008
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -175177,6 +176011,8 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175177
176011
|
id?: string;
|
|
175178
176012
|
input?: import("../integrations/supabase/types").Json | null;
|
|
175179
176013
|
next_attempt_at?: string | null;
|
|
176014
|
+
next_step?: string | null;
|
|
176015
|
+
node_id?: string | null;
|
|
175180
176016
|
order_ref?: string | null;
|
|
175181
176017
|
order_source?: string | null;
|
|
175182
176018
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -175193,6 +176029,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175193
176029
|
Update: {
|
|
175194
176030
|
actor?: string | null;
|
|
175195
176031
|
attempts?: number;
|
|
176032
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
175196
176033
|
cart_ref?: string | null;
|
|
175197
176034
|
created_at?: string;
|
|
175198
176035
|
db_action?: string | null;
|
|
@@ -175203,6 +176040,7 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175203
176040
|
decision?: string | null;
|
|
175204
176041
|
duration_ms?: number | null;
|
|
175205
176042
|
error?: string | null;
|
|
176043
|
+
error_class?: string | null;
|
|
175206
176044
|
external_action?: string | null;
|
|
175207
176045
|
external_ref?: string | null;
|
|
175208
176046
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -175211,6 +176049,8 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
175211
176049
|
id?: string;
|
|
175212
176050
|
input?: import("../integrations/supabase/types").Json | null;
|
|
175213
176051
|
next_attempt_at?: string | null;
|
|
176052
|
+
next_step?: string | null;
|
|
176053
|
+
node_id?: string | null;
|
|
175214
176054
|
order_ref?: string | null;
|
|
175215
176055
|
order_source?: string | null;
|
|
175216
176056
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -188715,12 +189555,59 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
188715
189555
|
};
|
|
188716
189556
|
Returns: string;
|
|
188717
189557
|
};
|
|
189558
|
+
logistics_trace_all_orders: {
|
|
189559
|
+
Args: {
|
|
189560
|
+
p_limit?: number;
|
|
189561
|
+
p_search?: string;
|
|
189562
|
+
};
|
|
189563
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189564
|
+
};
|
|
188718
189565
|
logistics_trace_batch: {
|
|
188719
189566
|
Args: {
|
|
188720
189567
|
p: import("../integrations/supabase/types").Json;
|
|
188721
189568
|
};
|
|
188722
189569
|
Returns: number;
|
|
188723
189570
|
};
|
|
189571
|
+
logistics_trace_node: {
|
|
189572
|
+
Args: {
|
|
189573
|
+
p_op?: string;
|
|
189574
|
+
p_status?: string;
|
|
189575
|
+
p_table: string;
|
|
189576
|
+
};
|
|
189577
|
+
Returns: string;
|
|
189578
|
+
};
|
|
189579
|
+
logistics_trace_order_overview: {
|
|
189580
|
+
Args: {
|
|
189581
|
+
p_error_class?: string;
|
|
189582
|
+
p_limit?: number;
|
|
189583
|
+
p_search?: string;
|
|
189584
|
+
p_since?: string;
|
|
189585
|
+
p_source?: string;
|
|
189586
|
+
p_state?: string;
|
|
189587
|
+
p_step?: string;
|
|
189588
|
+
};
|
|
189589
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189590
|
+
};
|
|
189591
|
+
logistics_trace_order_state: {
|
|
189592
|
+
Args: {
|
|
189593
|
+
p_order_ref: string;
|
|
189594
|
+
};
|
|
189595
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189596
|
+
};
|
|
189597
|
+
logistics_trace_order_step: {
|
|
189598
|
+
Args: {
|
|
189599
|
+
p_class?: string;
|
|
189600
|
+
p_decision?: string;
|
|
189601
|
+
p_error?: string;
|
|
189602
|
+
p_next_step?: string;
|
|
189603
|
+
p_node: string;
|
|
189604
|
+
p_order_id: string;
|
|
189605
|
+
p_reason?: string;
|
|
189606
|
+
p_status: string;
|
|
189607
|
+
p_step: string;
|
|
189608
|
+
};
|
|
189609
|
+
Returns: undefined;
|
|
189610
|
+
};
|
|
188724
189611
|
logistics_trace_orders: {
|
|
188725
189612
|
Args: {
|
|
188726
189613
|
p_limit?: number;
|
|
@@ -188743,6 +189630,22 @@ export declare const listFloridayNetwork: import("@tanstack/start-client-core").
|
|
|
188743
189630
|
};
|
|
188744
189631
|
Returns: import("../integrations/supabase/types").Json;
|
|
188745
189632
|
};
|
|
189633
|
+
logistics_trace_version_events: {
|
|
189634
|
+
Args: {
|
|
189635
|
+
p_from?: string;
|
|
189636
|
+
p_limit?: number;
|
|
189637
|
+
p_order_ref: string;
|
|
189638
|
+
p_to?: string;
|
|
189639
|
+
p_version_id: string;
|
|
189640
|
+
};
|
|
189641
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189642
|
+
};
|
|
189643
|
+
logistics_trace_versions: {
|
|
189644
|
+
Args: {
|
|
189645
|
+
p_order_ref: string;
|
|
189646
|
+
};
|
|
189647
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189648
|
+
};
|
|
188746
189649
|
logistics_upsert_task: {
|
|
188747
189650
|
Args: {
|
|
188748
189651
|
p_buffer_ref: string;
|
|
@@ -192593,6 +193496,42 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
192593
193496
|
};
|
|
192594
193497
|
Relationships: [];
|
|
192595
193498
|
};
|
|
193499
|
+
customer_assortment_items: {
|
|
193500
|
+
Row: {
|
|
193501
|
+
created_at: string;
|
|
193502
|
+
customer_key: string;
|
|
193503
|
+
id: string;
|
|
193504
|
+
in_assortment: boolean;
|
|
193505
|
+
manual_override: boolean;
|
|
193506
|
+
source: string;
|
|
193507
|
+
synced_at: string | null;
|
|
193508
|
+
trade_item_key: string;
|
|
193509
|
+
updated_at: string;
|
|
193510
|
+
};
|
|
193511
|
+
Insert: {
|
|
193512
|
+
created_at?: string;
|
|
193513
|
+
customer_key: string;
|
|
193514
|
+
id?: string;
|
|
193515
|
+
in_assortment?: boolean;
|
|
193516
|
+
manual_override?: boolean;
|
|
193517
|
+
source?: string;
|
|
193518
|
+
synced_at?: string | null;
|
|
193519
|
+
trade_item_key: string;
|
|
193520
|
+
updated_at?: string;
|
|
193521
|
+
};
|
|
193522
|
+
Update: {
|
|
193523
|
+
created_at?: string;
|
|
193524
|
+
customer_key?: string;
|
|
193525
|
+
id?: string;
|
|
193526
|
+
in_assortment?: boolean;
|
|
193527
|
+
manual_override?: boolean;
|
|
193528
|
+
source?: string;
|
|
193529
|
+
synced_at?: string | null;
|
|
193530
|
+
trade_item_key?: string;
|
|
193531
|
+
updated_at?: string;
|
|
193532
|
+
};
|
|
193533
|
+
Relationships: [];
|
|
193534
|
+
};
|
|
192596
193535
|
customer_audit_log: {
|
|
192597
193536
|
Row: {
|
|
192598
193537
|
action: string;
|
|
@@ -192997,40 +193936,58 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
192997
193936
|
};
|
|
192998
193937
|
customer_product_stickers: {
|
|
192999
193938
|
Row: {
|
|
193939
|
+
content_hash: string | null;
|
|
193000
193940
|
created_at: string;
|
|
193001
193941
|
customer_key: string;
|
|
193002
193942
|
file_name: string;
|
|
193003
193943
|
file_path: string;
|
|
193004
193944
|
file_size: number | null;
|
|
193945
|
+
floriday_sticker_id: string | null;
|
|
193946
|
+
floriday_synced_at: string | null;
|
|
193947
|
+
height_mm: number | null;
|
|
193005
193948
|
id: string;
|
|
193006
193949
|
mime_type: string | null;
|
|
193950
|
+
source: string;
|
|
193007
193951
|
trade_item_key: string;
|
|
193008
193952
|
updated_at: string;
|
|
193009
193953
|
uploaded_by: string | null;
|
|
193954
|
+
width_mm: number | null;
|
|
193010
193955
|
};
|
|
193011
193956
|
Insert: {
|
|
193957
|
+
content_hash?: string | null;
|
|
193012
193958
|
created_at?: string;
|
|
193013
193959
|
customer_key: string;
|
|
193014
193960
|
file_name: string;
|
|
193015
193961
|
file_path: string;
|
|
193016
193962
|
file_size?: number | null;
|
|
193963
|
+
floriday_sticker_id?: string | null;
|
|
193964
|
+
floriday_synced_at?: string | null;
|
|
193965
|
+
height_mm?: number | null;
|
|
193017
193966
|
id?: string;
|
|
193018
193967
|
mime_type?: string | null;
|
|
193968
|
+
source?: string;
|
|
193019
193969
|
trade_item_key: string;
|
|
193020
193970
|
updated_at?: string;
|
|
193021
193971
|
uploaded_by?: string | null;
|
|
193972
|
+
width_mm?: number | null;
|
|
193022
193973
|
};
|
|
193023
193974
|
Update: {
|
|
193975
|
+
content_hash?: string | null;
|
|
193024
193976
|
created_at?: string;
|
|
193025
193977
|
customer_key?: string;
|
|
193026
193978
|
file_name?: string;
|
|
193027
193979
|
file_path?: string;
|
|
193028
193980
|
file_size?: number | null;
|
|
193981
|
+
floriday_sticker_id?: string | null;
|
|
193982
|
+
floriday_synced_at?: string | null;
|
|
193983
|
+
height_mm?: number | null;
|
|
193029
193984
|
id?: string;
|
|
193030
193985
|
mime_type?: string | null;
|
|
193986
|
+
source?: string;
|
|
193031
193987
|
trade_item_key?: string;
|
|
193032
193988
|
updated_at?: string;
|
|
193033
193989
|
uploaded_by?: string | null;
|
|
193990
|
+
width_mm?: number | null;
|
|
193034
193991
|
};
|
|
193035
193992
|
Relationships: [];
|
|
193036
193993
|
};
|
|
@@ -202338,6 +203295,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202338
203295
|
Row: {
|
|
202339
203296
|
actor: string | null;
|
|
202340
203297
|
attempts: number;
|
|
203298
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
202341
203299
|
cart_ref: string | null;
|
|
202342
203300
|
created_at: string;
|
|
202343
203301
|
db_action: string | null;
|
|
@@ -202348,6 +203306,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202348
203306
|
decision: string | null;
|
|
202349
203307
|
duration_ms: number | null;
|
|
202350
203308
|
error: string | null;
|
|
203309
|
+
error_class: string | null;
|
|
202351
203310
|
external_action: string | null;
|
|
202352
203311
|
external_ref: string | null;
|
|
202353
203312
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -202356,6 +203315,8 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202356
203315
|
id: string;
|
|
202357
203316
|
input: import("../integrations/supabase/types").Json | null;
|
|
202358
203317
|
next_attempt_at: string | null;
|
|
203318
|
+
next_step: string | null;
|
|
203319
|
+
node_id: string | null;
|
|
202359
203320
|
order_ref: string | null;
|
|
202360
203321
|
order_source: string | null;
|
|
202361
203322
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -202372,6 +203333,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202372
203333
|
Insert: {
|
|
202373
203334
|
actor?: string | null;
|
|
202374
203335
|
attempts?: number;
|
|
203336
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
202375
203337
|
cart_ref?: string | null;
|
|
202376
203338
|
created_at?: string;
|
|
202377
203339
|
db_action?: string | null;
|
|
@@ -202382,6 +203344,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202382
203344
|
decision?: string | null;
|
|
202383
203345
|
duration_ms?: number | null;
|
|
202384
203346
|
error?: string | null;
|
|
203347
|
+
error_class?: string | null;
|
|
202385
203348
|
external_action?: string | null;
|
|
202386
203349
|
external_ref?: string | null;
|
|
202387
203350
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202390,6 +203353,8 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202390
203353
|
id?: string;
|
|
202391
203354
|
input?: import("../integrations/supabase/types").Json | null;
|
|
202392
203355
|
next_attempt_at?: string | null;
|
|
203356
|
+
next_step?: string | null;
|
|
203357
|
+
node_id?: string | null;
|
|
202393
203358
|
order_ref?: string | null;
|
|
202394
203359
|
order_source?: string | null;
|
|
202395
203360
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202406,6 +203371,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202406
203371
|
Update: {
|
|
202407
203372
|
actor?: string | null;
|
|
202408
203373
|
attempts?: number;
|
|
203374
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
202409
203375
|
cart_ref?: string | null;
|
|
202410
203376
|
created_at?: string;
|
|
202411
203377
|
db_action?: string | null;
|
|
@@ -202416,6 +203382,7 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202416
203382
|
decision?: string | null;
|
|
202417
203383
|
duration_ms?: number | null;
|
|
202418
203384
|
error?: string | null;
|
|
203385
|
+
error_class?: string | null;
|
|
202419
203386
|
external_action?: string | null;
|
|
202420
203387
|
external_ref?: string | null;
|
|
202421
203388
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202424,6 +203391,8 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
202424
203391
|
id?: string;
|
|
202425
203392
|
input?: import("../integrations/supabase/types").Json | null;
|
|
202426
203393
|
next_attempt_at?: string | null;
|
|
203394
|
+
next_step?: string | null;
|
|
203395
|
+
node_id?: string | null;
|
|
202427
203396
|
order_ref?: string | null;
|
|
202428
203397
|
order_source?: string | null;
|
|
202429
203398
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -215928,12 +216897,59 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
215928
216897
|
};
|
|
215929
216898
|
Returns: string;
|
|
215930
216899
|
};
|
|
216900
|
+
logistics_trace_all_orders: {
|
|
216901
|
+
Args: {
|
|
216902
|
+
p_limit?: number;
|
|
216903
|
+
p_search?: string;
|
|
216904
|
+
};
|
|
216905
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216906
|
+
};
|
|
215931
216907
|
logistics_trace_batch: {
|
|
215932
216908
|
Args: {
|
|
215933
216909
|
p: import("../integrations/supabase/types").Json;
|
|
215934
216910
|
};
|
|
215935
216911
|
Returns: number;
|
|
215936
216912
|
};
|
|
216913
|
+
logistics_trace_node: {
|
|
216914
|
+
Args: {
|
|
216915
|
+
p_op?: string;
|
|
216916
|
+
p_status?: string;
|
|
216917
|
+
p_table: string;
|
|
216918
|
+
};
|
|
216919
|
+
Returns: string;
|
|
216920
|
+
};
|
|
216921
|
+
logistics_trace_order_overview: {
|
|
216922
|
+
Args: {
|
|
216923
|
+
p_error_class?: string;
|
|
216924
|
+
p_limit?: number;
|
|
216925
|
+
p_search?: string;
|
|
216926
|
+
p_since?: string;
|
|
216927
|
+
p_source?: string;
|
|
216928
|
+
p_state?: string;
|
|
216929
|
+
p_step?: string;
|
|
216930
|
+
};
|
|
216931
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216932
|
+
};
|
|
216933
|
+
logistics_trace_order_state: {
|
|
216934
|
+
Args: {
|
|
216935
|
+
p_order_ref: string;
|
|
216936
|
+
};
|
|
216937
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216938
|
+
};
|
|
216939
|
+
logistics_trace_order_step: {
|
|
216940
|
+
Args: {
|
|
216941
|
+
p_class?: string;
|
|
216942
|
+
p_decision?: string;
|
|
216943
|
+
p_error?: string;
|
|
216944
|
+
p_next_step?: string;
|
|
216945
|
+
p_node: string;
|
|
216946
|
+
p_order_id: string;
|
|
216947
|
+
p_reason?: string;
|
|
216948
|
+
p_status: string;
|
|
216949
|
+
p_step: string;
|
|
216950
|
+
};
|
|
216951
|
+
Returns: undefined;
|
|
216952
|
+
};
|
|
215937
216953
|
logistics_trace_orders: {
|
|
215938
216954
|
Args: {
|
|
215939
216955
|
p_limit?: number;
|
|
@@ -215956,6 +216972,22 @@ export declare const listCustomerClasses: import("@tanstack/start-client-core").
|
|
|
215956
216972
|
};
|
|
215957
216973
|
Returns: import("../integrations/supabase/types").Json;
|
|
215958
216974
|
};
|
|
216975
|
+
logistics_trace_version_events: {
|
|
216976
|
+
Args: {
|
|
216977
|
+
p_from?: string;
|
|
216978
|
+
p_limit?: number;
|
|
216979
|
+
p_order_ref: string;
|
|
216980
|
+
p_to?: string;
|
|
216981
|
+
p_version_id: string;
|
|
216982
|
+
};
|
|
216983
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216984
|
+
};
|
|
216985
|
+
logistics_trace_versions: {
|
|
216986
|
+
Args: {
|
|
216987
|
+
p_order_ref: string;
|
|
216988
|
+
};
|
|
216989
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216990
|
+
};
|
|
215959
216991
|
logistics_upsert_task: {
|
|
215960
216992
|
Args: {
|
|
215961
216993
|
p_buffer_ref: string;
|
|
@@ -219776,6 +220808,42 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
219776
220808
|
};
|
|
219777
220809
|
Relationships: [];
|
|
219778
220810
|
};
|
|
220811
|
+
customer_assortment_items: {
|
|
220812
|
+
Row: {
|
|
220813
|
+
created_at: string;
|
|
220814
|
+
customer_key: string;
|
|
220815
|
+
id: string;
|
|
220816
|
+
in_assortment: boolean;
|
|
220817
|
+
manual_override: boolean;
|
|
220818
|
+
source: string;
|
|
220819
|
+
synced_at: string | null;
|
|
220820
|
+
trade_item_key: string;
|
|
220821
|
+
updated_at: string;
|
|
220822
|
+
};
|
|
220823
|
+
Insert: {
|
|
220824
|
+
created_at?: string;
|
|
220825
|
+
customer_key: string;
|
|
220826
|
+
id?: string;
|
|
220827
|
+
in_assortment?: boolean;
|
|
220828
|
+
manual_override?: boolean;
|
|
220829
|
+
source?: string;
|
|
220830
|
+
synced_at?: string | null;
|
|
220831
|
+
trade_item_key: string;
|
|
220832
|
+
updated_at?: string;
|
|
220833
|
+
};
|
|
220834
|
+
Update: {
|
|
220835
|
+
created_at?: string;
|
|
220836
|
+
customer_key?: string;
|
|
220837
|
+
id?: string;
|
|
220838
|
+
in_assortment?: boolean;
|
|
220839
|
+
manual_override?: boolean;
|
|
220840
|
+
source?: string;
|
|
220841
|
+
synced_at?: string | null;
|
|
220842
|
+
trade_item_key?: string;
|
|
220843
|
+
updated_at?: string;
|
|
220844
|
+
};
|
|
220845
|
+
Relationships: [];
|
|
220846
|
+
};
|
|
219779
220847
|
customer_audit_log: {
|
|
219780
220848
|
Row: {
|
|
219781
220849
|
action: string;
|
|
@@ -220180,40 +221248,58 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
220180
221248
|
};
|
|
220181
221249
|
customer_product_stickers: {
|
|
220182
221250
|
Row: {
|
|
221251
|
+
content_hash: string | null;
|
|
220183
221252
|
created_at: string;
|
|
220184
221253
|
customer_key: string;
|
|
220185
221254
|
file_name: string;
|
|
220186
221255
|
file_path: string;
|
|
220187
221256
|
file_size: number | null;
|
|
221257
|
+
floriday_sticker_id: string | null;
|
|
221258
|
+
floriday_synced_at: string | null;
|
|
221259
|
+
height_mm: number | null;
|
|
220188
221260
|
id: string;
|
|
220189
221261
|
mime_type: string | null;
|
|
221262
|
+
source: string;
|
|
220190
221263
|
trade_item_key: string;
|
|
220191
221264
|
updated_at: string;
|
|
220192
221265
|
uploaded_by: string | null;
|
|
221266
|
+
width_mm: number | null;
|
|
220193
221267
|
};
|
|
220194
221268
|
Insert: {
|
|
221269
|
+
content_hash?: string | null;
|
|
220195
221270
|
created_at?: string;
|
|
220196
221271
|
customer_key: string;
|
|
220197
221272
|
file_name: string;
|
|
220198
221273
|
file_path: string;
|
|
220199
221274
|
file_size?: number | null;
|
|
221275
|
+
floriday_sticker_id?: string | null;
|
|
221276
|
+
floriday_synced_at?: string | null;
|
|
221277
|
+
height_mm?: number | null;
|
|
220200
221278
|
id?: string;
|
|
220201
221279
|
mime_type?: string | null;
|
|
221280
|
+
source?: string;
|
|
220202
221281
|
trade_item_key: string;
|
|
220203
221282
|
updated_at?: string;
|
|
220204
221283
|
uploaded_by?: string | null;
|
|
221284
|
+
width_mm?: number | null;
|
|
220205
221285
|
};
|
|
220206
221286
|
Update: {
|
|
221287
|
+
content_hash?: string | null;
|
|
220207
221288
|
created_at?: string;
|
|
220208
221289
|
customer_key?: string;
|
|
220209
221290
|
file_name?: string;
|
|
220210
221291
|
file_path?: string;
|
|
220211
221292
|
file_size?: number | null;
|
|
221293
|
+
floriday_sticker_id?: string | null;
|
|
221294
|
+
floriday_synced_at?: string | null;
|
|
221295
|
+
height_mm?: number | null;
|
|
220212
221296
|
id?: string;
|
|
220213
221297
|
mime_type?: string | null;
|
|
221298
|
+
source?: string;
|
|
220214
221299
|
trade_item_key?: string;
|
|
220215
221300
|
updated_at?: string;
|
|
220216
221301
|
uploaded_by?: string | null;
|
|
221302
|
+
width_mm?: number | null;
|
|
220217
221303
|
};
|
|
220218
221304
|
Relationships: [];
|
|
220219
221305
|
};
|
|
@@ -229521,6 +230607,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229521
230607
|
Row: {
|
|
229522
230608
|
actor: string | null;
|
|
229523
230609
|
attempts: number;
|
|
230610
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
229524
230611
|
cart_ref: string | null;
|
|
229525
230612
|
created_at: string;
|
|
229526
230613
|
db_action: string | null;
|
|
@@ -229531,6 +230618,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229531
230618
|
decision: string | null;
|
|
229532
230619
|
duration_ms: number | null;
|
|
229533
230620
|
error: string | null;
|
|
230621
|
+
error_class: string | null;
|
|
229534
230622
|
external_action: string | null;
|
|
229535
230623
|
external_ref: string | null;
|
|
229536
230624
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -229539,6 +230627,8 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229539
230627
|
id: string;
|
|
229540
230628
|
input: import("../integrations/supabase/types").Json | null;
|
|
229541
230629
|
next_attempt_at: string | null;
|
|
230630
|
+
next_step: string | null;
|
|
230631
|
+
node_id: string | null;
|
|
229542
230632
|
order_ref: string | null;
|
|
229543
230633
|
order_source: string | null;
|
|
229544
230634
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -229555,6 +230645,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229555
230645
|
Insert: {
|
|
229556
230646
|
actor?: string | null;
|
|
229557
230647
|
attempts?: number;
|
|
230648
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
229558
230649
|
cart_ref?: string | null;
|
|
229559
230650
|
created_at?: string;
|
|
229560
230651
|
db_action?: string | null;
|
|
@@ -229565,6 +230656,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229565
230656
|
decision?: string | null;
|
|
229566
230657
|
duration_ms?: number | null;
|
|
229567
230658
|
error?: string | null;
|
|
230659
|
+
error_class?: string | null;
|
|
229568
230660
|
external_action?: string | null;
|
|
229569
230661
|
external_ref?: string | null;
|
|
229570
230662
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229573,6 +230665,8 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229573
230665
|
id?: string;
|
|
229574
230666
|
input?: import("../integrations/supabase/types").Json | null;
|
|
229575
230667
|
next_attempt_at?: string | null;
|
|
230668
|
+
next_step?: string | null;
|
|
230669
|
+
node_id?: string | null;
|
|
229576
230670
|
order_ref?: string | null;
|
|
229577
230671
|
order_source?: string | null;
|
|
229578
230672
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229589,6 +230683,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229589
230683
|
Update: {
|
|
229590
230684
|
actor?: string | null;
|
|
229591
230685
|
attempts?: number;
|
|
230686
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
229592
230687
|
cart_ref?: string | null;
|
|
229593
230688
|
created_at?: string;
|
|
229594
230689
|
db_action?: string | null;
|
|
@@ -229599,6 +230694,7 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229599
230694
|
decision?: string | null;
|
|
229600
230695
|
duration_ms?: number | null;
|
|
229601
230696
|
error?: string | null;
|
|
230697
|
+
error_class?: string | null;
|
|
229602
230698
|
external_action?: string | null;
|
|
229603
230699
|
external_ref?: string | null;
|
|
229604
230700
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229607,6 +230703,8 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
229607
230703
|
id?: string;
|
|
229608
230704
|
input?: import("../integrations/supabase/types").Json | null;
|
|
229609
230705
|
next_attempt_at?: string | null;
|
|
230706
|
+
next_step?: string | null;
|
|
230707
|
+
node_id?: string | null;
|
|
229610
230708
|
order_ref?: string | null;
|
|
229611
230709
|
order_source?: string | null;
|
|
229612
230710
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -243111,12 +244209,59 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
243111
244209
|
};
|
|
243112
244210
|
Returns: string;
|
|
243113
244211
|
};
|
|
244212
|
+
logistics_trace_all_orders: {
|
|
244213
|
+
Args: {
|
|
244214
|
+
p_limit?: number;
|
|
244215
|
+
p_search?: string;
|
|
244216
|
+
};
|
|
244217
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
244218
|
+
};
|
|
243114
244219
|
logistics_trace_batch: {
|
|
243115
244220
|
Args: {
|
|
243116
244221
|
p: import("../integrations/supabase/types").Json;
|
|
243117
244222
|
};
|
|
243118
244223
|
Returns: number;
|
|
243119
244224
|
};
|
|
244225
|
+
logistics_trace_node: {
|
|
244226
|
+
Args: {
|
|
244227
|
+
p_op?: string;
|
|
244228
|
+
p_status?: string;
|
|
244229
|
+
p_table: string;
|
|
244230
|
+
};
|
|
244231
|
+
Returns: string;
|
|
244232
|
+
};
|
|
244233
|
+
logistics_trace_order_overview: {
|
|
244234
|
+
Args: {
|
|
244235
|
+
p_error_class?: string;
|
|
244236
|
+
p_limit?: number;
|
|
244237
|
+
p_search?: string;
|
|
244238
|
+
p_since?: string;
|
|
244239
|
+
p_source?: string;
|
|
244240
|
+
p_state?: string;
|
|
244241
|
+
p_step?: string;
|
|
244242
|
+
};
|
|
244243
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
244244
|
+
};
|
|
244245
|
+
logistics_trace_order_state: {
|
|
244246
|
+
Args: {
|
|
244247
|
+
p_order_ref: string;
|
|
244248
|
+
};
|
|
244249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
244250
|
+
};
|
|
244251
|
+
logistics_trace_order_step: {
|
|
244252
|
+
Args: {
|
|
244253
|
+
p_class?: string;
|
|
244254
|
+
p_decision?: string;
|
|
244255
|
+
p_error?: string;
|
|
244256
|
+
p_next_step?: string;
|
|
244257
|
+
p_node: string;
|
|
244258
|
+
p_order_id: string;
|
|
244259
|
+
p_reason?: string;
|
|
244260
|
+
p_status: string;
|
|
244261
|
+
p_step: string;
|
|
244262
|
+
};
|
|
244263
|
+
Returns: undefined;
|
|
244264
|
+
};
|
|
243120
244265
|
logistics_trace_orders: {
|
|
243121
244266
|
Args: {
|
|
243122
244267
|
p_limit?: number;
|
|
@@ -243139,6 +244284,22 @@ export declare const bulkImportCustomers: import("@tanstack/start-client-core").
|
|
|
243139
244284
|
};
|
|
243140
244285
|
Returns: import("../integrations/supabase/types").Json;
|
|
243141
244286
|
};
|
|
244287
|
+
logistics_trace_version_events: {
|
|
244288
|
+
Args: {
|
|
244289
|
+
p_from?: string;
|
|
244290
|
+
p_limit?: number;
|
|
244291
|
+
p_order_ref: string;
|
|
244292
|
+
p_to?: string;
|
|
244293
|
+
p_version_id: string;
|
|
244294
|
+
};
|
|
244295
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
244296
|
+
};
|
|
244297
|
+
logistics_trace_versions: {
|
|
244298
|
+
Args: {
|
|
244299
|
+
p_order_ref: string;
|
|
244300
|
+
};
|
|
244301
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
244302
|
+
};
|
|
243142
244303
|
logistics_upsert_task: {
|
|
243143
244304
|
Args: {
|
|
243144
244305
|
p_buffer_ref: string;
|