@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
|
@@ -1823,6 +1823,42 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
1823
1823
|
};
|
|
1824
1824
|
Relationships: [];
|
|
1825
1825
|
};
|
|
1826
|
+
customer_assortment_items: {
|
|
1827
|
+
Row: {
|
|
1828
|
+
created_at: string;
|
|
1829
|
+
customer_key: string;
|
|
1830
|
+
id: string;
|
|
1831
|
+
in_assortment: boolean;
|
|
1832
|
+
manual_override: boolean;
|
|
1833
|
+
source: string;
|
|
1834
|
+
synced_at: string | null;
|
|
1835
|
+
trade_item_key: string;
|
|
1836
|
+
updated_at: string;
|
|
1837
|
+
};
|
|
1838
|
+
Insert: {
|
|
1839
|
+
created_at?: string;
|
|
1840
|
+
customer_key: string;
|
|
1841
|
+
id?: string;
|
|
1842
|
+
in_assortment?: boolean;
|
|
1843
|
+
manual_override?: boolean;
|
|
1844
|
+
source?: string;
|
|
1845
|
+
synced_at?: string | null;
|
|
1846
|
+
trade_item_key: string;
|
|
1847
|
+
updated_at?: string;
|
|
1848
|
+
};
|
|
1849
|
+
Update: {
|
|
1850
|
+
created_at?: string;
|
|
1851
|
+
customer_key?: string;
|
|
1852
|
+
id?: string;
|
|
1853
|
+
in_assortment?: boolean;
|
|
1854
|
+
manual_override?: boolean;
|
|
1855
|
+
source?: string;
|
|
1856
|
+
synced_at?: string | null;
|
|
1857
|
+
trade_item_key?: string;
|
|
1858
|
+
updated_at?: string;
|
|
1859
|
+
};
|
|
1860
|
+
Relationships: [];
|
|
1861
|
+
};
|
|
1826
1862
|
customer_audit_log: {
|
|
1827
1863
|
Row: {
|
|
1828
1864
|
action: string;
|
|
@@ -2227,40 +2263,58 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
2227
2263
|
};
|
|
2228
2264
|
customer_product_stickers: {
|
|
2229
2265
|
Row: {
|
|
2266
|
+
content_hash: string | null;
|
|
2230
2267
|
created_at: string;
|
|
2231
2268
|
customer_key: string;
|
|
2232
2269
|
file_name: string;
|
|
2233
2270
|
file_path: string;
|
|
2234
2271
|
file_size: number | null;
|
|
2272
|
+
floriday_sticker_id: string | null;
|
|
2273
|
+
floriday_synced_at: string | null;
|
|
2274
|
+
height_mm: number | null;
|
|
2235
2275
|
id: string;
|
|
2236
2276
|
mime_type: string | null;
|
|
2277
|
+
source: string;
|
|
2237
2278
|
trade_item_key: string;
|
|
2238
2279
|
updated_at: string;
|
|
2239
2280
|
uploaded_by: string | null;
|
|
2281
|
+
width_mm: number | null;
|
|
2240
2282
|
};
|
|
2241
2283
|
Insert: {
|
|
2284
|
+
content_hash?: string | null;
|
|
2242
2285
|
created_at?: string;
|
|
2243
2286
|
customer_key: string;
|
|
2244
2287
|
file_name: string;
|
|
2245
2288
|
file_path: string;
|
|
2246
2289
|
file_size?: number | null;
|
|
2290
|
+
floriday_sticker_id?: string | null;
|
|
2291
|
+
floriday_synced_at?: string | null;
|
|
2292
|
+
height_mm?: number | null;
|
|
2247
2293
|
id?: string;
|
|
2248
2294
|
mime_type?: string | null;
|
|
2295
|
+
source?: string;
|
|
2249
2296
|
trade_item_key: string;
|
|
2250
2297
|
updated_at?: string;
|
|
2251
2298
|
uploaded_by?: string | null;
|
|
2299
|
+
width_mm?: number | null;
|
|
2252
2300
|
};
|
|
2253
2301
|
Update: {
|
|
2302
|
+
content_hash?: string | null;
|
|
2254
2303
|
created_at?: string;
|
|
2255
2304
|
customer_key?: string;
|
|
2256
2305
|
file_name?: string;
|
|
2257
2306
|
file_path?: string;
|
|
2258
2307
|
file_size?: number | null;
|
|
2308
|
+
floriday_sticker_id?: string | null;
|
|
2309
|
+
floriday_synced_at?: string | null;
|
|
2310
|
+
height_mm?: number | null;
|
|
2259
2311
|
id?: string;
|
|
2260
2312
|
mime_type?: string | null;
|
|
2313
|
+
source?: string;
|
|
2261
2314
|
trade_item_key?: string;
|
|
2262
2315
|
updated_at?: string;
|
|
2263
2316
|
uploaded_by?: string | null;
|
|
2317
|
+
width_mm?: number | null;
|
|
2264
2318
|
};
|
|
2265
2319
|
Relationships: [];
|
|
2266
2320
|
};
|
|
@@ -11568,6 +11622,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11568
11622
|
Row: {
|
|
11569
11623
|
actor: string | null;
|
|
11570
11624
|
attempts: number;
|
|
11625
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11571
11626
|
cart_ref: string | null;
|
|
11572
11627
|
created_at: string;
|
|
11573
11628
|
db_action: string | null;
|
|
@@ -11578,6 +11633,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11578
11633
|
decision: string | null;
|
|
11579
11634
|
duration_ms: number | null;
|
|
11580
11635
|
error: string | null;
|
|
11636
|
+
error_class: string | null;
|
|
11581
11637
|
external_action: string | null;
|
|
11582
11638
|
external_ref: string | null;
|
|
11583
11639
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -11586,6 +11642,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11586
11642
|
id: string;
|
|
11587
11643
|
input: import("../integrations/supabase/types").Json | null;
|
|
11588
11644
|
next_attempt_at: string | null;
|
|
11645
|
+
next_step: string | null;
|
|
11646
|
+
node_id: string | null;
|
|
11589
11647
|
order_ref: string | null;
|
|
11590
11648
|
order_source: string | null;
|
|
11591
11649
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -11602,6 +11660,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11602
11660
|
Insert: {
|
|
11603
11661
|
actor?: string | null;
|
|
11604
11662
|
attempts?: number;
|
|
11663
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11605
11664
|
cart_ref?: string | null;
|
|
11606
11665
|
created_at?: string;
|
|
11607
11666
|
db_action?: string | null;
|
|
@@ -11612,6 +11671,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11612
11671
|
decision?: string | null;
|
|
11613
11672
|
duration_ms?: number | null;
|
|
11614
11673
|
error?: string | null;
|
|
11674
|
+
error_class?: string | null;
|
|
11615
11675
|
external_action?: string | null;
|
|
11616
11676
|
external_ref?: string | null;
|
|
11617
11677
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11620,6 +11680,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11620
11680
|
id?: string;
|
|
11621
11681
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11622
11682
|
next_attempt_at?: string | null;
|
|
11683
|
+
next_step?: string | null;
|
|
11684
|
+
node_id?: string | null;
|
|
11623
11685
|
order_ref?: string | null;
|
|
11624
11686
|
order_source?: string | null;
|
|
11625
11687
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11636,6 +11698,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11636
11698
|
Update: {
|
|
11637
11699
|
actor?: string | null;
|
|
11638
11700
|
attempts?: number;
|
|
11701
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11639
11702
|
cart_ref?: string | null;
|
|
11640
11703
|
created_at?: string;
|
|
11641
11704
|
db_action?: string | null;
|
|
@@ -11646,6 +11709,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11646
11709
|
decision?: string | null;
|
|
11647
11710
|
duration_ms?: number | null;
|
|
11648
11711
|
error?: string | null;
|
|
11712
|
+
error_class?: string | null;
|
|
11649
11713
|
external_action?: string | null;
|
|
11650
11714
|
external_ref?: string | null;
|
|
11651
11715
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -11654,6 +11718,8 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11654
11718
|
id?: string;
|
|
11655
11719
|
input?: import("../integrations/supabase/types").Json | null;
|
|
11656
11720
|
next_attempt_at?: string | null;
|
|
11721
|
+
next_step?: string | null;
|
|
11722
|
+
node_id?: string | null;
|
|
11657
11723
|
order_ref?: string | null;
|
|
11658
11724
|
order_source?: string | null;
|
|
11659
11725
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -25158,12 +25224,59 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
25158
25224
|
};
|
|
25159
25225
|
Returns: string;
|
|
25160
25226
|
};
|
|
25227
|
+
logistics_trace_all_orders: {
|
|
25228
|
+
Args: {
|
|
25229
|
+
p_limit?: number;
|
|
25230
|
+
p_search?: string;
|
|
25231
|
+
};
|
|
25232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25233
|
+
};
|
|
25161
25234
|
logistics_trace_batch: {
|
|
25162
25235
|
Args: {
|
|
25163
25236
|
p: import("../integrations/supabase/types").Json;
|
|
25164
25237
|
};
|
|
25165
25238
|
Returns: number;
|
|
25166
25239
|
};
|
|
25240
|
+
logistics_trace_node: {
|
|
25241
|
+
Args: {
|
|
25242
|
+
p_op?: string;
|
|
25243
|
+
p_status?: string;
|
|
25244
|
+
p_table: string;
|
|
25245
|
+
};
|
|
25246
|
+
Returns: string;
|
|
25247
|
+
};
|
|
25248
|
+
logistics_trace_order_overview: {
|
|
25249
|
+
Args: {
|
|
25250
|
+
p_error_class?: string;
|
|
25251
|
+
p_limit?: number;
|
|
25252
|
+
p_search?: string;
|
|
25253
|
+
p_since?: string;
|
|
25254
|
+
p_source?: string;
|
|
25255
|
+
p_state?: string;
|
|
25256
|
+
p_step?: string;
|
|
25257
|
+
};
|
|
25258
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25259
|
+
};
|
|
25260
|
+
logistics_trace_order_state: {
|
|
25261
|
+
Args: {
|
|
25262
|
+
p_order_ref: string;
|
|
25263
|
+
};
|
|
25264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25265
|
+
};
|
|
25266
|
+
logistics_trace_order_step: {
|
|
25267
|
+
Args: {
|
|
25268
|
+
p_class?: string;
|
|
25269
|
+
p_decision?: string;
|
|
25270
|
+
p_error?: string;
|
|
25271
|
+
p_next_step?: string;
|
|
25272
|
+
p_node: string;
|
|
25273
|
+
p_order_id: string;
|
|
25274
|
+
p_reason?: string;
|
|
25275
|
+
p_status: string;
|
|
25276
|
+
p_step: string;
|
|
25277
|
+
};
|
|
25278
|
+
Returns: undefined;
|
|
25279
|
+
};
|
|
25167
25280
|
logistics_trace_orders: {
|
|
25168
25281
|
Args: {
|
|
25169
25282
|
p_limit?: number;
|
|
@@ -25186,6 +25299,22 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
25186
25299
|
};
|
|
25187
25300
|
Returns: import("../integrations/supabase/types").Json;
|
|
25188
25301
|
};
|
|
25302
|
+
logistics_trace_version_events: {
|
|
25303
|
+
Args: {
|
|
25304
|
+
p_from?: string;
|
|
25305
|
+
p_limit?: number;
|
|
25306
|
+
p_order_ref: string;
|
|
25307
|
+
p_to?: string;
|
|
25308
|
+
p_version_id: string;
|
|
25309
|
+
};
|
|
25310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25311
|
+
};
|
|
25312
|
+
logistics_trace_versions: {
|
|
25313
|
+
Args: {
|
|
25314
|
+
p_order_ref: string;
|
|
25315
|
+
};
|
|
25316
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25317
|
+
};
|
|
25189
25318
|
logistics_upsert_task: {
|
|
25190
25319
|
Args: {
|
|
25191
25320
|
p_buffer_ref: string;
|
|
@@ -29006,6 +29135,42 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
29006
29135
|
};
|
|
29007
29136
|
Relationships: [];
|
|
29008
29137
|
};
|
|
29138
|
+
customer_assortment_items: {
|
|
29139
|
+
Row: {
|
|
29140
|
+
created_at: string;
|
|
29141
|
+
customer_key: string;
|
|
29142
|
+
id: string;
|
|
29143
|
+
in_assortment: boolean;
|
|
29144
|
+
manual_override: boolean;
|
|
29145
|
+
source: string;
|
|
29146
|
+
synced_at: string | null;
|
|
29147
|
+
trade_item_key: string;
|
|
29148
|
+
updated_at: string;
|
|
29149
|
+
};
|
|
29150
|
+
Insert: {
|
|
29151
|
+
created_at?: string;
|
|
29152
|
+
customer_key: string;
|
|
29153
|
+
id?: string;
|
|
29154
|
+
in_assortment?: boolean;
|
|
29155
|
+
manual_override?: boolean;
|
|
29156
|
+
source?: string;
|
|
29157
|
+
synced_at?: string | null;
|
|
29158
|
+
trade_item_key: string;
|
|
29159
|
+
updated_at?: string;
|
|
29160
|
+
};
|
|
29161
|
+
Update: {
|
|
29162
|
+
created_at?: string;
|
|
29163
|
+
customer_key?: string;
|
|
29164
|
+
id?: string;
|
|
29165
|
+
in_assortment?: boolean;
|
|
29166
|
+
manual_override?: boolean;
|
|
29167
|
+
source?: string;
|
|
29168
|
+
synced_at?: string | null;
|
|
29169
|
+
trade_item_key?: string;
|
|
29170
|
+
updated_at?: string;
|
|
29171
|
+
};
|
|
29172
|
+
Relationships: [];
|
|
29173
|
+
};
|
|
29009
29174
|
customer_audit_log: {
|
|
29010
29175
|
Row: {
|
|
29011
29176
|
action: string;
|
|
@@ -29410,40 +29575,58 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
29410
29575
|
};
|
|
29411
29576
|
customer_product_stickers: {
|
|
29412
29577
|
Row: {
|
|
29578
|
+
content_hash: string | null;
|
|
29413
29579
|
created_at: string;
|
|
29414
29580
|
customer_key: string;
|
|
29415
29581
|
file_name: string;
|
|
29416
29582
|
file_path: string;
|
|
29417
29583
|
file_size: number | null;
|
|
29584
|
+
floriday_sticker_id: string | null;
|
|
29585
|
+
floriday_synced_at: string | null;
|
|
29586
|
+
height_mm: number | null;
|
|
29418
29587
|
id: string;
|
|
29419
29588
|
mime_type: string | null;
|
|
29589
|
+
source: string;
|
|
29420
29590
|
trade_item_key: string;
|
|
29421
29591
|
updated_at: string;
|
|
29422
29592
|
uploaded_by: string | null;
|
|
29593
|
+
width_mm: number | null;
|
|
29423
29594
|
};
|
|
29424
29595
|
Insert: {
|
|
29596
|
+
content_hash?: string | null;
|
|
29425
29597
|
created_at?: string;
|
|
29426
29598
|
customer_key: string;
|
|
29427
29599
|
file_name: string;
|
|
29428
29600
|
file_path: string;
|
|
29429
29601
|
file_size?: number | null;
|
|
29602
|
+
floriday_sticker_id?: string | null;
|
|
29603
|
+
floriday_synced_at?: string | null;
|
|
29604
|
+
height_mm?: number | null;
|
|
29430
29605
|
id?: string;
|
|
29431
29606
|
mime_type?: string | null;
|
|
29607
|
+
source?: string;
|
|
29432
29608
|
trade_item_key: string;
|
|
29433
29609
|
updated_at?: string;
|
|
29434
29610
|
uploaded_by?: string | null;
|
|
29611
|
+
width_mm?: number | null;
|
|
29435
29612
|
};
|
|
29436
29613
|
Update: {
|
|
29614
|
+
content_hash?: string | null;
|
|
29437
29615
|
created_at?: string;
|
|
29438
29616
|
customer_key?: string;
|
|
29439
29617
|
file_name?: string;
|
|
29440
29618
|
file_path?: string;
|
|
29441
29619
|
file_size?: number | null;
|
|
29620
|
+
floriday_sticker_id?: string | null;
|
|
29621
|
+
floriday_synced_at?: string | null;
|
|
29622
|
+
height_mm?: number | null;
|
|
29442
29623
|
id?: string;
|
|
29443
29624
|
mime_type?: string | null;
|
|
29625
|
+
source?: string;
|
|
29444
29626
|
trade_item_key?: string;
|
|
29445
29627
|
updated_at?: string;
|
|
29446
29628
|
uploaded_by?: string | null;
|
|
29629
|
+
width_mm?: number | null;
|
|
29447
29630
|
};
|
|
29448
29631
|
Relationships: [];
|
|
29449
29632
|
};
|
|
@@ -38751,6 +38934,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38751
38934
|
Row: {
|
|
38752
38935
|
actor: string | null;
|
|
38753
38936
|
attempts: number;
|
|
38937
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
38754
38938
|
cart_ref: string | null;
|
|
38755
38939
|
created_at: string;
|
|
38756
38940
|
db_action: string | null;
|
|
@@ -38761,6 +38945,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38761
38945
|
decision: string | null;
|
|
38762
38946
|
duration_ms: number | null;
|
|
38763
38947
|
error: string | null;
|
|
38948
|
+
error_class: string | null;
|
|
38764
38949
|
external_action: string | null;
|
|
38765
38950
|
external_ref: string | null;
|
|
38766
38951
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -38769,6 +38954,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38769
38954
|
id: string;
|
|
38770
38955
|
input: import("../integrations/supabase/types").Json | null;
|
|
38771
38956
|
next_attempt_at: string | null;
|
|
38957
|
+
next_step: string | null;
|
|
38958
|
+
node_id: string | null;
|
|
38772
38959
|
order_ref: string | null;
|
|
38773
38960
|
order_source: string | null;
|
|
38774
38961
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -38785,6 +38972,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38785
38972
|
Insert: {
|
|
38786
38973
|
actor?: string | null;
|
|
38787
38974
|
attempts?: number;
|
|
38975
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38788
38976
|
cart_ref?: string | null;
|
|
38789
38977
|
created_at?: string;
|
|
38790
38978
|
db_action?: string | null;
|
|
@@ -38795,6 +38983,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38795
38983
|
decision?: string | null;
|
|
38796
38984
|
duration_ms?: number | null;
|
|
38797
38985
|
error?: string | null;
|
|
38986
|
+
error_class?: string | null;
|
|
38798
38987
|
external_action?: string | null;
|
|
38799
38988
|
external_ref?: string | null;
|
|
38800
38989
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38803,6 +38992,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38803
38992
|
id?: string;
|
|
38804
38993
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38805
38994
|
next_attempt_at?: string | null;
|
|
38995
|
+
next_step?: string | null;
|
|
38996
|
+
node_id?: string | null;
|
|
38806
38997
|
order_ref?: string | null;
|
|
38807
38998
|
order_source?: string | null;
|
|
38808
38999
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38819,6 +39010,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38819
39010
|
Update: {
|
|
38820
39011
|
actor?: string | null;
|
|
38821
39012
|
attempts?: number;
|
|
39013
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
38822
39014
|
cart_ref?: string | null;
|
|
38823
39015
|
created_at?: string;
|
|
38824
39016
|
db_action?: string | null;
|
|
@@ -38829,6 +39021,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38829
39021
|
decision?: string | null;
|
|
38830
39022
|
duration_ms?: number | null;
|
|
38831
39023
|
error?: string | null;
|
|
39024
|
+
error_class?: string | null;
|
|
38832
39025
|
external_action?: string | null;
|
|
38833
39026
|
external_ref?: string | null;
|
|
38834
39027
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -38837,6 +39030,8 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
38837
39030
|
id?: string;
|
|
38838
39031
|
input?: import("../integrations/supabase/types").Json | null;
|
|
38839
39032
|
next_attempt_at?: string | null;
|
|
39033
|
+
next_step?: string | null;
|
|
39034
|
+
node_id?: string | null;
|
|
38840
39035
|
order_ref?: string | null;
|
|
38841
39036
|
order_source?: string | null;
|
|
38842
39037
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -52341,12 +52536,59 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
52341
52536
|
};
|
|
52342
52537
|
Returns: string;
|
|
52343
52538
|
};
|
|
52539
|
+
logistics_trace_all_orders: {
|
|
52540
|
+
Args: {
|
|
52541
|
+
p_limit?: number;
|
|
52542
|
+
p_search?: string;
|
|
52543
|
+
};
|
|
52544
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52545
|
+
};
|
|
52344
52546
|
logistics_trace_batch: {
|
|
52345
52547
|
Args: {
|
|
52346
52548
|
p: import("../integrations/supabase/types").Json;
|
|
52347
52549
|
};
|
|
52348
52550
|
Returns: number;
|
|
52349
52551
|
};
|
|
52552
|
+
logistics_trace_node: {
|
|
52553
|
+
Args: {
|
|
52554
|
+
p_op?: string;
|
|
52555
|
+
p_status?: string;
|
|
52556
|
+
p_table: string;
|
|
52557
|
+
};
|
|
52558
|
+
Returns: string;
|
|
52559
|
+
};
|
|
52560
|
+
logistics_trace_order_overview: {
|
|
52561
|
+
Args: {
|
|
52562
|
+
p_error_class?: string;
|
|
52563
|
+
p_limit?: number;
|
|
52564
|
+
p_search?: string;
|
|
52565
|
+
p_since?: string;
|
|
52566
|
+
p_source?: string;
|
|
52567
|
+
p_state?: string;
|
|
52568
|
+
p_step?: string;
|
|
52569
|
+
};
|
|
52570
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52571
|
+
};
|
|
52572
|
+
logistics_trace_order_state: {
|
|
52573
|
+
Args: {
|
|
52574
|
+
p_order_ref: string;
|
|
52575
|
+
};
|
|
52576
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52577
|
+
};
|
|
52578
|
+
logistics_trace_order_step: {
|
|
52579
|
+
Args: {
|
|
52580
|
+
p_class?: string;
|
|
52581
|
+
p_decision?: string;
|
|
52582
|
+
p_error?: string;
|
|
52583
|
+
p_next_step?: string;
|
|
52584
|
+
p_node: string;
|
|
52585
|
+
p_order_id: string;
|
|
52586
|
+
p_reason?: string;
|
|
52587
|
+
p_status: string;
|
|
52588
|
+
p_step: string;
|
|
52589
|
+
};
|
|
52590
|
+
Returns: undefined;
|
|
52591
|
+
};
|
|
52350
52592
|
logistics_trace_orders: {
|
|
52351
52593
|
Args: {
|
|
52352
52594
|
p_limit?: number;
|
|
@@ -52369,6 +52611,22 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
52369
52611
|
};
|
|
52370
52612
|
Returns: import("../integrations/supabase/types").Json;
|
|
52371
52613
|
};
|
|
52614
|
+
logistics_trace_version_events: {
|
|
52615
|
+
Args: {
|
|
52616
|
+
p_from?: string;
|
|
52617
|
+
p_limit?: number;
|
|
52618
|
+
p_order_ref: string;
|
|
52619
|
+
p_to?: string;
|
|
52620
|
+
p_version_id: string;
|
|
52621
|
+
};
|
|
52622
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52623
|
+
};
|
|
52624
|
+
logistics_trace_versions: {
|
|
52625
|
+
Args: {
|
|
52626
|
+
p_order_ref: string;
|
|
52627
|
+
};
|
|
52628
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52629
|
+
};
|
|
52372
52630
|
logistics_upsert_task: {
|
|
52373
52631
|
Args: {
|
|
52374
52632
|
p_buffer_ref: string;
|
|
@@ -56189,6 +56447,42 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
56189
56447
|
};
|
|
56190
56448
|
Relationships: [];
|
|
56191
56449
|
};
|
|
56450
|
+
customer_assortment_items: {
|
|
56451
|
+
Row: {
|
|
56452
|
+
created_at: string;
|
|
56453
|
+
customer_key: string;
|
|
56454
|
+
id: string;
|
|
56455
|
+
in_assortment: boolean;
|
|
56456
|
+
manual_override: boolean;
|
|
56457
|
+
source: string;
|
|
56458
|
+
synced_at: string | null;
|
|
56459
|
+
trade_item_key: string;
|
|
56460
|
+
updated_at: string;
|
|
56461
|
+
};
|
|
56462
|
+
Insert: {
|
|
56463
|
+
created_at?: string;
|
|
56464
|
+
customer_key: string;
|
|
56465
|
+
id?: string;
|
|
56466
|
+
in_assortment?: boolean;
|
|
56467
|
+
manual_override?: boolean;
|
|
56468
|
+
source?: string;
|
|
56469
|
+
synced_at?: string | null;
|
|
56470
|
+
trade_item_key: string;
|
|
56471
|
+
updated_at?: string;
|
|
56472
|
+
};
|
|
56473
|
+
Update: {
|
|
56474
|
+
created_at?: string;
|
|
56475
|
+
customer_key?: string;
|
|
56476
|
+
id?: string;
|
|
56477
|
+
in_assortment?: boolean;
|
|
56478
|
+
manual_override?: boolean;
|
|
56479
|
+
source?: string;
|
|
56480
|
+
synced_at?: string | null;
|
|
56481
|
+
trade_item_key?: string;
|
|
56482
|
+
updated_at?: string;
|
|
56483
|
+
};
|
|
56484
|
+
Relationships: [];
|
|
56485
|
+
};
|
|
56192
56486
|
customer_audit_log: {
|
|
56193
56487
|
Row: {
|
|
56194
56488
|
action: string;
|
|
@@ -56593,40 +56887,58 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
56593
56887
|
};
|
|
56594
56888
|
customer_product_stickers: {
|
|
56595
56889
|
Row: {
|
|
56890
|
+
content_hash: string | null;
|
|
56596
56891
|
created_at: string;
|
|
56597
56892
|
customer_key: string;
|
|
56598
56893
|
file_name: string;
|
|
56599
56894
|
file_path: string;
|
|
56600
56895
|
file_size: number | null;
|
|
56896
|
+
floriday_sticker_id: string | null;
|
|
56897
|
+
floriday_synced_at: string | null;
|
|
56898
|
+
height_mm: number | null;
|
|
56601
56899
|
id: string;
|
|
56602
56900
|
mime_type: string | null;
|
|
56901
|
+
source: string;
|
|
56603
56902
|
trade_item_key: string;
|
|
56604
56903
|
updated_at: string;
|
|
56605
56904
|
uploaded_by: string | null;
|
|
56905
|
+
width_mm: number | null;
|
|
56606
56906
|
};
|
|
56607
56907
|
Insert: {
|
|
56908
|
+
content_hash?: string | null;
|
|
56608
56909
|
created_at?: string;
|
|
56609
56910
|
customer_key: string;
|
|
56610
56911
|
file_name: string;
|
|
56611
56912
|
file_path: string;
|
|
56612
56913
|
file_size?: number | null;
|
|
56914
|
+
floriday_sticker_id?: string | null;
|
|
56915
|
+
floriday_synced_at?: string | null;
|
|
56916
|
+
height_mm?: number | null;
|
|
56613
56917
|
id?: string;
|
|
56614
56918
|
mime_type?: string | null;
|
|
56919
|
+
source?: string;
|
|
56615
56920
|
trade_item_key: string;
|
|
56616
56921
|
updated_at?: string;
|
|
56617
56922
|
uploaded_by?: string | null;
|
|
56923
|
+
width_mm?: number | null;
|
|
56618
56924
|
};
|
|
56619
56925
|
Update: {
|
|
56926
|
+
content_hash?: string | null;
|
|
56620
56927
|
created_at?: string;
|
|
56621
56928
|
customer_key?: string;
|
|
56622
56929
|
file_name?: string;
|
|
56623
56930
|
file_path?: string;
|
|
56624
56931
|
file_size?: number | null;
|
|
56932
|
+
floriday_sticker_id?: string | null;
|
|
56933
|
+
floriday_synced_at?: string | null;
|
|
56934
|
+
height_mm?: number | null;
|
|
56625
56935
|
id?: string;
|
|
56626
56936
|
mime_type?: string | null;
|
|
56937
|
+
source?: string;
|
|
56627
56938
|
trade_item_key?: string;
|
|
56628
56939
|
updated_at?: string;
|
|
56629
56940
|
uploaded_by?: string | null;
|
|
56941
|
+
width_mm?: number | null;
|
|
56630
56942
|
};
|
|
56631
56943
|
Relationships: [];
|
|
56632
56944
|
};
|
|
@@ -65934,6 +66246,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65934
66246
|
Row: {
|
|
65935
66247
|
actor: string | null;
|
|
65936
66248
|
attempts: number;
|
|
66249
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
65937
66250
|
cart_ref: string | null;
|
|
65938
66251
|
created_at: string;
|
|
65939
66252
|
db_action: string | null;
|
|
@@ -65944,6 +66257,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65944
66257
|
decision: string | null;
|
|
65945
66258
|
duration_ms: number | null;
|
|
65946
66259
|
error: string | null;
|
|
66260
|
+
error_class: string | null;
|
|
65947
66261
|
external_action: string | null;
|
|
65948
66262
|
external_ref: string | null;
|
|
65949
66263
|
external_response: import("../integrations/supabase/types").Json | null;
|
|
@@ -65952,6 +66266,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65952
66266
|
id: string;
|
|
65953
66267
|
input: import("../integrations/supabase/types").Json | null;
|
|
65954
66268
|
next_attempt_at: string | null;
|
|
66269
|
+
next_step: string | null;
|
|
66270
|
+
node_id: string | null;
|
|
65955
66271
|
order_ref: string | null;
|
|
65956
66272
|
order_source: string | null;
|
|
65957
66273
|
output: import("../integrations/supabase/types").Json | null;
|
|
@@ -65968,6 +66284,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65968
66284
|
Insert: {
|
|
65969
66285
|
actor?: string | null;
|
|
65970
66286
|
attempts?: number;
|
|
66287
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
65971
66288
|
cart_ref?: string | null;
|
|
65972
66289
|
created_at?: string;
|
|
65973
66290
|
db_action?: string | null;
|
|
@@ -65978,6 +66295,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65978
66295
|
decision?: string | null;
|
|
65979
66296
|
duration_ms?: number | null;
|
|
65980
66297
|
error?: string | null;
|
|
66298
|
+
error_class?: string | null;
|
|
65981
66299
|
external_action?: string | null;
|
|
65982
66300
|
external_ref?: string | null;
|
|
65983
66301
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -65986,6 +66304,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
65986
66304
|
id?: string;
|
|
65987
66305
|
input?: import("../integrations/supabase/types").Json | null;
|
|
65988
66306
|
next_attempt_at?: string | null;
|
|
66307
|
+
next_step?: string | null;
|
|
66308
|
+
node_id?: string | null;
|
|
65989
66309
|
order_ref?: string | null;
|
|
65990
66310
|
order_source?: string | null;
|
|
65991
66311
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66002,6 +66322,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
66002
66322
|
Update: {
|
|
66003
66323
|
actor?: string | null;
|
|
66004
66324
|
attempts?: number;
|
|
66325
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
66005
66326
|
cart_ref?: string | null;
|
|
66006
66327
|
created_at?: string;
|
|
66007
66328
|
db_action?: string | null;
|
|
@@ -66012,6 +66333,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
66012
66333
|
decision?: string | null;
|
|
66013
66334
|
duration_ms?: number | null;
|
|
66014
66335
|
error?: string | null;
|
|
66336
|
+
error_class?: string | null;
|
|
66015
66337
|
external_action?: string | null;
|
|
66016
66338
|
external_ref?: string | null;
|
|
66017
66339
|
external_response?: import("../integrations/supabase/types").Json | null;
|
|
@@ -66020,6 +66342,8 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
66020
66342
|
id?: string;
|
|
66021
66343
|
input?: import("../integrations/supabase/types").Json | null;
|
|
66022
66344
|
next_attempt_at?: string | null;
|
|
66345
|
+
next_step?: string | null;
|
|
66346
|
+
node_id?: string | null;
|
|
66023
66347
|
order_ref?: string | null;
|
|
66024
66348
|
order_source?: string | null;
|
|
66025
66349
|
output?: import("../integrations/supabase/types").Json | null;
|
|
@@ -79524,12 +79848,59 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
79524
79848
|
};
|
|
79525
79849
|
Returns: string;
|
|
79526
79850
|
};
|
|
79851
|
+
logistics_trace_all_orders: {
|
|
79852
|
+
Args: {
|
|
79853
|
+
p_limit?: number;
|
|
79854
|
+
p_search?: string;
|
|
79855
|
+
};
|
|
79856
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79857
|
+
};
|
|
79527
79858
|
logistics_trace_batch: {
|
|
79528
79859
|
Args: {
|
|
79529
79860
|
p: import("../integrations/supabase/types").Json;
|
|
79530
79861
|
};
|
|
79531
79862
|
Returns: number;
|
|
79532
79863
|
};
|
|
79864
|
+
logistics_trace_node: {
|
|
79865
|
+
Args: {
|
|
79866
|
+
p_op?: string;
|
|
79867
|
+
p_status?: string;
|
|
79868
|
+
p_table: string;
|
|
79869
|
+
};
|
|
79870
|
+
Returns: string;
|
|
79871
|
+
};
|
|
79872
|
+
logistics_trace_order_overview: {
|
|
79873
|
+
Args: {
|
|
79874
|
+
p_error_class?: string;
|
|
79875
|
+
p_limit?: number;
|
|
79876
|
+
p_search?: string;
|
|
79877
|
+
p_since?: string;
|
|
79878
|
+
p_source?: string;
|
|
79879
|
+
p_state?: string;
|
|
79880
|
+
p_step?: string;
|
|
79881
|
+
};
|
|
79882
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79883
|
+
};
|
|
79884
|
+
logistics_trace_order_state: {
|
|
79885
|
+
Args: {
|
|
79886
|
+
p_order_ref: string;
|
|
79887
|
+
};
|
|
79888
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79889
|
+
};
|
|
79890
|
+
logistics_trace_order_step: {
|
|
79891
|
+
Args: {
|
|
79892
|
+
p_class?: string;
|
|
79893
|
+
p_decision?: string;
|
|
79894
|
+
p_error?: string;
|
|
79895
|
+
p_next_step?: string;
|
|
79896
|
+
p_node: string;
|
|
79897
|
+
p_order_id: string;
|
|
79898
|
+
p_reason?: string;
|
|
79899
|
+
p_status: string;
|
|
79900
|
+
p_step: string;
|
|
79901
|
+
};
|
|
79902
|
+
Returns: undefined;
|
|
79903
|
+
};
|
|
79533
79904
|
logistics_trace_orders: {
|
|
79534
79905
|
Args: {
|
|
79535
79906
|
p_limit?: number;
|
|
@@ -79552,6 +79923,22 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
79552
79923
|
};
|
|
79553
79924
|
Returns: import("../integrations/supabase/types").Json;
|
|
79554
79925
|
};
|
|
79926
|
+
logistics_trace_version_events: {
|
|
79927
|
+
Args: {
|
|
79928
|
+
p_from?: string;
|
|
79929
|
+
p_limit?: number;
|
|
79930
|
+
p_order_ref: string;
|
|
79931
|
+
p_to?: string;
|
|
79932
|
+
p_version_id: string;
|
|
79933
|
+
};
|
|
79934
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79935
|
+
};
|
|
79936
|
+
logistics_trace_versions: {
|
|
79937
|
+
Args: {
|
|
79938
|
+
p_order_ref: string;
|
|
79939
|
+
};
|
|
79940
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79941
|
+
};
|
|
79555
79942
|
logistics_upsert_task: {
|
|
79556
79943
|
Args: {
|
|
79557
79944
|
p_buffer_ref: string;
|