@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
|
@@ -9281,6 +9281,32 @@ export declare const listTemplateFields: import("@tanstack/start-client-core").O
|
|
|
9281
9281
|
};
|
|
9282
9282
|
Returns: number;
|
|
9283
9283
|
};
|
|
9284
|
+
afh_city_code: {
|
|
9285
|
+
Args: {
|
|
9286
|
+
_city: string;
|
|
9287
|
+
_country: string;
|
|
9288
|
+
};
|
|
9289
|
+
Returns: string;
|
|
9290
|
+
};
|
|
9291
|
+
afh_normalize_country: {
|
|
9292
|
+
Args: {
|
|
9293
|
+
_raw: string;
|
|
9294
|
+
};
|
|
9295
|
+
Returns: string;
|
|
9296
|
+
};
|
|
9297
|
+
afh_normalize_nl_province: {
|
|
9298
|
+
Args: {
|
|
9299
|
+
_raw: string;
|
|
9300
|
+
};
|
|
9301
|
+
Returns: string;
|
|
9302
|
+
};
|
|
9303
|
+
afh_subtract_workdays: {
|
|
9304
|
+
Args: {
|
|
9305
|
+
_date: string;
|
|
9306
|
+
_days: number;
|
|
9307
|
+
};
|
|
9308
|
+
Returns: string;
|
|
9309
|
+
};
|
|
9284
9310
|
apply_stock_consumption: {
|
|
9285
9311
|
Args: {
|
|
9286
9312
|
p_order_id: string;
|
|
@@ -9326,12 +9352,40 @@ export declare const listTemplateFields: import("@tanstack/start-client-core").O
|
|
|
9326
9352
|
order_number: string;
|
|
9327
9353
|
}[];
|
|
9328
9354
|
};
|
|
9355
|
+
backfill_open_order_reservations: {
|
|
9356
|
+
Args: never;
|
|
9357
|
+
Returns: {
|
|
9358
|
+
processed_items: number;
|
|
9359
|
+
}[];
|
|
9360
|
+
};
|
|
9329
9361
|
call_exact_route: {
|
|
9330
9362
|
Args: {
|
|
9331
9363
|
path: string;
|
|
9332
9364
|
};
|
|
9333
9365
|
Returns: number;
|
|
9334
9366
|
};
|
|
9367
|
+
check_offer_product_available_stock: {
|
|
9368
|
+
Args: {
|
|
9369
|
+
p_campaign_product_id: string;
|
|
9370
|
+
p_code: string;
|
|
9371
|
+
p_needed_qty?: number;
|
|
9372
|
+
p_product_name?: string;
|
|
9373
|
+
};
|
|
9374
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9375
|
+
};
|
|
9376
|
+
check_trade_item_available_stock: {
|
|
9377
|
+
Args: {
|
|
9378
|
+
p_connection_id?: string;
|
|
9379
|
+
p_context?: string;
|
|
9380
|
+
p_needed_qty?: number;
|
|
9381
|
+
p_order_id?: string;
|
|
9382
|
+
p_order_item_id?: string;
|
|
9383
|
+
p_owner_id?: string;
|
|
9384
|
+
p_product_name?: string;
|
|
9385
|
+
p_trade_item_key: string;
|
|
9386
|
+
};
|
|
9387
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9388
|
+
};
|
|
9335
9389
|
cleanup_old_bookings: {
|
|
9336
9390
|
Args: never;
|
|
9337
9391
|
Returns: number;
|
|
@@ -9375,6 +9429,12 @@ export declare const listTemplateFields: import("@tanstack/start-client-core").O
|
|
|
9375
9429
|
table_name: string;
|
|
9376
9430
|
}[];
|
|
9377
9431
|
};
|
|
9432
|
+
dispatch_carrier_signups_sql: {
|
|
9433
|
+
Args: {
|
|
9434
|
+
_catchup?: string;
|
|
9435
|
+
};
|
|
9436
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9437
|
+
};
|
|
9378
9438
|
email_auth_decrypt: {
|
|
9379
9439
|
Args: {
|
|
9380
9440
|
cipher: string;
|
|
@@ -9447,6 +9507,12 @@ export declare const listTemplateFields: import("@tanstack/start-client-core").O
|
|
|
9447
9507
|
};
|
|
9448
9508
|
Returns: boolean;
|
|
9449
9509
|
};
|
|
9510
|
+
find_trade_item_key_by_name: {
|
|
9511
|
+
Args: {
|
|
9512
|
+
p_name: string;
|
|
9513
|
+
};
|
|
9514
|
+
Returns: string;
|
|
9515
|
+
};
|
|
9450
9516
|
format_cart_number: {
|
|
9451
9517
|
Args: {
|
|
9452
9518
|
p_pick_date: string;
|
|
@@ -19292,6 +19358,32 @@ export declare const upsertTemplateField: import("@tanstack/start-client-core").
|
|
|
19292
19358
|
};
|
|
19293
19359
|
Returns: number;
|
|
19294
19360
|
};
|
|
19361
|
+
afh_city_code: {
|
|
19362
|
+
Args: {
|
|
19363
|
+
_city: string;
|
|
19364
|
+
_country: string;
|
|
19365
|
+
};
|
|
19366
|
+
Returns: string;
|
|
19367
|
+
};
|
|
19368
|
+
afh_normalize_country: {
|
|
19369
|
+
Args: {
|
|
19370
|
+
_raw: string;
|
|
19371
|
+
};
|
|
19372
|
+
Returns: string;
|
|
19373
|
+
};
|
|
19374
|
+
afh_normalize_nl_province: {
|
|
19375
|
+
Args: {
|
|
19376
|
+
_raw: string;
|
|
19377
|
+
};
|
|
19378
|
+
Returns: string;
|
|
19379
|
+
};
|
|
19380
|
+
afh_subtract_workdays: {
|
|
19381
|
+
Args: {
|
|
19382
|
+
_date: string;
|
|
19383
|
+
_days: number;
|
|
19384
|
+
};
|
|
19385
|
+
Returns: string;
|
|
19386
|
+
};
|
|
19295
19387
|
apply_stock_consumption: {
|
|
19296
19388
|
Args: {
|
|
19297
19389
|
p_order_id: string;
|
|
@@ -19337,12 +19429,40 @@ export declare const upsertTemplateField: import("@tanstack/start-client-core").
|
|
|
19337
19429
|
order_number: string;
|
|
19338
19430
|
}[];
|
|
19339
19431
|
};
|
|
19432
|
+
backfill_open_order_reservations: {
|
|
19433
|
+
Args: never;
|
|
19434
|
+
Returns: {
|
|
19435
|
+
processed_items: number;
|
|
19436
|
+
}[];
|
|
19437
|
+
};
|
|
19340
19438
|
call_exact_route: {
|
|
19341
19439
|
Args: {
|
|
19342
19440
|
path: string;
|
|
19343
19441
|
};
|
|
19344
19442
|
Returns: number;
|
|
19345
19443
|
};
|
|
19444
|
+
check_offer_product_available_stock: {
|
|
19445
|
+
Args: {
|
|
19446
|
+
p_campaign_product_id: string;
|
|
19447
|
+
p_code: string;
|
|
19448
|
+
p_needed_qty?: number;
|
|
19449
|
+
p_product_name?: string;
|
|
19450
|
+
};
|
|
19451
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19452
|
+
};
|
|
19453
|
+
check_trade_item_available_stock: {
|
|
19454
|
+
Args: {
|
|
19455
|
+
p_connection_id?: string;
|
|
19456
|
+
p_context?: string;
|
|
19457
|
+
p_needed_qty?: number;
|
|
19458
|
+
p_order_id?: string;
|
|
19459
|
+
p_order_item_id?: string;
|
|
19460
|
+
p_owner_id?: string;
|
|
19461
|
+
p_product_name?: string;
|
|
19462
|
+
p_trade_item_key: string;
|
|
19463
|
+
};
|
|
19464
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19465
|
+
};
|
|
19346
19466
|
cleanup_old_bookings: {
|
|
19347
19467
|
Args: never;
|
|
19348
19468
|
Returns: number;
|
|
@@ -19386,6 +19506,12 @@ export declare const upsertTemplateField: import("@tanstack/start-client-core").
|
|
|
19386
19506
|
table_name: string;
|
|
19387
19507
|
}[];
|
|
19388
19508
|
};
|
|
19509
|
+
dispatch_carrier_signups_sql: {
|
|
19510
|
+
Args: {
|
|
19511
|
+
_catchup?: string;
|
|
19512
|
+
};
|
|
19513
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19514
|
+
};
|
|
19389
19515
|
email_auth_decrypt: {
|
|
19390
19516
|
Args: {
|
|
19391
19517
|
cipher: string;
|
|
@@ -19458,6 +19584,12 @@ export declare const upsertTemplateField: import("@tanstack/start-client-core").
|
|
|
19458
19584
|
};
|
|
19459
19585
|
Returns: boolean;
|
|
19460
19586
|
};
|
|
19587
|
+
find_trade_item_key_by_name: {
|
|
19588
|
+
Args: {
|
|
19589
|
+
p_name: string;
|
|
19590
|
+
};
|
|
19591
|
+
Returns: string;
|
|
19592
|
+
};
|
|
19461
19593
|
format_cart_number: {
|
|
19462
19594
|
Args: {
|
|
19463
19595
|
p_pick_date: string;
|
|
@@ -29305,6 +29437,32 @@ export declare const deleteTemplateField: import("@tanstack/start-client-core").
|
|
|
29305
29437
|
};
|
|
29306
29438
|
Returns: number;
|
|
29307
29439
|
};
|
|
29440
|
+
afh_city_code: {
|
|
29441
|
+
Args: {
|
|
29442
|
+
_city: string;
|
|
29443
|
+
_country: string;
|
|
29444
|
+
};
|
|
29445
|
+
Returns: string;
|
|
29446
|
+
};
|
|
29447
|
+
afh_normalize_country: {
|
|
29448
|
+
Args: {
|
|
29449
|
+
_raw: string;
|
|
29450
|
+
};
|
|
29451
|
+
Returns: string;
|
|
29452
|
+
};
|
|
29453
|
+
afh_normalize_nl_province: {
|
|
29454
|
+
Args: {
|
|
29455
|
+
_raw: string;
|
|
29456
|
+
};
|
|
29457
|
+
Returns: string;
|
|
29458
|
+
};
|
|
29459
|
+
afh_subtract_workdays: {
|
|
29460
|
+
Args: {
|
|
29461
|
+
_date: string;
|
|
29462
|
+
_days: number;
|
|
29463
|
+
};
|
|
29464
|
+
Returns: string;
|
|
29465
|
+
};
|
|
29308
29466
|
apply_stock_consumption: {
|
|
29309
29467
|
Args: {
|
|
29310
29468
|
p_order_id: string;
|
|
@@ -29350,12 +29508,40 @@ export declare const deleteTemplateField: import("@tanstack/start-client-core").
|
|
|
29350
29508
|
order_number: string;
|
|
29351
29509
|
}[];
|
|
29352
29510
|
};
|
|
29511
|
+
backfill_open_order_reservations: {
|
|
29512
|
+
Args: never;
|
|
29513
|
+
Returns: {
|
|
29514
|
+
processed_items: number;
|
|
29515
|
+
}[];
|
|
29516
|
+
};
|
|
29353
29517
|
call_exact_route: {
|
|
29354
29518
|
Args: {
|
|
29355
29519
|
path: string;
|
|
29356
29520
|
};
|
|
29357
29521
|
Returns: number;
|
|
29358
29522
|
};
|
|
29523
|
+
check_offer_product_available_stock: {
|
|
29524
|
+
Args: {
|
|
29525
|
+
p_campaign_product_id: string;
|
|
29526
|
+
p_code: string;
|
|
29527
|
+
p_needed_qty?: number;
|
|
29528
|
+
p_product_name?: string;
|
|
29529
|
+
};
|
|
29530
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29531
|
+
};
|
|
29532
|
+
check_trade_item_available_stock: {
|
|
29533
|
+
Args: {
|
|
29534
|
+
p_connection_id?: string;
|
|
29535
|
+
p_context?: string;
|
|
29536
|
+
p_needed_qty?: number;
|
|
29537
|
+
p_order_id?: string;
|
|
29538
|
+
p_order_item_id?: string;
|
|
29539
|
+
p_owner_id?: string;
|
|
29540
|
+
p_product_name?: string;
|
|
29541
|
+
p_trade_item_key: string;
|
|
29542
|
+
};
|
|
29543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29544
|
+
};
|
|
29359
29545
|
cleanup_old_bookings: {
|
|
29360
29546
|
Args: never;
|
|
29361
29547
|
Returns: number;
|
|
@@ -29399,6 +29585,12 @@ export declare const deleteTemplateField: import("@tanstack/start-client-core").
|
|
|
29399
29585
|
table_name: string;
|
|
29400
29586
|
}[];
|
|
29401
29587
|
};
|
|
29588
|
+
dispatch_carrier_signups_sql: {
|
|
29589
|
+
Args: {
|
|
29590
|
+
_catchup?: string;
|
|
29591
|
+
};
|
|
29592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29593
|
+
};
|
|
29402
29594
|
email_auth_decrypt: {
|
|
29403
29595
|
Args: {
|
|
29404
29596
|
cipher: string;
|
|
@@ -29471,6 +29663,12 @@ export declare const deleteTemplateField: import("@tanstack/start-client-core").
|
|
|
29471
29663
|
};
|
|
29472
29664
|
Returns: boolean;
|
|
29473
29665
|
};
|
|
29666
|
+
find_trade_item_key_by_name: {
|
|
29667
|
+
Args: {
|
|
29668
|
+
p_name: string;
|
|
29669
|
+
};
|
|
29670
|
+
Returns: string;
|
|
29671
|
+
};
|
|
29474
29672
|
format_cart_number: {
|
|
29475
29673
|
Args: {
|
|
29476
29674
|
p_pick_date: string;
|
|
@@ -39302,6 +39500,32 @@ export declare const reorderTemplateFields: import("@tanstack/start-client-core"
|
|
|
39302
39500
|
};
|
|
39303
39501
|
Returns: number;
|
|
39304
39502
|
};
|
|
39503
|
+
afh_city_code: {
|
|
39504
|
+
Args: {
|
|
39505
|
+
_city: string;
|
|
39506
|
+
_country: string;
|
|
39507
|
+
};
|
|
39508
|
+
Returns: string;
|
|
39509
|
+
};
|
|
39510
|
+
afh_normalize_country: {
|
|
39511
|
+
Args: {
|
|
39512
|
+
_raw: string;
|
|
39513
|
+
};
|
|
39514
|
+
Returns: string;
|
|
39515
|
+
};
|
|
39516
|
+
afh_normalize_nl_province: {
|
|
39517
|
+
Args: {
|
|
39518
|
+
_raw: string;
|
|
39519
|
+
};
|
|
39520
|
+
Returns: string;
|
|
39521
|
+
};
|
|
39522
|
+
afh_subtract_workdays: {
|
|
39523
|
+
Args: {
|
|
39524
|
+
_date: string;
|
|
39525
|
+
_days: number;
|
|
39526
|
+
};
|
|
39527
|
+
Returns: string;
|
|
39528
|
+
};
|
|
39305
39529
|
apply_stock_consumption: {
|
|
39306
39530
|
Args: {
|
|
39307
39531
|
p_order_id: string;
|
|
@@ -39347,12 +39571,40 @@ export declare const reorderTemplateFields: import("@tanstack/start-client-core"
|
|
|
39347
39571
|
order_number: string;
|
|
39348
39572
|
}[];
|
|
39349
39573
|
};
|
|
39574
|
+
backfill_open_order_reservations: {
|
|
39575
|
+
Args: never;
|
|
39576
|
+
Returns: {
|
|
39577
|
+
processed_items: number;
|
|
39578
|
+
}[];
|
|
39579
|
+
};
|
|
39350
39580
|
call_exact_route: {
|
|
39351
39581
|
Args: {
|
|
39352
39582
|
path: string;
|
|
39353
39583
|
};
|
|
39354
39584
|
Returns: number;
|
|
39355
39585
|
};
|
|
39586
|
+
check_offer_product_available_stock: {
|
|
39587
|
+
Args: {
|
|
39588
|
+
p_campaign_product_id: string;
|
|
39589
|
+
p_code: string;
|
|
39590
|
+
p_needed_qty?: number;
|
|
39591
|
+
p_product_name?: string;
|
|
39592
|
+
};
|
|
39593
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39594
|
+
};
|
|
39595
|
+
check_trade_item_available_stock: {
|
|
39596
|
+
Args: {
|
|
39597
|
+
p_connection_id?: string;
|
|
39598
|
+
p_context?: string;
|
|
39599
|
+
p_needed_qty?: number;
|
|
39600
|
+
p_order_id?: string;
|
|
39601
|
+
p_order_item_id?: string;
|
|
39602
|
+
p_owner_id?: string;
|
|
39603
|
+
p_product_name?: string;
|
|
39604
|
+
p_trade_item_key: string;
|
|
39605
|
+
};
|
|
39606
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39607
|
+
};
|
|
39356
39608
|
cleanup_old_bookings: {
|
|
39357
39609
|
Args: never;
|
|
39358
39610
|
Returns: number;
|
|
@@ -39396,6 +39648,12 @@ export declare const reorderTemplateFields: import("@tanstack/start-client-core"
|
|
|
39396
39648
|
table_name: string;
|
|
39397
39649
|
}[];
|
|
39398
39650
|
};
|
|
39651
|
+
dispatch_carrier_signups_sql: {
|
|
39652
|
+
Args: {
|
|
39653
|
+
_catchup?: string;
|
|
39654
|
+
};
|
|
39655
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39656
|
+
};
|
|
39399
39657
|
email_auth_decrypt: {
|
|
39400
39658
|
Args: {
|
|
39401
39659
|
cipher: string;
|
|
@@ -39468,6 +39726,12 @@ export declare const reorderTemplateFields: import("@tanstack/start-client-core"
|
|
|
39468
39726
|
};
|
|
39469
39727
|
Returns: boolean;
|
|
39470
39728
|
};
|
|
39729
|
+
find_trade_item_key_by_name: {
|
|
39730
|
+
Args: {
|
|
39731
|
+
p_name: string;
|
|
39732
|
+
};
|
|
39733
|
+
Returns: string;
|
|
39734
|
+
};
|
|
39471
39735
|
format_cart_number: {
|
|
39472
39736
|
Args: {
|
|
39473
39737
|
p_pick_date: string;
|
|
@@ -49299,6 +49563,32 @@ export declare const listPlantTypesForPicker: import("@tanstack/start-client-cor
|
|
|
49299
49563
|
};
|
|
49300
49564
|
Returns: number;
|
|
49301
49565
|
};
|
|
49566
|
+
afh_city_code: {
|
|
49567
|
+
Args: {
|
|
49568
|
+
_city: string;
|
|
49569
|
+
_country: string;
|
|
49570
|
+
};
|
|
49571
|
+
Returns: string;
|
|
49572
|
+
};
|
|
49573
|
+
afh_normalize_country: {
|
|
49574
|
+
Args: {
|
|
49575
|
+
_raw: string;
|
|
49576
|
+
};
|
|
49577
|
+
Returns: string;
|
|
49578
|
+
};
|
|
49579
|
+
afh_normalize_nl_province: {
|
|
49580
|
+
Args: {
|
|
49581
|
+
_raw: string;
|
|
49582
|
+
};
|
|
49583
|
+
Returns: string;
|
|
49584
|
+
};
|
|
49585
|
+
afh_subtract_workdays: {
|
|
49586
|
+
Args: {
|
|
49587
|
+
_date: string;
|
|
49588
|
+
_days: number;
|
|
49589
|
+
};
|
|
49590
|
+
Returns: string;
|
|
49591
|
+
};
|
|
49302
49592
|
apply_stock_consumption: {
|
|
49303
49593
|
Args: {
|
|
49304
49594
|
p_order_id: string;
|
|
@@ -49344,12 +49634,40 @@ export declare const listPlantTypesForPicker: import("@tanstack/start-client-cor
|
|
|
49344
49634
|
order_number: string;
|
|
49345
49635
|
}[];
|
|
49346
49636
|
};
|
|
49637
|
+
backfill_open_order_reservations: {
|
|
49638
|
+
Args: never;
|
|
49639
|
+
Returns: {
|
|
49640
|
+
processed_items: number;
|
|
49641
|
+
}[];
|
|
49642
|
+
};
|
|
49347
49643
|
call_exact_route: {
|
|
49348
49644
|
Args: {
|
|
49349
49645
|
path: string;
|
|
49350
49646
|
};
|
|
49351
49647
|
Returns: number;
|
|
49352
49648
|
};
|
|
49649
|
+
check_offer_product_available_stock: {
|
|
49650
|
+
Args: {
|
|
49651
|
+
p_campaign_product_id: string;
|
|
49652
|
+
p_code: string;
|
|
49653
|
+
p_needed_qty?: number;
|
|
49654
|
+
p_product_name?: string;
|
|
49655
|
+
};
|
|
49656
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49657
|
+
};
|
|
49658
|
+
check_trade_item_available_stock: {
|
|
49659
|
+
Args: {
|
|
49660
|
+
p_connection_id?: string;
|
|
49661
|
+
p_context?: string;
|
|
49662
|
+
p_needed_qty?: number;
|
|
49663
|
+
p_order_id?: string;
|
|
49664
|
+
p_order_item_id?: string;
|
|
49665
|
+
p_owner_id?: string;
|
|
49666
|
+
p_product_name?: string;
|
|
49667
|
+
p_trade_item_key: string;
|
|
49668
|
+
};
|
|
49669
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49670
|
+
};
|
|
49353
49671
|
cleanup_old_bookings: {
|
|
49354
49672
|
Args: never;
|
|
49355
49673
|
Returns: number;
|
|
@@ -49393,6 +49711,12 @@ export declare const listPlantTypesForPicker: import("@tanstack/start-client-cor
|
|
|
49393
49711
|
table_name: string;
|
|
49394
49712
|
}[];
|
|
49395
49713
|
};
|
|
49714
|
+
dispatch_carrier_signups_sql: {
|
|
49715
|
+
Args: {
|
|
49716
|
+
_catchup?: string;
|
|
49717
|
+
};
|
|
49718
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49719
|
+
};
|
|
49396
49720
|
email_auth_decrypt: {
|
|
49397
49721
|
Args: {
|
|
49398
49722
|
cipher: string;
|
|
@@ -49465,6 +49789,12 @@ export declare const listPlantTypesForPicker: import("@tanstack/start-client-cor
|
|
|
49465
49789
|
};
|
|
49466
49790
|
Returns: boolean;
|
|
49467
49791
|
};
|
|
49792
|
+
find_trade_item_key_by_name: {
|
|
49793
|
+
Args: {
|
|
49794
|
+
p_name: string;
|
|
49795
|
+
};
|
|
49796
|
+
Returns: string;
|
|
49797
|
+
};
|
|
49468
49798
|
format_cart_number: {
|
|
49469
49799
|
Args: {
|
|
49470
49800
|
p_pick_date: string;
|
|
@@ -59297,6 +59627,32 @@ export declare const listSuppliersForPicker: import("@tanstack/start-client-core
|
|
|
59297
59627
|
};
|
|
59298
59628
|
Returns: number;
|
|
59299
59629
|
};
|
|
59630
|
+
afh_city_code: {
|
|
59631
|
+
Args: {
|
|
59632
|
+
_city: string;
|
|
59633
|
+
_country: string;
|
|
59634
|
+
};
|
|
59635
|
+
Returns: string;
|
|
59636
|
+
};
|
|
59637
|
+
afh_normalize_country: {
|
|
59638
|
+
Args: {
|
|
59639
|
+
_raw: string;
|
|
59640
|
+
};
|
|
59641
|
+
Returns: string;
|
|
59642
|
+
};
|
|
59643
|
+
afh_normalize_nl_province: {
|
|
59644
|
+
Args: {
|
|
59645
|
+
_raw: string;
|
|
59646
|
+
};
|
|
59647
|
+
Returns: string;
|
|
59648
|
+
};
|
|
59649
|
+
afh_subtract_workdays: {
|
|
59650
|
+
Args: {
|
|
59651
|
+
_date: string;
|
|
59652
|
+
_days: number;
|
|
59653
|
+
};
|
|
59654
|
+
Returns: string;
|
|
59655
|
+
};
|
|
59300
59656
|
apply_stock_consumption: {
|
|
59301
59657
|
Args: {
|
|
59302
59658
|
p_order_id: string;
|
|
@@ -59342,12 +59698,40 @@ export declare const listSuppliersForPicker: import("@tanstack/start-client-core
|
|
|
59342
59698
|
order_number: string;
|
|
59343
59699
|
}[];
|
|
59344
59700
|
};
|
|
59701
|
+
backfill_open_order_reservations: {
|
|
59702
|
+
Args: never;
|
|
59703
|
+
Returns: {
|
|
59704
|
+
processed_items: number;
|
|
59705
|
+
}[];
|
|
59706
|
+
};
|
|
59345
59707
|
call_exact_route: {
|
|
59346
59708
|
Args: {
|
|
59347
59709
|
path: string;
|
|
59348
59710
|
};
|
|
59349
59711
|
Returns: number;
|
|
59350
59712
|
};
|
|
59713
|
+
check_offer_product_available_stock: {
|
|
59714
|
+
Args: {
|
|
59715
|
+
p_campaign_product_id: string;
|
|
59716
|
+
p_code: string;
|
|
59717
|
+
p_needed_qty?: number;
|
|
59718
|
+
p_product_name?: string;
|
|
59719
|
+
};
|
|
59720
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59721
|
+
};
|
|
59722
|
+
check_trade_item_available_stock: {
|
|
59723
|
+
Args: {
|
|
59724
|
+
p_connection_id?: string;
|
|
59725
|
+
p_context?: string;
|
|
59726
|
+
p_needed_qty?: number;
|
|
59727
|
+
p_order_id?: string;
|
|
59728
|
+
p_order_item_id?: string;
|
|
59729
|
+
p_owner_id?: string;
|
|
59730
|
+
p_product_name?: string;
|
|
59731
|
+
p_trade_item_key: string;
|
|
59732
|
+
};
|
|
59733
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59734
|
+
};
|
|
59351
59735
|
cleanup_old_bookings: {
|
|
59352
59736
|
Args: never;
|
|
59353
59737
|
Returns: number;
|
|
@@ -59391,6 +59775,12 @@ export declare const listSuppliersForPicker: import("@tanstack/start-client-core
|
|
|
59391
59775
|
table_name: string;
|
|
59392
59776
|
}[];
|
|
59393
59777
|
};
|
|
59778
|
+
dispatch_carrier_signups_sql: {
|
|
59779
|
+
Args: {
|
|
59780
|
+
_catchup?: string;
|
|
59781
|
+
};
|
|
59782
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
59783
|
+
};
|
|
59394
59784
|
email_auth_decrypt: {
|
|
59395
59785
|
Args: {
|
|
59396
59786
|
cipher: string;
|
|
@@ -59463,6 +59853,12 @@ export declare const listSuppliersForPicker: import("@tanstack/start-client-core
|
|
|
59463
59853
|
};
|
|
59464
59854
|
Returns: boolean;
|
|
59465
59855
|
};
|
|
59856
|
+
find_trade_item_key_by_name: {
|
|
59857
|
+
Args: {
|
|
59858
|
+
p_name: string;
|
|
59859
|
+
};
|
|
59860
|
+
Returns: string;
|
|
59861
|
+
};
|
|
59466
59862
|
format_cart_number: {
|
|
59467
59863
|
Args: {
|
|
59468
59864
|
p_pick_date: string;
|