@flowselections/mailbox-orders 1.0.6 → 1.0.7
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/integrations/supabase/auth-attacher.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-attacher.js +24 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +66 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +66 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +66 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +66 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/mailbox-template.functions.d.ts +396 -0
- package/dist-lib/lib/mailbox-template.functions.d.ts.map +1 -1
- package/dist-lib/lib/mailbox.functions.d.ts +1122 -0
- package/dist-lib/lib/mailbox.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9316,6 +9316,32 @@ export declare const ingestEmailEvent: import("@tanstack/start-client-core").Opt
|
|
|
9316
9316
|
};
|
|
9317
9317
|
Returns: number;
|
|
9318
9318
|
};
|
|
9319
|
+
afh_city_code: {
|
|
9320
|
+
Args: {
|
|
9321
|
+
_city: string;
|
|
9322
|
+
_country: string;
|
|
9323
|
+
};
|
|
9324
|
+
Returns: string;
|
|
9325
|
+
};
|
|
9326
|
+
afh_normalize_country: {
|
|
9327
|
+
Args: {
|
|
9328
|
+
_raw: string;
|
|
9329
|
+
};
|
|
9330
|
+
Returns: string;
|
|
9331
|
+
};
|
|
9332
|
+
afh_normalize_nl_province: {
|
|
9333
|
+
Args: {
|
|
9334
|
+
_raw: string;
|
|
9335
|
+
};
|
|
9336
|
+
Returns: string;
|
|
9337
|
+
};
|
|
9338
|
+
afh_subtract_workdays: {
|
|
9339
|
+
Args: {
|
|
9340
|
+
_date: string;
|
|
9341
|
+
_days: number;
|
|
9342
|
+
};
|
|
9343
|
+
Returns: string;
|
|
9344
|
+
};
|
|
9319
9345
|
apply_stock_consumption: {
|
|
9320
9346
|
Args: {
|
|
9321
9347
|
p_order_id: string;
|
|
@@ -9361,12 +9387,40 @@ export declare const ingestEmailEvent: import("@tanstack/start-client-core").Opt
|
|
|
9361
9387
|
order_number: string;
|
|
9362
9388
|
}[];
|
|
9363
9389
|
};
|
|
9390
|
+
backfill_open_order_reservations: {
|
|
9391
|
+
Args: never;
|
|
9392
|
+
Returns: {
|
|
9393
|
+
processed_items: number;
|
|
9394
|
+
}[];
|
|
9395
|
+
};
|
|
9364
9396
|
call_exact_route: {
|
|
9365
9397
|
Args: {
|
|
9366
9398
|
path: string;
|
|
9367
9399
|
};
|
|
9368
9400
|
Returns: number;
|
|
9369
9401
|
};
|
|
9402
|
+
check_offer_product_available_stock: {
|
|
9403
|
+
Args: {
|
|
9404
|
+
p_campaign_product_id: string;
|
|
9405
|
+
p_code: string;
|
|
9406
|
+
p_needed_qty?: number;
|
|
9407
|
+
p_product_name?: string;
|
|
9408
|
+
};
|
|
9409
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9410
|
+
};
|
|
9411
|
+
check_trade_item_available_stock: {
|
|
9412
|
+
Args: {
|
|
9413
|
+
p_connection_id?: string;
|
|
9414
|
+
p_context?: string;
|
|
9415
|
+
p_needed_qty?: number;
|
|
9416
|
+
p_order_id?: string;
|
|
9417
|
+
p_order_item_id?: string;
|
|
9418
|
+
p_owner_id?: string;
|
|
9419
|
+
p_product_name?: string;
|
|
9420
|
+
p_trade_item_key: string;
|
|
9421
|
+
};
|
|
9422
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9423
|
+
};
|
|
9370
9424
|
cleanup_old_bookings: {
|
|
9371
9425
|
Args: never;
|
|
9372
9426
|
Returns: number;
|
|
@@ -9410,6 +9464,12 @@ export declare const ingestEmailEvent: import("@tanstack/start-client-core").Opt
|
|
|
9410
9464
|
table_name: string;
|
|
9411
9465
|
}[];
|
|
9412
9466
|
};
|
|
9467
|
+
dispatch_carrier_signups_sql: {
|
|
9468
|
+
Args: {
|
|
9469
|
+
_catchup?: string;
|
|
9470
|
+
};
|
|
9471
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9472
|
+
};
|
|
9413
9473
|
email_auth_decrypt: {
|
|
9414
9474
|
Args: {
|
|
9415
9475
|
cipher: string;
|
|
@@ -9482,6 +9542,12 @@ export declare const ingestEmailEvent: import("@tanstack/start-client-core").Opt
|
|
|
9482
9542
|
};
|
|
9483
9543
|
Returns: boolean;
|
|
9484
9544
|
};
|
|
9545
|
+
find_trade_item_key_by_name: {
|
|
9546
|
+
Args: {
|
|
9547
|
+
p_name: string;
|
|
9548
|
+
};
|
|
9549
|
+
Returns: string;
|
|
9550
|
+
};
|
|
9485
9551
|
format_cart_number: {
|
|
9486
9552
|
Args: {
|
|
9487
9553
|
p_pick_date: string;
|
|
@@ -19323,6 +19389,32 @@ export declare const backfillRecentEvents: import("@tanstack/start-client-core")
|
|
|
19323
19389
|
};
|
|
19324
19390
|
Returns: number;
|
|
19325
19391
|
};
|
|
19392
|
+
afh_city_code: {
|
|
19393
|
+
Args: {
|
|
19394
|
+
_city: string;
|
|
19395
|
+
_country: string;
|
|
19396
|
+
};
|
|
19397
|
+
Returns: string;
|
|
19398
|
+
};
|
|
19399
|
+
afh_normalize_country: {
|
|
19400
|
+
Args: {
|
|
19401
|
+
_raw: string;
|
|
19402
|
+
};
|
|
19403
|
+
Returns: string;
|
|
19404
|
+
};
|
|
19405
|
+
afh_normalize_nl_province: {
|
|
19406
|
+
Args: {
|
|
19407
|
+
_raw: string;
|
|
19408
|
+
};
|
|
19409
|
+
Returns: string;
|
|
19410
|
+
};
|
|
19411
|
+
afh_subtract_workdays: {
|
|
19412
|
+
Args: {
|
|
19413
|
+
_date: string;
|
|
19414
|
+
_days: number;
|
|
19415
|
+
};
|
|
19416
|
+
Returns: string;
|
|
19417
|
+
};
|
|
19326
19418
|
apply_stock_consumption: {
|
|
19327
19419
|
Args: {
|
|
19328
19420
|
p_order_id: string;
|
|
@@ -19368,12 +19460,40 @@ export declare const backfillRecentEvents: import("@tanstack/start-client-core")
|
|
|
19368
19460
|
order_number: string;
|
|
19369
19461
|
}[];
|
|
19370
19462
|
};
|
|
19463
|
+
backfill_open_order_reservations: {
|
|
19464
|
+
Args: never;
|
|
19465
|
+
Returns: {
|
|
19466
|
+
processed_items: number;
|
|
19467
|
+
}[];
|
|
19468
|
+
};
|
|
19371
19469
|
call_exact_route: {
|
|
19372
19470
|
Args: {
|
|
19373
19471
|
path: string;
|
|
19374
19472
|
};
|
|
19375
19473
|
Returns: number;
|
|
19376
19474
|
};
|
|
19475
|
+
check_offer_product_available_stock: {
|
|
19476
|
+
Args: {
|
|
19477
|
+
p_campaign_product_id: string;
|
|
19478
|
+
p_code: string;
|
|
19479
|
+
p_needed_qty?: number;
|
|
19480
|
+
p_product_name?: string;
|
|
19481
|
+
};
|
|
19482
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19483
|
+
};
|
|
19484
|
+
check_trade_item_available_stock: {
|
|
19485
|
+
Args: {
|
|
19486
|
+
p_connection_id?: string;
|
|
19487
|
+
p_context?: string;
|
|
19488
|
+
p_needed_qty?: number;
|
|
19489
|
+
p_order_id?: string;
|
|
19490
|
+
p_order_item_id?: string;
|
|
19491
|
+
p_owner_id?: string;
|
|
19492
|
+
p_product_name?: string;
|
|
19493
|
+
p_trade_item_key: string;
|
|
19494
|
+
};
|
|
19495
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19496
|
+
};
|
|
19377
19497
|
cleanup_old_bookings: {
|
|
19378
19498
|
Args: never;
|
|
19379
19499
|
Returns: number;
|
|
@@ -19417,6 +19537,12 @@ export declare const backfillRecentEvents: import("@tanstack/start-client-core")
|
|
|
19417
19537
|
table_name: string;
|
|
19418
19538
|
}[];
|
|
19419
19539
|
};
|
|
19540
|
+
dispatch_carrier_signups_sql: {
|
|
19541
|
+
Args: {
|
|
19542
|
+
_catchup?: string;
|
|
19543
|
+
};
|
|
19544
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19545
|
+
};
|
|
19420
19546
|
email_auth_decrypt: {
|
|
19421
19547
|
Args: {
|
|
19422
19548
|
cipher: string;
|
|
@@ -19489,6 +19615,12 @@ export declare const backfillRecentEvents: import("@tanstack/start-client-core")
|
|
|
19489
19615
|
};
|
|
19490
19616
|
Returns: boolean;
|
|
19491
19617
|
};
|
|
19618
|
+
find_trade_item_key_by_name: {
|
|
19619
|
+
Args: {
|
|
19620
|
+
p_name: string;
|
|
19621
|
+
};
|
|
19622
|
+
Returns: string;
|
|
19623
|
+
};
|
|
19492
19624
|
format_cart_number: {
|
|
19493
19625
|
Args: {
|
|
19494
19626
|
p_pick_date: string;
|
|
@@ -29328,6 +29460,32 @@ export declare const listMessages: import("@tanstack/start-client-core").Optiona
|
|
|
29328
29460
|
};
|
|
29329
29461
|
Returns: number;
|
|
29330
29462
|
};
|
|
29463
|
+
afh_city_code: {
|
|
29464
|
+
Args: {
|
|
29465
|
+
_city: string;
|
|
29466
|
+
_country: string;
|
|
29467
|
+
};
|
|
29468
|
+
Returns: string;
|
|
29469
|
+
};
|
|
29470
|
+
afh_normalize_country: {
|
|
29471
|
+
Args: {
|
|
29472
|
+
_raw: string;
|
|
29473
|
+
};
|
|
29474
|
+
Returns: string;
|
|
29475
|
+
};
|
|
29476
|
+
afh_normalize_nl_province: {
|
|
29477
|
+
Args: {
|
|
29478
|
+
_raw: string;
|
|
29479
|
+
};
|
|
29480
|
+
Returns: string;
|
|
29481
|
+
};
|
|
29482
|
+
afh_subtract_workdays: {
|
|
29483
|
+
Args: {
|
|
29484
|
+
_date: string;
|
|
29485
|
+
_days: number;
|
|
29486
|
+
};
|
|
29487
|
+
Returns: string;
|
|
29488
|
+
};
|
|
29331
29489
|
apply_stock_consumption: {
|
|
29332
29490
|
Args: {
|
|
29333
29491
|
p_order_id: string;
|
|
@@ -29373,12 +29531,40 @@ export declare const listMessages: import("@tanstack/start-client-core").Optiona
|
|
|
29373
29531
|
order_number: string;
|
|
29374
29532
|
}[];
|
|
29375
29533
|
};
|
|
29534
|
+
backfill_open_order_reservations: {
|
|
29535
|
+
Args: never;
|
|
29536
|
+
Returns: {
|
|
29537
|
+
processed_items: number;
|
|
29538
|
+
}[];
|
|
29539
|
+
};
|
|
29376
29540
|
call_exact_route: {
|
|
29377
29541
|
Args: {
|
|
29378
29542
|
path: string;
|
|
29379
29543
|
};
|
|
29380
29544
|
Returns: number;
|
|
29381
29545
|
};
|
|
29546
|
+
check_offer_product_available_stock: {
|
|
29547
|
+
Args: {
|
|
29548
|
+
p_campaign_product_id: string;
|
|
29549
|
+
p_code: string;
|
|
29550
|
+
p_needed_qty?: number;
|
|
29551
|
+
p_product_name?: string;
|
|
29552
|
+
};
|
|
29553
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29554
|
+
};
|
|
29555
|
+
check_trade_item_available_stock: {
|
|
29556
|
+
Args: {
|
|
29557
|
+
p_connection_id?: string;
|
|
29558
|
+
p_context?: string;
|
|
29559
|
+
p_needed_qty?: number;
|
|
29560
|
+
p_order_id?: string;
|
|
29561
|
+
p_order_item_id?: string;
|
|
29562
|
+
p_owner_id?: string;
|
|
29563
|
+
p_product_name?: string;
|
|
29564
|
+
p_trade_item_key: string;
|
|
29565
|
+
};
|
|
29566
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29567
|
+
};
|
|
29382
29568
|
cleanup_old_bookings: {
|
|
29383
29569
|
Args: never;
|
|
29384
29570
|
Returns: number;
|
|
@@ -29422,6 +29608,12 @@ export declare const listMessages: import("@tanstack/start-client-core").Optiona
|
|
|
29422
29608
|
table_name: string;
|
|
29423
29609
|
}[];
|
|
29424
29610
|
};
|
|
29611
|
+
dispatch_carrier_signups_sql: {
|
|
29612
|
+
Args: {
|
|
29613
|
+
_catchup?: string;
|
|
29614
|
+
};
|
|
29615
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29616
|
+
};
|
|
29425
29617
|
email_auth_decrypt: {
|
|
29426
29618
|
Args: {
|
|
29427
29619
|
cipher: string;
|
|
@@ -29494,6 +29686,12 @@ export declare const listMessages: import("@tanstack/start-client-core").Optiona
|
|
|
29494
29686
|
};
|
|
29495
29687
|
Returns: boolean;
|
|
29496
29688
|
};
|
|
29689
|
+
find_trade_item_key_by_name: {
|
|
29690
|
+
Args: {
|
|
29691
|
+
p_name: string;
|
|
29692
|
+
};
|
|
29693
|
+
Returns: string;
|
|
29694
|
+
};
|
|
29497
29695
|
format_cart_number: {
|
|
29498
29696
|
Args: {
|
|
29499
29697
|
p_pick_date: string;
|
|
@@ -39333,6 +39531,32 @@ export declare const parseMessage: import("@tanstack/start-client-core").Optiona
|
|
|
39333
39531
|
};
|
|
39334
39532
|
Returns: number;
|
|
39335
39533
|
};
|
|
39534
|
+
afh_city_code: {
|
|
39535
|
+
Args: {
|
|
39536
|
+
_city: string;
|
|
39537
|
+
_country: string;
|
|
39538
|
+
};
|
|
39539
|
+
Returns: string;
|
|
39540
|
+
};
|
|
39541
|
+
afh_normalize_country: {
|
|
39542
|
+
Args: {
|
|
39543
|
+
_raw: string;
|
|
39544
|
+
};
|
|
39545
|
+
Returns: string;
|
|
39546
|
+
};
|
|
39547
|
+
afh_normalize_nl_province: {
|
|
39548
|
+
Args: {
|
|
39549
|
+
_raw: string;
|
|
39550
|
+
};
|
|
39551
|
+
Returns: string;
|
|
39552
|
+
};
|
|
39553
|
+
afh_subtract_workdays: {
|
|
39554
|
+
Args: {
|
|
39555
|
+
_date: string;
|
|
39556
|
+
_days: number;
|
|
39557
|
+
};
|
|
39558
|
+
Returns: string;
|
|
39559
|
+
};
|
|
39336
39560
|
apply_stock_consumption: {
|
|
39337
39561
|
Args: {
|
|
39338
39562
|
p_order_id: string;
|
|
@@ -39378,12 +39602,40 @@ export declare const parseMessage: import("@tanstack/start-client-core").Optiona
|
|
|
39378
39602
|
order_number: string;
|
|
39379
39603
|
}[];
|
|
39380
39604
|
};
|
|
39605
|
+
backfill_open_order_reservations: {
|
|
39606
|
+
Args: never;
|
|
39607
|
+
Returns: {
|
|
39608
|
+
processed_items: number;
|
|
39609
|
+
}[];
|
|
39610
|
+
};
|
|
39381
39611
|
call_exact_route: {
|
|
39382
39612
|
Args: {
|
|
39383
39613
|
path: string;
|
|
39384
39614
|
};
|
|
39385
39615
|
Returns: number;
|
|
39386
39616
|
};
|
|
39617
|
+
check_offer_product_available_stock: {
|
|
39618
|
+
Args: {
|
|
39619
|
+
p_campaign_product_id: string;
|
|
39620
|
+
p_code: string;
|
|
39621
|
+
p_needed_qty?: number;
|
|
39622
|
+
p_product_name?: string;
|
|
39623
|
+
};
|
|
39624
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39625
|
+
};
|
|
39626
|
+
check_trade_item_available_stock: {
|
|
39627
|
+
Args: {
|
|
39628
|
+
p_connection_id?: string;
|
|
39629
|
+
p_context?: string;
|
|
39630
|
+
p_needed_qty?: number;
|
|
39631
|
+
p_order_id?: string;
|
|
39632
|
+
p_order_item_id?: string;
|
|
39633
|
+
p_owner_id?: string;
|
|
39634
|
+
p_product_name?: string;
|
|
39635
|
+
p_trade_item_key: string;
|
|
39636
|
+
};
|
|
39637
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39638
|
+
};
|
|
39387
39639
|
cleanup_old_bookings: {
|
|
39388
39640
|
Args: never;
|
|
39389
39641
|
Returns: number;
|
|
@@ -39427,6 +39679,12 @@ export declare const parseMessage: import("@tanstack/start-client-core").Optiona
|
|
|
39427
39679
|
table_name: string;
|
|
39428
39680
|
}[];
|
|
39429
39681
|
};
|
|
39682
|
+
dispatch_carrier_signups_sql: {
|
|
39683
|
+
Args: {
|
|
39684
|
+
_catchup?: string;
|
|
39685
|
+
};
|
|
39686
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39687
|
+
};
|
|
39430
39688
|
email_auth_decrypt: {
|
|
39431
39689
|
Args: {
|
|
39432
39690
|
cipher: string;
|
|
@@ -39499,6 +39757,12 @@ export declare const parseMessage: import("@tanstack/start-client-core").Optiona
|
|
|
39499
39757
|
};
|
|
39500
39758
|
Returns: boolean;
|
|
39501
39759
|
};
|
|
39760
|
+
find_trade_item_key_by_name: {
|
|
39761
|
+
Args: {
|
|
39762
|
+
p_name: string;
|
|
39763
|
+
};
|
|
39764
|
+
Returns: string;
|
|
39765
|
+
};
|
|
39502
39766
|
format_cart_number: {
|
|
39503
39767
|
Args: {
|
|
39504
39768
|
p_pick_date: string;
|
|
@@ -49330,6 +49594,32 @@ export declare const listProposals: import("@tanstack/start-client-core").Option
|
|
|
49330
49594
|
};
|
|
49331
49595
|
Returns: number;
|
|
49332
49596
|
};
|
|
49597
|
+
afh_city_code: {
|
|
49598
|
+
Args: {
|
|
49599
|
+
_city: string;
|
|
49600
|
+
_country: string;
|
|
49601
|
+
};
|
|
49602
|
+
Returns: string;
|
|
49603
|
+
};
|
|
49604
|
+
afh_normalize_country: {
|
|
49605
|
+
Args: {
|
|
49606
|
+
_raw: string;
|
|
49607
|
+
};
|
|
49608
|
+
Returns: string;
|
|
49609
|
+
};
|
|
49610
|
+
afh_normalize_nl_province: {
|
|
49611
|
+
Args: {
|
|
49612
|
+
_raw: string;
|
|
49613
|
+
};
|
|
49614
|
+
Returns: string;
|
|
49615
|
+
};
|
|
49616
|
+
afh_subtract_workdays: {
|
|
49617
|
+
Args: {
|
|
49618
|
+
_date: string;
|
|
49619
|
+
_days: number;
|
|
49620
|
+
};
|
|
49621
|
+
Returns: string;
|
|
49622
|
+
};
|
|
49333
49623
|
apply_stock_consumption: {
|
|
49334
49624
|
Args: {
|
|
49335
49625
|
p_order_id: string;
|
|
@@ -49375,12 +49665,40 @@ export declare const listProposals: import("@tanstack/start-client-core").Option
|
|
|
49375
49665
|
order_number: string;
|
|
49376
49666
|
}[];
|
|
49377
49667
|
};
|
|
49668
|
+
backfill_open_order_reservations: {
|
|
49669
|
+
Args: never;
|
|
49670
|
+
Returns: {
|
|
49671
|
+
processed_items: number;
|
|
49672
|
+
}[];
|
|
49673
|
+
};
|
|
49378
49674
|
call_exact_route: {
|
|
49379
49675
|
Args: {
|
|
49380
49676
|
path: string;
|
|
49381
49677
|
};
|
|
49382
49678
|
Returns: number;
|
|
49383
49679
|
};
|
|
49680
|
+
check_offer_product_available_stock: {
|
|
49681
|
+
Args: {
|
|
49682
|
+
p_campaign_product_id: string;
|
|
49683
|
+
p_code: string;
|
|
49684
|
+
p_needed_qty?: number;
|
|
49685
|
+
p_product_name?: string;
|
|
49686
|
+
};
|
|
49687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49688
|
+
};
|
|
49689
|
+
check_trade_item_available_stock: {
|
|
49690
|
+
Args: {
|
|
49691
|
+
p_connection_id?: string;
|
|
49692
|
+
p_context?: string;
|
|
49693
|
+
p_needed_qty?: number;
|
|
49694
|
+
p_order_id?: string;
|
|
49695
|
+
p_order_item_id?: string;
|
|
49696
|
+
p_owner_id?: string;
|
|
49697
|
+
p_product_name?: string;
|
|
49698
|
+
p_trade_item_key: string;
|
|
49699
|
+
};
|
|
49700
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49701
|
+
};
|
|
49384
49702
|
cleanup_old_bookings: {
|
|
49385
49703
|
Args: never;
|
|
49386
49704
|
Returns: number;
|
|
@@ -49424,6 +49742,12 @@ export declare const listProposals: import("@tanstack/start-client-core").Option
|
|
|
49424
49742
|
table_name: string;
|
|
49425
49743
|
}[];
|
|
49426
49744
|
};
|
|
49745
|
+
dispatch_carrier_signups_sql: {
|
|
49746
|
+
Args: {
|
|
49747
|
+
_catchup?: string;
|
|
49748
|
+
};
|
|
49749
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49750
|
+
};
|
|
49427
49751
|
email_auth_decrypt: {
|
|
49428
49752
|
Args: {
|
|
49429
49753
|
cipher: string;
|
|
@@ -49496,6 +49820,12 @@ export declare const listProposals: import("@tanstack/start-client-core").Option
|
|
|
49496
49820
|
};
|
|
49497
49821
|
Returns: boolean;
|
|
49498
49822
|
};
|
|
49823
|
+
find_trade_item_key_by_name: {
|
|
49824
|
+
Args: {
|
|
49825
|
+
p_name: string;
|
|
49826
|
+
};
|
|
49827
|
+
Returns: string;
|
|
49828
|
+
};
|
|
49499
49829
|
format_cart_number: {
|
|
49500
49830
|
Args: {
|
|
49501
49831
|
p_pick_date: string;
|
|
@@ -59372,6 +59702,32 @@ export declare const approveProposal: import("@tanstack/start-client-core").Opti
|
|
|
59372
59702
|
};
|
|
59373
59703
|
Returns: number;
|
|
59374
59704
|
};
|
|
59705
|
+
afh_city_code: {
|
|
59706
|
+
Args: {
|
|
59707
|
+
_city: string;
|
|
59708
|
+
_country: string;
|
|
59709
|
+
};
|
|
59710
|
+
Returns: string;
|
|
59711
|
+
};
|
|
59712
|
+
afh_normalize_country: {
|
|
59713
|
+
Args: {
|
|
59714
|
+
_raw: string;
|
|
59715
|
+
};
|
|
59716
|
+
Returns: string;
|
|
59717
|
+
};
|
|
59718
|
+
afh_normalize_nl_province: {
|
|
59719
|
+
Args: {
|
|
59720
|
+
_raw: string;
|
|
59721
|
+
};
|
|
59722
|
+
Returns: string;
|
|
59723
|
+
};
|
|
59724
|
+
afh_subtract_workdays: {
|
|
59725
|
+
Args: {
|
|
59726
|
+
_date: string;
|
|
59727
|
+
_days: number;
|
|
59728
|
+
};
|
|
59729
|
+
Returns: string;
|
|
59730
|
+
};
|
|
59375
59731
|
apply_stock_consumption: {
|
|
59376
59732
|
Args: {
|
|
59377
59733
|
p_order_id: string;
|
|
@@ -59417,12 +59773,40 @@ export declare const approveProposal: import("@tanstack/start-client-core").Opti
|
|
|
59417
59773
|
order_number: string;
|
|
59418
59774
|
}[];
|
|
59419
59775
|
};
|
|
59776
|
+
backfill_open_order_reservations: {
|
|
59777
|
+
Args: never;
|
|
59778
|
+
Returns: {
|
|
59779
|
+
processed_items: number;
|
|
59780
|
+
}[];
|
|
59781
|
+
};
|
|
59420
59782
|
call_exact_route: {
|
|
59421
59783
|
Args: {
|
|
59422
59784
|
path: string;
|
|
59423
59785
|
};
|
|
59424
59786
|
Returns: number;
|
|
59425
59787
|
};
|
|
59788
|
+
check_offer_product_available_stock: {
|
|
59789
|
+
Args: {
|
|
59790
|
+
p_campaign_product_id: string;
|
|
59791
|
+
p_code: string;
|
|
59792
|
+
p_needed_qty?: number;
|
|
59793
|
+
p_product_name?: string;
|
|
59794
|
+
};
|
|
59795
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59796
|
+
};
|
|
59797
|
+
check_trade_item_available_stock: {
|
|
59798
|
+
Args: {
|
|
59799
|
+
p_connection_id?: string;
|
|
59800
|
+
p_context?: string;
|
|
59801
|
+
p_needed_qty?: number;
|
|
59802
|
+
p_order_id?: string;
|
|
59803
|
+
p_order_item_id?: string;
|
|
59804
|
+
p_owner_id?: string;
|
|
59805
|
+
p_product_name?: string;
|
|
59806
|
+
p_trade_item_key: string;
|
|
59807
|
+
};
|
|
59808
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59809
|
+
};
|
|
59426
59810
|
cleanup_old_bookings: {
|
|
59427
59811
|
Args: never;
|
|
59428
59812
|
Returns: number;
|
|
@@ -59466,6 +59850,12 @@ export declare const approveProposal: import("@tanstack/start-client-core").Opti
|
|
|
59466
59850
|
table_name: string;
|
|
59467
59851
|
}[];
|
|
59468
59852
|
};
|
|
59853
|
+
dispatch_carrier_signups_sql: {
|
|
59854
|
+
Args: {
|
|
59855
|
+
_catchup?: string;
|
|
59856
|
+
};
|
|
59857
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59858
|
+
};
|
|
59469
59859
|
email_auth_decrypt: {
|
|
59470
59860
|
Args: {
|
|
59471
59861
|
cipher: string;
|
|
@@ -59538,6 +59928,12 @@ export declare const approveProposal: import("@tanstack/start-client-core").Opti
|
|
|
59538
59928
|
};
|
|
59539
59929
|
Returns: boolean;
|
|
59540
59930
|
};
|
|
59931
|
+
find_trade_item_key_by_name: {
|
|
59932
|
+
Args: {
|
|
59933
|
+
p_name: string;
|
|
59934
|
+
};
|
|
59935
|
+
Returns: string;
|
|
59936
|
+
};
|
|
59541
59937
|
format_cart_number: {
|
|
59542
59938
|
Args: {
|
|
59543
59939
|
p_pick_date: string;
|
|
@@ -69385,6 +69781,32 @@ export declare const rejectProposal: import("@tanstack/start-client-core").Optio
|
|
|
69385
69781
|
};
|
|
69386
69782
|
Returns: number;
|
|
69387
69783
|
};
|
|
69784
|
+
afh_city_code: {
|
|
69785
|
+
Args: {
|
|
69786
|
+
_city: string;
|
|
69787
|
+
_country: string;
|
|
69788
|
+
};
|
|
69789
|
+
Returns: string;
|
|
69790
|
+
};
|
|
69791
|
+
afh_normalize_country: {
|
|
69792
|
+
Args: {
|
|
69793
|
+
_raw: string;
|
|
69794
|
+
};
|
|
69795
|
+
Returns: string;
|
|
69796
|
+
};
|
|
69797
|
+
afh_normalize_nl_province: {
|
|
69798
|
+
Args: {
|
|
69799
|
+
_raw: string;
|
|
69800
|
+
};
|
|
69801
|
+
Returns: string;
|
|
69802
|
+
};
|
|
69803
|
+
afh_subtract_workdays: {
|
|
69804
|
+
Args: {
|
|
69805
|
+
_date: string;
|
|
69806
|
+
_days: number;
|
|
69807
|
+
};
|
|
69808
|
+
Returns: string;
|
|
69809
|
+
};
|
|
69388
69810
|
apply_stock_consumption: {
|
|
69389
69811
|
Args: {
|
|
69390
69812
|
p_order_id: string;
|
|
@@ -69430,12 +69852,40 @@ export declare const rejectProposal: import("@tanstack/start-client-core").Optio
|
|
|
69430
69852
|
order_number: string;
|
|
69431
69853
|
}[];
|
|
69432
69854
|
};
|
|
69855
|
+
backfill_open_order_reservations: {
|
|
69856
|
+
Args: never;
|
|
69857
|
+
Returns: {
|
|
69858
|
+
processed_items: number;
|
|
69859
|
+
}[];
|
|
69860
|
+
};
|
|
69433
69861
|
call_exact_route: {
|
|
69434
69862
|
Args: {
|
|
69435
69863
|
path: string;
|
|
69436
69864
|
};
|
|
69437
69865
|
Returns: number;
|
|
69438
69866
|
};
|
|
69867
|
+
check_offer_product_available_stock: {
|
|
69868
|
+
Args: {
|
|
69869
|
+
p_campaign_product_id: string;
|
|
69870
|
+
p_code: string;
|
|
69871
|
+
p_needed_qty?: number;
|
|
69872
|
+
p_product_name?: string;
|
|
69873
|
+
};
|
|
69874
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69875
|
+
};
|
|
69876
|
+
check_trade_item_available_stock: {
|
|
69877
|
+
Args: {
|
|
69878
|
+
p_connection_id?: string;
|
|
69879
|
+
p_context?: string;
|
|
69880
|
+
p_needed_qty?: number;
|
|
69881
|
+
p_order_id?: string;
|
|
69882
|
+
p_order_item_id?: string;
|
|
69883
|
+
p_owner_id?: string;
|
|
69884
|
+
p_product_name?: string;
|
|
69885
|
+
p_trade_item_key: string;
|
|
69886
|
+
};
|
|
69887
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69888
|
+
};
|
|
69439
69889
|
cleanup_old_bookings: {
|
|
69440
69890
|
Args: never;
|
|
69441
69891
|
Returns: number;
|
|
@@ -69479,6 +69929,12 @@ export declare const rejectProposal: import("@tanstack/start-client-core").Optio
|
|
|
69479
69929
|
table_name: string;
|
|
69480
69930
|
}[];
|
|
69481
69931
|
};
|
|
69932
|
+
dispatch_carrier_signups_sql: {
|
|
69933
|
+
Args: {
|
|
69934
|
+
_catchup?: string;
|
|
69935
|
+
};
|
|
69936
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
69937
|
+
};
|
|
69482
69938
|
email_auth_decrypt: {
|
|
69483
69939
|
Args: {
|
|
69484
69940
|
cipher: string;
|
|
@@ -69551,6 +70007,12 @@ export declare const rejectProposal: import("@tanstack/start-client-core").Optio
|
|
|
69551
70007
|
};
|
|
69552
70008
|
Returns: boolean;
|
|
69553
70009
|
};
|
|
70010
|
+
find_trade_item_key_by_name: {
|
|
70011
|
+
Args: {
|
|
70012
|
+
p_name: string;
|
|
70013
|
+
};
|
|
70014
|
+
Returns: string;
|
|
70015
|
+
};
|
|
69554
70016
|
format_cart_number: {
|
|
69555
70017
|
Args: {
|
|
69556
70018
|
p_pick_date: string;
|
|
@@ -79383,6 +79845,32 @@ export declare const reopenProposal: import("@tanstack/start-client-core").Optio
|
|
|
79383
79845
|
};
|
|
79384
79846
|
Returns: number;
|
|
79385
79847
|
};
|
|
79848
|
+
afh_city_code: {
|
|
79849
|
+
Args: {
|
|
79850
|
+
_city: string;
|
|
79851
|
+
_country: string;
|
|
79852
|
+
};
|
|
79853
|
+
Returns: string;
|
|
79854
|
+
};
|
|
79855
|
+
afh_normalize_country: {
|
|
79856
|
+
Args: {
|
|
79857
|
+
_raw: string;
|
|
79858
|
+
};
|
|
79859
|
+
Returns: string;
|
|
79860
|
+
};
|
|
79861
|
+
afh_normalize_nl_province: {
|
|
79862
|
+
Args: {
|
|
79863
|
+
_raw: string;
|
|
79864
|
+
};
|
|
79865
|
+
Returns: string;
|
|
79866
|
+
};
|
|
79867
|
+
afh_subtract_workdays: {
|
|
79868
|
+
Args: {
|
|
79869
|
+
_date: string;
|
|
79870
|
+
_days: number;
|
|
79871
|
+
};
|
|
79872
|
+
Returns: string;
|
|
79873
|
+
};
|
|
79386
79874
|
apply_stock_consumption: {
|
|
79387
79875
|
Args: {
|
|
79388
79876
|
p_order_id: string;
|
|
@@ -79428,12 +79916,40 @@ export declare const reopenProposal: import("@tanstack/start-client-core").Optio
|
|
|
79428
79916
|
order_number: string;
|
|
79429
79917
|
}[];
|
|
79430
79918
|
};
|
|
79919
|
+
backfill_open_order_reservations: {
|
|
79920
|
+
Args: never;
|
|
79921
|
+
Returns: {
|
|
79922
|
+
processed_items: number;
|
|
79923
|
+
}[];
|
|
79924
|
+
};
|
|
79431
79925
|
call_exact_route: {
|
|
79432
79926
|
Args: {
|
|
79433
79927
|
path: string;
|
|
79434
79928
|
};
|
|
79435
79929
|
Returns: number;
|
|
79436
79930
|
};
|
|
79931
|
+
check_offer_product_available_stock: {
|
|
79932
|
+
Args: {
|
|
79933
|
+
p_campaign_product_id: string;
|
|
79934
|
+
p_code: string;
|
|
79935
|
+
p_needed_qty?: number;
|
|
79936
|
+
p_product_name?: string;
|
|
79937
|
+
};
|
|
79938
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79939
|
+
};
|
|
79940
|
+
check_trade_item_available_stock: {
|
|
79941
|
+
Args: {
|
|
79942
|
+
p_connection_id?: string;
|
|
79943
|
+
p_context?: string;
|
|
79944
|
+
p_needed_qty?: number;
|
|
79945
|
+
p_order_id?: string;
|
|
79946
|
+
p_order_item_id?: string;
|
|
79947
|
+
p_owner_id?: string;
|
|
79948
|
+
p_product_name?: string;
|
|
79949
|
+
p_trade_item_key: string;
|
|
79950
|
+
};
|
|
79951
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79952
|
+
};
|
|
79437
79953
|
cleanup_old_bookings: {
|
|
79438
79954
|
Args: never;
|
|
79439
79955
|
Returns: number;
|
|
@@ -79477,6 +79993,12 @@ export declare const reopenProposal: import("@tanstack/start-client-core").Optio
|
|
|
79477
79993
|
table_name: string;
|
|
79478
79994
|
}[];
|
|
79479
79995
|
};
|
|
79996
|
+
dispatch_carrier_signups_sql: {
|
|
79997
|
+
Args: {
|
|
79998
|
+
_catchup?: string;
|
|
79999
|
+
};
|
|
80000
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
80001
|
+
};
|
|
79480
80002
|
email_auth_decrypt: {
|
|
79481
80003
|
Args: {
|
|
79482
80004
|
cipher: string;
|
|
@@ -79549,6 +80071,12 @@ export declare const reopenProposal: import("@tanstack/start-client-core").Optio
|
|
|
79549
80071
|
};
|
|
79550
80072
|
Returns: boolean;
|
|
79551
80073
|
};
|
|
80074
|
+
find_trade_item_key_by_name: {
|
|
80075
|
+
Args: {
|
|
80076
|
+
p_name: string;
|
|
80077
|
+
};
|
|
80078
|
+
Returns: string;
|
|
80079
|
+
};
|
|
79552
80080
|
format_cart_number: {
|
|
79553
80081
|
Args: {
|
|
79554
80082
|
p_pick_date: string;
|
|
@@ -89380,6 +89908,32 @@ export declare const listCustomersForPicker: import("@tanstack/start-client-core
|
|
|
89380
89908
|
};
|
|
89381
89909
|
Returns: number;
|
|
89382
89910
|
};
|
|
89911
|
+
afh_city_code: {
|
|
89912
|
+
Args: {
|
|
89913
|
+
_city: string;
|
|
89914
|
+
_country: string;
|
|
89915
|
+
};
|
|
89916
|
+
Returns: string;
|
|
89917
|
+
};
|
|
89918
|
+
afh_normalize_country: {
|
|
89919
|
+
Args: {
|
|
89920
|
+
_raw: string;
|
|
89921
|
+
};
|
|
89922
|
+
Returns: string;
|
|
89923
|
+
};
|
|
89924
|
+
afh_normalize_nl_province: {
|
|
89925
|
+
Args: {
|
|
89926
|
+
_raw: string;
|
|
89927
|
+
};
|
|
89928
|
+
Returns: string;
|
|
89929
|
+
};
|
|
89930
|
+
afh_subtract_workdays: {
|
|
89931
|
+
Args: {
|
|
89932
|
+
_date: string;
|
|
89933
|
+
_days: number;
|
|
89934
|
+
};
|
|
89935
|
+
Returns: string;
|
|
89936
|
+
};
|
|
89383
89937
|
apply_stock_consumption: {
|
|
89384
89938
|
Args: {
|
|
89385
89939
|
p_order_id: string;
|
|
@@ -89425,12 +89979,40 @@ export declare const listCustomersForPicker: import("@tanstack/start-client-core
|
|
|
89425
89979
|
order_number: string;
|
|
89426
89980
|
}[];
|
|
89427
89981
|
};
|
|
89982
|
+
backfill_open_order_reservations: {
|
|
89983
|
+
Args: never;
|
|
89984
|
+
Returns: {
|
|
89985
|
+
processed_items: number;
|
|
89986
|
+
}[];
|
|
89987
|
+
};
|
|
89428
89988
|
call_exact_route: {
|
|
89429
89989
|
Args: {
|
|
89430
89990
|
path: string;
|
|
89431
89991
|
};
|
|
89432
89992
|
Returns: number;
|
|
89433
89993
|
};
|
|
89994
|
+
check_offer_product_available_stock: {
|
|
89995
|
+
Args: {
|
|
89996
|
+
p_campaign_product_id: string;
|
|
89997
|
+
p_code: string;
|
|
89998
|
+
p_needed_qty?: number;
|
|
89999
|
+
p_product_name?: string;
|
|
90000
|
+
};
|
|
90001
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90002
|
+
};
|
|
90003
|
+
check_trade_item_available_stock: {
|
|
90004
|
+
Args: {
|
|
90005
|
+
p_connection_id?: string;
|
|
90006
|
+
p_context?: string;
|
|
90007
|
+
p_needed_qty?: number;
|
|
90008
|
+
p_order_id?: string;
|
|
90009
|
+
p_order_item_id?: string;
|
|
90010
|
+
p_owner_id?: string;
|
|
90011
|
+
p_product_name?: string;
|
|
90012
|
+
p_trade_item_key: string;
|
|
90013
|
+
};
|
|
90014
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90015
|
+
};
|
|
89434
90016
|
cleanup_old_bookings: {
|
|
89435
90017
|
Args: never;
|
|
89436
90018
|
Returns: number;
|
|
@@ -89474,6 +90056,12 @@ export declare const listCustomersForPicker: import("@tanstack/start-client-core
|
|
|
89474
90056
|
table_name: string;
|
|
89475
90057
|
}[];
|
|
89476
90058
|
};
|
|
90059
|
+
dispatch_carrier_signups_sql: {
|
|
90060
|
+
Args: {
|
|
90061
|
+
_catchup?: string;
|
|
90062
|
+
};
|
|
90063
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90064
|
+
};
|
|
89477
90065
|
email_auth_decrypt: {
|
|
89478
90066
|
Args: {
|
|
89479
90067
|
cipher: string;
|
|
@@ -89546,6 +90134,12 @@ export declare const listCustomersForPicker: import("@tanstack/start-client-core
|
|
|
89546
90134
|
};
|
|
89547
90135
|
Returns: boolean;
|
|
89548
90136
|
};
|
|
90137
|
+
find_trade_item_key_by_name: {
|
|
90138
|
+
Args: {
|
|
90139
|
+
p_name: string;
|
|
90140
|
+
};
|
|
90141
|
+
Returns: string;
|
|
90142
|
+
};
|
|
89549
90143
|
format_cart_number: {
|
|
89550
90144
|
Args: {
|
|
89551
90145
|
p_pick_date: string;
|
|
@@ -99379,6 +99973,32 @@ export declare const listProductsForPicker: import("@tanstack/start-client-core"
|
|
|
99379
99973
|
};
|
|
99380
99974
|
Returns: number;
|
|
99381
99975
|
};
|
|
99976
|
+
afh_city_code: {
|
|
99977
|
+
Args: {
|
|
99978
|
+
_city: string;
|
|
99979
|
+
_country: string;
|
|
99980
|
+
};
|
|
99981
|
+
Returns: string;
|
|
99982
|
+
};
|
|
99983
|
+
afh_normalize_country: {
|
|
99984
|
+
Args: {
|
|
99985
|
+
_raw: string;
|
|
99986
|
+
};
|
|
99987
|
+
Returns: string;
|
|
99988
|
+
};
|
|
99989
|
+
afh_normalize_nl_province: {
|
|
99990
|
+
Args: {
|
|
99991
|
+
_raw: string;
|
|
99992
|
+
};
|
|
99993
|
+
Returns: string;
|
|
99994
|
+
};
|
|
99995
|
+
afh_subtract_workdays: {
|
|
99996
|
+
Args: {
|
|
99997
|
+
_date: string;
|
|
99998
|
+
_days: number;
|
|
99999
|
+
};
|
|
100000
|
+
Returns: string;
|
|
100001
|
+
};
|
|
99382
100002
|
apply_stock_consumption: {
|
|
99383
100003
|
Args: {
|
|
99384
100004
|
p_order_id: string;
|
|
@@ -99424,12 +100044,40 @@ export declare const listProductsForPicker: import("@tanstack/start-client-core"
|
|
|
99424
100044
|
order_number: string;
|
|
99425
100045
|
}[];
|
|
99426
100046
|
};
|
|
100047
|
+
backfill_open_order_reservations: {
|
|
100048
|
+
Args: never;
|
|
100049
|
+
Returns: {
|
|
100050
|
+
processed_items: number;
|
|
100051
|
+
}[];
|
|
100052
|
+
};
|
|
99427
100053
|
call_exact_route: {
|
|
99428
100054
|
Args: {
|
|
99429
100055
|
path: string;
|
|
99430
100056
|
};
|
|
99431
100057
|
Returns: number;
|
|
99432
100058
|
};
|
|
100059
|
+
check_offer_product_available_stock: {
|
|
100060
|
+
Args: {
|
|
100061
|
+
p_campaign_product_id: string;
|
|
100062
|
+
p_code: string;
|
|
100063
|
+
p_needed_qty?: number;
|
|
100064
|
+
p_product_name?: string;
|
|
100065
|
+
};
|
|
100066
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
100067
|
+
};
|
|
100068
|
+
check_trade_item_available_stock: {
|
|
100069
|
+
Args: {
|
|
100070
|
+
p_connection_id?: string;
|
|
100071
|
+
p_context?: string;
|
|
100072
|
+
p_needed_qty?: number;
|
|
100073
|
+
p_order_id?: string;
|
|
100074
|
+
p_order_item_id?: string;
|
|
100075
|
+
p_owner_id?: string;
|
|
100076
|
+
p_product_name?: string;
|
|
100077
|
+
p_trade_item_key: string;
|
|
100078
|
+
};
|
|
100079
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
100080
|
+
};
|
|
99433
100081
|
cleanup_old_bookings: {
|
|
99434
100082
|
Args: never;
|
|
99435
100083
|
Returns: number;
|
|
@@ -99473,6 +100121,12 @@ export declare const listProductsForPicker: import("@tanstack/start-client-core"
|
|
|
99473
100121
|
table_name: string;
|
|
99474
100122
|
}[];
|
|
99475
100123
|
};
|
|
100124
|
+
dispatch_carrier_signups_sql: {
|
|
100125
|
+
Args: {
|
|
100126
|
+
_catchup?: string;
|
|
100127
|
+
};
|
|
100128
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
100129
|
+
};
|
|
99476
100130
|
email_auth_decrypt: {
|
|
99477
100131
|
Args: {
|
|
99478
100132
|
cipher: string;
|
|
@@ -99545,6 +100199,12 @@ export declare const listProductsForPicker: import("@tanstack/start-client-core"
|
|
|
99545
100199
|
};
|
|
99546
100200
|
Returns: boolean;
|
|
99547
100201
|
};
|
|
100202
|
+
find_trade_item_key_by_name: {
|
|
100203
|
+
Args: {
|
|
100204
|
+
p_name: string;
|
|
100205
|
+
};
|
|
100206
|
+
Returns: string;
|
|
100207
|
+
};
|
|
99548
100208
|
format_cart_number: {
|
|
99549
100209
|
Args: {
|
|
99550
100210
|
p_pick_date: string;
|
|
@@ -109382,6 +110042,32 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
|
|
|
109382
110042
|
};
|
|
109383
110043
|
Returns: number;
|
|
109384
110044
|
};
|
|
110045
|
+
afh_city_code: {
|
|
110046
|
+
Args: {
|
|
110047
|
+
_city: string;
|
|
110048
|
+
_country: string;
|
|
110049
|
+
};
|
|
110050
|
+
Returns: string;
|
|
110051
|
+
};
|
|
110052
|
+
afh_normalize_country: {
|
|
110053
|
+
Args: {
|
|
110054
|
+
_raw: string;
|
|
110055
|
+
};
|
|
110056
|
+
Returns: string;
|
|
110057
|
+
};
|
|
110058
|
+
afh_normalize_nl_province: {
|
|
110059
|
+
Args: {
|
|
110060
|
+
_raw: string;
|
|
110061
|
+
};
|
|
110062
|
+
Returns: string;
|
|
110063
|
+
};
|
|
110064
|
+
afh_subtract_workdays: {
|
|
110065
|
+
Args: {
|
|
110066
|
+
_date: string;
|
|
110067
|
+
_days: number;
|
|
110068
|
+
};
|
|
110069
|
+
Returns: string;
|
|
110070
|
+
};
|
|
109385
110071
|
apply_stock_consumption: {
|
|
109386
110072
|
Args: {
|
|
109387
110073
|
p_order_id: string;
|
|
@@ -109427,12 +110113,40 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
|
|
|
109427
110113
|
order_number: string;
|
|
109428
110114
|
}[];
|
|
109429
110115
|
};
|
|
110116
|
+
backfill_open_order_reservations: {
|
|
110117
|
+
Args: never;
|
|
110118
|
+
Returns: {
|
|
110119
|
+
processed_items: number;
|
|
110120
|
+
}[];
|
|
110121
|
+
};
|
|
109430
110122
|
call_exact_route: {
|
|
109431
110123
|
Args: {
|
|
109432
110124
|
path: string;
|
|
109433
110125
|
};
|
|
109434
110126
|
Returns: number;
|
|
109435
110127
|
};
|
|
110128
|
+
check_offer_product_available_stock: {
|
|
110129
|
+
Args: {
|
|
110130
|
+
p_campaign_product_id: string;
|
|
110131
|
+
p_code: string;
|
|
110132
|
+
p_needed_qty?: number;
|
|
110133
|
+
p_product_name?: string;
|
|
110134
|
+
};
|
|
110135
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
110136
|
+
};
|
|
110137
|
+
check_trade_item_available_stock: {
|
|
110138
|
+
Args: {
|
|
110139
|
+
p_connection_id?: string;
|
|
110140
|
+
p_context?: string;
|
|
110141
|
+
p_needed_qty?: number;
|
|
110142
|
+
p_order_id?: string;
|
|
110143
|
+
p_order_item_id?: string;
|
|
110144
|
+
p_owner_id?: string;
|
|
110145
|
+
p_product_name?: string;
|
|
110146
|
+
p_trade_item_key: string;
|
|
110147
|
+
};
|
|
110148
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
110149
|
+
};
|
|
109436
110150
|
cleanup_old_bookings: {
|
|
109437
110151
|
Args: never;
|
|
109438
110152
|
Returns: number;
|
|
@@ -109476,6 +110190,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
|
|
|
109476
110190
|
table_name: string;
|
|
109477
110191
|
}[];
|
|
109478
110192
|
};
|
|
110193
|
+
dispatch_carrier_signups_sql: {
|
|
110194
|
+
Args: {
|
|
110195
|
+
_catchup?: string;
|
|
110196
|
+
};
|
|
110197
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
110198
|
+
};
|
|
109479
110199
|
email_auth_decrypt: {
|
|
109480
110200
|
Args: {
|
|
109481
110201
|
cipher: string;
|
|
@@ -109548,6 +110268,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
|
|
|
109548
110268
|
};
|
|
109549
110269
|
Returns: boolean;
|
|
109550
110270
|
};
|
|
110271
|
+
find_trade_item_key_by_name: {
|
|
110272
|
+
Args: {
|
|
110273
|
+
p_name: string;
|
|
110274
|
+
};
|
|
110275
|
+
Returns: string;
|
|
110276
|
+
};
|
|
109551
110277
|
format_cart_number: {
|
|
109552
110278
|
Args: {
|
|
109553
110279
|
p_pick_date: string;
|
|
@@ -119401,6 +120127,32 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
|
|
|
119401
120127
|
};
|
|
119402
120128
|
Returns: number;
|
|
119403
120129
|
};
|
|
120130
|
+
afh_city_code: {
|
|
120131
|
+
Args: {
|
|
120132
|
+
_city: string;
|
|
120133
|
+
_country: string;
|
|
120134
|
+
};
|
|
120135
|
+
Returns: string;
|
|
120136
|
+
};
|
|
120137
|
+
afh_normalize_country: {
|
|
120138
|
+
Args: {
|
|
120139
|
+
_raw: string;
|
|
120140
|
+
};
|
|
120141
|
+
Returns: string;
|
|
120142
|
+
};
|
|
120143
|
+
afh_normalize_nl_province: {
|
|
120144
|
+
Args: {
|
|
120145
|
+
_raw: string;
|
|
120146
|
+
};
|
|
120147
|
+
Returns: string;
|
|
120148
|
+
};
|
|
120149
|
+
afh_subtract_workdays: {
|
|
120150
|
+
Args: {
|
|
120151
|
+
_date: string;
|
|
120152
|
+
_days: number;
|
|
120153
|
+
};
|
|
120154
|
+
Returns: string;
|
|
120155
|
+
};
|
|
119404
120156
|
apply_stock_consumption: {
|
|
119405
120157
|
Args: {
|
|
119406
120158
|
p_order_id: string;
|
|
@@ -119446,12 +120198,40 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
|
|
|
119446
120198
|
order_number: string;
|
|
119447
120199
|
}[];
|
|
119448
120200
|
};
|
|
120201
|
+
backfill_open_order_reservations: {
|
|
120202
|
+
Args: never;
|
|
120203
|
+
Returns: {
|
|
120204
|
+
processed_items: number;
|
|
120205
|
+
}[];
|
|
120206
|
+
};
|
|
119449
120207
|
call_exact_route: {
|
|
119450
120208
|
Args: {
|
|
119451
120209
|
path: string;
|
|
119452
120210
|
};
|
|
119453
120211
|
Returns: number;
|
|
119454
120212
|
};
|
|
120213
|
+
check_offer_product_available_stock: {
|
|
120214
|
+
Args: {
|
|
120215
|
+
p_campaign_product_id: string;
|
|
120216
|
+
p_code: string;
|
|
120217
|
+
p_needed_qty?: number;
|
|
120218
|
+
p_product_name?: string;
|
|
120219
|
+
};
|
|
120220
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120221
|
+
};
|
|
120222
|
+
check_trade_item_available_stock: {
|
|
120223
|
+
Args: {
|
|
120224
|
+
p_connection_id?: string;
|
|
120225
|
+
p_context?: string;
|
|
120226
|
+
p_needed_qty?: number;
|
|
120227
|
+
p_order_id?: string;
|
|
120228
|
+
p_order_item_id?: string;
|
|
120229
|
+
p_owner_id?: string;
|
|
120230
|
+
p_product_name?: string;
|
|
120231
|
+
p_trade_item_key: string;
|
|
120232
|
+
};
|
|
120233
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120234
|
+
};
|
|
119455
120235
|
cleanup_old_bookings: {
|
|
119456
120236
|
Args: never;
|
|
119457
120237
|
Returns: number;
|
|
@@ -119495,6 +120275,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
|
|
|
119495
120275
|
table_name: string;
|
|
119496
120276
|
}[];
|
|
119497
120277
|
};
|
|
120278
|
+
dispatch_carrier_signups_sql: {
|
|
120279
|
+
Args: {
|
|
120280
|
+
_catchup?: string;
|
|
120281
|
+
};
|
|
120282
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
120283
|
+
};
|
|
119498
120284
|
email_auth_decrypt: {
|
|
119499
120285
|
Args: {
|
|
119500
120286
|
cipher: string;
|
|
@@ -119567,6 +120353,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
|
|
|
119567
120353
|
};
|
|
119568
120354
|
Returns: boolean;
|
|
119569
120355
|
};
|
|
120356
|
+
find_trade_item_key_by_name: {
|
|
120357
|
+
Args: {
|
|
120358
|
+
p_name: string;
|
|
120359
|
+
};
|
|
120360
|
+
Returns: string;
|
|
120361
|
+
};
|
|
119570
120362
|
format_cart_number: {
|
|
119571
120363
|
Args: {
|
|
119572
120364
|
p_pick_date: string;
|
|
@@ -129410,6 +130202,32 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Requi
|
|
|
129410
130202
|
};
|
|
129411
130203
|
Returns: number;
|
|
129412
130204
|
};
|
|
130205
|
+
afh_city_code: {
|
|
130206
|
+
Args: {
|
|
130207
|
+
_city: string;
|
|
130208
|
+
_country: string;
|
|
130209
|
+
};
|
|
130210
|
+
Returns: string;
|
|
130211
|
+
};
|
|
130212
|
+
afh_normalize_country: {
|
|
130213
|
+
Args: {
|
|
130214
|
+
_raw: string;
|
|
130215
|
+
};
|
|
130216
|
+
Returns: string;
|
|
130217
|
+
};
|
|
130218
|
+
afh_normalize_nl_province: {
|
|
130219
|
+
Args: {
|
|
130220
|
+
_raw: string;
|
|
130221
|
+
};
|
|
130222
|
+
Returns: string;
|
|
130223
|
+
};
|
|
130224
|
+
afh_subtract_workdays: {
|
|
130225
|
+
Args: {
|
|
130226
|
+
_date: string;
|
|
130227
|
+
_days: number;
|
|
130228
|
+
};
|
|
130229
|
+
Returns: string;
|
|
130230
|
+
};
|
|
129413
130231
|
apply_stock_consumption: {
|
|
129414
130232
|
Args: {
|
|
129415
130233
|
p_order_id: string;
|
|
@@ -129455,12 +130273,40 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Requi
|
|
|
129455
130273
|
order_number: string;
|
|
129456
130274
|
}[];
|
|
129457
130275
|
};
|
|
130276
|
+
backfill_open_order_reservations: {
|
|
130277
|
+
Args: never;
|
|
130278
|
+
Returns: {
|
|
130279
|
+
processed_items: number;
|
|
130280
|
+
}[];
|
|
130281
|
+
};
|
|
129458
130282
|
call_exact_route: {
|
|
129459
130283
|
Args: {
|
|
129460
130284
|
path: string;
|
|
129461
130285
|
};
|
|
129462
130286
|
Returns: number;
|
|
129463
130287
|
};
|
|
130288
|
+
check_offer_product_available_stock: {
|
|
130289
|
+
Args: {
|
|
130290
|
+
p_campaign_product_id: string;
|
|
130291
|
+
p_code: string;
|
|
130292
|
+
p_needed_qty?: number;
|
|
130293
|
+
p_product_name?: string;
|
|
130294
|
+
};
|
|
130295
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130296
|
+
};
|
|
130297
|
+
check_trade_item_available_stock: {
|
|
130298
|
+
Args: {
|
|
130299
|
+
p_connection_id?: string;
|
|
130300
|
+
p_context?: string;
|
|
130301
|
+
p_needed_qty?: number;
|
|
130302
|
+
p_order_id?: string;
|
|
130303
|
+
p_order_item_id?: string;
|
|
130304
|
+
p_owner_id?: string;
|
|
130305
|
+
p_product_name?: string;
|
|
130306
|
+
p_trade_item_key: string;
|
|
130307
|
+
};
|
|
130308
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130309
|
+
};
|
|
129464
130310
|
cleanup_old_bookings: {
|
|
129465
130311
|
Args: never;
|
|
129466
130312
|
Returns: number;
|
|
@@ -129504,6 +130350,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Requi
|
|
|
129504
130350
|
table_name: string;
|
|
129505
130351
|
}[];
|
|
129506
130352
|
};
|
|
130353
|
+
dispatch_carrier_signups_sql: {
|
|
130354
|
+
Args: {
|
|
130355
|
+
_catchup?: string;
|
|
130356
|
+
};
|
|
130357
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
130358
|
+
};
|
|
129507
130359
|
email_auth_decrypt: {
|
|
129508
130360
|
Args: {
|
|
129509
130361
|
cipher: string;
|
|
@@ -129576,6 +130428,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Requi
|
|
|
129576
130428
|
};
|
|
129577
130429
|
Returns: boolean;
|
|
129578
130430
|
};
|
|
130431
|
+
find_trade_item_key_by_name: {
|
|
130432
|
+
Args: {
|
|
130433
|
+
p_name: string;
|
|
130434
|
+
};
|
|
130435
|
+
Returns: string;
|
|
130436
|
+
};
|
|
129579
130437
|
format_cart_number: {
|
|
129580
130438
|
Args: {
|
|
129581
130439
|
p_pick_date: string;
|
|
@@ -139426,6 +140284,32 @@ export declare const listDeliveryLocationsForCustomer: import("@tanstack/start-c
|
|
|
139426
140284
|
};
|
|
139427
140285
|
Returns: number;
|
|
139428
140286
|
};
|
|
140287
|
+
afh_city_code: {
|
|
140288
|
+
Args: {
|
|
140289
|
+
_city: string;
|
|
140290
|
+
_country: string;
|
|
140291
|
+
};
|
|
140292
|
+
Returns: string;
|
|
140293
|
+
};
|
|
140294
|
+
afh_normalize_country: {
|
|
140295
|
+
Args: {
|
|
140296
|
+
_raw: string;
|
|
140297
|
+
};
|
|
140298
|
+
Returns: string;
|
|
140299
|
+
};
|
|
140300
|
+
afh_normalize_nl_province: {
|
|
140301
|
+
Args: {
|
|
140302
|
+
_raw: string;
|
|
140303
|
+
};
|
|
140304
|
+
Returns: string;
|
|
140305
|
+
};
|
|
140306
|
+
afh_subtract_workdays: {
|
|
140307
|
+
Args: {
|
|
140308
|
+
_date: string;
|
|
140309
|
+
_days: number;
|
|
140310
|
+
};
|
|
140311
|
+
Returns: string;
|
|
140312
|
+
};
|
|
139429
140313
|
apply_stock_consumption: {
|
|
139430
140314
|
Args: {
|
|
139431
140315
|
p_order_id: string;
|
|
@@ -139471,12 +140355,40 @@ export declare const listDeliveryLocationsForCustomer: import("@tanstack/start-c
|
|
|
139471
140355
|
order_number: string;
|
|
139472
140356
|
}[];
|
|
139473
140357
|
};
|
|
140358
|
+
backfill_open_order_reservations: {
|
|
140359
|
+
Args: never;
|
|
140360
|
+
Returns: {
|
|
140361
|
+
processed_items: number;
|
|
140362
|
+
}[];
|
|
140363
|
+
};
|
|
139474
140364
|
call_exact_route: {
|
|
139475
140365
|
Args: {
|
|
139476
140366
|
path: string;
|
|
139477
140367
|
};
|
|
139478
140368
|
Returns: number;
|
|
139479
140369
|
};
|
|
140370
|
+
check_offer_product_available_stock: {
|
|
140371
|
+
Args: {
|
|
140372
|
+
p_campaign_product_id: string;
|
|
140373
|
+
p_code: string;
|
|
140374
|
+
p_needed_qty?: number;
|
|
140375
|
+
p_product_name?: string;
|
|
140376
|
+
};
|
|
140377
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
140378
|
+
};
|
|
140379
|
+
check_trade_item_available_stock: {
|
|
140380
|
+
Args: {
|
|
140381
|
+
p_connection_id?: string;
|
|
140382
|
+
p_context?: string;
|
|
140383
|
+
p_needed_qty?: number;
|
|
140384
|
+
p_order_id?: string;
|
|
140385
|
+
p_order_item_id?: string;
|
|
140386
|
+
p_owner_id?: string;
|
|
140387
|
+
p_product_name?: string;
|
|
140388
|
+
p_trade_item_key: string;
|
|
140389
|
+
};
|
|
140390
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
140391
|
+
};
|
|
139480
140392
|
cleanup_old_bookings: {
|
|
139481
140393
|
Args: never;
|
|
139482
140394
|
Returns: number;
|
|
@@ -139520,6 +140432,12 @@ export declare const listDeliveryLocationsForCustomer: import("@tanstack/start-c
|
|
|
139520
140432
|
table_name: string;
|
|
139521
140433
|
}[];
|
|
139522
140434
|
};
|
|
140435
|
+
dispatch_carrier_signups_sql: {
|
|
140436
|
+
Args: {
|
|
140437
|
+
_catchup?: string;
|
|
140438
|
+
};
|
|
140439
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
140440
|
+
};
|
|
139523
140441
|
email_auth_decrypt: {
|
|
139524
140442
|
Args: {
|
|
139525
140443
|
cipher: string;
|
|
@@ -139592,6 +140510,12 @@ export declare const listDeliveryLocationsForCustomer: import("@tanstack/start-c
|
|
|
139592
140510
|
};
|
|
139593
140511
|
Returns: boolean;
|
|
139594
140512
|
};
|
|
140513
|
+
find_trade_item_key_by_name: {
|
|
140514
|
+
Args: {
|
|
140515
|
+
p_name: string;
|
|
140516
|
+
};
|
|
140517
|
+
Returns: string;
|
|
140518
|
+
};
|
|
139595
140519
|
format_cart_number: {
|
|
139596
140520
|
Args: {
|
|
139597
140521
|
p_pick_date: string;
|
|
@@ -149441,6 +150365,32 @@ export declare const listPickupLocations: import("@tanstack/start-client-core").
|
|
|
149441
150365
|
};
|
|
149442
150366
|
Returns: number;
|
|
149443
150367
|
};
|
|
150368
|
+
afh_city_code: {
|
|
150369
|
+
Args: {
|
|
150370
|
+
_city: string;
|
|
150371
|
+
_country: string;
|
|
150372
|
+
};
|
|
150373
|
+
Returns: string;
|
|
150374
|
+
};
|
|
150375
|
+
afh_normalize_country: {
|
|
150376
|
+
Args: {
|
|
150377
|
+
_raw: string;
|
|
150378
|
+
};
|
|
150379
|
+
Returns: string;
|
|
150380
|
+
};
|
|
150381
|
+
afh_normalize_nl_province: {
|
|
150382
|
+
Args: {
|
|
150383
|
+
_raw: string;
|
|
150384
|
+
};
|
|
150385
|
+
Returns: string;
|
|
150386
|
+
};
|
|
150387
|
+
afh_subtract_workdays: {
|
|
150388
|
+
Args: {
|
|
150389
|
+
_date: string;
|
|
150390
|
+
_days: number;
|
|
150391
|
+
};
|
|
150392
|
+
Returns: string;
|
|
150393
|
+
};
|
|
149444
150394
|
apply_stock_consumption: {
|
|
149445
150395
|
Args: {
|
|
149446
150396
|
p_order_id: string;
|
|
@@ -149486,12 +150436,40 @@ export declare const listPickupLocations: import("@tanstack/start-client-core").
|
|
|
149486
150436
|
order_number: string;
|
|
149487
150437
|
}[];
|
|
149488
150438
|
};
|
|
150439
|
+
backfill_open_order_reservations: {
|
|
150440
|
+
Args: never;
|
|
150441
|
+
Returns: {
|
|
150442
|
+
processed_items: number;
|
|
150443
|
+
}[];
|
|
150444
|
+
};
|
|
149489
150445
|
call_exact_route: {
|
|
149490
150446
|
Args: {
|
|
149491
150447
|
path: string;
|
|
149492
150448
|
};
|
|
149493
150449
|
Returns: number;
|
|
149494
150450
|
};
|
|
150451
|
+
check_offer_product_available_stock: {
|
|
150452
|
+
Args: {
|
|
150453
|
+
p_campaign_product_id: string;
|
|
150454
|
+
p_code: string;
|
|
150455
|
+
p_needed_qty?: number;
|
|
150456
|
+
p_product_name?: string;
|
|
150457
|
+
};
|
|
150458
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
150459
|
+
};
|
|
150460
|
+
check_trade_item_available_stock: {
|
|
150461
|
+
Args: {
|
|
150462
|
+
p_connection_id?: string;
|
|
150463
|
+
p_context?: string;
|
|
150464
|
+
p_needed_qty?: number;
|
|
150465
|
+
p_order_id?: string;
|
|
150466
|
+
p_order_item_id?: string;
|
|
150467
|
+
p_owner_id?: string;
|
|
150468
|
+
p_product_name?: string;
|
|
150469
|
+
p_trade_item_key: string;
|
|
150470
|
+
};
|
|
150471
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
150472
|
+
};
|
|
149495
150473
|
cleanup_old_bookings: {
|
|
149496
150474
|
Args: never;
|
|
149497
150475
|
Returns: number;
|
|
@@ -149535,6 +150513,12 @@ export declare const listPickupLocations: import("@tanstack/start-client-core").
|
|
|
149535
150513
|
table_name: string;
|
|
149536
150514
|
}[];
|
|
149537
150515
|
};
|
|
150516
|
+
dispatch_carrier_signups_sql: {
|
|
150517
|
+
Args: {
|
|
150518
|
+
_catchup?: string;
|
|
150519
|
+
};
|
|
150520
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
150521
|
+
};
|
|
149538
150522
|
email_auth_decrypt: {
|
|
149539
150523
|
Args: {
|
|
149540
150524
|
cipher: string;
|
|
@@ -149607,6 +150591,12 @@ export declare const listPickupLocations: import("@tanstack/start-client-core").
|
|
|
149607
150591
|
};
|
|
149608
150592
|
Returns: boolean;
|
|
149609
150593
|
};
|
|
150594
|
+
find_trade_item_key_by_name: {
|
|
150595
|
+
Args: {
|
|
150596
|
+
p_name: string;
|
|
150597
|
+
};
|
|
150598
|
+
Returns: string;
|
|
150599
|
+
};
|
|
149610
150600
|
format_cart_number: {
|
|
149611
150601
|
Args: {
|
|
149612
150602
|
p_pick_date: string;
|
|
@@ -159440,6 +160430,32 @@ export declare const listCarriersForPicker: import("@tanstack/start-client-core"
|
|
|
159440
160430
|
};
|
|
159441
160431
|
Returns: number;
|
|
159442
160432
|
};
|
|
160433
|
+
afh_city_code: {
|
|
160434
|
+
Args: {
|
|
160435
|
+
_city: string;
|
|
160436
|
+
_country: string;
|
|
160437
|
+
};
|
|
160438
|
+
Returns: string;
|
|
160439
|
+
};
|
|
160440
|
+
afh_normalize_country: {
|
|
160441
|
+
Args: {
|
|
160442
|
+
_raw: string;
|
|
160443
|
+
};
|
|
160444
|
+
Returns: string;
|
|
160445
|
+
};
|
|
160446
|
+
afh_normalize_nl_province: {
|
|
160447
|
+
Args: {
|
|
160448
|
+
_raw: string;
|
|
160449
|
+
};
|
|
160450
|
+
Returns: string;
|
|
160451
|
+
};
|
|
160452
|
+
afh_subtract_workdays: {
|
|
160453
|
+
Args: {
|
|
160454
|
+
_date: string;
|
|
160455
|
+
_days: number;
|
|
160456
|
+
};
|
|
160457
|
+
Returns: string;
|
|
160458
|
+
};
|
|
159443
160459
|
apply_stock_consumption: {
|
|
159444
160460
|
Args: {
|
|
159445
160461
|
p_order_id: string;
|
|
@@ -159485,12 +160501,40 @@ export declare const listCarriersForPicker: import("@tanstack/start-client-core"
|
|
|
159485
160501
|
order_number: string;
|
|
159486
160502
|
}[];
|
|
159487
160503
|
};
|
|
160504
|
+
backfill_open_order_reservations: {
|
|
160505
|
+
Args: never;
|
|
160506
|
+
Returns: {
|
|
160507
|
+
processed_items: number;
|
|
160508
|
+
}[];
|
|
160509
|
+
};
|
|
159488
160510
|
call_exact_route: {
|
|
159489
160511
|
Args: {
|
|
159490
160512
|
path: string;
|
|
159491
160513
|
};
|
|
159492
160514
|
Returns: number;
|
|
159493
160515
|
};
|
|
160516
|
+
check_offer_product_available_stock: {
|
|
160517
|
+
Args: {
|
|
160518
|
+
p_campaign_product_id: string;
|
|
160519
|
+
p_code: string;
|
|
160520
|
+
p_needed_qty?: number;
|
|
160521
|
+
p_product_name?: string;
|
|
160522
|
+
};
|
|
160523
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160524
|
+
};
|
|
160525
|
+
check_trade_item_available_stock: {
|
|
160526
|
+
Args: {
|
|
160527
|
+
p_connection_id?: string;
|
|
160528
|
+
p_context?: string;
|
|
160529
|
+
p_needed_qty?: number;
|
|
160530
|
+
p_order_id?: string;
|
|
160531
|
+
p_order_item_id?: string;
|
|
160532
|
+
p_owner_id?: string;
|
|
160533
|
+
p_product_name?: string;
|
|
160534
|
+
p_trade_item_key: string;
|
|
160535
|
+
};
|
|
160536
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160537
|
+
};
|
|
159494
160538
|
cleanup_old_bookings: {
|
|
159495
160539
|
Args: never;
|
|
159496
160540
|
Returns: number;
|
|
@@ -159534,6 +160578,12 @@ export declare const listCarriersForPicker: import("@tanstack/start-client-core"
|
|
|
159534
160578
|
table_name: string;
|
|
159535
160579
|
}[];
|
|
159536
160580
|
};
|
|
160581
|
+
dispatch_carrier_signups_sql: {
|
|
160582
|
+
Args: {
|
|
160583
|
+
_catchup?: string;
|
|
160584
|
+
};
|
|
160585
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160586
|
+
};
|
|
159537
160587
|
email_auth_decrypt: {
|
|
159538
160588
|
Args: {
|
|
159539
160589
|
cipher: string;
|
|
@@ -159606,6 +160656,12 @@ export declare const listCarriersForPicker: import("@tanstack/start-client-core"
|
|
|
159606
160656
|
};
|
|
159607
160657
|
Returns: boolean;
|
|
159608
160658
|
};
|
|
160659
|
+
find_trade_item_key_by_name: {
|
|
160660
|
+
Args: {
|
|
160661
|
+
p_name: string;
|
|
160662
|
+
};
|
|
160663
|
+
Returns: string;
|
|
160664
|
+
};
|
|
159609
160665
|
format_cart_number: {
|
|
159610
160666
|
Args: {
|
|
159611
160667
|
p_pick_date: string;
|
|
@@ -169441,6 +170497,32 @@ export declare const getOrderPickDays: import("@tanstack/start-client-core").Opt
|
|
|
169441
170497
|
};
|
|
169442
170498
|
Returns: number;
|
|
169443
170499
|
};
|
|
170500
|
+
afh_city_code: {
|
|
170501
|
+
Args: {
|
|
170502
|
+
_city: string;
|
|
170503
|
+
_country: string;
|
|
170504
|
+
};
|
|
170505
|
+
Returns: string;
|
|
170506
|
+
};
|
|
170507
|
+
afh_normalize_country: {
|
|
170508
|
+
Args: {
|
|
170509
|
+
_raw: string;
|
|
170510
|
+
};
|
|
170511
|
+
Returns: string;
|
|
170512
|
+
};
|
|
170513
|
+
afh_normalize_nl_province: {
|
|
170514
|
+
Args: {
|
|
170515
|
+
_raw: string;
|
|
170516
|
+
};
|
|
170517
|
+
Returns: string;
|
|
170518
|
+
};
|
|
170519
|
+
afh_subtract_workdays: {
|
|
170520
|
+
Args: {
|
|
170521
|
+
_date: string;
|
|
170522
|
+
_days: number;
|
|
170523
|
+
};
|
|
170524
|
+
Returns: string;
|
|
170525
|
+
};
|
|
169444
170526
|
apply_stock_consumption: {
|
|
169445
170527
|
Args: {
|
|
169446
170528
|
p_order_id: string;
|
|
@@ -169486,12 +170568,40 @@ export declare const getOrderPickDays: import("@tanstack/start-client-core").Opt
|
|
|
169486
170568
|
order_number: string;
|
|
169487
170569
|
}[];
|
|
169488
170570
|
};
|
|
170571
|
+
backfill_open_order_reservations: {
|
|
170572
|
+
Args: never;
|
|
170573
|
+
Returns: {
|
|
170574
|
+
processed_items: number;
|
|
170575
|
+
}[];
|
|
170576
|
+
};
|
|
169489
170577
|
call_exact_route: {
|
|
169490
170578
|
Args: {
|
|
169491
170579
|
path: string;
|
|
169492
170580
|
};
|
|
169493
170581
|
Returns: number;
|
|
169494
170582
|
};
|
|
170583
|
+
check_offer_product_available_stock: {
|
|
170584
|
+
Args: {
|
|
170585
|
+
p_campaign_product_id: string;
|
|
170586
|
+
p_code: string;
|
|
170587
|
+
p_needed_qty?: number;
|
|
170588
|
+
p_product_name?: string;
|
|
170589
|
+
};
|
|
170590
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
170591
|
+
};
|
|
170592
|
+
check_trade_item_available_stock: {
|
|
170593
|
+
Args: {
|
|
170594
|
+
p_connection_id?: string;
|
|
170595
|
+
p_context?: string;
|
|
170596
|
+
p_needed_qty?: number;
|
|
170597
|
+
p_order_id?: string;
|
|
170598
|
+
p_order_item_id?: string;
|
|
170599
|
+
p_owner_id?: string;
|
|
170600
|
+
p_product_name?: string;
|
|
170601
|
+
p_trade_item_key: string;
|
|
170602
|
+
};
|
|
170603
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
170604
|
+
};
|
|
169495
170605
|
cleanup_old_bookings: {
|
|
169496
170606
|
Args: never;
|
|
169497
170607
|
Returns: number;
|
|
@@ -169535,6 +170645,12 @@ export declare const getOrderPickDays: import("@tanstack/start-client-core").Opt
|
|
|
169535
170645
|
table_name: string;
|
|
169536
170646
|
}[];
|
|
169537
170647
|
};
|
|
170648
|
+
dispatch_carrier_signups_sql: {
|
|
170649
|
+
Args: {
|
|
170650
|
+
_catchup?: string;
|
|
170651
|
+
};
|
|
170652
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
170653
|
+
};
|
|
169538
170654
|
email_auth_decrypt: {
|
|
169539
170655
|
Args: {
|
|
169540
170656
|
cipher: string;
|
|
@@ -169607,6 +170723,12 @@ export declare const getOrderPickDays: import("@tanstack/start-client-core").Opt
|
|
|
169607
170723
|
};
|
|
169608
170724
|
Returns: boolean;
|
|
169609
170725
|
};
|
|
170726
|
+
find_trade_item_key_by_name: {
|
|
170727
|
+
Args: {
|
|
170728
|
+
p_name: string;
|
|
170729
|
+
};
|
|
170730
|
+
Returns: string;
|
|
170731
|
+
};
|
|
169610
170732
|
format_cart_number: {
|
|
169611
170733
|
Args: {
|
|
169612
170734
|
p_pick_date: string;
|