@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
|
@@ -1876,6 +1876,42 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
1876
1876
|
};
|
|
1877
1877
|
Relationships: [];
|
|
1878
1878
|
};
|
|
1879
|
+
customer_assortment_items: {
|
|
1880
|
+
Row: {
|
|
1881
|
+
created_at: string;
|
|
1882
|
+
customer_key: string;
|
|
1883
|
+
id: string;
|
|
1884
|
+
in_assortment: boolean;
|
|
1885
|
+
manual_override: boolean;
|
|
1886
|
+
source: string;
|
|
1887
|
+
synced_at: string | null;
|
|
1888
|
+
trade_item_key: string;
|
|
1889
|
+
updated_at: string;
|
|
1890
|
+
};
|
|
1891
|
+
Insert: {
|
|
1892
|
+
created_at?: string;
|
|
1893
|
+
customer_key: string;
|
|
1894
|
+
id?: string;
|
|
1895
|
+
in_assortment?: boolean;
|
|
1896
|
+
manual_override?: boolean;
|
|
1897
|
+
source?: string;
|
|
1898
|
+
synced_at?: string | null;
|
|
1899
|
+
trade_item_key: string;
|
|
1900
|
+
updated_at?: string;
|
|
1901
|
+
};
|
|
1902
|
+
Update: {
|
|
1903
|
+
created_at?: string;
|
|
1904
|
+
customer_key?: string;
|
|
1905
|
+
id?: string;
|
|
1906
|
+
in_assortment?: boolean;
|
|
1907
|
+
manual_override?: boolean;
|
|
1908
|
+
source?: string;
|
|
1909
|
+
synced_at?: string | null;
|
|
1910
|
+
trade_item_key?: string;
|
|
1911
|
+
updated_at?: string;
|
|
1912
|
+
};
|
|
1913
|
+
Relationships: [];
|
|
1914
|
+
};
|
|
1879
1915
|
customer_audit_log: {
|
|
1880
1916
|
Row: {
|
|
1881
1917
|
action: string;
|
|
@@ -2280,40 +2316,58 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
2280
2316
|
};
|
|
2281
2317
|
customer_product_stickers: {
|
|
2282
2318
|
Row: {
|
|
2319
|
+
content_hash: string | null;
|
|
2283
2320
|
created_at: string;
|
|
2284
2321
|
customer_key: string;
|
|
2285
2322
|
file_name: string;
|
|
2286
2323
|
file_path: string;
|
|
2287
2324
|
file_size: number | null;
|
|
2325
|
+
floriday_sticker_id: string | null;
|
|
2326
|
+
floriday_synced_at: string | null;
|
|
2327
|
+
height_mm: number | null;
|
|
2288
2328
|
id: string;
|
|
2289
2329
|
mime_type: string | null;
|
|
2330
|
+
source: string;
|
|
2290
2331
|
trade_item_key: string;
|
|
2291
2332
|
updated_at: string;
|
|
2292
2333
|
uploaded_by: string | null;
|
|
2334
|
+
width_mm: number | null;
|
|
2293
2335
|
};
|
|
2294
2336
|
Insert: {
|
|
2337
|
+
content_hash?: string | null;
|
|
2295
2338
|
created_at?: string;
|
|
2296
2339
|
customer_key: string;
|
|
2297
2340
|
file_name: string;
|
|
2298
2341
|
file_path: string;
|
|
2299
2342
|
file_size?: number | null;
|
|
2343
|
+
floriday_sticker_id?: string | null;
|
|
2344
|
+
floriday_synced_at?: string | null;
|
|
2345
|
+
height_mm?: number | null;
|
|
2300
2346
|
id?: string;
|
|
2301
2347
|
mime_type?: string | null;
|
|
2348
|
+
source?: string;
|
|
2302
2349
|
trade_item_key: string;
|
|
2303
2350
|
updated_at?: string;
|
|
2304
2351
|
uploaded_by?: string | null;
|
|
2352
|
+
width_mm?: number | null;
|
|
2305
2353
|
};
|
|
2306
2354
|
Update: {
|
|
2355
|
+
content_hash?: string | null;
|
|
2307
2356
|
created_at?: string;
|
|
2308
2357
|
customer_key?: string;
|
|
2309
2358
|
file_name?: string;
|
|
2310
2359
|
file_path?: string;
|
|
2311
2360
|
file_size?: number | null;
|
|
2361
|
+
floriday_sticker_id?: string | null;
|
|
2362
|
+
floriday_synced_at?: string | null;
|
|
2363
|
+
height_mm?: number | null;
|
|
2312
2364
|
id?: string;
|
|
2313
2365
|
mime_type?: string | null;
|
|
2366
|
+
source?: string;
|
|
2314
2367
|
trade_item_key?: string;
|
|
2315
2368
|
updated_at?: string;
|
|
2316
2369
|
uploaded_by?: string | null;
|
|
2370
|
+
width_mm?: number | null;
|
|
2317
2371
|
};
|
|
2318
2372
|
Relationships: [];
|
|
2319
2373
|
};
|
|
@@ -11621,6 +11675,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11621
11675
|
Row: {
|
|
11622
11676
|
actor: string | null;
|
|
11623
11677
|
attempts: number;
|
|
11678
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11624
11679
|
cart_ref: string | null;
|
|
11625
11680
|
created_at: string;
|
|
11626
11681
|
db_action: string | null;
|
|
@@ -11631,6 +11686,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11631
11686
|
decision: string | null;
|
|
11632
11687
|
duration_ms: number | null;
|
|
11633
11688
|
error: string | null;
|
|
11689
|
+
error_class: string | null;
|
|
11634
11690
|
external_action: string | null;
|
|
11635
11691
|
external_ref: string | null;
|
|
11636
11692
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11639,6 +11695,8 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11639
11695
|
id: string;
|
|
11640
11696
|
input: import("../integrations/supabase/types").Json | null;
|
|
11641
11697
|
next_attempt_at: string | null;
|
|
11698
|
+
next_step: string | null;
|
|
11699
|
+
node_id: string | null;
|
|
11642
11700
|
order_ref: string | null;
|
|
11643
11701
|
order_source: string | null;
|
|
11644
11702
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11655,6 +11713,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11655
11713
|
Insert: {
|
|
11656
11714
|
actor?: string | null;
|
|
11657
11715
|
attempts?: number;
|
|
11716
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11658
11717
|
cart_ref?: string | null;
|
|
11659
11718
|
created_at?: string;
|
|
11660
11719
|
db_action?: string | null;
|
|
@@ -11665,6 +11724,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11665
11724
|
decision?: string | null;
|
|
11666
11725
|
duration_ms?: number | null;
|
|
11667
11726
|
error?: string | null;
|
|
11727
|
+
error_class?: string | null;
|
|
11668
11728
|
external_action?: string | null;
|
|
11669
11729
|
external_ref?: string | null;
|
|
11670
11730
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11673,6 +11733,8 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11673
11733
|
id?: string;
|
|
11674
11734
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11675
11735
|
next_attempt_at?: string | null;
|
|
11736
|
+
next_step?: string | null;
|
|
11737
|
+
node_id?: string | null;
|
|
11676
11738
|
order_ref?: string | null;
|
|
11677
11739
|
order_source?: string | null;
|
|
11678
11740
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11689,6 +11751,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11689
11751
|
Update: {
|
|
11690
11752
|
actor?: string | null;
|
|
11691
11753
|
attempts?: number;
|
|
11754
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11692
11755
|
cart_ref?: string | null;
|
|
11693
11756
|
created_at?: string;
|
|
11694
11757
|
db_action?: string | null;
|
|
@@ -11699,6 +11762,7 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11699
11762
|
decision?: string | null;
|
|
11700
11763
|
duration_ms?: number | null;
|
|
11701
11764
|
error?: string | null;
|
|
11765
|
+
error_class?: string | null;
|
|
11702
11766
|
external_action?: string | null;
|
|
11703
11767
|
external_ref?: string | null;
|
|
11704
11768
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11707,6 +11771,8 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
11707
11771
|
id?: string;
|
|
11708
11772
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11709
11773
|
next_attempt_at?: string | null;
|
|
11774
|
+
next_step?: string | null;
|
|
11775
|
+
node_id?: string | null;
|
|
11710
11776
|
order_ref?: string | null;
|
|
11711
11777
|
order_source?: string | null;
|
|
11712
11778
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25211,12 +25277,59 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
25211
25277
|
};
|
|
25212
25278
|
Returns: string;
|
|
25213
25279
|
};
|
|
25280
|
+
logistics_trace_all_orders: {
|
|
25281
|
+
Args: {
|
|
25282
|
+
p_limit?: number;
|
|
25283
|
+
p_search?: string;
|
|
25284
|
+
};
|
|
25285
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25286
|
+
};
|
|
25214
25287
|
logistics_trace_batch: {
|
|
25215
25288
|
Args: {
|
|
25216
25289
|
p: import("../integrations/supabase/types").Json;
|
|
25217
25290
|
};
|
|
25218
25291
|
Returns: number;
|
|
25219
25292
|
};
|
|
25293
|
+
logistics_trace_node: {
|
|
25294
|
+
Args: {
|
|
25295
|
+
p_op?: string;
|
|
25296
|
+
p_status?: string;
|
|
25297
|
+
p_table: string;
|
|
25298
|
+
};
|
|
25299
|
+
Returns: string;
|
|
25300
|
+
};
|
|
25301
|
+
logistics_trace_order_overview: {
|
|
25302
|
+
Args: {
|
|
25303
|
+
p_error_class?: string;
|
|
25304
|
+
p_limit?: number;
|
|
25305
|
+
p_search?: string;
|
|
25306
|
+
p_since?: string;
|
|
25307
|
+
p_source?: string;
|
|
25308
|
+
p_state?: string;
|
|
25309
|
+
p_step?: string;
|
|
25310
|
+
};
|
|
25311
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25312
|
+
};
|
|
25313
|
+
logistics_trace_order_state: {
|
|
25314
|
+
Args: {
|
|
25315
|
+
p_order_ref: string;
|
|
25316
|
+
};
|
|
25317
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25318
|
+
};
|
|
25319
|
+
logistics_trace_order_step: {
|
|
25320
|
+
Args: {
|
|
25321
|
+
p_class?: string;
|
|
25322
|
+
p_decision?: string;
|
|
25323
|
+
p_error?: string;
|
|
25324
|
+
p_next_step?: string;
|
|
25325
|
+
p_node: string;
|
|
25326
|
+
p_order_id: string;
|
|
25327
|
+
p_reason?: string;
|
|
25328
|
+
p_status: string;
|
|
25329
|
+
p_step: string;
|
|
25330
|
+
};
|
|
25331
|
+
Returns: undefined;
|
|
25332
|
+
};
|
|
25220
25333
|
logistics_trace_orders: {
|
|
25221
25334
|
Args: {
|
|
25222
25335
|
p_limit?: number;
|
|
@@ -25239,6 +25352,22 @@ export declare const listExternalProviders: import("@tanstack/start-client-core"
|
|
|
25239
25352
|
};
|
|
25240
25353
|
Returns: import("../integrations/supabase/types").Json;
|
|
25241
25354
|
};
|
|
25355
|
+
logistics_trace_version_events: {
|
|
25356
|
+
Args: {
|
|
25357
|
+
p_from?: string;
|
|
25358
|
+
p_limit?: number;
|
|
25359
|
+
p_order_ref: string;
|
|
25360
|
+
p_to?: string;
|
|
25361
|
+
p_version_id: string;
|
|
25362
|
+
};
|
|
25363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25364
|
+
};
|
|
25365
|
+
logistics_trace_versions: {
|
|
25366
|
+
Args: {
|
|
25367
|
+
p_order_ref: string;
|
|
25368
|
+
};
|
|
25369
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25370
|
+
};
|
|
25242
25371
|
logistics_upsert_task: {
|
|
25243
25372
|
Args: {
|
|
25244
25373
|
p_buffer_ref: string;
|
|
@@ -29059,6 +29188,42 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
29059
29188
|
};
|
|
29060
29189
|
Relationships: [];
|
|
29061
29190
|
};
|
|
29191
|
+
customer_assortment_items: {
|
|
29192
|
+
Row: {
|
|
29193
|
+
created_at: string;
|
|
29194
|
+
customer_key: string;
|
|
29195
|
+
id: string;
|
|
29196
|
+
in_assortment: boolean;
|
|
29197
|
+
manual_override: boolean;
|
|
29198
|
+
source: string;
|
|
29199
|
+
synced_at: string | null;
|
|
29200
|
+
trade_item_key: string;
|
|
29201
|
+
updated_at: string;
|
|
29202
|
+
};
|
|
29203
|
+
Insert: {
|
|
29204
|
+
created_at?: string;
|
|
29205
|
+
customer_key: string;
|
|
29206
|
+
id?: string;
|
|
29207
|
+
in_assortment?: boolean;
|
|
29208
|
+
manual_override?: boolean;
|
|
29209
|
+
source?: string;
|
|
29210
|
+
synced_at?: string | null;
|
|
29211
|
+
trade_item_key: string;
|
|
29212
|
+
updated_at?: string;
|
|
29213
|
+
};
|
|
29214
|
+
Update: {
|
|
29215
|
+
created_at?: string;
|
|
29216
|
+
customer_key?: string;
|
|
29217
|
+
id?: string;
|
|
29218
|
+
in_assortment?: boolean;
|
|
29219
|
+
manual_override?: boolean;
|
|
29220
|
+
source?: string;
|
|
29221
|
+
synced_at?: string | null;
|
|
29222
|
+
trade_item_key?: string;
|
|
29223
|
+
updated_at?: string;
|
|
29224
|
+
};
|
|
29225
|
+
Relationships: [];
|
|
29226
|
+
};
|
|
29062
29227
|
customer_audit_log: {
|
|
29063
29228
|
Row: {
|
|
29064
29229
|
action: string;
|
|
@@ -29463,40 +29628,58 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
29463
29628
|
};
|
|
29464
29629
|
customer_product_stickers: {
|
|
29465
29630
|
Row: {
|
|
29631
|
+
content_hash: string | null;
|
|
29466
29632
|
created_at: string;
|
|
29467
29633
|
customer_key: string;
|
|
29468
29634
|
file_name: string;
|
|
29469
29635
|
file_path: string;
|
|
29470
29636
|
file_size: number | null;
|
|
29637
|
+
floriday_sticker_id: string | null;
|
|
29638
|
+
floriday_synced_at: string | null;
|
|
29639
|
+
height_mm: number | null;
|
|
29471
29640
|
id: string;
|
|
29472
29641
|
mime_type: string | null;
|
|
29642
|
+
source: string;
|
|
29473
29643
|
trade_item_key: string;
|
|
29474
29644
|
updated_at: string;
|
|
29475
29645
|
uploaded_by: string | null;
|
|
29646
|
+
width_mm: number | null;
|
|
29476
29647
|
};
|
|
29477
29648
|
Insert: {
|
|
29649
|
+
content_hash?: string | null;
|
|
29478
29650
|
created_at?: string;
|
|
29479
29651
|
customer_key: string;
|
|
29480
29652
|
file_name: string;
|
|
29481
29653
|
file_path: string;
|
|
29482
29654
|
file_size?: number | null;
|
|
29655
|
+
floriday_sticker_id?: string | null;
|
|
29656
|
+
floriday_synced_at?: string | null;
|
|
29657
|
+
height_mm?: number | null;
|
|
29483
29658
|
id?: string;
|
|
29484
29659
|
mime_type?: string | null;
|
|
29660
|
+
source?: string;
|
|
29485
29661
|
trade_item_key: string;
|
|
29486
29662
|
updated_at?: string;
|
|
29487
29663
|
uploaded_by?: string | null;
|
|
29664
|
+
width_mm?: number | null;
|
|
29488
29665
|
};
|
|
29489
29666
|
Update: {
|
|
29667
|
+
content_hash?: string | null;
|
|
29490
29668
|
created_at?: string;
|
|
29491
29669
|
customer_key?: string;
|
|
29492
29670
|
file_name?: string;
|
|
29493
29671
|
file_path?: string;
|
|
29494
29672
|
file_size?: number | null;
|
|
29673
|
+
floriday_sticker_id?: string | null;
|
|
29674
|
+
floriday_synced_at?: string | null;
|
|
29675
|
+
height_mm?: number | null;
|
|
29495
29676
|
id?: string;
|
|
29496
29677
|
mime_type?: string | null;
|
|
29678
|
+
source?: string;
|
|
29497
29679
|
trade_item_key?: string;
|
|
29498
29680
|
updated_at?: string;
|
|
29499
29681
|
uploaded_by?: string | null;
|
|
29682
|
+
width_mm?: number | null;
|
|
29500
29683
|
};
|
|
29501
29684
|
Relationships: [];
|
|
29502
29685
|
};
|
|
@@ -38804,6 +38987,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38804
38987
|
Row: {
|
|
38805
38988
|
actor: string | null;
|
|
38806
38989
|
attempts: number;
|
|
38990
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38807
38991
|
cart_ref: string | null;
|
|
38808
38992
|
created_at: string;
|
|
38809
38993
|
db_action: string | null;
|
|
@@ -38814,6 +38998,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38814
38998
|
decision: string | null;
|
|
38815
38999
|
duration_ms: number | null;
|
|
38816
39000
|
error: string | null;
|
|
39001
|
+
error_class: string | null;
|
|
38817
39002
|
external_action: string | null;
|
|
38818
39003
|
external_ref: string | null;
|
|
38819
39004
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38822,6 +39007,8 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38822
39007
|
id: string;
|
|
38823
39008
|
input: import("../integrations/supabase/types").Json | null;
|
|
38824
39009
|
next_attempt_at: string | null;
|
|
39010
|
+
next_step: string | null;
|
|
39011
|
+
node_id: string | null;
|
|
38825
39012
|
order_ref: string | null;
|
|
38826
39013
|
order_source: string | null;
|
|
38827
39014
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38838,6 +39025,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38838
39025
|
Insert: {
|
|
38839
39026
|
actor?: string | null;
|
|
38840
39027
|
attempts?: number;
|
|
39028
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38841
39029
|
cart_ref?: string | null;
|
|
38842
39030
|
created_at?: string;
|
|
38843
39031
|
db_action?: string | null;
|
|
@@ -38848,6 +39036,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38848
39036
|
decision?: string | null;
|
|
38849
39037
|
duration_ms?: number | null;
|
|
38850
39038
|
error?: string | null;
|
|
39039
|
+
error_class?: string | null;
|
|
38851
39040
|
external_action?: string | null;
|
|
38852
39041
|
external_ref?: string | null;
|
|
38853
39042
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38856,6 +39045,8 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38856
39045
|
id?: string;
|
|
38857
39046
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38858
39047
|
next_attempt_at?: string | null;
|
|
39048
|
+
next_step?: string | null;
|
|
39049
|
+
node_id?: string | null;
|
|
38859
39050
|
order_ref?: string | null;
|
|
38860
39051
|
order_source?: string | null;
|
|
38861
39052
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38872,6 +39063,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38872
39063
|
Update: {
|
|
38873
39064
|
actor?: string | null;
|
|
38874
39065
|
attempts?: number;
|
|
39066
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38875
39067
|
cart_ref?: string | null;
|
|
38876
39068
|
created_at?: string;
|
|
38877
39069
|
db_action?: string | null;
|
|
@@ -38882,6 +39074,7 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38882
39074
|
decision?: string | null;
|
|
38883
39075
|
duration_ms?: number | null;
|
|
38884
39076
|
error?: string | null;
|
|
39077
|
+
error_class?: string | null;
|
|
38885
39078
|
external_action?: string | null;
|
|
38886
39079
|
external_ref?: string | null;
|
|
38887
39080
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38890,6 +39083,8 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
38890
39083
|
id?: string;
|
|
38891
39084
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38892
39085
|
next_attempt_at?: string | null;
|
|
39086
|
+
next_step?: string | null;
|
|
39087
|
+
node_id?: string | null;
|
|
38893
39088
|
order_ref?: string | null;
|
|
38894
39089
|
order_source?: string | null;
|
|
38895
39090
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52394,12 +52589,59 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
52394
52589
|
};
|
|
52395
52590
|
Returns: string;
|
|
52396
52591
|
};
|
|
52592
|
+
logistics_trace_all_orders: {
|
|
52593
|
+
Args: {
|
|
52594
|
+
p_limit?: number;
|
|
52595
|
+
p_search?: string;
|
|
52596
|
+
};
|
|
52597
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52598
|
+
};
|
|
52397
52599
|
logistics_trace_batch: {
|
|
52398
52600
|
Args: {
|
|
52399
52601
|
p: import("../integrations/supabase/types").Json;
|
|
52400
52602
|
};
|
|
52401
52603
|
Returns: number;
|
|
52402
52604
|
};
|
|
52605
|
+
logistics_trace_node: {
|
|
52606
|
+
Args: {
|
|
52607
|
+
p_op?: string;
|
|
52608
|
+
p_status?: string;
|
|
52609
|
+
p_table: string;
|
|
52610
|
+
};
|
|
52611
|
+
Returns: string;
|
|
52612
|
+
};
|
|
52613
|
+
logistics_trace_order_overview: {
|
|
52614
|
+
Args: {
|
|
52615
|
+
p_error_class?: string;
|
|
52616
|
+
p_limit?: number;
|
|
52617
|
+
p_search?: string;
|
|
52618
|
+
p_since?: string;
|
|
52619
|
+
p_source?: string;
|
|
52620
|
+
p_state?: string;
|
|
52621
|
+
p_step?: string;
|
|
52622
|
+
};
|
|
52623
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52624
|
+
};
|
|
52625
|
+
logistics_trace_order_state: {
|
|
52626
|
+
Args: {
|
|
52627
|
+
p_order_ref: string;
|
|
52628
|
+
};
|
|
52629
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52630
|
+
};
|
|
52631
|
+
logistics_trace_order_step: {
|
|
52632
|
+
Args: {
|
|
52633
|
+
p_class?: string;
|
|
52634
|
+
p_decision?: string;
|
|
52635
|
+
p_error?: string;
|
|
52636
|
+
p_next_step?: string;
|
|
52637
|
+
p_node: string;
|
|
52638
|
+
p_order_id: string;
|
|
52639
|
+
p_reason?: string;
|
|
52640
|
+
p_status: string;
|
|
52641
|
+
p_step: string;
|
|
52642
|
+
};
|
|
52643
|
+
Returns: undefined;
|
|
52644
|
+
};
|
|
52403
52645
|
logistics_trace_orders: {
|
|
52404
52646
|
Args: {
|
|
52405
52647
|
p_limit?: number;
|
|
@@ -52422,6 +52664,22 @@ export declare const listExternalCustomers: import("@tanstack/start-client-core"
|
|
|
52422
52664
|
};
|
|
52423
52665
|
Returns: import("../integrations/supabase/types").Json;
|
|
52424
52666
|
};
|
|
52667
|
+
logistics_trace_version_events: {
|
|
52668
|
+
Args: {
|
|
52669
|
+
p_from?: string;
|
|
52670
|
+
p_limit?: number;
|
|
52671
|
+
p_order_ref: string;
|
|
52672
|
+
p_to?: string;
|
|
52673
|
+
p_version_id: string;
|
|
52674
|
+
};
|
|
52675
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52676
|
+
};
|
|
52677
|
+
logistics_trace_versions: {
|
|
52678
|
+
Args: {
|
|
52679
|
+
p_order_ref: string;
|
|
52680
|
+
};
|
|
52681
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52682
|
+
};
|
|
52425
52683
|
logistics_upsert_task: {
|
|
52426
52684
|
Args: {
|
|
52427
52685
|
p_buffer_ref: string;
|
|
@@ -56249,6 +56507,42 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
56249
56507
|
};
|
|
56250
56508
|
Relationships: [];
|
|
56251
56509
|
};
|
|
56510
|
+
customer_assortment_items: {
|
|
56511
|
+
Row: {
|
|
56512
|
+
created_at: string;
|
|
56513
|
+
customer_key: string;
|
|
56514
|
+
id: string;
|
|
56515
|
+
in_assortment: boolean;
|
|
56516
|
+
manual_override: boolean;
|
|
56517
|
+
source: string;
|
|
56518
|
+
synced_at: string | null;
|
|
56519
|
+
trade_item_key: string;
|
|
56520
|
+
updated_at: string;
|
|
56521
|
+
};
|
|
56522
|
+
Insert: {
|
|
56523
|
+
created_at?: string;
|
|
56524
|
+
customer_key: string;
|
|
56525
|
+
id?: string;
|
|
56526
|
+
in_assortment?: boolean;
|
|
56527
|
+
manual_override?: boolean;
|
|
56528
|
+
source?: string;
|
|
56529
|
+
synced_at?: string | null;
|
|
56530
|
+
trade_item_key: string;
|
|
56531
|
+
updated_at?: string;
|
|
56532
|
+
};
|
|
56533
|
+
Update: {
|
|
56534
|
+
created_at?: string;
|
|
56535
|
+
customer_key?: string;
|
|
56536
|
+
id?: string;
|
|
56537
|
+
in_assortment?: boolean;
|
|
56538
|
+
manual_override?: boolean;
|
|
56539
|
+
source?: string;
|
|
56540
|
+
synced_at?: string | null;
|
|
56541
|
+
trade_item_key?: string;
|
|
56542
|
+
updated_at?: string;
|
|
56543
|
+
};
|
|
56544
|
+
Relationships: [];
|
|
56545
|
+
};
|
|
56252
56546
|
customer_audit_log: {
|
|
56253
56547
|
Row: {
|
|
56254
56548
|
action: string;
|
|
@@ -56653,40 +56947,58 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
56653
56947
|
};
|
|
56654
56948
|
customer_product_stickers: {
|
|
56655
56949
|
Row: {
|
|
56950
|
+
content_hash: string | null;
|
|
56656
56951
|
created_at: string;
|
|
56657
56952
|
customer_key: string;
|
|
56658
56953
|
file_name: string;
|
|
56659
56954
|
file_path: string;
|
|
56660
56955
|
file_size: number | null;
|
|
56956
|
+
floriday_sticker_id: string | null;
|
|
56957
|
+
floriday_synced_at: string | null;
|
|
56958
|
+
height_mm: number | null;
|
|
56661
56959
|
id: string;
|
|
56662
56960
|
mime_type: string | null;
|
|
56961
|
+
source: string;
|
|
56663
56962
|
trade_item_key: string;
|
|
56664
56963
|
updated_at: string;
|
|
56665
56964
|
uploaded_by: string | null;
|
|
56965
|
+
width_mm: number | null;
|
|
56666
56966
|
};
|
|
56667
56967
|
Insert: {
|
|
56968
|
+
content_hash?: string | null;
|
|
56668
56969
|
created_at?: string;
|
|
56669
56970
|
customer_key: string;
|
|
56670
56971
|
file_name: string;
|
|
56671
56972
|
file_path: string;
|
|
56672
56973
|
file_size?: number | null;
|
|
56974
|
+
floriday_sticker_id?: string | null;
|
|
56975
|
+
floriday_synced_at?: string | null;
|
|
56976
|
+
height_mm?: number | null;
|
|
56673
56977
|
id?: string;
|
|
56674
56978
|
mime_type?: string | null;
|
|
56979
|
+
source?: string;
|
|
56675
56980
|
trade_item_key: string;
|
|
56676
56981
|
updated_at?: string;
|
|
56677
56982
|
uploaded_by?: string | null;
|
|
56983
|
+
width_mm?: number | null;
|
|
56678
56984
|
};
|
|
56679
56985
|
Update: {
|
|
56986
|
+
content_hash?: string | null;
|
|
56680
56987
|
created_at?: string;
|
|
56681
56988
|
customer_key?: string;
|
|
56682
56989
|
file_name?: string;
|
|
56683
56990
|
file_path?: string;
|
|
56684
56991
|
file_size?: number | null;
|
|
56992
|
+
floriday_sticker_id?: string | null;
|
|
56993
|
+
floriday_synced_at?: string | null;
|
|
56994
|
+
height_mm?: number | null;
|
|
56685
56995
|
id?: string;
|
|
56686
56996
|
mime_type?: string | null;
|
|
56997
|
+
source?: string;
|
|
56687
56998
|
trade_item_key?: string;
|
|
56688
56999
|
updated_at?: string;
|
|
56689
57000
|
uploaded_by?: string | null;
|
|
57001
|
+
width_mm?: number | null;
|
|
56690
57002
|
};
|
|
56691
57003
|
Relationships: [];
|
|
56692
57004
|
};
|
|
@@ -65994,6 +66306,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
65994
66306
|
Row: {
|
|
65995
66307
|
actor: string | null;
|
|
65996
66308
|
attempts: number;
|
|
66309
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
65997
66310
|
cart_ref: string | null;
|
|
65998
66311
|
created_at: string;
|
|
65999
66312
|
db_action: string | null;
|
|
@@ -66004,6 +66317,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66004
66317
|
decision: string | null;
|
|
66005
66318
|
duration_ms: number | null;
|
|
66006
66319
|
error: string | null;
|
|
66320
|
+
error_class: string | null;
|
|
66007
66321
|
external_action: string | null;
|
|
66008
66322
|
external_ref: string | null;
|
|
66009
66323
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -66012,6 +66326,8 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66012
66326
|
id: string;
|
|
66013
66327
|
input: import("../integrations/supabase/types").Json | null;
|
|
66014
66328
|
next_attempt_at: string | null;
|
|
66329
|
+
next_step: string | null;
|
|
66330
|
+
node_id: string | null;
|
|
66015
66331
|
order_ref: string | null;
|
|
66016
66332
|
order_source: string | null;
|
|
66017
66333
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -66028,6 +66344,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66028
66344
|
Insert: {
|
|
66029
66345
|
actor?: string | null;
|
|
66030
66346
|
attempts?: number;
|
|
66347
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66031
66348
|
cart_ref?: string | null;
|
|
66032
66349
|
created_at?: string;
|
|
66033
66350
|
db_action?: string | null;
|
|
@@ -66038,6 +66355,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66038
66355
|
decision?: string | null;
|
|
66039
66356
|
duration_ms?: number | null;
|
|
66040
66357
|
error?: string | null;
|
|
66358
|
+
error_class?: string | null;
|
|
66041
66359
|
external_action?: string | null;
|
|
66042
66360
|
external_ref?: string | null;
|
|
66043
66361
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66046,6 +66364,8 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66046
66364
|
id?: string;
|
|
66047
66365
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66048
66366
|
next_attempt_at?: string | null;
|
|
66367
|
+
next_step?: string | null;
|
|
66368
|
+
node_id?: string | null;
|
|
66049
66369
|
order_ref?: string | null;
|
|
66050
66370
|
order_source?: string | null;
|
|
66051
66371
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66062,6 +66382,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66062
66382
|
Update: {
|
|
66063
66383
|
actor?: string | null;
|
|
66064
66384
|
attempts?: number;
|
|
66385
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66065
66386
|
cart_ref?: string | null;
|
|
66066
66387
|
created_at?: string;
|
|
66067
66388
|
db_action?: string | null;
|
|
@@ -66072,6 +66393,7 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66072
66393
|
decision?: string | null;
|
|
66073
66394
|
duration_ms?: number | null;
|
|
66074
66395
|
error?: string | null;
|
|
66396
|
+
error_class?: string | null;
|
|
66075
66397
|
external_action?: string | null;
|
|
66076
66398
|
external_ref?: string | null;
|
|
66077
66399
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66080,6 +66402,8 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
66080
66402
|
id?: string;
|
|
66081
66403
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66082
66404
|
next_attempt_at?: string | null;
|
|
66405
|
+
next_step?: string | null;
|
|
66406
|
+
node_id?: string | null;
|
|
66083
66407
|
order_ref?: string | null;
|
|
66084
66408
|
order_source?: string | null;
|
|
66085
66409
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79584,12 +79908,59 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
79584
79908
|
};
|
|
79585
79909
|
Returns: string;
|
|
79586
79910
|
};
|
|
79911
|
+
logistics_trace_all_orders: {
|
|
79912
|
+
Args: {
|
|
79913
|
+
p_limit?: number;
|
|
79914
|
+
p_search?: string;
|
|
79915
|
+
};
|
|
79916
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79917
|
+
};
|
|
79587
79918
|
logistics_trace_batch: {
|
|
79588
79919
|
Args: {
|
|
79589
79920
|
p: import("../integrations/supabase/types").Json;
|
|
79590
79921
|
};
|
|
79591
79922
|
Returns: number;
|
|
79592
79923
|
};
|
|
79924
|
+
logistics_trace_node: {
|
|
79925
|
+
Args: {
|
|
79926
|
+
p_op?: string;
|
|
79927
|
+
p_status?: string;
|
|
79928
|
+
p_table: string;
|
|
79929
|
+
};
|
|
79930
|
+
Returns: string;
|
|
79931
|
+
};
|
|
79932
|
+
logistics_trace_order_overview: {
|
|
79933
|
+
Args: {
|
|
79934
|
+
p_error_class?: string;
|
|
79935
|
+
p_limit?: number;
|
|
79936
|
+
p_search?: string;
|
|
79937
|
+
p_since?: string;
|
|
79938
|
+
p_source?: string;
|
|
79939
|
+
p_state?: string;
|
|
79940
|
+
p_step?: string;
|
|
79941
|
+
};
|
|
79942
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79943
|
+
};
|
|
79944
|
+
logistics_trace_order_state: {
|
|
79945
|
+
Args: {
|
|
79946
|
+
p_order_ref: string;
|
|
79947
|
+
};
|
|
79948
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79949
|
+
};
|
|
79950
|
+
logistics_trace_order_step: {
|
|
79951
|
+
Args: {
|
|
79952
|
+
p_class?: string;
|
|
79953
|
+
p_decision?: string;
|
|
79954
|
+
p_error?: string;
|
|
79955
|
+
p_next_step?: string;
|
|
79956
|
+
p_node: string;
|
|
79957
|
+
p_order_id: string;
|
|
79958
|
+
p_reason?: string;
|
|
79959
|
+
p_status: string;
|
|
79960
|
+
p_step: string;
|
|
79961
|
+
};
|
|
79962
|
+
Returns: undefined;
|
|
79963
|
+
};
|
|
79593
79964
|
logistics_trace_orders: {
|
|
79594
79965
|
Args: {
|
|
79595
79966
|
p_limit?: number;
|
|
@@ -79612,6 +79983,22 @@ export declare const getGroupedCustomerDetail: import("@tanstack/start-client-co
|
|
|
79612
79983
|
};
|
|
79613
79984
|
Returns: import("../integrations/supabase/types").Json;
|
|
79614
79985
|
};
|
|
79986
|
+
logistics_trace_version_events: {
|
|
79987
|
+
Args: {
|
|
79988
|
+
p_from?: string;
|
|
79989
|
+
p_limit?: number;
|
|
79990
|
+
p_order_ref: string;
|
|
79991
|
+
p_to?: string;
|
|
79992
|
+
p_version_id: string;
|
|
79993
|
+
};
|
|
79994
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79995
|
+
};
|
|
79996
|
+
logistics_trace_versions: {
|
|
79997
|
+
Args: {
|
|
79998
|
+
p_order_ref: string;
|
|
79999
|
+
};
|
|
80000
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
80001
|
+
};
|
|
79615
80002
|
logistics_upsert_task: {
|
|
79616
80003
|
Args: {
|
|
79617
80004
|
p_buffer_ref: string;
|
|
@@ -83437,6 +83824,42 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
83437
83824
|
};
|
|
83438
83825
|
Relationships: [];
|
|
83439
83826
|
};
|
|
83827
|
+
customer_assortment_items: {
|
|
83828
|
+
Row: {
|
|
83829
|
+
created_at: string;
|
|
83830
|
+
customer_key: string;
|
|
83831
|
+
id: string;
|
|
83832
|
+
in_assortment: boolean;
|
|
83833
|
+
manual_override: boolean;
|
|
83834
|
+
source: string;
|
|
83835
|
+
synced_at: string | null;
|
|
83836
|
+
trade_item_key: string;
|
|
83837
|
+
updated_at: string;
|
|
83838
|
+
};
|
|
83839
|
+
Insert: {
|
|
83840
|
+
created_at?: string;
|
|
83841
|
+
customer_key: string;
|
|
83842
|
+
id?: string;
|
|
83843
|
+
in_assortment?: boolean;
|
|
83844
|
+
manual_override?: boolean;
|
|
83845
|
+
source?: string;
|
|
83846
|
+
synced_at?: string | null;
|
|
83847
|
+
trade_item_key: string;
|
|
83848
|
+
updated_at?: string;
|
|
83849
|
+
};
|
|
83850
|
+
Update: {
|
|
83851
|
+
created_at?: string;
|
|
83852
|
+
customer_key?: string;
|
|
83853
|
+
id?: string;
|
|
83854
|
+
in_assortment?: boolean;
|
|
83855
|
+
manual_override?: boolean;
|
|
83856
|
+
source?: string;
|
|
83857
|
+
synced_at?: string | null;
|
|
83858
|
+
trade_item_key?: string;
|
|
83859
|
+
updated_at?: string;
|
|
83860
|
+
};
|
|
83861
|
+
Relationships: [];
|
|
83862
|
+
};
|
|
83440
83863
|
customer_audit_log: {
|
|
83441
83864
|
Row: {
|
|
83442
83865
|
action: string;
|
|
@@ -83841,40 +84264,58 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
83841
84264
|
};
|
|
83842
84265
|
customer_product_stickers: {
|
|
83843
84266
|
Row: {
|
|
84267
|
+
content_hash: string | null;
|
|
83844
84268
|
created_at: string;
|
|
83845
84269
|
customer_key: string;
|
|
83846
84270
|
file_name: string;
|
|
83847
84271
|
file_path: string;
|
|
83848
84272
|
file_size: number | null;
|
|
84273
|
+
floriday_sticker_id: string | null;
|
|
84274
|
+
floriday_synced_at: string | null;
|
|
84275
|
+
height_mm: number | null;
|
|
83849
84276
|
id: string;
|
|
83850
84277
|
mime_type: string | null;
|
|
84278
|
+
source: string;
|
|
83851
84279
|
trade_item_key: string;
|
|
83852
84280
|
updated_at: string;
|
|
83853
84281
|
uploaded_by: string | null;
|
|
84282
|
+
width_mm: number | null;
|
|
83854
84283
|
};
|
|
83855
84284
|
Insert: {
|
|
84285
|
+
content_hash?: string | null;
|
|
83856
84286
|
created_at?: string;
|
|
83857
84287
|
customer_key: string;
|
|
83858
84288
|
file_name: string;
|
|
83859
84289
|
file_path: string;
|
|
83860
84290
|
file_size?: number | null;
|
|
84291
|
+
floriday_sticker_id?: string | null;
|
|
84292
|
+
floriday_synced_at?: string | null;
|
|
84293
|
+
height_mm?: number | null;
|
|
83861
84294
|
id?: string;
|
|
83862
84295
|
mime_type?: string | null;
|
|
84296
|
+
source?: string;
|
|
83863
84297
|
trade_item_key: string;
|
|
83864
84298
|
updated_at?: string;
|
|
83865
84299
|
uploaded_by?: string | null;
|
|
84300
|
+
width_mm?: number | null;
|
|
83866
84301
|
};
|
|
83867
84302
|
Update: {
|
|
84303
|
+
content_hash?: string | null;
|
|
83868
84304
|
created_at?: string;
|
|
83869
84305
|
customer_key?: string;
|
|
83870
84306
|
file_name?: string;
|
|
83871
84307
|
file_path?: string;
|
|
83872
84308
|
file_size?: number | null;
|
|
84309
|
+
floriday_sticker_id?: string | null;
|
|
84310
|
+
floriday_synced_at?: string | null;
|
|
84311
|
+
height_mm?: number | null;
|
|
83873
84312
|
id?: string;
|
|
83874
84313
|
mime_type?: string | null;
|
|
84314
|
+
source?: string;
|
|
83875
84315
|
trade_item_key?: string;
|
|
83876
84316
|
updated_at?: string;
|
|
83877
84317
|
uploaded_by?: string | null;
|
|
84318
|
+
width_mm?: number | null;
|
|
83878
84319
|
};
|
|
83879
84320
|
Relationships: [];
|
|
83880
84321
|
};
|
|
@@ -93182,6 +93623,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93182
93623
|
Row: {
|
|
93183
93624
|
actor: string | null;
|
|
93184
93625
|
attempts: number;
|
|
93626
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
93185
93627
|
cart_ref: string | null;
|
|
93186
93628
|
created_at: string;
|
|
93187
93629
|
db_action: string | null;
|
|
@@ -93192,6 +93634,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93192
93634
|
decision: string | null;
|
|
93193
93635
|
duration_ms: number | null;
|
|
93194
93636
|
error: string | null;
|
|
93637
|
+
error_class: string | null;
|
|
93195
93638
|
external_action: string | null;
|
|
93196
93639
|
external_ref: string | null;
|
|
93197
93640
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -93200,6 +93643,8 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93200
93643
|
id: string;
|
|
93201
93644
|
input: import("../integrations/supabase/types").Json | null;
|
|
93202
93645
|
next_attempt_at: string | null;
|
|
93646
|
+
next_step: string | null;
|
|
93647
|
+
node_id: string | null;
|
|
93203
93648
|
order_ref: string | null;
|
|
93204
93649
|
order_source: string | null;
|
|
93205
93650
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -93216,6 +93661,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93216
93661
|
Insert: {
|
|
93217
93662
|
actor?: string | null;
|
|
93218
93663
|
attempts?: number;
|
|
93664
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93219
93665
|
cart_ref?: string | null;
|
|
93220
93666
|
created_at?: string;
|
|
93221
93667
|
db_action?: string | null;
|
|
@@ -93226,6 +93672,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93226
93672
|
decision?: string | null;
|
|
93227
93673
|
duration_ms?: number | null;
|
|
93228
93674
|
error?: string | null;
|
|
93675
|
+
error_class?: string | null;
|
|
93229
93676
|
external_action?: string | null;
|
|
93230
93677
|
external_ref?: string | null;
|
|
93231
93678
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93234,6 +93681,8 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93234
93681
|
id?: string;
|
|
93235
93682
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93236
93683
|
next_attempt_at?: string | null;
|
|
93684
|
+
next_step?: string | null;
|
|
93685
|
+
node_id?: string | null;
|
|
93237
93686
|
order_ref?: string | null;
|
|
93238
93687
|
order_source?: string | null;
|
|
93239
93688
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93250,6 +93699,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93250
93699
|
Update: {
|
|
93251
93700
|
actor?: string | null;
|
|
93252
93701
|
attempts?: number;
|
|
93702
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93253
93703
|
cart_ref?: string | null;
|
|
93254
93704
|
created_at?: string;
|
|
93255
93705
|
db_action?: string | null;
|
|
@@ -93260,6 +93710,7 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93260
93710
|
decision?: string | null;
|
|
93261
93711
|
duration_ms?: number | null;
|
|
93262
93712
|
error?: string | null;
|
|
93713
|
+
error_class?: string | null;
|
|
93263
93714
|
external_action?: string | null;
|
|
93264
93715
|
external_ref?: string | null;
|
|
93265
93716
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93268,6 +93719,8 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
93268
93719
|
id?: string;
|
|
93269
93720
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93270
93721
|
next_attempt_at?: string | null;
|
|
93722
|
+
next_step?: string | null;
|
|
93723
|
+
node_id?: string | null;
|
|
93271
93724
|
order_ref?: string | null;
|
|
93272
93725
|
order_source?: string | null;
|
|
93273
93726
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -106772,12 +107225,59 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
106772
107225
|
};
|
|
106773
107226
|
Returns: string;
|
|
106774
107227
|
};
|
|
107228
|
+
logistics_trace_all_orders: {
|
|
107229
|
+
Args: {
|
|
107230
|
+
p_limit?: number;
|
|
107231
|
+
p_search?: string;
|
|
107232
|
+
};
|
|
107233
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107234
|
+
};
|
|
106775
107235
|
logistics_trace_batch: {
|
|
106776
107236
|
Args: {
|
|
106777
107237
|
p: import("../integrations/supabase/types").Json;
|
|
106778
107238
|
};
|
|
106779
107239
|
Returns: number;
|
|
106780
107240
|
};
|
|
107241
|
+
logistics_trace_node: {
|
|
107242
|
+
Args: {
|
|
107243
|
+
p_op?: string;
|
|
107244
|
+
p_status?: string;
|
|
107245
|
+
p_table: string;
|
|
107246
|
+
};
|
|
107247
|
+
Returns: string;
|
|
107248
|
+
};
|
|
107249
|
+
logistics_trace_order_overview: {
|
|
107250
|
+
Args: {
|
|
107251
|
+
p_error_class?: string;
|
|
107252
|
+
p_limit?: number;
|
|
107253
|
+
p_search?: string;
|
|
107254
|
+
p_since?: string;
|
|
107255
|
+
p_source?: string;
|
|
107256
|
+
p_state?: string;
|
|
107257
|
+
p_step?: string;
|
|
107258
|
+
};
|
|
107259
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107260
|
+
};
|
|
107261
|
+
logistics_trace_order_state: {
|
|
107262
|
+
Args: {
|
|
107263
|
+
p_order_ref: string;
|
|
107264
|
+
};
|
|
107265
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107266
|
+
};
|
|
107267
|
+
logistics_trace_order_step: {
|
|
107268
|
+
Args: {
|
|
107269
|
+
p_class?: string;
|
|
107270
|
+
p_decision?: string;
|
|
107271
|
+
p_error?: string;
|
|
107272
|
+
p_next_step?: string;
|
|
107273
|
+
p_node: string;
|
|
107274
|
+
p_order_id: string;
|
|
107275
|
+
p_reason?: string;
|
|
107276
|
+
p_status: string;
|
|
107277
|
+
p_step: string;
|
|
107278
|
+
};
|
|
107279
|
+
Returns: undefined;
|
|
107280
|
+
};
|
|
106781
107281
|
logistics_trace_orders: {
|
|
106782
107282
|
Args: {
|
|
106783
107283
|
p_limit?: number;
|
|
@@ -106800,6 +107300,22 @@ export declare const getExternalCustomerDetail: import("@tanstack/start-client-c
|
|
|
106800
107300
|
};
|
|
106801
107301
|
Returns: import("../integrations/supabase/types").Json;
|
|
106802
107302
|
};
|
|
107303
|
+
logistics_trace_version_events: {
|
|
107304
|
+
Args: {
|
|
107305
|
+
p_from?: string;
|
|
107306
|
+
p_limit?: number;
|
|
107307
|
+
p_order_ref: string;
|
|
107308
|
+
p_to?: string;
|
|
107309
|
+
p_version_id: string;
|
|
107310
|
+
};
|
|
107311
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107312
|
+
};
|
|
107313
|
+
logistics_trace_versions: {
|
|
107314
|
+
Args: {
|
|
107315
|
+
p_order_ref: string;
|
|
107316
|
+
};
|
|
107317
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107318
|
+
};
|
|
106803
107319
|
logistics_upsert_task: {
|
|
106804
107320
|
Args: {
|
|
106805
107321
|
p_buffer_ref: string;
|