@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
|
@@ -1848,6 +1848,42 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
1848
1848
|
};
|
|
1849
1849
|
Relationships: [];
|
|
1850
1850
|
};
|
|
1851
|
+
customer_assortment_items: {
|
|
1852
|
+
Row: {
|
|
1853
|
+
created_at: string;
|
|
1854
|
+
customer_key: string;
|
|
1855
|
+
id: string;
|
|
1856
|
+
in_assortment: boolean;
|
|
1857
|
+
manual_override: boolean;
|
|
1858
|
+
source: string;
|
|
1859
|
+
synced_at: string | null;
|
|
1860
|
+
trade_item_key: string;
|
|
1861
|
+
updated_at: string;
|
|
1862
|
+
};
|
|
1863
|
+
Insert: {
|
|
1864
|
+
created_at?: string;
|
|
1865
|
+
customer_key: string;
|
|
1866
|
+
id?: string;
|
|
1867
|
+
in_assortment?: boolean;
|
|
1868
|
+
manual_override?: boolean;
|
|
1869
|
+
source?: string;
|
|
1870
|
+
synced_at?: string | null;
|
|
1871
|
+
trade_item_key: string;
|
|
1872
|
+
updated_at?: string;
|
|
1873
|
+
};
|
|
1874
|
+
Update: {
|
|
1875
|
+
created_at?: string;
|
|
1876
|
+
customer_key?: string;
|
|
1877
|
+
id?: string;
|
|
1878
|
+
in_assortment?: boolean;
|
|
1879
|
+
manual_override?: boolean;
|
|
1880
|
+
source?: string;
|
|
1881
|
+
synced_at?: string | null;
|
|
1882
|
+
trade_item_key?: string;
|
|
1883
|
+
updated_at?: string;
|
|
1884
|
+
};
|
|
1885
|
+
Relationships: [];
|
|
1886
|
+
};
|
|
1851
1887
|
customer_audit_log: {
|
|
1852
1888
|
Row: {
|
|
1853
1889
|
action: string;
|
|
@@ -2252,40 +2288,58 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
2252
2288
|
};
|
|
2253
2289
|
customer_product_stickers: {
|
|
2254
2290
|
Row: {
|
|
2291
|
+
content_hash: string | null;
|
|
2255
2292
|
created_at: string;
|
|
2256
2293
|
customer_key: string;
|
|
2257
2294
|
file_name: string;
|
|
2258
2295
|
file_path: string;
|
|
2259
2296
|
file_size: number | null;
|
|
2297
|
+
floriday_sticker_id: string | null;
|
|
2298
|
+
floriday_synced_at: string | null;
|
|
2299
|
+
height_mm: number | null;
|
|
2260
2300
|
id: string;
|
|
2261
2301
|
mime_type: string | null;
|
|
2302
|
+
source: string;
|
|
2262
2303
|
trade_item_key: string;
|
|
2263
2304
|
updated_at: string;
|
|
2264
2305
|
uploaded_by: string | null;
|
|
2306
|
+
width_mm: number | null;
|
|
2265
2307
|
};
|
|
2266
2308
|
Insert: {
|
|
2309
|
+
content_hash?: string | null;
|
|
2267
2310
|
created_at?: string;
|
|
2268
2311
|
customer_key: string;
|
|
2269
2312
|
file_name: string;
|
|
2270
2313
|
file_path: string;
|
|
2271
2314
|
file_size?: number | null;
|
|
2315
|
+
floriday_sticker_id?: string | null;
|
|
2316
|
+
floriday_synced_at?: string | null;
|
|
2317
|
+
height_mm?: number | null;
|
|
2272
2318
|
id?: string;
|
|
2273
2319
|
mime_type?: string | null;
|
|
2320
|
+
source?: string;
|
|
2274
2321
|
trade_item_key: string;
|
|
2275
2322
|
updated_at?: string;
|
|
2276
2323
|
uploaded_by?: string | null;
|
|
2324
|
+
width_mm?: number | null;
|
|
2277
2325
|
};
|
|
2278
2326
|
Update: {
|
|
2327
|
+
content_hash?: string | null;
|
|
2279
2328
|
created_at?: string;
|
|
2280
2329
|
customer_key?: string;
|
|
2281
2330
|
file_name?: string;
|
|
2282
2331
|
file_path?: string;
|
|
2283
2332
|
file_size?: number | null;
|
|
2333
|
+
floriday_sticker_id?: string | null;
|
|
2334
|
+
floriday_synced_at?: string | null;
|
|
2335
|
+
height_mm?: number | null;
|
|
2284
2336
|
id?: string;
|
|
2285
2337
|
mime_type?: string | null;
|
|
2338
|
+
source?: string;
|
|
2286
2339
|
trade_item_key?: string;
|
|
2287
2340
|
updated_at?: string;
|
|
2288
2341
|
uploaded_by?: string | null;
|
|
2342
|
+
width_mm?: number | null;
|
|
2289
2343
|
};
|
|
2290
2344
|
Relationships: [];
|
|
2291
2345
|
};
|
|
@@ -11593,6 +11647,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11593
11647
|
Row: {
|
|
11594
11648
|
actor: string | null;
|
|
11595
11649
|
attempts: number;
|
|
11650
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11596
11651
|
cart_ref: string | null;
|
|
11597
11652
|
created_at: string;
|
|
11598
11653
|
db_action: string | null;
|
|
@@ -11603,6 +11658,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11603
11658
|
decision: string | null;
|
|
11604
11659
|
duration_ms: number | null;
|
|
11605
11660
|
error: string | null;
|
|
11661
|
+
error_class: string | null;
|
|
11606
11662
|
external_action: string | null;
|
|
11607
11663
|
external_ref: string | null;
|
|
11608
11664
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11611,6 +11667,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11611
11667
|
id: string;
|
|
11612
11668
|
input: import("../integrations/supabase/types").Json | null;
|
|
11613
11669
|
next_attempt_at: string | null;
|
|
11670
|
+
next_step: string | null;
|
|
11671
|
+
node_id: string | null;
|
|
11614
11672
|
order_ref: string | null;
|
|
11615
11673
|
order_source: string | null;
|
|
11616
11674
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11627,6 +11685,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11627
11685
|
Insert: {
|
|
11628
11686
|
actor?: string | null;
|
|
11629
11687
|
attempts?: number;
|
|
11688
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11630
11689
|
cart_ref?: string | null;
|
|
11631
11690
|
created_at?: string;
|
|
11632
11691
|
db_action?: string | null;
|
|
@@ -11637,6 +11696,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11637
11696
|
decision?: string | null;
|
|
11638
11697
|
duration_ms?: number | null;
|
|
11639
11698
|
error?: string | null;
|
|
11699
|
+
error_class?: string | null;
|
|
11640
11700
|
external_action?: string | null;
|
|
11641
11701
|
external_ref?: string | null;
|
|
11642
11702
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11645,6 +11705,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11645
11705
|
id?: string;
|
|
11646
11706
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11647
11707
|
next_attempt_at?: string | null;
|
|
11708
|
+
next_step?: string | null;
|
|
11709
|
+
node_id?: string | null;
|
|
11648
11710
|
order_ref?: string | null;
|
|
11649
11711
|
order_source?: string | null;
|
|
11650
11712
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11661,6 +11723,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11661
11723
|
Update: {
|
|
11662
11724
|
actor?: string | null;
|
|
11663
11725
|
attempts?: number;
|
|
11726
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11664
11727
|
cart_ref?: string | null;
|
|
11665
11728
|
created_at?: string;
|
|
11666
11729
|
db_action?: string | null;
|
|
@@ -11671,6 +11734,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11671
11734
|
decision?: string | null;
|
|
11672
11735
|
duration_ms?: number | null;
|
|
11673
11736
|
error?: string | null;
|
|
11737
|
+
error_class?: string | null;
|
|
11674
11738
|
external_action?: string | null;
|
|
11675
11739
|
external_ref?: string | null;
|
|
11676
11740
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11679,6 +11743,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
11679
11743
|
id?: string;
|
|
11680
11744
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11681
11745
|
next_attempt_at?: string | null;
|
|
11746
|
+
next_step?: string | null;
|
|
11747
|
+
node_id?: string | null;
|
|
11682
11748
|
order_ref?: string | null;
|
|
11683
11749
|
order_source?: string | null;
|
|
11684
11750
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25183,12 +25249,59 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
25183
25249
|
};
|
|
25184
25250
|
Returns: string;
|
|
25185
25251
|
};
|
|
25252
|
+
logistics_trace_all_orders: {
|
|
25253
|
+
Args: {
|
|
25254
|
+
p_limit?: number;
|
|
25255
|
+
p_search?: string;
|
|
25256
|
+
};
|
|
25257
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25258
|
+
};
|
|
25186
25259
|
logistics_trace_batch: {
|
|
25187
25260
|
Args: {
|
|
25188
25261
|
p: import("../integrations/supabase/types").Json;
|
|
25189
25262
|
};
|
|
25190
25263
|
Returns: number;
|
|
25191
25264
|
};
|
|
25265
|
+
logistics_trace_node: {
|
|
25266
|
+
Args: {
|
|
25267
|
+
p_op?: string;
|
|
25268
|
+
p_status?: string;
|
|
25269
|
+
p_table: string;
|
|
25270
|
+
};
|
|
25271
|
+
Returns: string;
|
|
25272
|
+
};
|
|
25273
|
+
logistics_trace_order_overview: {
|
|
25274
|
+
Args: {
|
|
25275
|
+
p_error_class?: string;
|
|
25276
|
+
p_limit?: number;
|
|
25277
|
+
p_search?: string;
|
|
25278
|
+
p_since?: string;
|
|
25279
|
+
p_source?: string;
|
|
25280
|
+
p_state?: string;
|
|
25281
|
+
p_step?: string;
|
|
25282
|
+
};
|
|
25283
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25284
|
+
};
|
|
25285
|
+
logistics_trace_order_state: {
|
|
25286
|
+
Args: {
|
|
25287
|
+
p_order_ref: string;
|
|
25288
|
+
};
|
|
25289
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25290
|
+
};
|
|
25291
|
+
logistics_trace_order_step: {
|
|
25292
|
+
Args: {
|
|
25293
|
+
p_class?: string;
|
|
25294
|
+
p_decision?: string;
|
|
25295
|
+
p_error?: string;
|
|
25296
|
+
p_next_step?: string;
|
|
25297
|
+
p_node: string;
|
|
25298
|
+
p_order_id: string;
|
|
25299
|
+
p_reason?: string;
|
|
25300
|
+
p_status: string;
|
|
25301
|
+
p_step: string;
|
|
25302
|
+
};
|
|
25303
|
+
Returns: undefined;
|
|
25304
|
+
};
|
|
25192
25305
|
logistics_trace_orders: {
|
|
25193
25306
|
Args: {
|
|
25194
25307
|
p_limit?: number;
|
|
@@ -25211,6 +25324,22 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
|
|
|
25211
25324
|
};
|
|
25212
25325
|
Returns: import("../integrations/supabase/types").Json;
|
|
25213
25326
|
};
|
|
25327
|
+
logistics_trace_version_events: {
|
|
25328
|
+
Args: {
|
|
25329
|
+
p_from?: string;
|
|
25330
|
+
p_limit?: number;
|
|
25331
|
+
p_order_ref: string;
|
|
25332
|
+
p_to?: string;
|
|
25333
|
+
p_version_id: string;
|
|
25334
|
+
};
|
|
25335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25336
|
+
};
|
|
25337
|
+
logistics_trace_versions: {
|
|
25338
|
+
Args: {
|
|
25339
|
+
p_order_ref: string;
|
|
25340
|
+
};
|
|
25341
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25342
|
+
};
|
|
25214
25343
|
logistics_upsert_task: {
|
|
25215
25344
|
Args: {
|
|
25216
25345
|
p_buffer_ref: string;
|
|
@@ -29031,6 +29160,42 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
29031
29160
|
};
|
|
29032
29161
|
Relationships: [];
|
|
29033
29162
|
};
|
|
29163
|
+
customer_assortment_items: {
|
|
29164
|
+
Row: {
|
|
29165
|
+
created_at: string;
|
|
29166
|
+
customer_key: string;
|
|
29167
|
+
id: string;
|
|
29168
|
+
in_assortment: boolean;
|
|
29169
|
+
manual_override: boolean;
|
|
29170
|
+
source: string;
|
|
29171
|
+
synced_at: string | null;
|
|
29172
|
+
trade_item_key: string;
|
|
29173
|
+
updated_at: string;
|
|
29174
|
+
};
|
|
29175
|
+
Insert: {
|
|
29176
|
+
created_at?: string;
|
|
29177
|
+
customer_key: string;
|
|
29178
|
+
id?: string;
|
|
29179
|
+
in_assortment?: boolean;
|
|
29180
|
+
manual_override?: boolean;
|
|
29181
|
+
source?: string;
|
|
29182
|
+
synced_at?: string | null;
|
|
29183
|
+
trade_item_key: string;
|
|
29184
|
+
updated_at?: string;
|
|
29185
|
+
};
|
|
29186
|
+
Update: {
|
|
29187
|
+
created_at?: string;
|
|
29188
|
+
customer_key?: string;
|
|
29189
|
+
id?: string;
|
|
29190
|
+
in_assortment?: boolean;
|
|
29191
|
+
manual_override?: boolean;
|
|
29192
|
+
source?: string;
|
|
29193
|
+
synced_at?: string | null;
|
|
29194
|
+
trade_item_key?: string;
|
|
29195
|
+
updated_at?: string;
|
|
29196
|
+
};
|
|
29197
|
+
Relationships: [];
|
|
29198
|
+
};
|
|
29034
29199
|
customer_audit_log: {
|
|
29035
29200
|
Row: {
|
|
29036
29201
|
action: string;
|
|
@@ -29435,40 +29600,58 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
29435
29600
|
};
|
|
29436
29601
|
customer_product_stickers: {
|
|
29437
29602
|
Row: {
|
|
29603
|
+
content_hash: string | null;
|
|
29438
29604
|
created_at: string;
|
|
29439
29605
|
customer_key: string;
|
|
29440
29606
|
file_name: string;
|
|
29441
29607
|
file_path: string;
|
|
29442
29608
|
file_size: number | null;
|
|
29609
|
+
floriday_sticker_id: string | null;
|
|
29610
|
+
floriday_synced_at: string | null;
|
|
29611
|
+
height_mm: number | null;
|
|
29443
29612
|
id: string;
|
|
29444
29613
|
mime_type: string | null;
|
|
29614
|
+
source: string;
|
|
29445
29615
|
trade_item_key: string;
|
|
29446
29616
|
updated_at: string;
|
|
29447
29617
|
uploaded_by: string | null;
|
|
29618
|
+
width_mm: number | null;
|
|
29448
29619
|
};
|
|
29449
29620
|
Insert: {
|
|
29621
|
+
content_hash?: string | null;
|
|
29450
29622
|
created_at?: string;
|
|
29451
29623
|
customer_key: string;
|
|
29452
29624
|
file_name: string;
|
|
29453
29625
|
file_path: string;
|
|
29454
29626
|
file_size?: number | null;
|
|
29627
|
+
floriday_sticker_id?: string | null;
|
|
29628
|
+
floriday_synced_at?: string | null;
|
|
29629
|
+
height_mm?: number | null;
|
|
29455
29630
|
id?: string;
|
|
29456
29631
|
mime_type?: string | null;
|
|
29632
|
+
source?: string;
|
|
29457
29633
|
trade_item_key: string;
|
|
29458
29634
|
updated_at?: string;
|
|
29459
29635
|
uploaded_by?: string | null;
|
|
29636
|
+
width_mm?: number | null;
|
|
29460
29637
|
};
|
|
29461
29638
|
Update: {
|
|
29639
|
+
content_hash?: string | null;
|
|
29462
29640
|
created_at?: string;
|
|
29463
29641
|
customer_key?: string;
|
|
29464
29642
|
file_name?: string;
|
|
29465
29643
|
file_path?: string;
|
|
29466
29644
|
file_size?: number | null;
|
|
29645
|
+
floriday_sticker_id?: string | null;
|
|
29646
|
+
floriday_synced_at?: string | null;
|
|
29647
|
+
height_mm?: number | null;
|
|
29467
29648
|
id?: string;
|
|
29468
29649
|
mime_type?: string | null;
|
|
29650
|
+
source?: string;
|
|
29469
29651
|
trade_item_key?: string;
|
|
29470
29652
|
updated_at?: string;
|
|
29471
29653
|
uploaded_by?: string | null;
|
|
29654
|
+
width_mm?: number | null;
|
|
29472
29655
|
};
|
|
29473
29656
|
Relationships: [];
|
|
29474
29657
|
};
|
|
@@ -38776,6 +38959,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38776
38959
|
Row: {
|
|
38777
38960
|
actor: string | null;
|
|
38778
38961
|
attempts: number;
|
|
38962
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38779
38963
|
cart_ref: string | null;
|
|
38780
38964
|
created_at: string;
|
|
38781
38965
|
db_action: string | null;
|
|
@@ -38786,6 +38970,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38786
38970
|
decision: string | null;
|
|
38787
38971
|
duration_ms: number | null;
|
|
38788
38972
|
error: string | null;
|
|
38973
|
+
error_class: string | null;
|
|
38789
38974
|
external_action: string | null;
|
|
38790
38975
|
external_ref: string | null;
|
|
38791
38976
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38794,6 +38979,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38794
38979
|
id: string;
|
|
38795
38980
|
input: import("../integrations/supabase/types").Json | null;
|
|
38796
38981
|
next_attempt_at: string | null;
|
|
38982
|
+
next_step: string | null;
|
|
38983
|
+
node_id: string | null;
|
|
38797
38984
|
order_ref: string | null;
|
|
38798
38985
|
order_source: string | null;
|
|
38799
38986
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38810,6 +38997,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38810
38997
|
Insert: {
|
|
38811
38998
|
actor?: string | null;
|
|
38812
38999
|
attempts?: number;
|
|
39000
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38813
39001
|
cart_ref?: string | null;
|
|
38814
39002
|
created_at?: string;
|
|
38815
39003
|
db_action?: string | null;
|
|
@@ -38820,6 +39008,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38820
39008
|
decision?: string | null;
|
|
38821
39009
|
duration_ms?: number | null;
|
|
38822
39010
|
error?: string | null;
|
|
39011
|
+
error_class?: string | null;
|
|
38823
39012
|
external_action?: string | null;
|
|
38824
39013
|
external_ref?: string | null;
|
|
38825
39014
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38828,6 +39017,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38828
39017
|
id?: string;
|
|
38829
39018
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38830
39019
|
next_attempt_at?: string | null;
|
|
39020
|
+
next_step?: string | null;
|
|
39021
|
+
node_id?: string | null;
|
|
38831
39022
|
order_ref?: string | null;
|
|
38832
39023
|
order_source?: string | null;
|
|
38833
39024
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38844,6 +39035,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38844
39035
|
Update: {
|
|
38845
39036
|
actor?: string | null;
|
|
38846
39037
|
attempts?: number;
|
|
39038
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38847
39039
|
cart_ref?: string | null;
|
|
38848
39040
|
created_at?: string;
|
|
38849
39041
|
db_action?: string | null;
|
|
@@ -38854,6 +39046,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38854
39046
|
decision?: string | null;
|
|
38855
39047
|
duration_ms?: number | null;
|
|
38856
39048
|
error?: string | null;
|
|
39049
|
+
error_class?: string | null;
|
|
38857
39050
|
external_action?: string | null;
|
|
38858
39051
|
external_ref?: string | null;
|
|
38859
39052
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38862,6 +39055,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
38862
39055
|
id?: string;
|
|
38863
39056
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38864
39057
|
next_attempt_at?: string | null;
|
|
39058
|
+
next_step?: string | null;
|
|
39059
|
+
node_id?: string | null;
|
|
38865
39060
|
order_ref?: string | null;
|
|
38866
39061
|
order_source?: string | null;
|
|
38867
39062
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52366,12 +52561,59 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
52366
52561
|
};
|
|
52367
52562
|
Returns: string;
|
|
52368
52563
|
};
|
|
52564
|
+
logistics_trace_all_orders: {
|
|
52565
|
+
Args: {
|
|
52566
|
+
p_limit?: number;
|
|
52567
|
+
p_search?: string;
|
|
52568
|
+
};
|
|
52569
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52570
|
+
};
|
|
52369
52571
|
logistics_trace_batch: {
|
|
52370
52572
|
Args: {
|
|
52371
52573
|
p: import("../integrations/supabase/types").Json;
|
|
52372
52574
|
};
|
|
52373
52575
|
Returns: number;
|
|
52374
52576
|
};
|
|
52577
|
+
logistics_trace_node: {
|
|
52578
|
+
Args: {
|
|
52579
|
+
p_op?: string;
|
|
52580
|
+
p_status?: string;
|
|
52581
|
+
p_table: string;
|
|
52582
|
+
};
|
|
52583
|
+
Returns: string;
|
|
52584
|
+
};
|
|
52585
|
+
logistics_trace_order_overview: {
|
|
52586
|
+
Args: {
|
|
52587
|
+
p_error_class?: string;
|
|
52588
|
+
p_limit?: number;
|
|
52589
|
+
p_search?: string;
|
|
52590
|
+
p_since?: string;
|
|
52591
|
+
p_source?: string;
|
|
52592
|
+
p_state?: string;
|
|
52593
|
+
p_step?: string;
|
|
52594
|
+
};
|
|
52595
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52596
|
+
};
|
|
52597
|
+
logistics_trace_order_state: {
|
|
52598
|
+
Args: {
|
|
52599
|
+
p_order_ref: string;
|
|
52600
|
+
};
|
|
52601
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52602
|
+
};
|
|
52603
|
+
logistics_trace_order_step: {
|
|
52604
|
+
Args: {
|
|
52605
|
+
p_class?: string;
|
|
52606
|
+
p_decision?: string;
|
|
52607
|
+
p_error?: string;
|
|
52608
|
+
p_next_step?: string;
|
|
52609
|
+
p_node: string;
|
|
52610
|
+
p_order_id: string;
|
|
52611
|
+
p_reason?: string;
|
|
52612
|
+
p_status: string;
|
|
52613
|
+
p_step: string;
|
|
52614
|
+
};
|
|
52615
|
+
Returns: undefined;
|
|
52616
|
+
};
|
|
52375
52617
|
logistics_trace_orders: {
|
|
52376
52618
|
Args: {
|
|
52377
52619
|
p_limit?: number;
|
|
@@ -52394,6 +52636,22 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
|
|
|
52394
52636
|
};
|
|
52395
52637
|
Returns: import("../integrations/supabase/types").Json;
|
|
52396
52638
|
};
|
|
52639
|
+
logistics_trace_version_events: {
|
|
52640
|
+
Args: {
|
|
52641
|
+
p_from?: string;
|
|
52642
|
+
p_limit?: number;
|
|
52643
|
+
p_order_ref: string;
|
|
52644
|
+
p_to?: string;
|
|
52645
|
+
p_version_id: string;
|
|
52646
|
+
};
|
|
52647
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52648
|
+
};
|
|
52649
|
+
logistics_trace_versions: {
|
|
52650
|
+
Args: {
|
|
52651
|
+
p_order_ref: string;
|
|
52652
|
+
};
|
|
52653
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52654
|
+
};
|
|
52397
52655
|
logistics_upsert_task: {
|
|
52398
52656
|
Args: {
|
|
52399
52657
|
p_buffer_ref: string;
|