@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
|
@@ -1875,6 +1875,42 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
1875
1875
|
};
|
|
1876
1876
|
Relationships: [];
|
|
1877
1877
|
};
|
|
1878
|
+
customer_assortment_items: {
|
|
1879
|
+
Row: {
|
|
1880
|
+
created_at: string;
|
|
1881
|
+
customer_key: string;
|
|
1882
|
+
id: string;
|
|
1883
|
+
in_assortment: boolean;
|
|
1884
|
+
manual_override: boolean;
|
|
1885
|
+
source: string;
|
|
1886
|
+
synced_at: string | null;
|
|
1887
|
+
trade_item_key: string;
|
|
1888
|
+
updated_at: string;
|
|
1889
|
+
};
|
|
1890
|
+
Insert: {
|
|
1891
|
+
created_at?: string;
|
|
1892
|
+
customer_key: string;
|
|
1893
|
+
id?: string;
|
|
1894
|
+
in_assortment?: boolean;
|
|
1895
|
+
manual_override?: boolean;
|
|
1896
|
+
source?: string;
|
|
1897
|
+
synced_at?: string | null;
|
|
1898
|
+
trade_item_key: string;
|
|
1899
|
+
updated_at?: string;
|
|
1900
|
+
};
|
|
1901
|
+
Update: {
|
|
1902
|
+
created_at?: string;
|
|
1903
|
+
customer_key?: string;
|
|
1904
|
+
id?: string;
|
|
1905
|
+
in_assortment?: boolean;
|
|
1906
|
+
manual_override?: boolean;
|
|
1907
|
+
source?: string;
|
|
1908
|
+
synced_at?: string | null;
|
|
1909
|
+
trade_item_key?: string;
|
|
1910
|
+
updated_at?: string;
|
|
1911
|
+
};
|
|
1912
|
+
Relationships: [];
|
|
1913
|
+
};
|
|
1878
1914
|
customer_audit_log: {
|
|
1879
1915
|
Row: {
|
|
1880
1916
|
action: string;
|
|
@@ -2279,40 +2315,58 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
2279
2315
|
};
|
|
2280
2316
|
customer_product_stickers: {
|
|
2281
2317
|
Row: {
|
|
2318
|
+
content_hash: string | null;
|
|
2282
2319
|
created_at: string;
|
|
2283
2320
|
customer_key: string;
|
|
2284
2321
|
file_name: string;
|
|
2285
2322
|
file_path: string;
|
|
2286
2323
|
file_size: number | null;
|
|
2324
|
+
floriday_sticker_id: string | null;
|
|
2325
|
+
floriday_synced_at: string | null;
|
|
2326
|
+
height_mm: number | null;
|
|
2287
2327
|
id: string;
|
|
2288
2328
|
mime_type: string | null;
|
|
2329
|
+
source: string;
|
|
2289
2330
|
trade_item_key: string;
|
|
2290
2331
|
updated_at: string;
|
|
2291
2332
|
uploaded_by: string | null;
|
|
2333
|
+
width_mm: number | null;
|
|
2292
2334
|
};
|
|
2293
2335
|
Insert: {
|
|
2336
|
+
content_hash?: string | null;
|
|
2294
2337
|
created_at?: string;
|
|
2295
2338
|
customer_key: string;
|
|
2296
2339
|
file_name: string;
|
|
2297
2340
|
file_path: string;
|
|
2298
2341
|
file_size?: number | null;
|
|
2342
|
+
floriday_sticker_id?: string | null;
|
|
2343
|
+
floriday_synced_at?: string | null;
|
|
2344
|
+
height_mm?: number | null;
|
|
2299
2345
|
id?: string;
|
|
2300
2346
|
mime_type?: string | null;
|
|
2347
|
+
source?: string;
|
|
2301
2348
|
trade_item_key: string;
|
|
2302
2349
|
updated_at?: string;
|
|
2303
2350
|
uploaded_by?: string | null;
|
|
2351
|
+
width_mm?: number | null;
|
|
2304
2352
|
};
|
|
2305
2353
|
Update: {
|
|
2354
|
+
content_hash?: string | null;
|
|
2306
2355
|
created_at?: string;
|
|
2307
2356
|
customer_key?: string;
|
|
2308
2357
|
file_name?: string;
|
|
2309
2358
|
file_path?: string;
|
|
2310
2359
|
file_size?: number | null;
|
|
2360
|
+
floriday_sticker_id?: string | null;
|
|
2361
|
+
floriday_synced_at?: string | null;
|
|
2362
|
+
height_mm?: number | null;
|
|
2311
2363
|
id?: string;
|
|
2312
2364
|
mime_type?: string | null;
|
|
2365
|
+
source?: string;
|
|
2313
2366
|
trade_item_key?: string;
|
|
2314
2367
|
updated_at?: string;
|
|
2315
2368
|
uploaded_by?: string | null;
|
|
2369
|
+
width_mm?: number | null;
|
|
2316
2370
|
};
|
|
2317
2371
|
Relationships: [];
|
|
2318
2372
|
};
|
|
@@ -11620,6 +11674,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11620
11674
|
Row: {
|
|
11621
11675
|
actor: string | null;
|
|
11622
11676
|
attempts: number;
|
|
11677
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11623
11678
|
cart_ref: string | null;
|
|
11624
11679
|
created_at: string;
|
|
11625
11680
|
db_action: string | null;
|
|
@@ -11630,6 +11685,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11630
11685
|
decision: string | null;
|
|
11631
11686
|
duration_ms: number | null;
|
|
11632
11687
|
error: string | null;
|
|
11688
|
+
error_class: string | null;
|
|
11633
11689
|
external_action: string | null;
|
|
11634
11690
|
external_ref: string | null;
|
|
11635
11691
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11638,6 +11694,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11638
11694
|
id: string;
|
|
11639
11695
|
input: import("../integrations/supabase/types").Json | null;
|
|
11640
11696
|
next_attempt_at: string | null;
|
|
11697
|
+
next_step: string | null;
|
|
11698
|
+
node_id: string | null;
|
|
11641
11699
|
order_ref: string | null;
|
|
11642
11700
|
order_source: string | null;
|
|
11643
11701
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11654,6 +11712,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11654
11712
|
Insert: {
|
|
11655
11713
|
actor?: string | null;
|
|
11656
11714
|
attempts?: number;
|
|
11715
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11657
11716
|
cart_ref?: string | null;
|
|
11658
11717
|
created_at?: string;
|
|
11659
11718
|
db_action?: string | null;
|
|
@@ -11664,6 +11723,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11664
11723
|
decision?: string | null;
|
|
11665
11724
|
duration_ms?: number | null;
|
|
11666
11725
|
error?: string | null;
|
|
11726
|
+
error_class?: string | null;
|
|
11667
11727
|
external_action?: string | null;
|
|
11668
11728
|
external_ref?: string | null;
|
|
11669
11729
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11672,6 +11732,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11672
11732
|
id?: string;
|
|
11673
11733
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11674
11734
|
next_attempt_at?: string | null;
|
|
11735
|
+
next_step?: string | null;
|
|
11736
|
+
node_id?: string | null;
|
|
11675
11737
|
order_ref?: string | null;
|
|
11676
11738
|
order_source?: string | null;
|
|
11677
11739
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11688,6 +11750,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11688
11750
|
Update: {
|
|
11689
11751
|
actor?: string | null;
|
|
11690
11752
|
attempts?: number;
|
|
11753
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11691
11754
|
cart_ref?: string | null;
|
|
11692
11755
|
created_at?: string;
|
|
11693
11756
|
db_action?: string | null;
|
|
@@ -11698,6 +11761,7 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11698
11761
|
decision?: string | null;
|
|
11699
11762
|
duration_ms?: number | null;
|
|
11700
11763
|
error?: string | null;
|
|
11764
|
+
error_class?: string | null;
|
|
11701
11765
|
external_action?: string | null;
|
|
11702
11766
|
external_ref?: string | null;
|
|
11703
11767
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11706,6 +11770,8 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
11706
11770
|
id?: string;
|
|
11707
11771
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11708
11772
|
next_attempt_at?: string | null;
|
|
11773
|
+
next_step?: string | null;
|
|
11774
|
+
node_id?: string | null;
|
|
11709
11775
|
order_ref?: string | null;
|
|
11710
11776
|
order_source?: string | null;
|
|
11711
11777
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25210,12 +25276,59 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
25210
25276
|
};
|
|
25211
25277
|
Returns: string;
|
|
25212
25278
|
};
|
|
25279
|
+
logistics_trace_all_orders: {
|
|
25280
|
+
Args: {
|
|
25281
|
+
p_limit?: number;
|
|
25282
|
+
p_search?: string;
|
|
25283
|
+
};
|
|
25284
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25285
|
+
};
|
|
25213
25286
|
logistics_trace_batch: {
|
|
25214
25287
|
Args: {
|
|
25215
25288
|
p: import("../integrations/supabase/types").Json;
|
|
25216
25289
|
};
|
|
25217
25290
|
Returns: number;
|
|
25218
25291
|
};
|
|
25292
|
+
logistics_trace_node: {
|
|
25293
|
+
Args: {
|
|
25294
|
+
p_op?: string;
|
|
25295
|
+
p_status?: string;
|
|
25296
|
+
p_table: string;
|
|
25297
|
+
};
|
|
25298
|
+
Returns: string;
|
|
25299
|
+
};
|
|
25300
|
+
logistics_trace_order_overview: {
|
|
25301
|
+
Args: {
|
|
25302
|
+
p_error_class?: string;
|
|
25303
|
+
p_limit?: number;
|
|
25304
|
+
p_search?: string;
|
|
25305
|
+
p_since?: string;
|
|
25306
|
+
p_source?: string;
|
|
25307
|
+
p_state?: string;
|
|
25308
|
+
p_step?: string;
|
|
25309
|
+
};
|
|
25310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25311
|
+
};
|
|
25312
|
+
logistics_trace_order_state: {
|
|
25313
|
+
Args: {
|
|
25314
|
+
p_order_ref: string;
|
|
25315
|
+
};
|
|
25316
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25317
|
+
};
|
|
25318
|
+
logistics_trace_order_step: {
|
|
25319
|
+
Args: {
|
|
25320
|
+
p_class?: string;
|
|
25321
|
+
p_decision?: string;
|
|
25322
|
+
p_error?: string;
|
|
25323
|
+
p_next_step?: string;
|
|
25324
|
+
p_node: string;
|
|
25325
|
+
p_order_id: string;
|
|
25326
|
+
p_reason?: string;
|
|
25327
|
+
p_status: string;
|
|
25328
|
+
p_step: string;
|
|
25329
|
+
};
|
|
25330
|
+
Returns: undefined;
|
|
25331
|
+
};
|
|
25219
25332
|
logistics_trace_orders: {
|
|
25220
25333
|
Args: {
|
|
25221
25334
|
p_limit?: number;
|
|
@@ -25238,6 +25351,22 @@ export declare const listCustomerPriceGroups: import("@tanstack/start-client-cor
|
|
|
25238
25351
|
};
|
|
25239
25352
|
Returns: import("../integrations/supabase/types").Json;
|
|
25240
25353
|
};
|
|
25354
|
+
logistics_trace_version_events: {
|
|
25355
|
+
Args: {
|
|
25356
|
+
p_from?: string;
|
|
25357
|
+
p_limit?: number;
|
|
25358
|
+
p_order_ref: string;
|
|
25359
|
+
p_to?: string;
|
|
25360
|
+
p_version_id: string;
|
|
25361
|
+
};
|
|
25362
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25363
|
+
};
|
|
25364
|
+
logistics_trace_versions: {
|
|
25365
|
+
Args: {
|
|
25366
|
+
p_order_ref: string;
|
|
25367
|
+
};
|
|
25368
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25369
|
+
};
|
|
25241
25370
|
logistics_upsert_task: {
|
|
25242
25371
|
Args: {
|
|
25243
25372
|
p_buffer_ref: string;
|
|
@@ -29056,6 +29185,42 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29056
29185
|
};
|
|
29057
29186
|
Relationships: [];
|
|
29058
29187
|
};
|
|
29188
|
+
customer_assortment_items: {
|
|
29189
|
+
Row: {
|
|
29190
|
+
created_at: string;
|
|
29191
|
+
customer_key: string;
|
|
29192
|
+
id: string;
|
|
29193
|
+
in_assortment: boolean;
|
|
29194
|
+
manual_override: boolean;
|
|
29195
|
+
source: string;
|
|
29196
|
+
synced_at: string | null;
|
|
29197
|
+
trade_item_key: string;
|
|
29198
|
+
updated_at: string;
|
|
29199
|
+
};
|
|
29200
|
+
Insert: {
|
|
29201
|
+
created_at?: string;
|
|
29202
|
+
customer_key: string;
|
|
29203
|
+
id?: string;
|
|
29204
|
+
in_assortment?: boolean;
|
|
29205
|
+
manual_override?: boolean;
|
|
29206
|
+
source?: string;
|
|
29207
|
+
synced_at?: string | null;
|
|
29208
|
+
trade_item_key: string;
|
|
29209
|
+
updated_at?: string;
|
|
29210
|
+
};
|
|
29211
|
+
Update: {
|
|
29212
|
+
created_at?: string;
|
|
29213
|
+
customer_key?: string;
|
|
29214
|
+
id?: string;
|
|
29215
|
+
in_assortment?: boolean;
|
|
29216
|
+
manual_override?: boolean;
|
|
29217
|
+
source?: string;
|
|
29218
|
+
synced_at?: string | null;
|
|
29219
|
+
trade_item_key?: string;
|
|
29220
|
+
updated_at?: string;
|
|
29221
|
+
};
|
|
29222
|
+
Relationships: [];
|
|
29223
|
+
};
|
|
29059
29224
|
customer_audit_log: {
|
|
29060
29225
|
Row: {
|
|
29061
29226
|
action: string;
|
|
@@ -29460,40 +29625,58 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
29460
29625
|
};
|
|
29461
29626
|
customer_product_stickers: {
|
|
29462
29627
|
Row: {
|
|
29628
|
+
content_hash: string | null;
|
|
29463
29629
|
created_at: string;
|
|
29464
29630
|
customer_key: string;
|
|
29465
29631
|
file_name: string;
|
|
29466
29632
|
file_path: string;
|
|
29467
29633
|
file_size: number | null;
|
|
29634
|
+
floriday_sticker_id: string | null;
|
|
29635
|
+
floriday_synced_at: string | null;
|
|
29636
|
+
height_mm: number | null;
|
|
29468
29637
|
id: string;
|
|
29469
29638
|
mime_type: string | null;
|
|
29639
|
+
source: string;
|
|
29470
29640
|
trade_item_key: string;
|
|
29471
29641
|
updated_at: string;
|
|
29472
29642
|
uploaded_by: string | null;
|
|
29643
|
+
width_mm: number | null;
|
|
29473
29644
|
};
|
|
29474
29645
|
Insert: {
|
|
29646
|
+
content_hash?: string | null;
|
|
29475
29647
|
created_at?: string;
|
|
29476
29648
|
customer_key: string;
|
|
29477
29649
|
file_name: string;
|
|
29478
29650
|
file_path: string;
|
|
29479
29651
|
file_size?: number | null;
|
|
29652
|
+
floriday_sticker_id?: string | null;
|
|
29653
|
+
floriday_synced_at?: string | null;
|
|
29654
|
+
height_mm?: number | null;
|
|
29480
29655
|
id?: string;
|
|
29481
29656
|
mime_type?: string | null;
|
|
29657
|
+
source?: string;
|
|
29482
29658
|
trade_item_key: string;
|
|
29483
29659
|
updated_at?: string;
|
|
29484
29660
|
uploaded_by?: string | null;
|
|
29661
|
+
width_mm?: number | null;
|
|
29485
29662
|
};
|
|
29486
29663
|
Update: {
|
|
29664
|
+
content_hash?: string | null;
|
|
29487
29665
|
created_at?: string;
|
|
29488
29666
|
customer_key?: string;
|
|
29489
29667
|
file_name?: string;
|
|
29490
29668
|
file_path?: string;
|
|
29491
29669
|
file_size?: number | null;
|
|
29670
|
+
floriday_sticker_id?: string | null;
|
|
29671
|
+
floriday_synced_at?: string | null;
|
|
29672
|
+
height_mm?: number | null;
|
|
29492
29673
|
id?: string;
|
|
29493
29674
|
mime_type?: string | null;
|
|
29675
|
+
source?: string;
|
|
29494
29676
|
trade_item_key?: string;
|
|
29495
29677
|
updated_at?: string;
|
|
29496
29678
|
uploaded_by?: string | null;
|
|
29679
|
+
width_mm?: number | null;
|
|
29497
29680
|
};
|
|
29498
29681
|
Relationships: [];
|
|
29499
29682
|
};
|
|
@@ -38801,6 +38984,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38801
38984
|
Row: {
|
|
38802
38985
|
actor: string | null;
|
|
38803
38986
|
attempts: number;
|
|
38987
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38804
38988
|
cart_ref: string | null;
|
|
38805
38989
|
created_at: string;
|
|
38806
38990
|
db_action: string | null;
|
|
@@ -38811,6 +38995,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38811
38995
|
decision: string | null;
|
|
38812
38996
|
duration_ms: number | null;
|
|
38813
38997
|
error: string | null;
|
|
38998
|
+
error_class: string | null;
|
|
38814
38999
|
external_action: string | null;
|
|
38815
39000
|
external_ref: string | null;
|
|
38816
39001
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38819,6 +39004,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38819
39004
|
id: string;
|
|
38820
39005
|
input: import("../integrations/supabase/types").Json | null;
|
|
38821
39006
|
next_attempt_at: string | null;
|
|
39007
|
+
next_step: string | null;
|
|
39008
|
+
node_id: string | null;
|
|
38822
39009
|
order_ref: string | null;
|
|
38823
39010
|
order_source: string | null;
|
|
38824
39011
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38835,6 +39022,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38835
39022
|
Insert: {
|
|
38836
39023
|
actor?: string | null;
|
|
38837
39024
|
attempts?: number;
|
|
39025
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38838
39026
|
cart_ref?: string | null;
|
|
38839
39027
|
created_at?: string;
|
|
38840
39028
|
db_action?: string | null;
|
|
@@ -38845,6 +39033,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38845
39033
|
decision?: string | null;
|
|
38846
39034
|
duration_ms?: number | null;
|
|
38847
39035
|
error?: string | null;
|
|
39036
|
+
error_class?: string | null;
|
|
38848
39037
|
external_action?: string | null;
|
|
38849
39038
|
external_ref?: string | null;
|
|
38850
39039
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38853,6 +39042,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38853
39042
|
id?: string;
|
|
38854
39043
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38855
39044
|
next_attempt_at?: string | null;
|
|
39045
|
+
next_step?: string | null;
|
|
39046
|
+
node_id?: string | null;
|
|
38856
39047
|
order_ref?: string | null;
|
|
38857
39048
|
order_source?: string | null;
|
|
38858
39049
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38869,6 +39060,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38869
39060
|
Update: {
|
|
38870
39061
|
actor?: string | null;
|
|
38871
39062
|
attempts?: number;
|
|
39063
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38872
39064
|
cart_ref?: string | null;
|
|
38873
39065
|
created_at?: string;
|
|
38874
39066
|
db_action?: string | null;
|
|
@@ -38879,6 +39071,7 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38879
39071
|
decision?: string | null;
|
|
38880
39072
|
duration_ms?: number | null;
|
|
38881
39073
|
error?: string | null;
|
|
39074
|
+
error_class?: string | null;
|
|
38882
39075
|
external_action?: string | null;
|
|
38883
39076
|
external_ref?: string | null;
|
|
38884
39077
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38887,6 +39080,8 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
38887
39080
|
id?: string;
|
|
38888
39081
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38889
39082
|
next_attempt_at?: string | null;
|
|
39083
|
+
next_step?: string | null;
|
|
39084
|
+
node_id?: string | null;
|
|
38890
39085
|
order_ref?: string | null;
|
|
38891
39086
|
order_source?: string | null;
|
|
38892
39087
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52391,12 +52586,59 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
52391
52586
|
};
|
|
52392
52587
|
Returns: string;
|
|
52393
52588
|
};
|
|
52589
|
+
logistics_trace_all_orders: {
|
|
52590
|
+
Args: {
|
|
52591
|
+
p_limit?: number;
|
|
52592
|
+
p_search?: string;
|
|
52593
|
+
};
|
|
52594
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52595
|
+
};
|
|
52394
52596
|
logistics_trace_batch: {
|
|
52395
52597
|
Args: {
|
|
52396
52598
|
p: import("../integrations/supabase/types").Json;
|
|
52397
52599
|
};
|
|
52398
52600
|
Returns: number;
|
|
52399
52601
|
};
|
|
52602
|
+
logistics_trace_node: {
|
|
52603
|
+
Args: {
|
|
52604
|
+
p_op?: string;
|
|
52605
|
+
p_status?: string;
|
|
52606
|
+
p_table: string;
|
|
52607
|
+
};
|
|
52608
|
+
Returns: string;
|
|
52609
|
+
};
|
|
52610
|
+
logistics_trace_order_overview: {
|
|
52611
|
+
Args: {
|
|
52612
|
+
p_error_class?: string;
|
|
52613
|
+
p_limit?: number;
|
|
52614
|
+
p_search?: string;
|
|
52615
|
+
p_since?: string;
|
|
52616
|
+
p_source?: string;
|
|
52617
|
+
p_state?: string;
|
|
52618
|
+
p_step?: string;
|
|
52619
|
+
};
|
|
52620
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52621
|
+
};
|
|
52622
|
+
logistics_trace_order_state: {
|
|
52623
|
+
Args: {
|
|
52624
|
+
p_order_ref: string;
|
|
52625
|
+
};
|
|
52626
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52627
|
+
};
|
|
52628
|
+
logistics_trace_order_step: {
|
|
52629
|
+
Args: {
|
|
52630
|
+
p_class?: string;
|
|
52631
|
+
p_decision?: string;
|
|
52632
|
+
p_error?: string;
|
|
52633
|
+
p_next_step?: string;
|
|
52634
|
+
p_node: string;
|
|
52635
|
+
p_order_id: string;
|
|
52636
|
+
p_reason?: string;
|
|
52637
|
+
p_status: string;
|
|
52638
|
+
p_step: string;
|
|
52639
|
+
};
|
|
52640
|
+
Returns: undefined;
|
|
52641
|
+
};
|
|
52400
52642
|
logistics_trace_orders: {
|
|
52401
52643
|
Args: {
|
|
52402
52644
|
p_limit?: number;
|
|
@@ -52419,6 +52661,22 @@ export declare const getCustomerPriceGroup: import("@tanstack/start-client-core"
|
|
|
52419
52661
|
};
|
|
52420
52662
|
Returns: import("../integrations/supabase/types").Json;
|
|
52421
52663
|
};
|
|
52664
|
+
logistics_trace_version_events: {
|
|
52665
|
+
Args: {
|
|
52666
|
+
p_from?: string;
|
|
52667
|
+
p_limit?: number;
|
|
52668
|
+
p_order_ref: string;
|
|
52669
|
+
p_to?: string;
|
|
52670
|
+
p_version_id: string;
|
|
52671
|
+
};
|
|
52672
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52673
|
+
};
|
|
52674
|
+
logistics_trace_versions: {
|
|
52675
|
+
Args: {
|
|
52676
|
+
p_order_ref: string;
|
|
52677
|
+
};
|
|
52678
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52679
|
+
};
|
|
52422
52680
|
logistics_upsert_task: {
|
|
52423
52681
|
Args: {
|
|
52424
52682
|
p_buffer_ref: string;
|
|
@@ -56266,6 +56524,42 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
56266
56524
|
};
|
|
56267
56525
|
Relationships: [];
|
|
56268
56526
|
};
|
|
56527
|
+
customer_assortment_items: {
|
|
56528
|
+
Row: {
|
|
56529
|
+
created_at: string;
|
|
56530
|
+
customer_key: string;
|
|
56531
|
+
id: string;
|
|
56532
|
+
in_assortment: boolean;
|
|
56533
|
+
manual_override: boolean;
|
|
56534
|
+
source: string;
|
|
56535
|
+
synced_at: string | null;
|
|
56536
|
+
trade_item_key: string;
|
|
56537
|
+
updated_at: string;
|
|
56538
|
+
};
|
|
56539
|
+
Insert: {
|
|
56540
|
+
created_at?: string;
|
|
56541
|
+
customer_key: string;
|
|
56542
|
+
id?: string;
|
|
56543
|
+
in_assortment?: boolean;
|
|
56544
|
+
manual_override?: boolean;
|
|
56545
|
+
source?: string;
|
|
56546
|
+
synced_at?: string | null;
|
|
56547
|
+
trade_item_key: string;
|
|
56548
|
+
updated_at?: string;
|
|
56549
|
+
};
|
|
56550
|
+
Update: {
|
|
56551
|
+
created_at?: string;
|
|
56552
|
+
customer_key?: string;
|
|
56553
|
+
id?: string;
|
|
56554
|
+
in_assortment?: boolean;
|
|
56555
|
+
manual_override?: boolean;
|
|
56556
|
+
source?: string;
|
|
56557
|
+
synced_at?: string | null;
|
|
56558
|
+
trade_item_key?: string;
|
|
56559
|
+
updated_at?: string;
|
|
56560
|
+
};
|
|
56561
|
+
Relationships: [];
|
|
56562
|
+
};
|
|
56269
56563
|
customer_audit_log: {
|
|
56270
56564
|
Row: {
|
|
56271
56565
|
action: string;
|
|
@@ -56670,40 +56964,58 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
56670
56964
|
};
|
|
56671
56965
|
customer_product_stickers: {
|
|
56672
56966
|
Row: {
|
|
56967
|
+
content_hash: string | null;
|
|
56673
56968
|
created_at: string;
|
|
56674
56969
|
customer_key: string;
|
|
56675
56970
|
file_name: string;
|
|
56676
56971
|
file_path: string;
|
|
56677
56972
|
file_size: number | null;
|
|
56973
|
+
floriday_sticker_id: string | null;
|
|
56974
|
+
floriday_synced_at: string | null;
|
|
56975
|
+
height_mm: number | null;
|
|
56678
56976
|
id: string;
|
|
56679
56977
|
mime_type: string | null;
|
|
56978
|
+
source: string;
|
|
56680
56979
|
trade_item_key: string;
|
|
56681
56980
|
updated_at: string;
|
|
56682
56981
|
uploaded_by: string | null;
|
|
56982
|
+
width_mm: number | null;
|
|
56683
56983
|
};
|
|
56684
56984
|
Insert: {
|
|
56985
|
+
content_hash?: string | null;
|
|
56685
56986
|
created_at?: string;
|
|
56686
56987
|
customer_key: string;
|
|
56687
56988
|
file_name: string;
|
|
56688
56989
|
file_path: string;
|
|
56689
56990
|
file_size?: number | null;
|
|
56991
|
+
floriday_sticker_id?: string | null;
|
|
56992
|
+
floriday_synced_at?: string | null;
|
|
56993
|
+
height_mm?: number | null;
|
|
56690
56994
|
id?: string;
|
|
56691
56995
|
mime_type?: string | null;
|
|
56996
|
+
source?: string;
|
|
56692
56997
|
trade_item_key: string;
|
|
56693
56998
|
updated_at?: string;
|
|
56694
56999
|
uploaded_by?: string | null;
|
|
57000
|
+
width_mm?: number | null;
|
|
56695
57001
|
};
|
|
56696
57002
|
Update: {
|
|
57003
|
+
content_hash?: string | null;
|
|
56697
57004
|
created_at?: string;
|
|
56698
57005
|
customer_key?: string;
|
|
56699
57006
|
file_name?: string;
|
|
56700
57007
|
file_path?: string;
|
|
56701
57008
|
file_size?: number | null;
|
|
57009
|
+
floriday_sticker_id?: string | null;
|
|
57010
|
+
floriday_synced_at?: string | null;
|
|
57011
|
+
height_mm?: number | null;
|
|
56702
57012
|
id?: string;
|
|
56703
57013
|
mime_type?: string | null;
|
|
57014
|
+
source?: string;
|
|
56704
57015
|
trade_item_key?: string;
|
|
56705
57016
|
updated_at?: string;
|
|
56706
57017
|
uploaded_by?: string | null;
|
|
57018
|
+
width_mm?: number | null;
|
|
56707
57019
|
};
|
|
56708
57020
|
Relationships: [];
|
|
56709
57021
|
};
|
|
@@ -66011,6 +66323,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66011
66323
|
Row: {
|
|
66012
66324
|
actor: string | null;
|
|
66013
66325
|
attempts: number;
|
|
66326
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
66014
66327
|
cart_ref: string | null;
|
|
66015
66328
|
created_at: string;
|
|
66016
66329
|
db_action: string | null;
|
|
@@ -66021,6 +66334,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66021
66334
|
decision: string | null;
|
|
66022
66335
|
duration_ms: number | null;
|
|
66023
66336
|
error: string | null;
|
|
66337
|
+
error_class: string | null;
|
|
66024
66338
|
external_action: string | null;
|
|
66025
66339
|
external_ref: string | null;
|
|
66026
66340
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -66029,6 +66343,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66029
66343
|
id: string;
|
|
66030
66344
|
input: import("../integrations/supabase/types").Json | null;
|
|
66031
66345
|
next_attempt_at: string | null;
|
|
66346
|
+
next_step: string | null;
|
|
66347
|
+
node_id: string | null;
|
|
66032
66348
|
order_ref: string | null;
|
|
66033
66349
|
order_source: string | null;
|
|
66034
66350
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -66045,6 +66361,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66045
66361
|
Insert: {
|
|
66046
66362
|
actor?: string | null;
|
|
66047
66363
|
attempts?: number;
|
|
66364
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66048
66365
|
cart_ref?: string | null;
|
|
66049
66366
|
created_at?: string;
|
|
66050
66367
|
db_action?: string | null;
|
|
@@ -66055,6 +66372,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66055
66372
|
decision?: string | null;
|
|
66056
66373
|
duration_ms?: number | null;
|
|
66057
66374
|
error?: string | null;
|
|
66375
|
+
error_class?: string | null;
|
|
66058
66376
|
external_action?: string | null;
|
|
66059
66377
|
external_ref?: string | null;
|
|
66060
66378
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66063,6 +66381,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66063
66381
|
id?: string;
|
|
66064
66382
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66065
66383
|
next_attempt_at?: string | null;
|
|
66384
|
+
next_step?: string | null;
|
|
66385
|
+
node_id?: string | null;
|
|
66066
66386
|
order_ref?: string | null;
|
|
66067
66387
|
order_source?: string | null;
|
|
66068
66388
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66079,6 +66399,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66079
66399
|
Update: {
|
|
66080
66400
|
actor?: string | null;
|
|
66081
66401
|
attempts?: number;
|
|
66402
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66082
66403
|
cart_ref?: string | null;
|
|
66083
66404
|
created_at?: string;
|
|
66084
66405
|
db_action?: string | null;
|
|
@@ -66089,6 +66410,7 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66089
66410
|
decision?: string | null;
|
|
66090
66411
|
duration_ms?: number | null;
|
|
66091
66412
|
error?: string | null;
|
|
66413
|
+
error_class?: string | null;
|
|
66092
66414
|
external_action?: string | null;
|
|
66093
66415
|
external_ref?: string | null;
|
|
66094
66416
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66097,6 +66419,8 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
66097
66419
|
id?: string;
|
|
66098
66420
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66099
66421
|
next_attempt_at?: string | null;
|
|
66422
|
+
next_step?: string | null;
|
|
66423
|
+
node_id?: string | null;
|
|
66100
66424
|
order_ref?: string | null;
|
|
66101
66425
|
order_source?: string | null;
|
|
66102
66426
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79601,12 +79925,59 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79601
79925
|
};
|
|
79602
79926
|
Returns: string;
|
|
79603
79927
|
};
|
|
79928
|
+
logistics_trace_all_orders: {
|
|
79929
|
+
Args: {
|
|
79930
|
+
p_limit?: number;
|
|
79931
|
+
p_search?: string;
|
|
79932
|
+
};
|
|
79933
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79934
|
+
};
|
|
79604
79935
|
logistics_trace_batch: {
|
|
79605
79936
|
Args: {
|
|
79606
79937
|
p: import("../integrations/supabase/types").Json;
|
|
79607
79938
|
};
|
|
79608
79939
|
Returns: number;
|
|
79609
79940
|
};
|
|
79941
|
+
logistics_trace_node: {
|
|
79942
|
+
Args: {
|
|
79943
|
+
p_op?: string;
|
|
79944
|
+
p_status?: string;
|
|
79945
|
+
p_table: string;
|
|
79946
|
+
};
|
|
79947
|
+
Returns: string;
|
|
79948
|
+
};
|
|
79949
|
+
logistics_trace_order_overview: {
|
|
79950
|
+
Args: {
|
|
79951
|
+
p_error_class?: string;
|
|
79952
|
+
p_limit?: number;
|
|
79953
|
+
p_search?: string;
|
|
79954
|
+
p_since?: string;
|
|
79955
|
+
p_source?: string;
|
|
79956
|
+
p_state?: string;
|
|
79957
|
+
p_step?: string;
|
|
79958
|
+
};
|
|
79959
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79960
|
+
};
|
|
79961
|
+
logistics_trace_order_state: {
|
|
79962
|
+
Args: {
|
|
79963
|
+
p_order_ref: string;
|
|
79964
|
+
};
|
|
79965
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79966
|
+
};
|
|
79967
|
+
logistics_trace_order_step: {
|
|
79968
|
+
Args: {
|
|
79969
|
+
p_class?: string;
|
|
79970
|
+
p_decision?: string;
|
|
79971
|
+
p_error?: string;
|
|
79972
|
+
p_next_step?: string;
|
|
79973
|
+
p_node: string;
|
|
79974
|
+
p_order_id: string;
|
|
79975
|
+
p_reason?: string;
|
|
79976
|
+
p_status: string;
|
|
79977
|
+
p_step: string;
|
|
79978
|
+
};
|
|
79979
|
+
Returns: undefined;
|
|
79980
|
+
};
|
|
79610
79981
|
logistics_trace_orders: {
|
|
79611
79982
|
Args: {
|
|
79612
79983
|
p_limit?: number;
|
|
@@ -79629,6 +80000,22 @@ export declare const createCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
79629
80000
|
};
|
|
79630
80001
|
Returns: import("../integrations/supabase/types").Json;
|
|
79631
80002
|
};
|
|
80003
|
+
logistics_trace_version_events: {
|
|
80004
|
+
Args: {
|
|
80005
|
+
p_from?: string;
|
|
80006
|
+
p_limit?: number;
|
|
80007
|
+
p_order_ref: string;
|
|
80008
|
+
p_to?: string;
|
|
80009
|
+
p_version_id: string;
|
|
80010
|
+
};
|
|
80011
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
80012
|
+
};
|
|
80013
|
+
logistics_trace_versions: {
|
|
80014
|
+
Args: {
|
|
80015
|
+
p_order_ref: string;
|
|
80016
|
+
};
|
|
80017
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
80018
|
+
};
|
|
79632
80019
|
logistics_upsert_task: {
|
|
79633
80020
|
Args: {
|
|
79634
80021
|
p_buffer_ref: string;
|
|
@@ -83487,6 +83874,42 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
83487
83874
|
};
|
|
83488
83875
|
Relationships: [];
|
|
83489
83876
|
};
|
|
83877
|
+
customer_assortment_items: {
|
|
83878
|
+
Row: {
|
|
83879
|
+
created_at: string;
|
|
83880
|
+
customer_key: string;
|
|
83881
|
+
id: string;
|
|
83882
|
+
in_assortment: boolean;
|
|
83883
|
+
manual_override: boolean;
|
|
83884
|
+
source: string;
|
|
83885
|
+
synced_at: string | null;
|
|
83886
|
+
trade_item_key: string;
|
|
83887
|
+
updated_at: string;
|
|
83888
|
+
};
|
|
83889
|
+
Insert: {
|
|
83890
|
+
created_at?: string;
|
|
83891
|
+
customer_key: string;
|
|
83892
|
+
id?: string;
|
|
83893
|
+
in_assortment?: boolean;
|
|
83894
|
+
manual_override?: boolean;
|
|
83895
|
+
source?: string;
|
|
83896
|
+
synced_at?: string | null;
|
|
83897
|
+
trade_item_key: string;
|
|
83898
|
+
updated_at?: string;
|
|
83899
|
+
};
|
|
83900
|
+
Update: {
|
|
83901
|
+
created_at?: string;
|
|
83902
|
+
customer_key?: string;
|
|
83903
|
+
id?: string;
|
|
83904
|
+
in_assortment?: boolean;
|
|
83905
|
+
manual_override?: boolean;
|
|
83906
|
+
source?: string;
|
|
83907
|
+
synced_at?: string | null;
|
|
83908
|
+
trade_item_key?: string;
|
|
83909
|
+
updated_at?: string;
|
|
83910
|
+
};
|
|
83911
|
+
Relationships: [];
|
|
83912
|
+
};
|
|
83490
83913
|
customer_audit_log: {
|
|
83491
83914
|
Row: {
|
|
83492
83915
|
action: string;
|
|
@@ -83891,40 +84314,58 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
83891
84314
|
};
|
|
83892
84315
|
customer_product_stickers: {
|
|
83893
84316
|
Row: {
|
|
84317
|
+
content_hash: string | null;
|
|
83894
84318
|
created_at: string;
|
|
83895
84319
|
customer_key: string;
|
|
83896
84320
|
file_name: string;
|
|
83897
84321
|
file_path: string;
|
|
83898
84322
|
file_size: number | null;
|
|
84323
|
+
floriday_sticker_id: string | null;
|
|
84324
|
+
floriday_synced_at: string | null;
|
|
84325
|
+
height_mm: number | null;
|
|
83899
84326
|
id: string;
|
|
83900
84327
|
mime_type: string | null;
|
|
84328
|
+
source: string;
|
|
83901
84329
|
trade_item_key: string;
|
|
83902
84330
|
updated_at: string;
|
|
83903
84331
|
uploaded_by: string | null;
|
|
84332
|
+
width_mm: number | null;
|
|
83904
84333
|
};
|
|
83905
84334
|
Insert: {
|
|
84335
|
+
content_hash?: string | null;
|
|
83906
84336
|
created_at?: string;
|
|
83907
84337
|
customer_key: string;
|
|
83908
84338
|
file_name: string;
|
|
83909
84339
|
file_path: string;
|
|
83910
84340
|
file_size?: number | null;
|
|
84341
|
+
floriday_sticker_id?: string | null;
|
|
84342
|
+
floriday_synced_at?: string | null;
|
|
84343
|
+
height_mm?: number | null;
|
|
83911
84344
|
id?: string;
|
|
83912
84345
|
mime_type?: string | null;
|
|
84346
|
+
source?: string;
|
|
83913
84347
|
trade_item_key: string;
|
|
83914
84348
|
updated_at?: string;
|
|
83915
84349
|
uploaded_by?: string | null;
|
|
84350
|
+
width_mm?: number | null;
|
|
83916
84351
|
};
|
|
83917
84352
|
Update: {
|
|
84353
|
+
content_hash?: string | null;
|
|
83918
84354
|
created_at?: string;
|
|
83919
84355
|
customer_key?: string;
|
|
83920
84356
|
file_name?: string;
|
|
83921
84357
|
file_path?: string;
|
|
83922
84358
|
file_size?: number | null;
|
|
84359
|
+
floriday_sticker_id?: string | null;
|
|
84360
|
+
floriday_synced_at?: string | null;
|
|
84361
|
+
height_mm?: number | null;
|
|
83923
84362
|
id?: string;
|
|
83924
84363
|
mime_type?: string | null;
|
|
84364
|
+
source?: string;
|
|
83925
84365
|
trade_item_key?: string;
|
|
83926
84366
|
updated_at?: string;
|
|
83927
84367
|
uploaded_by?: string | null;
|
|
84368
|
+
width_mm?: number | null;
|
|
83928
84369
|
};
|
|
83929
84370
|
Relationships: [];
|
|
83930
84371
|
};
|
|
@@ -93232,6 +93673,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93232
93673
|
Row: {
|
|
93233
93674
|
actor: string | null;
|
|
93234
93675
|
attempts: number;
|
|
93676
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
93235
93677
|
cart_ref: string | null;
|
|
93236
93678
|
created_at: string;
|
|
93237
93679
|
db_action: string | null;
|
|
@@ -93242,6 +93684,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93242
93684
|
decision: string | null;
|
|
93243
93685
|
duration_ms: number | null;
|
|
93244
93686
|
error: string | null;
|
|
93687
|
+
error_class: string | null;
|
|
93245
93688
|
external_action: string | null;
|
|
93246
93689
|
external_ref: string | null;
|
|
93247
93690
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -93250,6 +93693,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93250
93693
|
id: string;
|
|
93251
93694
|
input: import("../integrations/supabase/types").Json | null;
|
|
93252
93695
|
next_attempt_at: string | null;
|
|
93696
|
+
next_step: string | null;
|
|
93697
|
+
node_id: string | null;
|
|
93253
93698
|
order_ref: string | null;
|
|
93254
93699
|
order_source: string | null;
|
|
93255
93700
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -93266,6 +93711,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93266
93711
|
Insert: {
|
|
93267
93712
|
actor?: string | null;
|
|
93268
93713
|
attempts?: number;
|
|
93714
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93269
93715
|
cart_ref?: string | null;
|
|
93270
93716
|
created_at?: string;
|
|
93271
93717
|
db_action?: string | null;
|
|
@@ -93276,6 +93722,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93276
93722
|
decision?: string | null;
|
|
93277
93723
|
duration_ms?: number | null;
|
|
93278
93724
|
error?: string | null;
|
|
93725
|
+
error_class?: string | null;
|
|
93279
93726
|
external_action?: string | null;
|
|
93280
93727
|
external_ref?: string | null;
|
|
93281
93728
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93284,6 +93731,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93284
93731
|
id?: string;
|
|
93285
93732
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93286
93733
|
next_attempt_at?: string | null;
|
|
93734
|
+
next_step?: string | null;
|
|
93735
|
+
node_id?: string | null;
|
|
93287
93736
|
order_ref?: string | null;
|
|
93288
93737
|
order_source?: string | null;
|
|
93289
93738
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93300,6 +93749,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93300
93749
|
Update: {
|
|
93301
93750
|
actor?: string | null;
|
|
93302
93751
|
attempts?: number;
|
|
93752
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
93303
93753
|
cart_ref?: string | null;
|
|
93304
93754
|
created_at?: string;
|
|
93305
93755
|
db_action?: string | null;
|
|
@@ -93310,6 +93760,7 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93310
93760
|
decision?: string | null;
|
|
93311
93761
|
duration_ms?: number | null;
|
|
93312
93762
|
error?: string | null;
|
|
93763
|
+
error_class?: string | null;
|
|
93313
93764
|
external_action?: string | null;
|
|
93314
93765
|
external_ref?: string | null;
|
|
93315
93766
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -93318,6 +93769,8 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
93318
93769
|
id?: string;
|
|
93319
93770
|
input?: import("../integrations/supabase/types").Json | null;
|
|
93320
93771
|
next_attempt_at?: string | null;
|
|
93772
|
+
next_step?: string | null;
|
|
93773
|
+
node_id?: string | null;
|
|
93321
93774
|
order_ref?: string | null;
|
|
93322
93775
|
order_source?: string | null;
|
|
93323
93776
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -106822,12 +107275,59 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
106822
107275
|
};
|
|
106823
107276
|
Returns: string;
|
|
106824
107277
|
};
|
|
107278
|
+
logistics_trace_all_orders: {
|
|
107279
|
+
Args: {
|
|
107280
|
+
p_limit?: number;
|
|
107281
|
+
p_search?: string;
|
|
107282
|
+
};
|
|
107283
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107284
|
+
};
|
|
106825
107285
|
logistics_trace_batch: {
|
|
106826
107286
|
Args: {
|
|
106827
107287
|
p: import("../integrations/supabase/types").Json;
|
|
106828
107288
|
};
|
|
106829
107289
|
Returns: number;
|
|
106830
107290
|
};
|
|
107291
|
+
logistics_trace_node: {
|
|
107292
|
+
Args: {
|
|
107293
|
+
p_op?: string;
|
|
107294
|
+
p_status?: string;
|
|
107295
|
+
p_table: string;
|
|
107296
|
+
};
|
|
107297
|
+
Returns: string;
|
|
107298
|
+
};
|
|
107299
|
+
logistics_trace_order_overview: {
|
|
107300
|
+
Args: {
|
|
107301
|
+
p_error_class?: string;
|
|
107302
|
+
p_limit?: number;
|
|
107303
|
+
p_search?: string;
|
|
107304
|
+
p_since?: string;
|
|
107305
|
+
p_source?: string;
|
|
107306
|
+
p_state?: string;
|
|
107307
|
+
p_step?: string;
|
|
107308
|
+
};
|
|
107309
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107310
|
+
};
|
|
107311
|
+
logistics_trace_order_state: {
|
|
107312
|
+
Args: {
|
|
107313
|
+
p_order_ref: string;
|
|
107314
|
+
};
|
|
107315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107316
|
+
};
|
|
107317
|
+
logistics_trace_order_step: {
|
|
107318
|
+
Args: {
|
|
107319
|
+
p_class?: string;
|
|
107320
|
+
p_decision?: string;
|
|
107321
|
+
p_error?: string;
|
|
107322
|
+
p_next_step?: string;
|
|
107323
|
+
p_node: string;
|
|
107324
|
+
p_order_id: string;
|
|
107325
|
+
p_reason?: string;
|
|
107326
|
+
p_status: string;
|
|
107327
|
+
p_step: string;
|
|
107328
|
+
};
|
|
107329
|
+
Returns: undefined;
|
|
107330
|
+
};
|
|
106831
107331
|
logistics_trace_orders: {
|
|
106832
107332
|
Args: {
|
|
106833
107333
|
p_limit?: number;
|
|
@@ -106850,6 +107350,22 @@ export declare const updateCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
106850
107350
|
};
|
|
106851
107351
|
Returns: import("../integrations/supabase/types").Json;
|
|
106852
107352
|
};
|
|
107353
|
+
logistics_trace_version_events: {
|
|
107354
|
+
Args: {
|
|
107355
|
+
p_from?: string;
|
|
107356
|
+
p_limit?: number;
|
|
107357
|
+
p_order_ref: string;
|
|
107358
|
+
p_to?: string;
|
|
107359
|
+
p_version_id: string;
|
|
107360
|
+
};
|
|
107361
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107362
|
+
};
|
|
107363
|
+
logistics_trace_versions: {
|
|
107364
|
+
Args: {
|
|
107365
|
+
p_order_ref: string;
|
|
107366
|
+
};
|
|
107367
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
107368
|
+
};
|
|
106853
107369
|
logistics_upsert_task: {
|
|
106854
107370
|
Args: {
|
|
106855
107371
|
p_buffer_ref: string;
|
|
@@ -110711,6 +111227,42 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
110711
111227
|
};
|
|
110712
111228
|
Relationships: [];
|
|
110713
111229
|
};
|
|
111230
|
+
customer_assortment_items: {
|
|
111231
|
+
Row: {
|
|
111232
|
+
created_at: string;
|
|
111233
|
+
customer_key: string;
|
|
111234
|
+
id: string;
|
|
111235
|
+
in_assortment: boolean;
|
|
111236
|
+
manual_override: boolean;
|
|
111237
|
+
source: string;
|
|
111238
|
+
synced_at: string | null;
|
|
111239
|
+
trade_item_key: string;
|
|
111240
|
+
updated_at: string;
|
|
111241
|
+
};
|
|
111242
|
+
Insert: {
|
|
111243
|
+
created_at?: string;
|
|
111244
|
+
customer_key: string;
|
|
111245
|
+
id?: string;
|
|
111246
|
+
in_assortment?: boolean;
|
|
111247
|
+
manual_override?: boolean;
|
|
111248
|
+
source?: string;
|
|
111249
|
+
synced_at?: string | null;
|
|
111250
|
+
trade_item_key: string;
|
|
111251
|
+
updated_at?: string;
|
|
111252
|
+
};
|
|
111253
|
+
Update: {
|
|
111254
|
+
created_at?: string;
|
|
111255
|
+
customer_key?: string;
|
|
111256
|
+
id?: string;
|
|
111257
|
+
in_assortment?: boolean;
|
|
111258
|
+
manual_override?: boolean;
|
|
111259
|
+
source?: string;
|
|
111260
|
+
synced_at?: string | null;
|
|
111261
|
+
trade_item_key?: string;
|
|
111262
|
+
updated_at?: string;
|
|
111263
|
+
};
|
|
111264
|
+
Relationships: [];
|
|
111265
|
+
};
|
|
110714
111266
|
customer_audit_log: {
|
|
110715
111267
|
Row: {
|
|
110716
111268
|
action: string;
|
|
@@ -111115,40 +111667,58 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
111115
111667
|
};
|
|
111116
111668
|
customer_product_stickers: {
|
|
111117
111669
|
Row: {
|
|
111670
|
+
content_hash: string | null;
|
|
111118
111671
|
created_at: string;
|
|
111119
111672
|
customer_key: string;
|
|
111120
111673
|
file_name: string;
|
|
111121
111674
|
file_path: string;
|
|
111122
111675
|
file_size: number | null;
|
|
111676
|
+
floriday_sticker_id: string | null;
|
|
111677
|
+
floriday_synced_at: string | null;
|
|
111678
|
+
height_mm: number | null;
|
|
111123
111679
|
id: string;
|
|
111124
111680
|
mime_type: string | null;
|
|
111681
|
+
source: string;
|
|
111125
111682
|
trade_item_key: string;
|
|
111126
111683
|
updated_at: string;
|
|
111127
111684
|
uploaded_by: string | null;
|
|
111685
|
+
width_mm: number | null;
|
|
111128
111686
|
};
|
|
111129
111687
|
Insert: {
|
|
111688
|
+
content_hash?: string | null;
|
|
111130
111689
|
created_at?: string;
|
|
111131
111690
|
customer_key: string;
|
|
111132
111691
|
file_name: string;
|
|
111133
111692
|
file_path: string;
|
|
111134
111693
|
file_size?: number | null;
|
|
111694
|
+
floriday_sticker_id?: string | null;
|
|
111695
|
+
floriday_synced_at?: string | null;
|
|
111696
|
+
height_mm?: number | null;
|
|
111135
111697
|
id?: string;
|
|
111136
111698
|
mime_type?: string | null;
|
|
111699
|
+
source?: string;
|
|
111137
111700
|
trade_item_key: string;
|
|
111138
111701
|
updated_at?: string;
|
|
111139
111702
|
uploaded_by?: string | null;
|
|
111703
|
+
width_mm?: number | null;
|
|
111140
111704
|
};
|
|
111141
111705
|
Update: {
|
|
111706
|
+
content_hash?: string | null;
|
|
111142
111707
|
created_at?: string;
|
|
111143
111708
|
customer_key?: string;
|
|
111144
111709
|
file_name?: string;
|
|
111145
111710
|
file_path?: string;
|
|
111146
111711
|
file_size?: number | null;
|
|
111712
|
+
floriday_sticker_id?: string | null;
|
|
111713
|
+
floriday_synced_at?: string | null;
|
|
111714
|
+
height_mm?: number | null;
|
|
111147
111715
|
id?: string;
|
|
111148
111716
|
mime_type?: string | null;
|
|
111717
|
+
source?: string;
|
|
111149
111718
|
trade_item_key?: string;
|
|
111150
111719
|
updated_at?: string;
|
|
111151
111720
|
uploaded_by?: string | null;
|
|
111721
|
+
width_mm?: number | null;
|
|
111152
111722
|
};
|
|
111153
111723
|
Relationships: [];
|
|
111154
111724
|
};
|
|
@@ -120456,6 +121026,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120456
121026
|
Row: {
|
|
120457
121027
|
actor: string | null;
|
|
120458
121028
|
attempts: number;
|
|
121029
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
120459
121030
|
cart_ref: string | null;
|
|
120460
121031
|
created_at: string;
|
|
120461
121032
|
db_action: string | null;
|
|
@@ -120466,6 +121037,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120466
121037
|
decision: string | null;
|
|
120467
121038
|
duration_ms: number | null;
|
|
120468
121039
|
error: string | null;
|
|
121040
|
+
error_class: string | null;
|
|
120469
121041
|
external_action: string | null;
|
|
120470
121042
|
external_ref: string | null;
|
|
120471
121043
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -120474,6 +121046,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120474
121046
|
id: string;
|
|
120475
121047
|
input: import("../integrations/supabase/types").Json | null;
|
|
120476
121048
|
next_attempt_at: string | null;
|
|
121049
|
+
next_step: string | null;
|
|
121050
|
+
node_id: string | null;
|
|
120477
121051
|
order_ref: string | null;
|
|
120478
121052
|
order_source: string | null;
|
|
120479
121053
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -120490,6 +121064,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120490
121064
|
Insert: {
|
|
120491
121065
|
actor?: string | null;
|
|
120492
121066
|
attempts?: number;
|
|
121067
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120493
121068
|
cart_ref?: string | null;
|
|
120494
121069
|
created_at?: string;
|
|
120495
121070
|
db_action?: string | null;
|
|
@@ -120500,6 +121075,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120500
121075
|
decision?: string | null;
|
|
120501
121076
|
duration_ms?: number | null;
|
|
120502
121077
|
error?: string | null;
|
|
121078
|
+
error_class?: string | null;
|
|
120503
121079
|
external_action?: string | null;
|
|
120504
121080
|
external_ref?: string | null;
|
|
120505
121081
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120508,6 +121084,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120508
121084
|
id?: string;
|
|
120509
121085
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120510
121086
|
next_attempt_at?: string | null;
|
|
121087
|
+
next_step?: string | null;
|
|
121088
|
+
node_id?: string | null;
|
|
120511
121089
|
order_ref?: string | null;
|
|
120512
121090
|
order_source?: string | null;
|
|
120513
121091
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120524,6 +121102,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120524
121102
|
Update: {
|
|
120525
121103
|
actor?: string | null;
|
|
120526
121104
|
attempts?: number;
|
|
121105
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
120527
121106
|
cart_ref?: string | null;
|
|
120528
121107
|
created_at?: string;
|
|
120529
121108
|
db_action?: string | null;
|
|
@@ -120534,6 +121113,7 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120534
121113
|
decision?: string | null;
|
|
120535
121114
|
duration_ms?: number | null;
|
|
120536
121115
|
error?: string | null;
|
|
121116
|
+
error_class?: string | null;
|
|
120537
121117
|
external_action?: string | null;
|
|
120538
121118
|
external_ref?: string | null;
|
|
120539
121119
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -120542,6 +121122,8 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
120542
121122
|
id?: string;
|
|
120543
121123
|
input?: import("../integrations/supabase/types").Json | null;
|
|
120544
121124
|
next_attempt_at?: string | null;
|
|
121125
|
+
next_step?: string | null;
|
|
121126
|
+
node_id?: string | null;
|
|
120545
121127
|
order_ref?: string | null;
|
|
120546
121128
|
order_source?: string | null;
|
|
120547
121129
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -134046,12 +134628,59 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
134046
134628
|
};
|
|
134047
134629
|
Returns: string;
|
|
134048
134630
|
};
|
|
134631
|
+
logistics_trace_all_orders: {
|
|
134632
|
+
Args: {
|
|
134633
|
+
p_limit?: number;
|
|
134634
|
+
p_search?: string;
|
|
134635
|
+
};
|
|
134636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134637
|
+
};
|
|
134049
134638
|
logistics_trace_batch: {
|
|
134050
134639
|
Args: {
|
|
134051
134640
|
p: import("../integrations/supabase/types").Json;
|
|
134052
134641
|
};
|
|
134053
134642
|
Returns: number;
|
|
134054
134643
|
};
|
|
134644
|
+
logistics_trace_node: {
|
|
134645
|
+
Args: {
|
|
134646
|
+
p_op?: string;
|
|
134647
|
+
p_status?: string;
|
|
134648
|
+
p_table: string;
|
|
134649
|
+
};
|
|
134650
|
+
Returns: string;
|
|
134651
|
+
};
|
|
134652
|
+
logistics_trace_order_overview: {
|
|
134653
|
+
Args: {
|
|
134654
|
+
p_error_class?: string;
|
|
134655
|
+
p_limit?: number;
|
|
134656
|
+
p_search?: string;
|
|
134657
|
+
p_since?: string;
|
|
134658
|
+
p_source?: string;
|
|
134659
|
+
p_state?: string;
|
|
134660
|
+
p_step?: string;
|
|
134661
|
+
};
|
|
134662
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134663
|
+
};
|
|
134664
|
+
logistics_trace_order_state: {
|
|
134665
|
+
Args: {
|
|
134666
|
+
p_order_ref: string;
|
|
134667
|
+
};
|
|
134668
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134669
|
+
};
|
|
134670
|
+
logistics_trace_order_step: {
|
|
134671
|
+
Args: {
|
|
134672
|
+
p_class?: string;
|
|
134673
|
+
p_decision?: string;
|
|
134674
|
+
p_error?: string;
|
|
134675
|
+
p_next_step?: string;
|
|
134676
|
+
p_node: string;
|
|
134677
|
+
p_order_id: string;
|
|
134678
|
+
p_reason?: string;
|
|
134679
|
+
p_status: string;
|
|
134680
|
+
p_step: string;
|
|
134681
|
+
};
|
|
134682
|
+
Returns: undefined;
|
|
134683
|
+
};
|
|
134055
134684
|
logistics_trace_orders: {
|
|
134056
134685
|
Args: {
|
|
134057
134686
|
p_limit?: number;
|
|
@@ -134074,6 +134703,22 @@ export declare const deleteCustomerPriceGroup: import("@tanstack/start-client-co
|
|
|
134074
134703
|
};
|
|
134075
134704
|
Returns: import("../integrations/supabase/types").Json;
|
|
134076
134705
|
};
|
|
134706
|
+
logistics_trace_version_events: {
|
|
134707
|
+
Args: {
|
|
134708
|
+
p_from?: string;
|
|
134709
|
+
p_limit?: number;
|
|
134710
|
+
p_order_ref: string;
|
|
134711
|
+
p_to?: string;
|
|
134712
|
+
p_version_id: string;
|
|
134713
|
+
};
|
|
134714
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134715
|
+
};
|
|
134716
|
+
logistics_trace_versions: {
|
|
134717
|
+
Args: {
|
|
134718
|
+
p_order_ref: string;
|
|
134719
|
+
};
|
|
134720
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134721
|
+
};
|
|
134077
134722
|
logistics_upsert_task: {
|
|
134078
134723
|
Args: {
|
|
134079
134724
|
p_buffer_ref: string;
|
|
@@ -137896,6 +138541,42 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
137896
138541
|
};
|
|
137897
138542
|
Relationships: [];
|
|
137898
138543
|
};
|
|
138544
|
+
customer_assortment_items: {
|
|
138545
|
+
Row: {
|
|
138546
|
+
created_at: string;
|
|
138547
|
+
customer_key: string;
|
|
138548
|
+
id: string;
|
|
138549
|
+
in_assortment: boolean;
|
|
138550
|
+
manual_override: boolean;
|
|
138551
|
+
source: string;
|
|
138552
|
+
synced_at: string | null;
|
|
138553
|
+
trade_item_key: string;
|
|
138554
|
+
updated_at: string;
|
|
138555
|
+
};
|
|
138556
|
+
Insert: {
|
|
138557
|
+
created_at?: string;
|
|
138558
|
+
customer_key: string;
|
|
138559
|
+
id?: string;
|
|
138560
|
+
in_assortment?: boolean;
|
|
138561
|
+
manual_override?: boolean;
|
|
138562
|
+
source?: string;
|
|
138563
|
+
synced_at?: string | null;
|
|
138564
|
+
trade_item_key: string;
|
|
138565
|
+
updated_at?: string;
|
|
138566
|
+
};
|
|
138567
|
+
Update: {
|
|
138568
|
+
created_at?: string;
|
|
138569
|
+
customer_key?: string;
|
|
138570
|
+
id?: string;
|
|
138571
|
+
in_assortment?: boolean;
|
|
138572
|
+
manual_override?: boolean;
|
|
138573
|
+
source?: string;
|
|
138574
|
+
synced_at?: string | null;
|
|
138575
|
+
trade_item_key?: string;
|
|
138576
|
+
updated_at?: string;
|
|
138577
|
+
};
|
|
138578
|
+
Relationships: [];
|
|
138579
|
+
};
|
|
137899
138580
|
customer_audit_log: {
|
|
137900
138581
|
Row: {
|
|
137901
138582
|
action: string;
|
|
@@ -138300,40 +138981,58 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
138300
138981
|
};
|
|
138301
138982
|
customer_product_stickers: {
|
|
138302
138983
|
Row: {
|
|
138984
|
+
content_hash: string | null;
|
|
138303
138985
|
created_at: string;
|
|
138304
138986
|
customer_key: string;
|
|
138305
138987
|
file_name: string;
|
|
138306
138988
|
file_path: string;
|
|
138307
138989
|
file_size: number | null;
|
|
138990
|
+
floriday_sticker_id: string | null;
|
|
138991
|
+
floriday_synced_at: string | null;
|
|
138992
|
+
height_mm: number | null;
|
|
138308
138993
|
id: string;
|
|
138309
138994
|
mime_type: string | null;
|
|
138995
|
+
source: string;
|
|
138310
138996
|
trade_item_key: string;
|
|
138311
138997
|
updated_at: string;
|
|
138312
138998
|
uploaded_by: string | null;
|
|
138999
|
+
width_mm: number | null;
|
|
138313
139000
|
};
|
|
138314
139001
|
Insert: {
|
|
139002
|
+
content_hash?: string | null;
|
|
138315
139003
|
created_at?: string;
|
|
138316
139004
|
customer_key: string;
|
|
138317
139005
|
file_name: string;
|
|
138318
139006
|
file_path: string;
|
|
138319
139007
|
file_size?: number | null;
|
|
139008
|
+
floriday_sticker_id?: string | null;
|
|
139009
|
+
floriday_synced_at?: string | null;
|
|
139010
|
+
height_mm?: number | null;
|
|
138320
139011
|
id?: string;
|
|
138321
139012
|
mime_type?: string | null;
|
|
139013
|
+
source?: string;
|
|
138322
139014
|
trade_item_key: string;
|
|
138323
139015
|
updated_at?: string;
|
|
138324
139016
|
uploaded_by?: string | null;
|
|
139017
|
+
width_mm?: number | null;
|
|
138325
139018
|
};
|
|
138326
139019
|
Update: {
|
|
139020
|
+
content_hash?: string | null;
|
|
138327
139021
|
created_at?: string;
|
|
138328
139022
|
customer_key?: string;
|
|
138329
139023
|
file_name?: string;
|
|
138330
139024
|
file_path?: string;
|
|
138331
139025
|
file_size?: number | null;
|
|
139026
|
+
floriday_sticker_id?: string | null;
|
|
139027
|
+
floriday_synced_at?: string | null;
|
|
139028
|
+
height_mm?: number | null;
|
|
138332
139029
|
id?: string;
|
|
138333
139030
|
mime_type?: string | null;
|
|
139031
|
+
source?: string;
|
|
138334
139032
|
trade_item_key?: string;
|
|
138335
139033
|
updated_at?: string;
|
|
138336
139034
|
uploaded_by?: string | null;
|
|
139035
|
+
width_mm?: number | null;
|
|
138337
139036
|
};
|
|
138338
139037
|
Relationships: [];
|
|
138339
139038
|
};
|
|
@@ -147641,6 +148340,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147641
148340
|
Row: {
|
|
147642
148341
|
actor: string | null;
|
|
147643
148342
|
attempts: number;
|
|
148343
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
147644
148344
|
cart_ref: string | null;
|
|
147645
148345
|
created_at: string;
|
|
147646
148346
|
db_action: string | null;
|
|
@@ -147651,6 +148351,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147651
148351
|
decision: string | null;
|
|
147652
148352
|
duration_ms: number | null;
|
|
147653
148353
|
error: string | null;
|
|
148354
|
+
error_class: string | null;
|
|
147654
148355
|
external_action: string | null;
|
|
147655
148356
|
external_ref: string | null;
|
|
147656
148357
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -147659,6 +148360,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147659
148360
|
id: string;
|
|
147660
148361
|
input: import("../integrations/supabase/types").Json | null;
|
|
147661
148362
|
next_attempt_at: string | null;
|
|
148363
|
+
next_step: string | null;
|
|
148364
|
+
node_id: string | null;
|
|
147662
148365
|
order_ref: string | null;
|
|
147663
148366
|
order_source: string | null;
|
|
147664
148367
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -147675,6 +148378,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147675
148378
|
Insert: {
|
|
147676
148379
|
actor?: string | null;
|
|
147677
148380
|
attempts?: number;
|
|
148381
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
147678
148382
|
cart_ref?: string | null;
|
|
147679
148383
|
created_at?: string;
|
|
147680
148384
|
db_action?: string | null;
|
|
@@ -147685,6 +148389,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147685
148389
|
decision?: string | null;
|
|
147686
148390
|
duration_ms?: number | null;
|
|
147687
148391
|
error?: string | null;
|
|
148392
|
+
error_class?: string | null;
|
|
147688
148393
|
external_action?: string | null;
|
|
147689
148394
|
external_ref?: string | null;
|
|
147690
148395
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147693,6 +148398,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147693
148398
|
id?: string;
|
|
147694
148399
|
input?: import("../integrations/supabase/types").Json | null;
|
|
147695
148400
|
next_attempt_at?: string | null;
|
|
148401
|
+
next_step?: string | null;
|
|
148402
|
+
node_id?: string | null;
|
|
147696
148403
|
order_ref?: string | null;
|
|
147697
148404
|
order_source?: string | null;
|
|
147698
148405
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147709,6 +148416,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147709
148416
|
Update: {
|
|
147710
148417
|
actor?: string | null;
|
|
147711
148418
|
attempts?: number;
|
|
148419
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
147712
148420
|
cart_ref?: string | null;
|
|
147713
148421
|
created_at?: string;
|
|
147714
148422
|
db_action?: string | null;
|
|
@@ -147719,6 +148427,7 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147719
148427
|
decision?: string | null;
|
|
147720
148428
|
duration_ms?: number | null;
|
|
147721
148429
|
error?: string | null;
|
|
148430
|
+
error_class?: string | null;
|
|
147722
148431
|
external_action?: string | null;
|
|
147723
148432
|
external_ref?: string | null;
|
|
147724
148433
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -147727,6 +148436,8 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
147727
148436
|
id?: string;
|
|
147728
148437
|
input?: import("../integrations/supabase/types").Json | null;
|
|
147729
148438
|
next_attempt_at?: string | null;
|
|
148439
|
+
next_step?: string | null;
|
|
148440
|
+
node_id?: string | null;
|
|
147730
148441
|
order_ref?: string | null;
|
|
147731
148442
|
order_source?: string | null;
|
|
147732
148443
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -161231,12 +161942,59 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
161231
161942
|
};
|
|
161232
161943
|
Returns: string;
|
|
161233
161944
|
};
|
|
161945
|
+
logistics_trace_all_orders: {
|
|
161946
|
+
Args: {
|
|
161947
|
+
p_limit?: number;
|
|
161948
|
+
p_search?: string;
|
|
161949
|
+
};
|
|
161950
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161951
|
+
};
|
|
161234
161952
|
logistics_trace_batch: {
|
|
161235
161953
|
Args: {
|
|
161236
161954
|
p: import("../integrations/supabase/types").Json;
|
|
161237
161955
|
};
|
|
161238
161956
|
Returns: number;
|
|
161239
161957
|
};
|
|
161958
|
+
logistics_trace_node: {
|
|
161959
|
+
Args: {
|
|
161960
|
+
p_op?: string;
|
|
161961
|
+
p_status?: string;
|
|
161962
|
+
p_table: string;
|
|
161963
|
+
};
|
|
161964
|
+
Returns: string;
|
|
161965
|
+
};
|
|
161966
|
+
logistics_trace_order_overview: {
|
|
161967
|
+
Args: {
|
|
161968
|
+
p_error_class?: string;
|
|
161969
|
+
p_limit?: number;
|
|
161970
|
+
p_search?: string;
|
|
161971
|
+
p_since?: string;
|
|
161972
|
+
p_source?: string;
|
|
161973
|
+
p_state?: string;
|
|
161974
|
+
p_step?: string;
|
|
161975
|
+
};
|
|
161976
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161977
|
+
};
|
|
161978
|
+
logistics_trace_order_state: {
|
|
161979
|
+
Args: {
|
|
161980
|
+
p_order_ref: string;
|
|
161981
|
+
};
|
|
161982
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161983
|
+
};
|
|
161984
|
+
logistics_trace_order_step: {
|
|
161985
|
+
Args: {
|
|
161986
|
+
p_class?: string;
|
|
161987
|
+
p_decision?: string;
|
|
161988
|
+
p_error?: string;
|
|
161989
|
+
p_next_step?: string;
|
|
161990
|
+
p_node: string;
|
|
161991
|
+
p_order_id: string;
|
|
161992
|
+
p_reason?: string;
|
|
161993
|
+
p_status: string;
|
|
161994
|
+
p_step: string;
|
|
161995
|
+
};
|
|
161996
|
+
Returns: undefined;
|
|
161997
|
+
};
|
|
161240
161998
|
logistics_trace_orders: {
|
|
161241
161999
|
Args: {
|
|
161242
162000
|
p_limit?: number;
|
|
@@ -161259,6 +162017,22 @@ export declare const reorderCustomerPriceGroups: import("@tanstack/start-client-
|
|
|
161259
162017
|
};
|
|
161260
162018
|
Returns: import("../integrations/supabase/types").Json;
|
|
161261
162019
|
};
|
|
162020
|
+
logistics_trace_version_events: {
|
|
162021
|
+
Args: {
|
|
162022
|
+
p_from?: string;
|
|
162023
|
+
p_limit?: number;
|
|
162024
|
+
p_order_ref: string;
|
|
162025
|
+
p_to?: string;
|
|
162026
|
+
p_version_id: string;
|
|
162027
|
+
};
|
|
162028
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162029
|
+
};
|
|
162030
|
+
logistics_trace_versions: {
|
|
162031
|
+
Args: {
|
|
162032
|
+
p_order_ref: string;
|
|
162033
|
+
};
|
|
162034
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
162035
|
+
};
|
|
161262
162036
|
logistics_upsert_task: {
|
|
161263
162037
|
Args: {
|
|
161264
162038
|
p_buffer_ref: string;
|
|
@@ -165081,6 +165855,42 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
165081
165855
|
};
|
|
165082
165856
|
Relationships: [];
|
|
165083
165857
|
};
|
|
165858
|
+
customer_assortment_items: {
|
|
165859
|
+
Row: {
|
|
165860
|
+
created_at: string;
|
|
165861
|
+
customer_key: string;
|
|
165862
|
+
id: string;
|
|
165863
|
+
in_assortment: boolean;
|
|
165864
|
+
manual_override: boolean;
|
|
165865
|
+
source: string;
|
|
165866
|
+
synced_at: string | null;
|
|
165867
|
+
trade_item_key: string;
|
|
165868
|
+
updated_at: string;
|
|
165869
|
+
};
|
|
165870
|
+
Insert: {
|
|
165871
|
+
created_at?: string;
|
|
165872
|
+
customer_key: string;
|
|
165873
|
+
id?: string;
|
|
165874
|
+
in_assortment?: boolean;
|
|
165875
|
+
manual_override?: boolean;
|
|
165876
|
+
source?: string;
|
|
165877
|
+
synced_at?: string | null;
|
|
165878
|
+
trade_item_key: string;
|
|
165879
|
+
updated_at?: string;
|
|
165880
|
+
};
|
|
165881
|
+
Update: {
|
|
165882
|
+
created_at?: string;
|
|
165883
|
+
customer_key?: string;
|
|
165884
|
+
id?: string;
|
|
165885
|
+
in_assortment?: boolean;
|
|
165886
|
+
manual_override?: boolean;
|
|
165887
|
+
source?: string;
|
|
165888
|
+
synced_at?: string | null;
|
|
165889
|
+
trade_item_key?: string;
|
|
165890
|
+
updated_at?: string;
|
|
165891
|
+
};
|
|
165892
|
+
Relationships: [];
|
|
165893
|
+
};
|
|
165084
165894
|
customer_audit_log: {
|
|
165085
165895
|
Row: {
|
|
165086
165896
|
action: string;
|
|
@@ -165485,40 +166295,58 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
165485
166295
|
};
|
|
165486
166296
|
customer_product_stickers: {
|
|
165487
166297
|
Row: {
|
|
166298
|
+
content_hash: string | null;
|
|
165488
166299
|
created_at: string;
|
|
165489
166300
|
customer_key: string;
|
|
165490
166301
|
file_name: string;
|
|
165491
166302
|
file_path: string;
|
|
165492
166303
|
file_size: number | null;
|
|
166304
|
+
floriday_sticker_id: string | null;
|
|
166305
|
+
floriday_synced_at: string | null;
|
|
166306
|
+
height_mm: number | null;
|
|
165493
166307
|
id: string;
|
|
165494
166308
|
mime_type: string | null;
|
|
166309
|
+
source: string;
|
|
165495
166310
|
trade_item_key: string;
|
|
165496
166311
|
updated_at: string;
|
|
165497
166312
|
uploaded_by: string | null;
|
|
166313
|
+
width_mm: number | null;
|
|
165498
166314
|
};
|
|
165499
166315
|
Insert: {
|
|
166316
|
+
content_hash?: string | null;
|
|
165500
166317
|
created_at?: string;
|
|
165501
166318
|
customer_key: string;
|
|
165502
166319
|
file_name: string;
|
|
165503
166320
|
file_path: string;
|
|
165504
166321
|
file_size?: number | null;
|
|
166322
|
+
floriday_sticker_id?: string | null;
|
|
166323
|
+
floriday_synced_at?: string | null;
|
|
166324
|
+
height_mm?: number | null;
|
|
165505
166325
|
id?: string;
|
|
165506
166326
|
mime_type?: string | null;
|
|
166327
|
+
source?: string;
|
|
165507
166328
|
trade_item_key: string;
|
|
165508
166329
|
updated_at?: string;
|
|
165509
166330
|
uploaded_by?: string | null;
|
|
166331
|
+
width_mm?: number | null;
|
|
165510
166332
|
};
|
|
165511
166333
|
Update: {
|
|
166334
|
+
content_hash?: string | null;
|
|
165512
166335
|
created_at?: string;
|
|
165513
166336
|
customer_key?: string;
|
|
165514
166337
|
file_name?: string;
|
|
165515
166338
|
file_path?: string;
|
|
165516
166339
|
file_size?: number | null;
|
|
166340
|
+
floriday_sticker_id?: string | null;
|
|
166341
|
+
floriday_synced_at?: string | null;
|
|
166342
|
+
height_mm?: number | null;
|
|
165517
166343
|
id?: string;
|
|
165518
166344
|
mime_type?: string | null;
|
|
166345
|
+
source?: string;
|
|
165519
166346
|
trade_item_key?: string;
|
|
165520
166347
|
updated_at?: string;
|
|
165521
166348
|
uploaded_by?: string | null;
|
|
166349
|
+
width_mm?: number | null;
|
|
165522
166350
|
};
|
|
165523
166351
|
Relationships: [];
|
|
165524
166352
|
};
|
|
@@ -174826,6 +175654,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174826
175654
|
Row: {
|
|
174827
175655
|
actor: string | null;
|
|
174828
175656
|
attempts: number;
|
|
175657
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
174829
175658
|
cart_ref: string | null;
|
|
174830
175659
|
created_at: string;
|
|
174831
175660
|
db_action: string | null;
|
|
@@ -174836,6 +175665,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174836
175665
|
decision: string | null;
|
|
174837
175666
|
duration_ms: number | null;
|
|
174838
175667
|
error: string | null;
|
|
175668
|
+
error_class: string | null;
|
|
174839
175669
|
external_action: string | null;
|
|
174840
175670
|
external_ref: string | null;
|
|
174841
175671
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -174844,6 +175674,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174844
175674
|
id: string;
|
|
174845
175675
|
input: import("../integrations/supabase/types").Json | null;
|
|
174846
175676
|
next_attempt_at: string | null;
|
|
175677
|
+
next_step: string | null;
|
|
175678
|
+
node_id: string | null;
|
|
174847
175679
|
order_ref: string | null;
|
|
174848
175680
|
order_source: string | null;
|
|
174849
175681
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -174860,6 +175692,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174860
175692
|
Insert: {
|
|
174861
175693
|
actor?: string | null;
|
|
174862
175694
|
attempts?: number;
|
|
175695
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
174863
175696
|
cart_ref?: string | null;
|
|
174864
175697
|
created_at?: string;
|
|
174865
175698
|
db_action?: string | null;
|
|
@@ -174870,6 +175703,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174870
175703
|
decision?: string | null;
|
|
174871
175704
|
duration_ms?: number | null;
|
|
174872
175705
|
error?: string | null;
|
|
175706
|
+
error_class?: string | null;
|
|
174873
175707
|
external_action?: string | null;
|
|
174874
175708
|
external_ref?: string | null;
|
|
174875
175709
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174878,6 +175712,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174878
175712
|
id?: string;
|
|
174879
175713
|
input?: import("../integrations/supabase/types").Json | null;
|
|
174880
175714
|
next_attempt_at?: string | null;
|
|
175715
|
+
next_step?: string | null;
|
|
175716
|
+
node_id?: string | null;
|
|
174881
175717
|
order_ref?: string | null;
|
|
174882
175718
|
order_source?: string | null;
|
|
174883
175719
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174894,6 +175730,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174894
175730
|
Update: {
|
|
174895
175731
|
actor?: string | null;
|
|
174896
175732
|
attempts?: number;
|
|
175733
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
174897
175734
|
cart_ref?: string | null;
|
|
174898
175735
|
created_at?: string;
|
|
174899
175736
|
db_action?: string | null;
|
|
@@ -174904,6 +175741,7 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174904
175741
|
decision?: string | null;
|
|
174905
175742
|
duration_ms?: number | null;
|
|
174906
175743
|
error?: string | null;
|
|
175744
|
+
error_class?: string | null;
|
|
174907
175745
|
external_action?: string | null;
|
|
174908
175746
|
external_ref?: string | null;
|
|
174909
175747
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -174912,6 +175750,8 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
174912
175750
|
id?: string;
|
|
174913
175751
|
input?: import("../integrations/supabase/types").Json | null;
|
|
174914
175752
|
next_attempt_at?: string | null;
|
|
175753
|
+
next_step?: string | null;
|
|
175754
|
+
node_id?: string | null;
|
|
174915
175755
|
order_ref?: string | null;
|
|
174916
175756
|
order_source?: string | null;
|
|
174917
175757
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -188416,12 +189256,59 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
188416
189256
|
};
|
|
188417
189257
|
Returns: string;
|
|
188418
189258
|
};
|
|
189259
|
+
logistics_trace_all_orders: {
|
|
189260
|
+
Args: {
|
|
189261
|
+
p_limit?: number;
|
|
189262
|
+
p_search?: string;
|
|
189263
|
+
};
|
|
189264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189265
|
+
};
|
|
188419
189266
|
logistics_trace_batch: {
|
|
188420
189267
|
Args: {
|
|
188421
189268
|
p: import("../integrations/supabase/types").Json;
|
|
188422
189269
|
};
|
|
188423
189270
|
Returns: number;
|
|
188424
189271
|
};
|
|
189272
|
+
logistics_trace_node: {
|
|
189273
|
+
Args: {
|
|
189274
|
+
p_op?: string;
|
|
189275
|
+
p_status?: string;
|
|
189276
|
+
p_table: string;
|
|
189277
|
+
};
|
|
189278
|
+
Returns: string;
|
|
189279
|
+
};
|
|
189280
|
+
logistics_trace_order_overview: {
|
|
189281
|
+
Args: {
|
|
189282
|
+
p_error_class?: string;
|
|
189283
|
+
p_limit?: number;
|
|
189284
|
+
p_search?: string;
|
|
189285
|
+
p_since?: string;
|
|
189286
|
+
p_source?: string;
|
|
189287
|
+
p_state?: string;
|
|
189288
|
+
p_step?: string;
|
|
189289
|
+
};
|
|
189290
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189291
|
+
};
|
|
189292
|
+
logistics_trace_order_state: {
|
|
189293
|
+
Args: {
|
|
189294
|
+
p_order_ref: string;
|
|
189295
|
+
};
|
|
189296
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189297
|
+
};
|
|
189298
|
+
logistics_trace_order_step: {
|
|
189299
|
+
Args: {
|
|
189300
|
+
p_class?: string;
|
|
189301
|
+
p_decision?: string;
|
|
189302
|
+
p_error?: string;
|
|
189303
|
+
p_next_step?: string;
|
|
189304
|
+
p_node: string;
|
|
189305
|
+
p_order_id: string;
|
|
189306
|
+
p_reason?: string;
|
|
189307
|
+
p_status: string;
|
|
189308
|
+
p_step: string;
|
|
189309
|
+
};
|
|
189310
|
+
Returns: undefined;
|
|
189311
|
+
};
|
|
188425
189312
|
logistics_trace_orders: {
|
|
188426
189313
|
Args: {
|
|
188427
189314
|
p_limit?: number;
|
|
@@ -188444,6 +189331,22 @@ export declare const setPriceGroupMembers: import("@tanstack/start-client-core")
|
|
|
188444
189331
|
};
|
|
188445
189332
|
Returns: import("../integrations/supabase/types").Json;
|
|
188446
189333
|
};
|
|
189334
|
+
logistics_trace_version_events: {
|
|
189335
|
+
Args: {
|
|
189336
|
+
p_from?: string;
|
|
189337
|
+
p_limit?: number;
|
|
189338
|
+
p_order_ref: string;
|
|
189339
|
+
p_to?: string;
|
|
189340
|
+
p_version_id: string;
|
|
189341
|
+
};
|
|
189342
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189343
|
+
};
|
|
189344
|
+
logistics_trace_versions: {
|
|
189345
|
+
Args: {
|
|
189346
|
+
p_order_ref: string;
|
|
189347
|
+
};
|
|
189348
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
189349
|
+
};
|
|
188447
189350
|
logistics_upsert_task: {
|
|
188448
189351
|
Args: {
|
|
188449
189352
|
p_buffer_ref: string;
|
|
@@ -192268,6 +193171,42 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
192268
193171
|
};
|
|
192269
193172
|
Relationships: [];
|
|
192270
193173
|
};
|
|
193174
|
+
customer_assortment_items: {
|
|
193175
|
+
Row: {
|
|
193176
|
+
created_at: string;
|
|
193177
|
+
customer_key: string;
|
|
193178
|
+
id: string;
|
|
193179
|
+
in_assortment: boolean;
|
|
193180
|
+
manual_override: boolean;
|
|
193181
|
+
source: string;
|
|
193182
|
+
synced_at: string | null;
|
|
193183
|
+
trade_item_key: string;
|
|
193184
|
+
updated_at: string;
|
|
193185
|
+
};
|
|
193186
|
+
Insert: {
|
|
193187
|
+
created_at?: string;
|
|
193188
|
+
customer_key: string;
|
|
193189
|
+
id?: string;
|
|
193190
|
+
in_assortment?: boolean;
|
|
193191
|
+
manual_override?: boolean;
|
|
193192
|
+
source?: string;
|
|
193193
|
+
synced_at?: string | null;
|
|
193194
|
+
trade_item_key: string;
|
|
193195
|
+
updated_at?: string;
|
|
193196
|
+
};
|
|
193197
|
+
Update: {
|
|
193198
|
+
created_at?: string;
|
|
193199
|
+
customer_key?: string;
|
|
193200
|
+
id?: string;
|
|
193201
|
+
in_assortment?: boolean;
|
|
193202
|
+
manual_override?: boolean;
|
|
193203
|
+
source?: string;
|
|
193204
|
+
synced_at?: string | null;
|
|
193205
|
+
trade_item_key?: string;
|
|
193206
|
+
updated_at?: string;
|
|
193207
|
+
};
|
|
193208
|
+
Relationships: [];
|
|
193209
|
+
};
|
|
192271
193210
|
customer_audit_log: {
|
|
192272
193211
|
Row: {
|
|
192273
193212
|
action: string;
|
|
@@ -192672,40 +193611,58 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
192672
193611
|
};
|
|
192673
193612
|
customer_product_stickers: {
|
|
192674
193613
|
Row: {
|
|
193614
|
+
content_hash: string | null;
|
|
192675
193615
|
created_at: string;
|
|
192676
193616
|
customer_key: string;
|
|
192677
193617
|
file_name: string;
|
|
192678
193618
|
file_path: string;
|
|
192679
193619
|
file_size: number | null;
|
|
193620
|
+
floriday_sticker_id: string | null;
|
|
193621
|
+
floriday_synced_at: string | null;
|
|
193622
|
+
height_mm: number | null;
|
|
192680
193623
|
id: string;
|
|
192681
193624
|
mime_type: string | null;
|
|
193625
|
+
source: string;
|
|
192682
193626
|
trade_item_key: string;
|
|
192683
193627
|
updated_at: string;
|
|
192684
193628
|
uploaded_by: string | null;
|
|
193629
|
+
width_mm: number | null;
|
|
192685
193630
|
};
|
|
192686
193631
|
Insert: {
|
|
193632
|
+
content_hash?: string | null;
|
|
192687
193633
|
created_at?: string;
|
|
192688
193634
|
customer_key: string;
|
|
192689
193635
|
file_name: string;
|
|
192690
193636
|
file_path: string;
|
|
192691
193637
|
file_size?: number | null;
|
|
193638
|
+
floriday_sticker_id?: string | null;
|
|
193639
|
+
floriday_synced_at?: string | null;
|
|
193640
|
+
height_mm?: number | null;
|
|
192692
193641
|
id?: string;
|
|
192693
193642
|
mime_type?: string | null;
|
|
193643
|
+
source?: string;
|
|
192694
193644
|
trade_item_key: string;
|
|
192695
193645
|
updated_at?: string;
|
|
192696
193646
|
uploaded_by?: string | null;
|
|
193647
|
+
width_mm?: number | null;
|
|
192697
193648
|
};
|
|
192698
193649
|
Update: {
|
|
193650
|
+
content_hash?: string | null;
|
|
192699
193651
|
created_at?: string;
|
|
192700
193652
|
customer_key?: string;
|
|
192701
193653
|
file_name?: string;
|
|
192702
193654
|
file_path?: string;
|
|
192703
193655
|
file_size?: number | null;
|
|
193656
|
+
floriday_sticker_id?: string | null;
|
|
193657
|
+
floriday_synced_at?: string | null;
|
|
193658
|
+
height_mm?: number | null;
|
|
192704
193659
|
id?: string;
|
|
192705
193660
|
mime_type?: string | null;
|
|
193661
|
+
source?: string;
|
|
192706
193662
|
trade_item_key?: string;
|
|
192707
193663
|
updated_at?: string;
|
|
192708
193664
|
uploaded_by?: string | null;
|
|
193665
|
+
width_mm?: number | null;
|
|
192709
193666
|
};
|
|
192710
193667
|
Relationships: [];
|
|
192711
193668
|
};
|
|
@@ -202013,6 +202970,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202013
202970
|
Row: {
|
|
202014
202971
|
actor: string | null;
|
|
202015
202972
|
attempts: number;
|
|
202973
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
202016
202974
|
cart_ref: string | null;
|
|
202017
202975
|
created_at: string;
|
|
202018
202976
|
db_action: string | null;
|
|
@@ -202023,6 +202981,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202023
202981
|
decision: string | null;
|
|
202024
202982
|
duration_ms: number | null;
|
|
202025
202983
|
error: string | null;
|
|
202984
|
+
error_class: string | null;
|
|
202026
202985
|
external_action: string | null;
|
|
202027
202986
|
external_ref: string | null;
|
|
202028
202987
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -202031,6 +202990,8 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202031
202990
|
id: string;
|
|
202032
202991
|
input: import("../integrations/supabase/types").Json | null;
|
|
202033
202992
|
next_attempt_at: string | null;
|
|
202993
|
+
next_step: string | null;
|
|
202994
|
+
node_id: string | null;
|
|
202034
202995
|
order_ref: string | null;
|
|
202035
202996
|
order_source: string | null;
|
|
202036
202997
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -202047,6 +203008,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202047
203008
|
Insert: {
|
|
202048
203009
|
actor?: string | null;
|
|
202049
203010
|
attempts?: number;
|
|
203011
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
202050
203012
|
cart_ref?: string | null;
|
|
202051
203013
|
created_at?: string;
|
|
202052
203014
|
db_action?: string | null;
|
|
@@ -202057,6 +203019,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202057
203019
|
decision?: string | null;
|
|
202058
203020
|
duration_ms?: number | null;
|
|
202059
203021
|
error?: string | null;
|
|
203022
|
+
error_class?: string | null;
|
|
202060
203023
|
external_action?: string | null;
|
|
202061
203024
|
external_ref?: string | null;
|
|
202062
203025
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202065,6 +203028,8 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202065
203028
|
id?: string;
|
|
202066
203029
|
input?: import("../integrations/supabase/types").Json | null;
|
|
202067
203030
|
next_attempt_at?: string | null;
|
|
203031
|
+
next_step?: string | null;
|
|
203032
|
+
node_id?: string | null;
|
|
202068
203033
|
order_ref?: string | null;
|
|
202069
203034
|
order_source?: string | null;
|
|
202070
203035
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202081,6 +203046,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202081
203046
|
Update: {
|
|
202082
203047
|
actor?: string | null;
|
|
202083
203048
|
attempts?: number;
|
|
203049
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
202084
203050
|
cart_ref?: string | null;
|
|
202085
203051
|
created_at?: string;
|
|
202086
203052
|
db_action?: string | null;
|
|
@@ -202091,6 +203057,7 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202091
203057
|
decision?: string | null;
|
|
202092
203058
|
duration_ms?: number | null;
|
|
202093
203059
|
error?: string | null;
|
|
203060
|
+
error_class?: string | null;
|
|
202094
203061
|
external_action?: string | null;
|
|
202095
203062
|
external_ref?: string | null;
|
|
202096
203063
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -202099,6 +203066,8 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
202099
203066
|
id?: string;
|
|
202100
203067
|
input?: import("../integrations/supabase/types").Json | null;
|
|
202101
203068
|
next_attempt_at?: string | null;
|
|
203069
|
+
next_step?: string | null;
|
|
203070
|
+
node_id?: string | null;
|
|
202102
203071
|
order_ref?: string | null;
|
|
202103
203072
|
order_source?: string | null;
|
|
202104
203073
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -215603,12 +216572,59 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
215603
216572
|
};
|
|
215604
216573
|
Returns: string;
|
|
215605
216574
|
};
|
|
216575
|
+
logistics_trace_all_orders: {
|
|
216576
|
+
Args: {
|
|
216577
|
+
p_limit?: number;
|
|
216578
|
+
p_search?: string;
|
|
216579
|
+
};
|
|
216580
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216581
|
+
};
|
|
215606
216582
|
logistics_trace_batch: {
|
|
215607
216583
|
Args: {
|
|
215608
216584
|
p: import("../integrations/supabase/types").Json;
|
|
215609
216585
|
};
|
|
215610
216586
|
Returns: number;
|
|
215611
216587
|
};
|
|
216588
|
+
logistics_trace_node: {
|
|
216589
|
+
Args: {
|
|
216590
|
+
p_op?: string;
|
|
216591
|
+
p_status?: string;
|
|
216592
|
+
p_table: string;
|
|
216593
|
+
};
|
|
216594
|
+
Returns: string;
|
|
216595
|
+
};
|
|
216596
|
+
logistics_trace_order_overview: {
|
|
216597
|
+
Args: {
|
|
216598
|
+
p_error_class?: string;
|
|
216599
|
+
p_limit?: number;
|
|
216600
|
+
p_search?: string;
|
|
216601
|
+
p_since?: string;
|
|
216602
|
+
p_source?: string;
|
|
216603
|
+
p_state?: string;
|
|
216604
|
+
p_step?: string;
|
|
216605
|
+
};
|
|
216606
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216607
|
+
};
|
|
216608
|
+
logistics_trace_order_state: {
|
|
216609
|
+
Args: {
|
|
216610
|
+
p_order_ref: string;
|
|
216611
|
+
};
|
|
216612
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216613
|
+
};
|
|
216614
|
+
logistics_trace_order_step: {
|
|
216615
|
+
Args: {
|
|
216616
|
+
p_class?: string;
|
|
216617
|
+
p_decision?: string;
|
|
216618
|
+
p_error?: string;
|
|
216619
|
+
p_next_step?: string;
|
|
216620
|
+
p_node: string;
|
|
216621
|
+
p_order_id: string;
|
|
216622
|
+
p_reason?: string;
|
|
216623
|
+
p_status: string;
|
|
216624
|
+
p_step: string;
|
|
216625
|
+
};
|
|
216626
|
+
Returns: undefined;
|
|
216627
|
+
};
|
|
215612
216628
|
logistics_trace_orders: {
|
|
215613
216629
|
Args: {
|
|
215614
216630
|
p_limit?: number;
|
|
@@ -215631,6 +216647,22 @@ export declare const getPriceGroupsForCustomer: import("@tanstack/start-client-c
|
|
|
215631
216647
|
};
|
|
215632
216648
|
Returns: import("../integrations/supabase/types").Json;
|
|
215633
216649
|
};
|
|
216650
|
+
logistics_trace_version_events: {
|
|
216651
|
+
Args: {
|
|
216652
|
+
p_from?: string;
|
|
216653
|
+
p_limit?: number;
|
|
216654
|
+
p_order_ref: string;
|
|
216655
|
+
p_to?: string;
|
|
216656
|
+
p_version_id: string;
|
|
216657
|
+
};
|
|
216658
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216659
|
+
};
|
|
216660
|
+
logistics_trace_versions: {
|
|
216661
|
+
Args: {
|
|
216662
|
+
p_order_ref: string;
|
|
216663
|
+
};
|
|
216664
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
216665
|
+
};
|
|
215634
216666
|
logistics_upsert_task: {
|
|
215635
216667
|
Args: {
|
|
215636
216668
|
p_buffer_ref: string;
|
|
@@ -219458,6 +220490,42 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
219458
220490
|
};
|
|
219459
220491
|
Relationships: [];
|
|
219460
220492
|
};
|
|
220493
|
+
customer_assortment_items: {
|
|
220494
|
+
Row: {
|
|
220495
|
+
created_at: string;
|
|
220496
|
+
customer_key: string;
|
|
220497
|
+
id: string;
|
|
220498
|
+
in_assortment: boolean;
|
|
220499
|
+
manual_override: boolean;
|
|
220500
|
+
source: string;
|
|
220501
|
+
synced_at: string | null;
|
|
220502
|
+
trade_item_key: string;
|
|
220503
|
+
updated_at: string;
|
|
220504
|
+
};
|
|
220505
|
+
Insert: {
|
|
220506
|
+
created_at?: string;
|
|
220507
|
+
customer_key: string;
|
|
220508
|
+
id?: string;
|
|
220509
|
+
in_assortment?: boolean;
|
|
220510
|
+
manual_override?: boolean;
|
|
220511
|
+
source?: string;
|
|
220512
|
+
synced_at?: string | null;
|
|
220513
|
+
trade_item_key: string;
|
|
220514
|
+
updated_at?: string;
|
|
220515
|
+
};
|
|
220516
|
+
Update: {
|
|
220517
|
+
created_at?: string;
|
|
220518
|
+
customer_key?: string;
|
|
220519
|
+
id?: string;
|
|
220520
|
+
in_assortment?: boolean;
|
|
220521
|
+
manual_override?: boolean;
|
|
220522
|
+
source?: string;
|
|
220523
|
+
synced_at?: string | null;
|
|
220524
|
+
trade_item_key?: string;
|
|
220525
|
+
updated_at?: string;
|
|
220526
|
+
};
|
|
220527
|
+
Relationships: [];
|
|
220528
|
+
};
|
|
219461
220529
|
customer_audit_log: {
|
|
219462
220530
|
Row: {
|
|
219463
220531
|
action: string;
|
|
@@ -219862,40 +220930,58 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
219862
220930
|
};
|
|
219863
220931
|
customer_product_stickers: {
|
|
219864
220932
|
Row: {
|
|
220933
|
+
content_hash: string | null;
|
|
219865
220934
|
created_at: string;
|
|
219866
220935
|
customer_key: string;
|
|
219867
220936
|
file_name: string;
|
|
219868
220937
|
file_path: string;
|
|
219869
220938
|
file_size: number | null;
|
|
220939
|
+
floriday_sticker_id: string | null;
|
|
220940
|
+
floriday_synced_at: string | null;
|
|
220941
|
+
height_mm: number | null;
|
|
219870
220942
|
id: string;
|
|
219871
220943
|
mime_type: string | null;
|
|
220944
|
+
source: string;
|
|
219872
220945
|
trade_item_key: string;
|
|
219873
220946
|
updated_at: string;
|
|
219874
220947
|
uploaded_by: string | null;
|
|
220948
|
+
width_mm: number | null;
|
|
219875
220949
|
};
|
|
219876
220950
|
Insert: {
|
|
220951
|
+
content_hash?: string | null;
|
|
219877
220952
|
created_at?: string;
|
|
219878
220953
|
customer_key: string;
|
|
219879
220954
|
file_name: string;
|
|
219880
220955
|
file_path: string;
|
|
219881
220956
|
file_size?: number | null;
|
|
220957
|
+
floriday_sticker_id?: string | null;
|
|
220958
|
+
floriday_synced_at?: string | null;
|
|
220959
|
+
height_mm?: number | null;
|
|
219882
220960
|
id?: string;
|
|
219883
220961
|
mime_type?: string | null;
|
|
220962
|
+
source?: string;
|
|
219884
220963
|
trade_item_key: string;
|
|
219885
220964
|
updated_at?: string;
|
|
219886
220965
|
uploaded_by?: string | null;
|
|
220966
|
+
width_mm?: number | null;
|
|
219887
220967
|
};
|
|
219888
220968
|
Update: {
|
|
220969
|
+
content_hash?: string | null;
|
|
219889
220970
|
created_at?: string;
|
|
219890
220971
|
customer_key?: string;
|
|
219891
220972
|
file_name?: string;
|
|
219892
220973
|
file_path?: string;
|
|
219893
220974
|
file_size?: number | null;
|
|
220975
|
+
floriday_sticker_id?: string | null;
|
|
220976
|
+
floriday_synced_at?: string | null;
|
|
220977
|
+
height_mm?: number | null;
|
|
219894
220978
|
id?: string;
|
|
219895
220979
|
mime_type?: string | null;
|
|
220980
|
+
source?: string;
|
|
219896
220981
|
trade_item_key?: string;
|
|
219897
220982
|
updated_at?: string;
|
|
219898
220983
|
uploaded_by?: string | null;
|
|
220984
|
+
width_mm?: number | null;
|
|
219899
220985
|
};
|
|
219900
220986
|
Relationships: [];
|
|
219901
220987
|
};
|
|
@@ -229203,6 +230289,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229203
230289
|
Row: {
|
|
229204
230290
|
actor: string | null;
|
|
229205
230291
|
attempts: number;
|
|
230292
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
229206
230293
|
cart_ref: string | null;
|
|
229207
230294
|
created_at: string;
|
|
229208
230295
|
db_action: string | null;
|
|
@@ -229213,6 +230300,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229213
230300
|
decision: string | null;
|
|
229214
230301
|
duration_ms: number | null;
|
|
229215
230302
|
error: string | null;
|
|
230303
|
+
error_class: string | null;
|
|
229216
230304
|
external_action: string | null;
|
|
229217
230305
|
external_ref: string | null;
|
|
229218
230306
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -229221,6 +230309,8 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229221
230309
|
id: string;
|
|
229222
230310
|
input: import("../integrations/supabase/types").Json | null;
|
|
229223
230311
|
next_attempt_at: string | null;
|
|
230312
|
+
next_step: string | null;
|
|
230313
|
+
node_id: string | null;
|
|
229224
230314
|
order_ref: string | null;
|
|
229225
230315
|
order_source: string | null;
|
|
229226
230316
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -229237,6 +230327,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229237
230327
|
Insert: {
|
|
229238
230328
|
actor?: string | null;
|
|
229239
230329
|
attempts?: number;
|
|
230330
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
229240
230331
|
cart_ref?: string | null;
|
|
229241
230332
|
created_at?: string;
|
|
229242
230333
|
db_action?: string | null;
|
|
@@ -229247,6 +230338,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229247
230338
|
decision?: string | null;
|
|
229248
230339
|
duration_ms?: number | null;
|
|
229249
230340
|
error?: string | null;
|
|
230341
|
+
error_class?: string | null;
|
|
229250
230342
|
external_action?: string | null;
|
|
229251
230343
|
external_ref?: string | null;
|
|
229252
230344
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229255,6 +230347,8 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229255
230347
|
id?: string;
|
|
229256
230348
|
input?: import("../integrations/supabase/types").Json | null;
|
|
229257
230349
|
next_attempt_at?: string | null;
|
|
230350
|
+
next_step?: string | null;
|
|
230351
|
+
node_id?: string | null;
|
|
229258
230352
|
order_ref?: string | null;
|
|
229259
230353
|
order_source?: string | null;
|
|
229260
230354
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229271,6 +230365,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229271
230365
|
Update: {
|
|
229272
230366
|
actor?: string | null;
|
|
229273
230367
|
attempts?: number;
|
|
230368
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
229274
230369
|
cart_ref?: string | null;
|
|
229275
230370
|
created_at?: string;
|
|
229276
230371
|
db_action?: string | null;
|
|
@@ -229281,6 +230376,7 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229281
230376
|
decision?: string | null;
|
|
229282
230377
|
duration_ms?: number | null;
|
|
229283
230378
|
error?: string | null;
|
|
230379
|
+
error_class?: string | null;
|
|
229284
230380
|
external_action?: string | null;
|
|
229285
230381
|
external_ref?: string | null;
|
|
229286
230382
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -229289,6 +230385,8 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
229289
230385
|
id?: string;
|
|
229290
230386
|
input?: import("../integrations/supabase/types").Json | null;
|
|
229291
230387
|
next_attempt_at?: string | null;
|
|
230388
|
+
next_step?: string | null;
|
|
230389
|
+
node_id?: string | null;
|
|
229292
230390
|
order_ref?: string | null;
|
|
229293
230391
|
order_source?: string | null;
|
|
229294
230392
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -242793,12 +243891,59 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
242793
243891
|
};
|
|
242794
243892
|
Returns: string;
|
|
242795
243893
|
};
|
|
243894
|
+
logistics_trace_all_orders: {
|
|
243895
|
+
Args: {
|
|
243896
|
+
p_limit?: number;
|
|
243897
|
+
p_search?: string;
|
|
243898
|
+
};
|
|
243899
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
243900
|
+
};
|
|
242796
243901
|
logistics_trace_batch: {
|
|
242797
243902
|
Args: {
|
|
242798
243903
|
p: import("../integrations/supabase/types").Json;
|
|
242799
243904
|
};
|
|
242800
243905
|
Returns: number;
|
|
242801
243906
|
};
|
|
243907
|
+
logistics_trace_node: {
|
|
243908
|
+
Args: {
|
|
243909
|
+
p_op?: string;
|
|
243910
|
+
p_status?: string;
|
|
243911
|
+
p_table: string;
|
|
243912
|
+
};
|
|
243913
|
+
Returns: string;
|
|
243914
|
+
};
|
|
243915
|
+
logistics_trace_order_overview: {
|
|
243916
|
+
Args: {
|
|
243917
|
+
p_error_class?: string;
|
|
243918
|
+
p_limit?: number;
|
|
243919
|
+
p_search?: string;
|
|
243920
|
+
p_since?: string;
|
|
243921
|
+
p_source?: string;
|
|
243922
|
+
p_state?: string;
|
|
243923
|
+
p_step?: string;
|
|
243924
|
+
};
|
|
243925
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
243926
|
+
};
|
|
243927
|
+
logistics_trace_order_state: {
|
|
243928
|
+
Args: {
|
|
243929
|
+
p_order_ref: string;
|
|
243930
|
+
};
|
|
243931
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
243932
|
+
};
|
|
243933
|
+
logistics_trace_order_step: {
|
|
243934
|
+
Args: {
|
|
243935
|
+
p_class?: string;
|
|
243936
|
+
p_decision?: string;
|
|
243937
|
+
p_error?: string;
|
|
243938
|
+
p_next_step?: string;
|
|
243939
|
+
p_node: string;
|
|
243940
|
+
p_order_id: string;
|
|
243941
|
+
p_reason?: string;
|
|
243942
|
+
p_status: string;
|
|
243943
|
+
p_step: string;
|
|
243944
|
+
};
|
|
243945
|
+
Returns: undefined;
|
|
243946
|
+
};
|
|
242802
243947
|
logistics_trace_orders: {
|
|
242803
243948
|
Args: {
|
|
242804
243949
|
p_limit?: number;
|
|
@@ -242821,6 +243966,22 @@ export declare const resolveCustomerKeyForLocalCustomer: import("@tanstack/start
|
|
|
242821
243966
|
};
|
|
242822
243967
|
Returns: import("../integrations/supabase/types").Json;
|
|
242823
243968
|
};
|
|
243969
|
+
logistics_trace_version_events: {
|
|
243970
|
+
Args: {
|
|
243971
|
+
p_from?: string;
|
|
243972
|
+
p_limit?: number;
|
|
243973
|
+
p_order_ref: string;
|
|
243974
|
+
p_to?: string;
|
|
243975
|
+
p_version_id: string;
|
|
243976
|
+
};
|
|
243977
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
243978
|
+
};
|
|
243979
|
+
logistics_trace_versions: {
|
|
243980
|
+
Args: {
|
|
243981
|
+
p_order_ref: string;
|
|
243982
|
+
};
|
|
243983
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
243984
|
+
};
|
|
242824
243985
|
logistics_upsert_task: {
|
|
242825
243986
|
Args: {
|
|
242826
243987
|
p_buffer_ref: string;
|
|
@@ -246643,6 +247804,42 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
246643
247804
|
};
|
|
246644
247805
|
Relationships: [];
|
|
246645
247806
|
};
|
|
247807
|
+
customer_assortment_items: {
|
|
247808
|
+
Row: {
|
|
247809
|
+
created_at: string;
|
|
247810
|
+
customer_key: string;
|
|
247811
|
+
id: string;
|
|
247812
|
+
in_assortment: boolean;
|
|
247813
|
+
manual_override: boolean;
|
|
247814
|
+
source: string;
|
|
247815
|
+
synced_at: string | null;
|
|
247816
|
+
trade_item_key: string;
|
|
247817
|
+
updated_at: string;
|
|
247818
|
+
};
|
|
247819
|
+
Insert: {
|
|
247820
|
+
created_at?: string;
|
|
247821
|
+
customer_key: string;
|
|
247822
|
+
id?: string;
|
|
247823
|
+
in_assortment?: boolean;
|
|
247824
|
+
manual_override?: boolean;
|
|
247825
|
+
source?: string;
|
|
247826
|
+
synced_at?: string | null;
|
|
247827
|
+
trade_item_key: string;
|
|
247828
|
+
updated_at?: string;
|
|
247829
|
+
};
|
|
247830
|
+
Update: {
|
|
247831
|
+
created_at?: string;
|
|
247832
|
+
customer_key?: string;
|
|
247833
|
+
id?: string;
|
|
247834
|
+
in_assortment?: boolean;
|
|
247835
|
+
manual_override?: boolean;
|
|
247836
|
+
source?: string;
|
|
247837
|
+
synced_at?: string | null;
|
|
247838
|
+
trade_item_key?: string;
|
|
247839
|
+
updated_at?: string;
|
|
247840
|
+
};
|
|
247841
|
+
Relationships: [];
|
|
247842
|
+
};
|
|
246646
247843
|
customer_audit_log: {
|
|
246647
247844
|
Row: {
|
|
246648
247845
|
action: string;
|
|
@@ -247047,40 +248244,58 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
247047
248244
|
};
|
|
247048
248245
|
customer_product_stickers: {
|
|
247049
248246
|
Row: {
|
|
248247
|
+
content_hash: string | null;
|
|
247050
248248
|
created_at: string;
|
|
247051
248249
|
customer_key: string;
|
|
247052
248250
|
file_name: string;
|
|
247053
248251
|
file_path: string;
|
|
247054
248252
|
file_size: number | null;
|
|
248253
|
+
floriday_sticker_id: string | null;
|
|
248254
|
+
floriday_synced_at: string | null;
|
|
248255
|
+
height_mm: number | null;
|
|
247055
248256
|
id: string;
|
|
247056
248257
|
mime_type: string | null;
|
|
248258
|
+
source: string;
|
|
247057
248259
|
trade_item_key: string;
|
|
247058
248260
|
updated_at: string;
|
|
247059
248261
|
uploaded_by: string | null;
|
|
248262
|
+
width_mm: number | null;
|
|
247060
248263
|
};
|
|
247061
248264
|
Insert: {
|
|
248265
|
+
content_hash?: string | null;
|
|
247062
248266
|
created_at?: string;
|
|
247063
248267
|
customer_key: string;
|
|
247064
248268
|
file_name: string;
|
|
247065
248269
|
file_path: string;
|
|
247066
248270
|
file_size?: number | null;
|
|
248271
|
+
floriday_sticker_id?: string | null;
|
|
248272
|
+
floriday_synced_at?: string | null;
|
|
248273
|
+
height_mm?: number | null;
|
|
247067
248274
|
id?: string;
|
|
247068
248275
|
mime_type?: string | null;
|
|
248276
|
+
source?: string;
|
|
247069
248277
|
trade_item_key: string;
|
|
247070
248278
|
updated_at?: string;
|
|
247071
248279
|
uploaded_by?: string | null;
|
|
248280
|
+
width_mm?: number | null;
|
|
247072
248281
|
};
|
|
247073
248282
|
Update: {
|
|
248283
|
+
content_hash?: string | null;
|
|
247074
248284
|
created_at?: string;
|
|
247075
248285
|
customer_key?: string;
|
|
247076
248286
|
file_name?: string;
|
|
247077
248287
|
file_path?: string;
|
|
247078
248288
|
file_size?: number | null;
|
|
248289
|
+
floriday_sticker_id?: string | null;
|
|
248290
|
+
floriday_synced_at?: string | null;
|
|
248291
|
+
height_mm?: number | null;
|
|
247079
248292
|
id?: string;
|
|
247080
248293
|
mime_type?: string | null;
|
|
248294
|
+
source?: string;
|
|
247081
248295
|
trade_item_key?: string;
|
|
247082
248296
|
updated_at?: string;
|
|
247083
248297
|
uploaded_by?: string | null;
|
|
248298
|
+
width_mm?: number | null;
|
|
247084
248299
|
};
|
|
247085
248300
|
Relationships: [];
|
|
247086
248301
|
};
|
|
@@ -256388,6 +257603,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256388
257603
|
Row: {
|
|
256389
257604
|
actor: string | null;
|
|
256390
257605
|
attempts: number;
|
|
257606
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
256391
257607
|
cart_ref: string | null;
|
|
256392
257608
|
created_at: string;
|
|
256393
257609
|
db_action: string | null;
|
|
@@ -256398,6 +257614,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256398
257614
|
decision: string | null;
|
|
256399
257615
|
duration_ms: number | null;
|
|
256400
257616
|
error: string | null;
|
|
257617
|
+
error_class: string | null;
|
|
256401
257618
|
external_action: string | null;
|
|
256402
257619
|
external_ref: string | null;
|
|
256403
257620
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -256406,6 +257623,8 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256406
257623
|
id: string;
|
|
256407
257624
|
input: import("../integrations/supabase/types").Json | null;
|
|
256408
257625
|
next_attempt_at: string | null;
|
|
257626
|
+
next_step: string | null;
|
|
257627
|
+
node_id: string | null;
|
|
256409
257628
|
order_ref: string | null;
|
|
256410
257629
|
order_source: string | null;
|
|
256411
257630
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -256422,6 +257641,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256422
257641
|
Insert: {
|
|
256423
257642
|
actor?: string | null;
|
|
256424
257643
|
attempts?: number;
|
|
257644
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
256425
257645
|
cart_ref?: string | null;
|
|
256426
257646
|
created_at?: string;
|
|
256427
257647
|
db_action?: string | null;
|
|
@@ -256432,6 +257652,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256432
257652
|
decision?: string | null;
|
|
256433
257653
|
duration_ms?: number | null;
|
|
256434
257654
|
error?: string | null;
|
|
257655
|
+
error_class?: string | null;
|
|
256435
257656
|
external_action?: string | null;
|
|
256436
257657
|
external_ref?: string | null;
|
|
256437
257658
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -256440,6 +257661,8 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256440
257661
|
id?: string;
|
|
256441
257662
|
input?: import("../integrations/supabase/types").Json | null;
|
|
256442
257663
|
next_attempt_at?: string | null;
|
|
257664
|
+
next_step?: string | null;
|
|
257665
|
+
node_id?: string | null;
|
|
256443
257666
|
order_ref?: string | null;
|
|
256444
257667
|
order_source?: string | null;
|
|
256445
257668
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -256456,6 +257679,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256456
257679
|
Update: {
|
|
256457
257680
|
actor?: string | null;
|
|
256458
257681
|
attempts?: number;
|
|
257682
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
256459
257683
|
cart_ref?: string | null;
|
|
256460
257684
|
created_at?: string;
|
|
256461
257685
|
db_action?: string | null;
|
|
@@ -256466,6 +257690,7 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256466
257690
|
decision?: string | null;
|
|
256467
257691
|
duration_ms?: number | null;
|
|
256468
257692
|
error?: string | null;
|
|
257693
|
+
error_class?: string | null;
|
|
256469
257694
|
external_action?: string | null;
|
|
256470
257695
|
external_ref?: string | null;
|
|
256471
257696
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -256474,6 +257699,8 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
256474
257699
|
id?: string;
|
|
256475
257700
|
input?: import("../integrations/supabase/types").Json | null;
|
|
256476
257701
|
next_attempt_at?: string | null;
|
|
257702
|
+
next_step?: string | null;
|
|
257703
|
+
node_id?: string | null;
|
|
256477
257704
|
order_ref?: string | null;
|
|
256478
257705
|
order_source?: string | null;
|
|
256479
257706
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -269978,12 +271205,59 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
269978
271205
|
};
|
|
269979
271206
|
Returns: string;
|
|
269980
271207
|
};
|
|
271208
|
+
logistics_trace_all_orders: {
|
|
271209
|
+
Args: {
|
|
271210
|
+
p_limit?: number;
|
|
271211
|
+
p_search?: string;
|
|
271212
|
+
};
|
|
271213
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
271214
|
+
};
|
|
269981
271215
|
logistics_trace_batch: {
|
|
269982
271216
|
Args: {
|
|
269983
271217
|
p: import("../integrations/supabase/types").Json;
|
|
269984
271218
|
};
|
|
269985
271219
|
Returns: number;
|
|
269986
271220
|
};
|
|
271221
|
+
logistics_trace_node: {
|
|
271222
|
+
Args: {
|
|
271223
|
+
p_op?: string;
|
|
271224
|
+
p_status?: string;
|
|
271225
|
+
p_table: string;
|
|
271226
|
+
};
|
|
271227
|
+
Returns: string;
|
|
271228
|
+
};
|
|
271229
|
+
logistics_trace_order_overview: {
|
|
271230
|
+
Args: {
|
|
271231
|
+
p_error_class?: string;
|
|
271232
|
+
p_limit?: number;
|
|
271233
|
+
p_search?: string;
|
|
271234
|
+
p_since?: string;
|
|
271235
|
+
p_source?: string;
|
|
271236
|
+
p_state?: string;
|
|
271237
|
+
p_step?: string;
|
|
271238
|
+
};
|
|
271239
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
271240
|
+
};
|
|
271241
|
+
logistics_trace_order_state: {
|
|
271242
|
+
Args: {
|
|
271243
|
+
p_order_ref: string;
|
|
271244
|
+
};
|
|
271245
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
271246
|
+
};
|
|
271247
|
+
logistics_trace_order_step: {
|
|
271248
|
+
Args: {
|
|
271249
|
+
p_class?: string;
|
|
271250
|
+
p_decision?: string;
|
|
271251
|
+
p_error?: string;
|
|
271252
|
+
p_next_step?: string;
|
|
271253
|
+
p_node: string;
|
|
271254
|
+
p_order_id: string;
|
|
271255
|
+
p_reason?: string;
|
|
271256
|
+
p_status: string;
|
|
271257
|
+
p_step: string;
|
|
271258
|
+
};
|
|
271259
|
+
Returns: undefined;
|
|
271260
|
+
};
|
|
269987
271261
|
logistics_trace_orders: {
|
|
269988
271262
|
Args: {
|
|
269989
271263
|
p_limit?: number;
|
|
@@ -270006,6 +271280,22 @@ export declare const setPriceGroupForCustomer: import("@tanstack/start-client-co
|
|
|
270006
271280
|
};
|
|
270007
271281
|
Returns: import("../integrations/supabase/types").Json;
|
|
270008
271282
|
};
|
|
271283
|
+
logistics_trace_version_events: {
|
|
271284
|
+
Args: {
|
|
271285
|
+
p_from?: string;
|
|
271286
|
+
p_limit?: number;
|
|
271287
|
+
p_order_ref: string;
|
|
271288
|
+
p_to?: string;
|
|
271289
|
+
p_version_id: string;
|
|
271290
|
+
};
|
|
271291
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
271292
|
+
};
|
|
271293
|
+
logistics_trace_versions: {
|
|
271294
|
+
Args: {
|
|
271295
|
+
p_order_ref: string;
|
|
271296
|
+
};
|
|
271297
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
271298
|
+
};
|
|
270009
271299
|
logistics_upsert_task: {
|
|
270010
271300
|
Args: {
|
|
270011
271301
|
p_buffer_ref: string;
|
|
@@ -273844,6 +275134,42 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
273844
275134
|
};
|
|
273845
275135
|
Relationships: [];
|
|
273846
275136
|
};
|
|
275137
|
+
customer_assortment_items: {
|
|
275138
|
+
Row: {
|
|
275139
|
+
created_at: string;
|
|
275140
|
+
customer_key: string;
|
|
275141
|
+
id: string;
|
|
275142
|
+
in_assortment: boolean;
|
|
275143
|
+
manual_override: boolean;
|
|
275144
|
+
source: string;
|
|
275145
|
+
synced_at: string | null;
|
|
275146
|
+
trade_item_key: string;
|
|
275147
|
+
updated_at: string;
|
|
275148
|
+
};
|
|
275149
|
+
Insert: {
|
|
275150
|
+
created_at?: string;
|
|
275151
|
+
customer_key: string;
|
|
275152
|
+
id?: string;
|
|
275153
|
+
in_assortment?: boolean;
|
|
275154
|
+
manual_override?: boolean;
|
|
275155
|
+
source?: string;
|
|
275156
|
+
synced_at?: string | null;
|
|
275157
|
+
trade_item_key: string;
|
|
275158
|
+
updated_at?: string;
|
|
275159
|
+
};
|
|
275160
|
+
Update: {
|
|
275161
|
+
created_at?: string;
|
|
275162
|
+
customer_key?: string;
|
|
275163
|
+
id?: string;
|
|
275164
|
+
in_assortment?: boolean;
|
|
275165
|
+
manual_override?: boolean;
|
|
275166
|
+
source?: string;
|
|
275167
|
+
synced_at?: string | null;
|
|
275168
|
+
trade_item_key?: string;
|
|
275169
|
+
updated_at?: string;
|
|
275170
|
+
};
|
|
275171
|
+
Relationships: [];
|
|
275172
|
+
};
|
|
273847
275173
|
customer_audit_log: {
|
|
273848
275174
|
Row: {
|
|
273849
275175
|
action: string;
|
|
@@ -274248,40 +275574,58 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
274248
275574
|
};
|
|
274249
275575
|
customer_product_stickers: {
|
|
274250
275576
|
Row: {
|
|
275577
|
+
content_hash: string | null;
|
|
274251
275578
|
created_at: string;
|
|
274252
275579
|
customer_key: string;
|
|
274253
275580
|
file_name: string;
|
|
274254
275581
|
file_path: string;
|
|
274255
275582
|
file_size: number | null;
|
|
275583
|
+
floriday_sticker_id: string | null;
|
|
275584
|
+
floriday_synced_at: string | null;
|
|
275585
|
+
height_mm: number | null;
|
|
274256
275586
|
id: string;
|
|
274257
275587
|
mime_type: string | null;
|
|
275588
|
+
source: string;
|
|
274258
275589
|
trade_item_key: string;
|
|
274259
275590
|
updated_at: string;
|
|
274260
275591
|
uploaded_by: string | null;
|
|
275592
|
+
width_mm: number | null;
|
|
274261
275593
|
};
|
|
274262
275594
|
Insert: {
|
|
275595
|
+
content_hash?: string | null;
|
|
274263
275596
|
created_at?: string;
|
|
274264
275597
|
customer_key: string;
|
|
274265
275598
|
file_name: string;
|
|
274266
275599
|
file_path: string;
|
|
274267
275600
|
file_size?: number | null;
|
|
275601
|
+
floriday_sticker_id?: string | null;
|
|
275602
|
+
floriday_synced_at?: string | null;
|
|
275603
|
+
height_mm?: number | null;
|
|
274268
275604
|
id?: string;
|
|
274269
275605
|
mime_type?: string | null;
|
|
275606
|
+
source?: string;
|
|
274270
275607
|
trade_item_key: string;
|
|
274271
275608
|
updated_at?: string;
|
|
274272
275609
|
uploaded_by?: string | null;
|
|
275610
|
+
width_mm?: number | null;
|
|
274273
275611
|
};
|
|
274274
275612
|
Update: {
|
|
275613
|
+
content_hash?: string | null;
|
|
274275
275614
|
created_at?: string;
|
|
274276
275615
|
customer_key?: string;
|
|
274277
275616
|
file_name?: string;
|
|
274278
275617
|
file_path?: string;
|
|
274279
275618
|
file_size?: number | null;
|
|
275619
|
+
floriday_sticker_id?: string | null;
|
|
275620
|
+
floriday_synced_at?: string | null;
|
|
275621
|
+
height_mm?: number | null;
|
|
274280
275622
|
id?: string;
|
|
274281
275623
|
mime_type?: string | null;
|
|
275624
|
+
source?: string;
|
|
274282
275625
|
trade_item_key?: string;
|
|
274283
275626
|
updated_at?: string;
|
|
274284
275627
|
uploaded_by?: string | null;
|
|
275628
|
+
width_mm?: number | null;
|
|
274285
275629
|
};
|
|
274286
275630
|
Relationships: [];
|
|
274287
275631
|
};
|
|
@@ -283589,6 +284933,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283589
284933
|
Row: {
|
|
283590
284934
|
actor: string | null;
|
|
283591
284935
|
attempts: number;
|
|
284936
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
283592
284937
|
cart_ref: string | null;
|
|
283593
284938
|
created_at: string;
|
|
283594
284939
|
db_action: string | null;
|
|
@@ -283599,6 +284944,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283599
284944
|
decision: string | null;
|
|
283600
284945
|
duration_ms: number | null;
|
|
283601
284946
|
error: string | null;
|
|
284947
|
+
error_class: string | null;
|
|
283602
284948
|
external_action: string | null;
|
|
283603
284949
|
external_ref: string | null;
|
|
283604
284950
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -283607,6 +284953,8 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283607
284953
|
id: string;
|
|
283608
284954
|
input: import("../integrations/supabase/types").Json | null;
|
|
283609
284955
|
next_attempt_at: string | null;
|
|
284956
|
+
next_step: string | null;
|
|
284957
|
+
node_id: string | null;
|
|
283610
284958
|
order_ref: string | null;
|
|
283611
284959
|
order_source: string | null;
|
|
283612
284960
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -283623,6 +284971,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283623
284971
|
Insert: {
|
|
283624
284972
|
actor?: string | null;
|
|
283625
284973
|
attempts?: number;
|
|
284974
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
283626
284975
|
cart_ref?: string | null;
|
|
283627
284976
|
created_at?: string;
|
|
283628
284977
|
db_action?: string | null;
|
|
@@ -283633,6 +284982,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283633
284982
|
decision?: string | null;
|
|
283634
284983
|
duration_ms?: number | null;
|
|
283635
284984
|
error?: string | null;
|
|
284985
|
+
error_class?: string | null;
|
|
283636
284986
|
external_action?: string | null;
|
|
283637
284987
|
external_ref?: string | null;
|
|
283638
284988
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -283641,6 +284991,8 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283641
284991
|
id?: string;
|
|
283642
284992
|
input?: import("../integrations/supabase/types").Json | null;
|
|
283643
284993
|
next_attempt_at?: string | null;
|
|
284994
|
+
next_step?: string | null;
|
|
284995
|
+
node_id?: string | null;
|
|
283644
284996
|
order_ref?: string | null;
|
|
283645
284997
|
order_source?: string | null;
|
|
283646
284998
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -283657,6 +285009,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283657
285009
|
Update: {
|
|
283658
285010
|
actor?: string | null;
|
|
283659
285011
|
attempts?: number;
|
|
285012
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
283660
285013
|
cart_ref?: string | null;
|
|
283661
285014
|
created_at?: string;
|
|
283662
285015
|
db_action?: string | null;
|
|
@@ -283667,6 +285020,7 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283667
285020
|
decision?: string | null;
|
|
283668
285021
|
duration_ms?: number | null;
|
|
283669
285022
|
error?: string | null;
|
|
285023
|
+
error_class?: string | null;
|
|
283670
285024
|
external_action?: string | null;
|
|
283671
285025
|
external_ref?: string | null;
|
|
283672
285026
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -283675,6 +285029,8 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
283675
285029
|
id?: string;
|
|
283676
285030
|
input?: import("../integrations/supabase/types").Json | null;
|
|
283677
285031
|
next_attempt_at?: string | null;
|
|
285032
|
+
next_step?: string | null;
|
|
285033
|
+
node_id?: string | null;
|
|
283678
285034
|
order_ref?: string | null;
|
|
283679
285035
|
order_source?: string | null;
|
|
283680
285036
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -297179,12 +298535,59 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
297179
298535
|
};
|
|
297180
298536
|
Returns: string;
|
|
297181
298537
|
};
|
|
298538
|
+
logistics_trace_all_orders: {
|
|
298539
|
+
Args: {
|
|
298540
|
+
p_limit?: number;
|
|
298541
|
+
p_search?: string;
|
|
298542
|
+
};
|
|
298543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
298544
|
+
};
|
|
297182
298545
|
logistics_trace_batch: {
|
|
297183
298546
|
Args: {
|
|
297184
298547
|
p: import("../integrations/supabase/types").Json;
|
|
297185
298548
|
};
|
|
297186
298549
|
Returns: number;
|
|
297187
298550
|
};
|
|
298551
|
+
logistics_trace_node: {
|
|
298552
|
+
Args: {
|
|
298553
|
+
p_op?: string;
|
|
298554
|
+
p_status?: string;
|
|
298555
|
+
p_table: string;
|
|
298556
|
+
};
|
|
298557
|
+
Returns: string;
|
|
298558
|
+
};
|
|
298559
|
+
logistics_trace_order_overview: {
|
|
298560
|
+
Args: {
|
|
298561
|
+
p_error_class?: string;
|
|
298562
|
+
p_limit?: number;
|
|
298563
|
+
p_search?: string;
|
|
298564
|
+
p_since?: string;
|
|
298565
|
+
p_source?: string;
|
|
298566
|
+
p_state?: string;
|
|
298567
|
+
p_step?: string;
|
|
298568
|
+
};
|
|
298569
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
298570
|
+
};
|
|
298571
|
+
logistics_trace_order_state: {
|
|
298572
|
+
Args: {
|
|
298573
|
+
p_order_ref: string;
|
|
298574
|
+
};
|
|
298575
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
298576
|
+
};
|
|
298577
|
+
logistics_trace_order_step: {
|
|
298578
|
+
Args: {
|
|
298579
|
+
p_class?: string;
|
|
298580
|
+
p_decision?: string;
|
|
298581
|
+
p_error?: string;
|
|
298582
|
+
p_next_step?: string;
|
|
298583
|
+
p_node: string;
|
|
298584
|
+
p_order_id: string;
|
|
298585
|
+
p_reason?: string;
|
|
298586
|
+
p_status: string;
|
|
298587
|
+
p_step: string;
|
|
298588
|
+
};
|
|
298589
|
+
Returns: undefined;
|
|
298590
|
+
};
|
|
297188
298591
|
logistics_trace_orders: {
|
|
297189
298592
|
Args: {
|
|
297190
298593
|
p_limit?: number;
|
|
@@ -297207,6 +298610,22 @@ export declare const importFloridayPriceGroups: import("@tanstack/start-client-c
|
|
|
297207
298610
|
};
|
|
297208
298611
|
Returns: import("../integrations/supabase/types").Json;
|
|
297209
298612
|
};
|
|
298613
|
+
logistics_trace_version_events: {
|
|
298614
|
+
Args: {
|
|
298615
|
+
p_from?: string;
|
|
298616
|
+
p_limit?: number;
|
|
298617
|
+
p_order_ref: string;
|
|
298618
|
+
p_to?: string;
|
|
298619
|
+
p_version_id: string;
|
|
298620
|
+
};
|
|
298621
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
298622
|
+
};
|
|
298623
|
+
logistics_trace_versions: {
|
|
298624
|
+
Args: {
|
|
298625
|
+
p_order_ref: string;
|
|
298626
|
+
};
|
|
298627
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
298628
|
+
};
|
|
297210
298629
|
logistics_upsert_task: {
|
|
297211
298630
|
Args: {
|
|
297212
298631
|
p_buffer_ref: string;
|
|
@@ -301032,6 +302451,42 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
301032
302451
|
};
|
|
301033
302452
|
Relationships: [];
|
|
301034
302453
|
};
|
|
302454
|
+
customer_assortment_items: {
|
|
302455
|
+
Row: {
|
|
302456
|
+
created_at: string;
|
|
302457
|
+
customer_key: string;
|
|
302458
|
+
id: string;
|
|
302459
|
+
in_assortment: boolean;
|
|
302460
|
+
manual_override: boolean;
|
|
302461
|
+
source: string;
|
|
302462
|
+
synced_at: string | null;
|
|
302463
|
+
trade_item_key: string;
|
|
302464
|
+
updated_at: string;
|
|
302465
|
+
};
|
|
302466
|
+
Insert: {
|
|
302467
|
+
created_at?: string;
|
|
302468
|
+
customer_key: string;
|
|
302469
|
+
id?: string;
|
|
302470
|
+
in_assortment?: boolean;
|
|
302471
|
+
manual_override?: boolean;
|
|
302472
|
+
source?: string;
|
|
302473
|
+
synced_at?: string | null;
|
|
302474
|
+
trade_item_key: string;
|
|
302475
|
+
updated_at?: string;
|
|
302476
|
+
};
|
|
302477
|
+
Update: {
|
|
302478
|
+
created_at?: string;
|
|
302479
|
+
customer_key?: string;
|
|
302480
|
+
id?: string;
|
|
302481
|
+
in_assortment?: boolean;
|
|
302482
|
+
manual_override?: boolean;
|
|
302483
|
+
source?: string;
|
|
302484
|
+
synced_at?: string | null;
|
|
302485
|
+
trade_item_key?: string;
|
|
302486
|
+
updated_at?: string;
|
|
302487
|
+
};
|
|
302488
|
+
Relationships: [];
|
|
302489
|
+
};
|
|
301035
302490
|
customer_audit_log: {
|
|
301036
302491
|
Row: {
|
|
301037
302492
|
action: string;
|
|
@@ -301436,40 +302891,58 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
301436
302891
|
};
|
|
301437
302892
|
customer_product_stickers: {
|
|
301438
302893
|
Row: {
|
|
302894
|
+
content_hash: string | null;
|
|
301439
302895
|
created_at: string;
|
|
301440
302896
|
customer_key: string;
|
|
301441
302897
|
file_name: string;
|
|
301442
302898
|
file_path: string;
|
|
301443
302899
|
file_size: number | null;
|
|
302900
|
+
floriday_sticker_id: string | null;
|
|
302901
|
+
floriday_synced_at: string | null;
|
|
302902
|
+
height_mm: number | null;
|
|
301444
302903
|
id: string;
|
|
301445
302904
|
mime_type: string | null;
|
|
302905
|
+
source: string;
|
|
301446
302906
|
trade_item_key: string;
|
|
301447
302907
|
updated_at: string;
|
|
301448
302908
|
uploaded_by: string | null;
|
|
302909
|
+
width_mm: number | null;
|
|
301449
302910
|
};
|
|
301450
302911
|
Insert: {
|
|
302912
|
+
content_hash?: string | null;
|
|
301451
302913
|
created_at?: string;
|
|
301452
302914
|
customer_key: string;
|
|
301453
302915
|
file_name: string;
|
|
301454
302916
|
file_path: string;
|
|
301455
302917
|
file_size?: number | null;
|
|
302918
|
+
floriday_sticker_id?: string | null;
|
|
302919
|
+
floriday_synced_at?: string | null;
|
|
302920
|
+
height_mm?: number | null;
|
|
301456
302921
|
id?: string;
|
|
301457
302922
|
mime_type?: string | null;
|
|
302923
|
+
source?: string;
|
|
301458
302924
|
trade_item_key: string;
|
|
301459
302925
|
updated_at?: string;
|
|
301460
302926
|
uploaded_by?: string | null;
|
|
302927
|
+
width_mm?: number | null;
|
|
301461
302928
|
};
|
|
301462
302929
|
Update: {
|
|
302930
|
+
content_hash?: string | null;
|
|
301463
302931
|
created_at?: string;
|
|
301464
302932
|
customer_key?: string;
|
|
301465
302933
|
file_name?: string;
|
|
301466
302934
|
file_path?: string;
|
|
301467
302935
|
file_size?: number | null;
|
|
302936
|
+
floriday_sticker_id?: string | null;
|
|
302937
|
+
floriday_synced_at?: string | null;
|
|
302938
|
+
height_mm?: number | null;
|
|
301468
302939
|
id?: string;
|
|
301469
302940
|
mime_type?: string | null;
|
|
302941
|
+
source?: string;
|
|
301470
302942
|
trade_item_key?: string;
|
|
301471
302943
|
updated_at?: string;
|
|
301472
302944
|
uploaded_by?: string | null;
|
|
302945
|
+
width_mm?: number | null;
|
|
301473
302946
|
};
|
|
301474
302947
|
Relationships: [];
|
|
301475
302948
|
};
|
|
@@ -310777,6 +312250,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310777
312250
|
Row: {
|
|
310778
312251
|
actor: string | null;
|
|
310779
312252
|
attempts: number;
|
|
312253
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
310780
312254
|
cart_ref: string | null;
|
|
310781
312255
|
created_at: string;
|
|
310782
312256
|
db_action: string | null;
|
|
@@ -310787,6 +312261,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310787
312261
|
decision: string | null;
|
|
310788
312262
|
duration_ms: number | null;
|
|
310789
312263
|
error: string | null;
|
|
312264
|
+
error_class: string | null;
|
|
310790
312265
|
external_action: string | null;
|
|
310791
312266
|
external_ref: string | null;
|
|
310792
312267
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -310795,6 +312270,8 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310795
312270
|
id: string;
|
|
310796
312271
|
input: import("../integrations/supabase/types").Json | null;
|
|
310797
312272
|
next_attempt_at: string | null;
|
|
312273
|
+
next_step: string | null;
|
|
312274
|
+
node_id: string | null;
|
|
310798
312275
|
order_ref: string | null;
|
|
310799
312276
|
order_source: string | null;
|
|
310800
312277
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -310811,6 +312288,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310811
312288
|
Insert: {
|
|
310812
312289
|
actor?: string | null;
|
|
310813
312290
|
attempts?: number;
|
|
312291
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
310814
312292
|
cart_ref?: string | null;
|
|
310815
312293
|
created_at?: string;
|
|
310816
312294
|
db_action?: string | null;
|
|
@@ -310821,6 +312299,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310821
312299
|
decision?: string | null;
|
|
310822
312300
|
duration_ms?: number | null;
|
|
310823
312301
|
error?: string | null;
|
|
312302
|
+
error_class?: string | null;
|
|
310824
312303
|
external_action?: string | null;
|
|
310825
312304
|
external_ref?: string | null;
|
|
310826
312305
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -310829,6 +312308,8 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310829
312308
|
id?: string;
|
|
310830
312309
|
input?: import("../integrations/supabase/types").Json | null;
|
|
310831
312310
|
next_attempt_at?: string | null;
|
|
312311
|
+
next_step?: string | null;
|
|
312312
|
+
node_id?: string | null;
|
|
310832
312313
|
order_ref?: string | null;
|
|
310833
312314
|
order_source?: string | null;
|
|
310834
312315
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -310845,6 +312326,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310845
312326
|
Update: {
|
|
310846
312327
|
actor?: string | null;
|
|
310847
312328
|
attempts?: number;
|
|
312329
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
310848
312330
|
cart_ref?: string | null;
|
|
310849
312331
|
created_at?: string;
|
|
310850
312332
|
db_action?: string | null;
|
|
@@ -310855,6 +312337,7 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310855
312337
|
decision?: string | null;
|
|
310856
312338
|
duration_ms?: number | null;
|
|
310857
312339
|
error?: string | null;
|
|
312340
|
+
error_class?: string | null;
|
|
310858
312341
|
external_action?: string | null;
|
|
310859
312342
|
external_ref?: string | null;
|
|
310860
312343
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -310863,6 +312346,8 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
310863
312346
|
id?: string;
|
|
310864
312347
|
input?: import("../integrations/supabase/types").Json | null;
|
|
310865
312348
|
next_attempt_at?: string | null;
|
|
312349
|
+
next_step?: string | null;
|
|
312350
|
+
node_id?: string | null;
|
|
310866
312351
|
order_ref?: string | null;
|
|
310867
312352
|
order_source?: string | null;
|
|
310868
312353
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -324367,12 +325852,59 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
324367
325852
|
};
|
|
324368
325853
|
Returns: string;
|
|
324369
325854
|
};
|
|
325855
|
+
logistics_trace_all_orders: {
|
|
325856
|
+
Args: {
|
|
325857
|
+
p_limit?: number;
|
|
325858
|
+
p_search?: string;
|
|
325859
|
+
};
|
|
325860
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
325861
|
+
};
|
|
324370
325862
|
logistics_trace_batch: {
|
|
324371
325863
|
Args: {
|
|
324372
325864
|
p: import("../integrations/supabase/types").Json;
|
|
324373
325865
|
};
|
|
324374
325866
|
Returns: number;
|
|
324375
325867
|
};
|
|
325868
|
+
logistics_trace_node: {
|
|
325869
|
+
Args: {
|
|
325870
|
+
p_op?: string;
|
|
325871
|
+
p_status?: string;
|
|
325872
|
+
p_table: string;
|
|
325873
|
+
};
|
|
325874
|
+
Returns: string;
|
|
325875
|
+
};
|
|
325876
|
+
logistics_trace_order_overview: {
|
|
325877
|
+
Args: {
|
|
325878
|
+
p_error_class?: string;
|
|
325879
|
+
p_limit?: number;
|
|
325880
|
+
p_search?: string;
|
|
325881
|
+
p_since?: string;
|
|
325882
|
+
p_source?: string;
|
|
325883
|
+
p_state?: string;
|
|
325884
|
+
p_step?: string;
|
|
325885
|
+
};
|
|
325886
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
325887
|
+
};
|
|
325888
|
+
logistics_trace_order_state: {
|
|
325889
|
+
Args: {
|
|
325890
|
+
p_order_ref: string;
|
|
325891
|
+
};
|
|
325892
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
325893
|
+
};
|
|
325894
|
+
logistics_trace_order_step: {
|
|
325895
|
+
Args: {
|
|
325896
|
+
p_class?: string;
|
|
325897
|
+
p_decision?: string;
|
|
325898
|
+
p_error?: string;
|
|
325899
|
+
p_next_step?: string;
|
|
325900
|
+
p_node: string;
|
|
325901
|
+
p_order_id: string;
|
|
325902
|
+
p_reason?: string;
|
|
325903
|
+
p_status: string;
|
|
325904
|
+
p_step: string;
|
|
325905
|
+
};
|
|
325906
|
+
Returns: undefined;
|
|
325907
|
+
};
|
|
324376
325908
|
logistics_trace_orders: {
|
|
324377
325909
|
Args: {
|
|
324378
325910
|
p_limit?: number;
|
|
@@ -324395,6 +325927,22 @@ export declare const listPriceGroupItemPrices: import("@tanstack/start-client-co
|
|
|
324395
325927
|
};
|
|
324396
325928
|
Returns: import("../integrations/supabase/types").Json;
|
|
324397
325929
|
};
|
|
325930
|
+
logistics_trace_version_events: {
|
|
325931
|
+
Args: {
|
|
325932
|
+
p_from?: string;
|
|
325933
|
+
p_limit?: number;
|
|
325934
|
+
p_order_ref: string;
|
|
325935
|
+
p_to?: string;
|
|
325936
|
+
p_version_id: string;
|
|
325937
|
+
};
|
|
325938
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
325939
|
+
};
|
|
325940
|
+
logistics_trace_versions: {
|
|
325941
|
+
Args: {
|
|
325942
|
+
p_order_ref: string;
|
|
325943
|
+
};
|
|
325944
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
325945
|
+
};
|
|
324398
325946
|
logistics_upsert_task: {
|
|
324399
325947
|
Args: {
|
|
324400
325948
|
p_buffer_ref: string;
|
|
@@ -328217,6 +329765,42 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
328217
329765
|
};
|
|
328218
329766
|
Relationships: [];
|
|
328219
329767
|
};
|
|
329768
|
+
customer_assortment_items: {
|
|
329769
|
+
Row: {
|
|
329770
|
+
created_at: string;
|
|
329771
|
+
customer_key: string;
|
|
329772
|
+
id: string;
|
|
329773
|
+
in_assortment: boolean;
|
|
329774
|
+
manual_override: boolean;
|
|
329775
|
+
source: string;
|
|
329776
|
+
synced_at: string | null;
|
|
329777
|
+
trade_item_key: string;
|
|
329778
|
+
updated_at: string;
|
|
329779
|
+
};
|
|
329780
|
+
Insert: {
|
|
329781
|
+
created_at?: string;
|
|
329782
|
+
customer_key: string;
|
|
329783
|
+
id?: string;
|
|
329784
|
+
in_assortment?: boolean;
|
|
329785
|
+
manual_override?: boolean;
|
|
329786
|
+
source?: string;
|
|
329787
|
+
synced_at?: string | null;
|
|
329788
|
+
trade_item_key: string;
|
|
329789
|
+
updated_at?: string;
|
|
329790
|
+
};
|
|
329791
|
+
Update: {
|
|
329792
|
+
created_at?: string;
|
|
329793
|
+
customer_key?: string;
|
|
329794
|
+
id?: string;
|
|
329795
|
+
in_assortment?: boolean;
|
|
329796
|
+
manual_override?: boolean;
|
|
329797
|
+
source?: string;
|
|
329798
|
+
synced_at?: string | null;
|
|
329799
|
+
trade_item_key?: string;
|
|
329800
|
+
updated_at?: string;
|
|
329801
|
+
};
|
|
329802
|
+
Relationships: [];
|
|
329803
|
+
};
|
|
328220
329804
|
customer_audit_log: {
|
|
328221
329805
|
Row: {
|
|
328222
329806
|
action: string;
|
|
@@ -328621,40 +330205,58 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
328621
330205
|
};
|
|
328622
330206
|
customer_product_stickers: {
|
|
328623
330207
|
Row: {
|
|
330208
|
+
content_hash: string | null;
|
|
328624
330209
|
created_at: string;
|
|
328625
330210
|
customer_key: string;
|
|
328626
330211
|
file_name: string;
|
|
328627
330212
|
file_path: string;
|
|
328628
330213
|
file_size: number | null;
|
|
330214
|
+
floriday_sticker_id: string | null;
|
|
330215
|
+
floriday_synced_at: string | null;
|
|
330216
|
+
height_mm: number | null;
|
|
328629
330217
|
id: string;
|
|
328630
330218
|
mime_type: string | null;
|
|
330219
|
+
source: string;
|
|
328631
330220
|
trade_item_key: string;
|
|
328632
330221
|
updated_at: string;
|
|
328633
330222
|
uploaded_by: string | null;
|
|
330223
|
+
width_mm: number | null;
|
|
328634
330224
|
};
|
|
328635
330225
|
Insert: {
|
|
330226
|
+
content_hash?: string | null;
|
|
328636
330227
|
created_at?: string;
|
|
328637
330228
|
customer_key: string;
|
|
328638
330229
|
file_name: string;
|
|
328639
330230
|
file_path: string;
|
|
328640
330231
|
file_size?: number | null;
|
|
330232
|
+
floriday_sticker_id?: string | null;
|
|
330233
|
+
floriday_synced_at?: string | null;
|
|
330234
|
+
height_mm?: number | null;
|
|
328641
330235
|
id?: string;
|
|
328642
330236
|
mime_type?: string | null;
|
|
330237
|
+
source?: string;
|
|
328643
330238
|
trade_item_key: string;
|
|
328644
330239
|
updated_at?: string;
|
|
328645
330240
|
uploaded_by?: string | null;
|
|
330241
|
+
width_mm?: number | null;
|
|
328646
330242
|
};
|
|
328647
330243
|
Update: {
|
|
330244
|
+
content_hash?: string | null;
|
|
328648
330245
|
created_at?: string;
|
|
328649
330246
|
customer_key?: string;
|
|
328650
330247
|
file_name?: string;
|
|
328651
330248
|
file_path?: string;
|
|
328652
330249
|
file_size?: number | null;
|
|
330250
|
+
floriday_sticker_id?: string | null;
|
|
330251
|
+
floriday_synced_at?: string | null;
|
|
330252
|
+
height_mm?: number | null;
|
|
328653
330253
|
id?: string;
|
|
328654
330254
|
mime_type?: string | null;
|
|
330255
|
+
source?: string;
|
|
328655
330256
|
trade_item_key?: string;
|
|
328656
330257
|
updated_at?: string;
|
|
328657
330258
|
uploaded_by?: string | null;
|
|
330259
|
+
width_mm?: number | null;
|
|
328658
330260
|
};
|
|
328659
330261
|
Relationships: [];
|
|
328660
330262
|
};
|
|
@@ -337962,6 +339564,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
337962
339564
|
Row: {
|
|
337963
339565
|
actor: string | null;
|
|
337964
339566
|
attempts: number;
|
|
339567
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
337965
339568
|
cart_ref: string | null;
|
|
337966
339569
|
created_at: string;
|
|
337967
339570
|
db_action: string | null;
|
|
@@ -337972,6 +339575,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
337972
339575
|
decision: string | null;
|
|
337973
339576
|
duration_ms: number | null;
|
|
337974
339577
|
error: string | null;
|
|
339578
|
+
error_class: string | null;
|
|
337975
339579
|
external_action: string | null;
|
|
337976
339580
|
external_ref: string | null;
|
|
337977
339581
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -337980,6 +339584,8 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
337980
339584
|
id: string;
|
|
337981
339585
|
input: import("../integrations/supabase/types").Json | null;
|
|
337982
339586
|
next_attempt_at: string | null;
|
|
339587
|
+
next_step: string | null;
|
|
339588
|
+
node_id: string | null;
|
|
337983
339589
|
order_ref: string | null;
|
|
337984
339590
|
order_source: string | null;
|
|
337985
339591
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -337996,6 +339602,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
337996
339602
|
Insert: {
|
|
337997
339603
|
actor?: string | null;
|
|
337998
339604
|
attempts?: number;
|
|
339605
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
337999
339606
|
cart_ref?: string | null;
|
|
338000
339607
|
created_at?: string;
|
|
338001
339608
|
db_action?: string | null;
|
|
@@ -338006,6 +339613,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
338006
339613
|
decision?: string | null;
|
|
338007
339614
|
duration_ms?: number | null;
|
|
338008
339615
|
error?: string | null;
|
|
339616
|
+
error_class?: string | null;
|
|
338009
339617
|
external_action?: string | null;
|
|
338010
339618
|
external_ref?: string | null;
|
|
338011
339619
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -338014,6 +339622,8 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
338014
339622
|
id?: string;
|
|
338015
339623
|
input?: import("../integrations/supabase/types").Json | null;
|
|
338016
339624
|
next_attempt_at?: string | null;
|
|
339625
|
+
next_step?: string | null;
|
|
339626
|
+
node_id?: string | null;
|
|
338017
339627
|
order_ref?: string | null;
|
|
338018
339628
|
order_source?: string | null;
|
|
338019
339629
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -338030,6 +339640,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
338030
339640
|
Update: {
|
|
338031
339641
|
actor?: string | null;
|
|
338032
339642
|
attempts?: number;
|
|
339643
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
338033
339644
|
cart_ref?: string | null;
|
|
338034
339645
|
created_at?: string;
|
|
338035
339646
|
db_action?: string | null;
|
|
@@ -338040,6 +339651,7 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
338040
339651
|
decision?: string | null;
|
|
338041
339652
|
duration_ms?: number | null;
|
|
338042
339653
|
error?: string | null;
|
|
339654
|
+
error_class?: string | null;
|
|
338043
339655
|
external_action?: string | null;
|
|
338044
339656
|
external_ref?: string | null;
|
|
338045
339657
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -338048,6 +339660,8 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
338048
339660
|
id?: string;
|
|
338049
339661
|
input?: import("../integrations/supabase/types").Json | null;
|
|
338050
339662
|
next_attempt_at?: string | null;
|
|
339663
|
+
next_step?: string | null;
|
|
339664
|
+
node_id?: string | null;
|
|
338051
339665
|
order_ref?: string | null;
|
|
338052
339666
|
order_source?: string | null;
|
|
338053
339667
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -351552,12 +353166,59 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
351552
353166
|
};
|
|
351553
353167
|
Returns: string;
|
|
351554
353168
|
};
|
|
353169
|
+
logistics_trace_all_orders: {
|
|
353170
|
+
Args: {
|
|
353171
|
+
p_limit?: number;
|
|
353172
|
+
p_search?: string;
|
|
353173
|
+
};
|
|
353174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
353175
|
+
};
|
|
351555
353176
|
logistics_trace_batch: {
|
|
351556
353177
|
Args: {
|
|
351557
353178
|
p: import("../integrations/supabase/types").Json;
|
|
351558
353179
|
};
|
|
351559
353180
|
Returns: number;
|
|
351560
353181
|
};
|
|
353182
|
+
logistics_trace_node: {
|
|
353183
|
+
Args: {
|
|
353184
|
+
p_op?: string;
|
|
353185
|
+
p_status?: string;
|
|
353186
|
+
p_table: string;
|
|
353187
|
+
};
|
|
353188
|
+
Returns: string;
|
|
353189
|
+
};
|
|
353190
|
+
logistics_trace_order_overview: {
|
|
353191
|
+
Args: {
|
|
353192
|
+
p_error_class?: string;
|
|
353193
|
+
p_limit?: number;
|
|
353194
|
+
p_search?: string;
|
|
353195
|
+
p_since?: string;
|
|
353196
|
+
p_source?: string;
|
|
353197
|
+
p_state?: string;
|
|
353198
|
+
p_step?: string;
|
|
353199
|
+
};
|
|
353200
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
353201
|
+
};
|
|
353202
|
+
logistics_trace_order_state: {
|
|
353203
|
+
Args: {
|
|
353204
|
+
p_order_ref: string;
|
|
353205
|
+
};
|
|
353206
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
353207
|
+
};
|
|
353208
|
+
logistics_trace_order_step: {
|
|
353209
|
+
Args: {
|
|
353210
|
+
p_class?: string;
|
|
353211
|
+
p_decision?: string;
|
|
353212
|
+
p_error?: string;
|
|
353213
|
+
p_next_step?: string;
|
|
353214
|
+
p_node: string;
|
|
353215
|
+
p_order_id: string;
|
|
353216
|
+
p_reason?: string;
|
|
353217
|
+
p_status: string;
|
|
353218
|
+
p_step: string;
|
|
353219
|
+
};
|
|
353220
|
+
Returns: undefined;
|
|
353221
|
+
};
|
|
351561
353222
|
logistics_trace_orders: {
|
|
351562
353223
|
Args: {
|
|
351563
353224
|
p_limit?: number;
|
|
@@ -351580,6 +353241,22 @@ export declare const setPriceGroupItemPrice: import("@tanstack/start-client-core
|
|
|
351580
353241
|
};
|
|
351581
353242
|
Returns: import("../integrations/supabase/types").Json;
|
|
351582
353243
|
};
|
|
353244
|
+
logistics_trace_version_events: {
|
|
353245
|
+
Args: {
|
|
353246
|
+
p_from?: string;
|
|
353247
|
+
p_limit?: number;
|
|
353248
|
+
p_order_ref: string;
|
|
353249
|
+
p_to?: string;
|
|
353250
|
+
p_version_id: string;
|
|
353251
|
+
};
|
|
353252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
353253
|
+
};
|
|
353254
|
+
logistics_trace_versions: {
|
|
353255
|
+
Args: {
|
|
353256
|
+
p_order_ref: string;
|
|
353257
|
+
};
|
|
353258
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
353259
|
+
};
|
|
351583
353260
|
logistics_upsert_task: {
|
|
351584
353261
|
Args: {
|
|
351585
353262
|
p_buffer_ref: string;
|