@flowselections/floriday-afhandeling-module 1.0.11 → 1.0.12
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/afhandeling/ControlePage.d.ts +3 -1
- package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +6 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +126 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +126 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +126 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +126 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +252 -0
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +630 -0
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +630 -0
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +1260 -0
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +126 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +6 -1
|
@@ -726,6 +726,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
726
726
|
notes: string | null;
|
|
727
727
|
performed_at: string;
|
|
728
728
|
rescheduled_count: number;
|
|
729
|
+
stock_consumed_at: string | null;
|
|
729
730
|
total_carts: number;
|
|
730
731
|
updated_at: string;
|
|
731
732
|
user_id: string;
|
|
@@ -739,6 +740,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
739
740
|
notes?: string | null;
|
|
740
741
|
performed_at?: string;
|
|
741
742
|
rescheduled_count?: number;
|
|
743
|
+
stock_consumed_at?: string | null;
|
|
742
744
|
total_carts?: number;
|
|
743
745
|
updated_at?: string;
|
|
744
746
|
user_id: string;
|
|
@@ -752,6 +754,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
752
754
|
notes?: string | null;
|
|
753
755
|
performed_at?: string;
|
|
754
756
|
rescheduled_count?: number;
|
|
757
|
+
stock_consumed_at?: string | null;
|
|
755
758
|
total_carts?: number;
|
|
756
759
|
updated_at?: string;
|
|
757
760
|
user_id?: string;
|
|
@@ -6510,6 +6513,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
6510
6513
|
purchase_price: number | null;
|
|
6511
6514
|
quantity: number;
|
|
6512
6515
|
sale_price: number | null;
|
|
6516
|
+
trade_item_key: string | null;
|
|
6513
6517
|
unit: string;
|
|
6514
6518
|
updated_at: string;
|
|
6515
6519
|
weight: string | null;
|
|
@@ -6532,6 +6536,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
6532
6536
|
purchase_price?: number | null;
|
|
6533
6537
|
quantity?: number;
|
|
6534
6538
|
sale_price?: number | null;
|
|
6539
|
+
trade_item_key?: string | null;
|
|
6535
6540
|
unit?: string;
|
|
6536
6541
|
updated_at?: string;
|
|
6537
6542
|
weight?: string | null;
|
|
@@ -6554,6 +6559,7 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
6554
6559
|
purchase_price?: number | null;
|
|
6555
6560
|
quantity?: number;
|
|
6556
6561
|
sale_price?: number | null;
|
|
6562
|
+
trade_item_key?: string | null;
|
|
6557
6563
|
unit?: string;
|
|
6558
6564
|
updated_at?: string;
|
|
6559
6565
|
weight?: string | null;
|
|
@@ -7373,6 +7379,60 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
7373
7379
|
};
|
|
7374
7380
|
Relationships: [];
|
|
7375
7381
|
};
|
|
7382
|
+
stock_mutation_log: {
|
|
7383
|
+
Row: {
|
|
7384
|
+
connection_id: string | null;
|
|
7385
|
+
created_at: string;
|
|
7386
|
+
created_by: string | null;
|
|
7387
|
+
id: string;
|
|
7388
|
+
mutation_type: string;
|
|
7389
|
+
order_id: string | null;
|
|
7390
|
+
order_item_id: string | null;
|
|
7391
|
+
order_source: string | null;
|
|
7392
|
+
physical_after: number | null;
|
|
7393
|
+
physical_before: number | null;
|
|
7394
|
+
qty_delta: number;
|
|
7395
|
+
reason: string | null;
|
|
7396
|
+
reserved_after: number | null;
|
|
7397
|
+
reserved_before: number | null;
|
|
7398
|
+
trade_item_key: string;
|
|
7399
|
+
};
|
|
7400
|
+
Insert: {
|
|
7401
|
+
connection_id?: string | null;
|
|
7402
|
+
created_at?: string;
|
|
7403
|
+
created_by?: string | null;
|
|
7404
|
+
id?: string;
|
|
7405
|
+
mutation_type: string;
|
|
7406
|
+
order_id?: string | null;
|
|
7407
|
+
order_item_id?: string | null;
|
|
7408
|
+
order_source?: string | null;
|
|
7409
|
+
physical_after?: number | null;
|
|
7410
|
+
physical_before?: number | null;
|
|
7411
|
+
qty_delta: number;
|
|
7412
|
+
reason?: string | null;
|
|
7413
|
+
reserved_after?: number | null;
|
|
7414
|
+
reserved_before?: number | null;
|
|
7415
|
+
trade_item_key: string;
|
|
7416
|
+
};
|
|
7417
|
+
Update: {
|
|
7418
|
+
connection_id?: string | null;
|
|
7419
|
+
created_at?: string;
|
|
7420
|
+
created_by?: string | null;
|
|
7421
|
+
id?: string;
|
|
7422
|
+
mutation_type?: string;
|
|
7423
|
+
order_id?: string | null;
|
|
7424
|
+
order_item_id?: string | null;
|
|
7425
|
+
order_source?: string | null;
|
|
7426
|
+
physical_after?: number | null;
|
|
7427
|
+
physical_before?: number | null;
|
|
7428
|
+
qty_delta?: number;
|
|
7429
|
+
reason?: string | null;
|
|
7430
|
+
reserved_after?: number | null;
|
|
7431
|
+
reserved_before?: number | null;
|
|
7432
|
+
trade_item_key?: string;
|
|
7433
|
+
};
|
|
7434
|
+
Relationships: [];
|
|
7435
|
+
};
|
|
7376
7436
|
supplier_products: {
|
|
7377
7437
|
Row: {
|
|
7378
7438
|
article_number: string | null;
|
|
@@ -9234,6 +9294,54 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
9234
9294
|
};
|
|
9235
9295
|
Returns: number;
|
|
9236
9296
|
};
|
|
9297
|
+
afh_city_code: {
|
|
9298
|
+
Args: {
|
|
9299
|
+
_city: string;
|
|
9300
|
+
_country: string;
|
|
9301
|
+
};
|
|
9302
|
+
Returns: string;
|
|
9303
|
+
};
|
|
9304
|
+
afh_normalize_country: {
|
|
9305
|
+
Args: {
|
|
9306
|
+
_raw: string;
|
|
9307
|
+
};
|
|
9308
|
+
Returns: string;
|
|
9309
|
+
};
|
|
9310
|
+
afh_normalize_nl_province: {
|
|
9311
|
+
Args: {
|
|
9312
|
+
_raw: string;
|
|
9313
|
+
};
|
|
9314
|
+
Returns: string;
|
|
9315
|
+
};
|
|
9316
|
+
afh_subtract_workdays: {
|
|
9317
|
+
Args: {
|
|
9318
|
+
_date: string;
|
|
9319
|
+
_days: number;
|
|
9320
|
+
};
|
|
9321
|
+
Returns: string;
|
|
9322
|
+
};
|
|
9323
|
+
apply_stock_consumption: {
|
|
9324
|
+
Args: {
|
|
9325
|
+
p_order_id: string;
|
|
9326
|
+
p_order_item_id: string;
|
|
9327
|
+
p_qty: number;
|
|
9328
|
+
p_reason: string;
|
|
9329
|
+
p_source: string;
|
|
9330
|
+
p_trade_item_key: string;
|
|
9331
|
+
};
|
|
9332
|
+
Returns: undefined;
|
|
9333
|
+
};
|
|
9334
|
+
apply_stock_reservation: {
|
|
9335
|
+
Args: {
|
|
9336
|
+
p_order_id: string;
|
|
9337
|
+
p_order_item_id: string;
|
|
9338
|
+
p_qty: number;
|
|
9339
|
+
p_reason: string;
|
|
9340
|
+
p_source: string;
|
|
9341
|
+
p_trade_item_key: string;
|
|
9342
|
+
};
|
|
9343
|
+
Returns: undefined;
|
|
9344
|
+
};
|
|
9237
9345
|
assign_cart_numbers: {
|
|
9238
9346
|
Args: {
|
|
9239
9347
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -9257,6 +9365,12 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
9257
9365
|
order_number: string;
|
|
9258
9366
|
}[];
|
|
9259
9367
|
};
|
|
9368
|
+
backfill_open_order_reservations: {
|
|
9369
|
+
Args: never;
|
|
9370
|
+
Returns: {
|
|
9371
|
+
processed_items: number;
|
|
9372
|
+
}[];
|
|
9373
|
+
};
|
|
9260
9374
|
call_exact_route: {
|
|
9261
9375
|
Args: {
|
|
9262
9376
|
path: string;
|
|
@@ -9306,6 +9420,12 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
9306
9420
|
table_name: string;
|
|
9307
9421
|
}[];
|
|
9308
9422
|
};
|
|
9423
|
+
dispatch_carrier_signups_sql: {
|
|
9424
|
+
Args: {
|
|
9425
|
+
_catchup?: string;
|
|
9426
|
+
};
|
|
9427
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9428
|
+
};
|
|
9309
9429
|
email_auth_decrypt: {
|
|
9310
9430
|
Args: {
|
|
9311
9431
|
cipher: string;
|
|
@@ -9378,6 +9498,12 @@ export declare const listCartOverrides: import("@tanstack/start-client-core").Op
|
|
|
9378
9498
|
};
|
|
9379
9499
|
Returns: boolean;
|
|
9380
9500
|
};
|
|
9501
|
+
find_trade_item_key_by_name: {
|
|
9502
|
+
Args: {
|
|
9503
|
+
p_name: string;
|
|
9504
|
+
};
|
|
9505
|
+
Returns: string;
|
|
9506
|
+
};
|
|
9381
9507
|
format_cart_number: {
|
|
9382
9508
|
Args: {
|
|
9383
9509
|
p_pick_date: string;
|
|
@@ -10646,6 +10772,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
10646
10772
|
notes: string | null;
|
|
10647
10773
|
performed_at: string;
|
|
10648
10774
|
rescheduled_count: number;
|
|
10775
|
+
stock_consumed_at: string | null;
|
|
10649
10776
|
total_carts: number;
|
|
10650
10777
|
updated_at: string;
|
|
10651
10778
|
user_id: string;
|
|
@@ -10659,6 +10786,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
10659
10786
|
notes?: string | null;
|
|
10660
10787
|
performed_at?: string;
|
|
10661
10788
|
rescheduled_count?: number;
|
|
10789
|
+
stock_consumed_at?: string | null;
|
|
10662
10790
|
total_carts?: number;
|
|
10663
10791
|
updated_at?: string;
|
|
10664
10792
|
user_id: string;
|
|
@@ -10672,6 +10800,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
10672
10800
|
notes?: string | null;
|
|
10673
10801
|
performed_at?: string;
|
|
10674
10802
|
rescheduled_count?: number;
|
|
10803
|
+
stock_consumed_at?: string | null;
|
|
10675
10804
|
total_carts?: number;
|
|
10676
10805
|
updated_at?: string;
|
|
10677
10806
|
user_id?: string;
|
|
@@ -16430,6 +16559,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
16430
16559
|
purchase_price: number | null;
|
|
16431
16560
|
quantity: number;
|
|
16432
16561
|
sale_price: number | null;
|
|
16562
|
+
trade_item_key: string | null;
|
|
16433
16563
|
unit: string;
|
|
16434
16564
|
updated_at: string;
|
|
16435
16565
|
weight: string | null;
|
|
@@ -16452,6 +16582,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
16452
16582
|
purchase_price?: number | null;
|
|
16453
16583
|
quantity?: number;
|
|
16454
16584
|
sale_price?: number | null;
|
|
16585
|
+
trade_item_key?: string | null;
|
|
16455
16586
|
unit?: string;
|
|
16456
16587
|
updated_at?: string;
|
|
16457
16588
|
weight?: string | null;
|
|
@@ -16474,6 +16605,7 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
16474
16605
|
purchase_price?: number | null;
|
|
16475
16606
|
quantity?: number;
|
|
16476
16607
|
sale_price?: number | null;
|
|
16608
|
+
trade_item_key?: string | null;
|
|
16477
16609
|
unit?: string;
|
|
16478
16610
|
updated_at?: string;
|
|
16479
16611
|
weight?: string | null;
|
|
@@ -17293,6 +17425,60 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
17293
17425
|
};
|
|
17294
17426
|
Relationships: [];
|
|
17295
17427
|
};
|
|
17428
|
+
stock_mutation_log: {
|
|
17429
|
+
Row: {
|
|
17430
|
+
connection_id: string | null;
|
|
17431
|
+
created_at: string;
|
|
17432
|
+
created_by: string | null;
|
|
17433
|
+
id: string;
|
|
17434
|
+
mutation_type: string;
|
|
17435
|
+
order_id: string | null;
|
|
17436
|
+
order_item_id: string | null;
|
|
17437
|
+
order_source: string | null;
|
|
17438
|
+
physical_after: number | null;
|
|
17439
|
+
physical_before: number | null;
|
|
17440
|
+
qty_delta: number;
|
|
17441
|
+
reason: string | null;
|
|
17442
|
+
reserved_after: number | null;
|
|
17443
|
+
reserved_before: number | null;
|
|
17444
|
+
trade_item_key: string;
|
|
17445
|
+
};
|
|
17446
|
+
Insert: {
|
|
17447
|
+
connection_id?: string | null;
|
|
17448
|
+
created_at?: string;
|
|
17449
|
+
created_by?: string | null;
|
|
17450
|
+
id?: string;
|
|
17451
|
+
mutation_type: string;
|
|
17452
|
+
order_id?: string | null;
|
|
17453
|
+
order_item_id?: string | null;
|
|
17454
|
+
order_source?: string | null;
|
|
17455
|
+
physical_after?: number | null;
|
|
17456
|
+
physical_before?: number | null;
|
|
17457
|
+
qty_delta: number;
|
|
17458
|
+
reason?: string | null;
|
|
17459
|
+
reserved_after?: number | null;
|
|
17460
|
+
reserved_before?: number | null;
|
|
17461
|
+
trade_item_key: string;
|
|
17462
|
+
};
|
|
17463
|
+
Update: {
|
|
17464
|
+
connection_id?: string | null;
|
|
17465
|
+
created_at?: string;
|
|
17466
|
+
created_by?: string | null;
|
|
17467
|
+
id?: string;
|
|
17468
|
+
mutation_type?: string;
|
|
17469
|
+
order_id?: string | null;
|
|
17470
|
+
order_item_id?: string | null;
|
|
17471
|
+
order_source?: string | null;
|
|
17472
|
+
physical_after?: number | null;
|
|
17473
|
+
physical_before?: number | null;
|
|
17474
|
+
qty_delta?: number;
|
|
17475
|
+
reason?: string | null;
|
|
17476
|
+
reserved_after?: number | null;
|
|
17477
|
+
reserved_before?: number | null;
|
|
17478
|
+
trade_item_key?: string;
|
|
17479
|
+
};
|
|
17480
|
+
Relationships: [];
|
|
17481
|
+
};
|
|
17296
17482
|
supplier_products: {
|
|
17297
17483
|
Row: {
|
|
17298
17484
|
article_number: string | null;
|
|
@@ -19154,6 +19340,54 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
19154
19340
|
};
|
|
19155
19341
|
Returns: number;
|
|
19156
19342
|
};
|
|
19343
|
+
afh_city_code: {
|
|
19344
|
+
Args: {
|
|
19345
|
+
_city: string;
|
|
19346
|
+
_country: string;
|
|
19347
|
+
};
|
|
19348
|
+
Returns: string;
|
|
19349
|
+
};
|
|
19350
|
+
afh_normalize_country: {
|
|
19351
|
+
Args: {
|
|
19352
|
+
_raw: string;
|
|
19353
|
+
};
|
|
19354
|
+
Returns: string;
|
|
19355
|
+
};
|
|
19356
|
+
afh_normalize_nl_province: {
|
|
19357
|
+
Args: {
|
|
19358
|
+
_raw: string;
|
|
19359
|
+
};
|
|
19360
|
+
Returns: string;
|
|
19361
|
+
};
|
|
19362
|
+
afh_subtract_workdays: {
|
|
19363
|
+
Args: {
|
|
19364
|
+
_date: string;
|
|
19365
|
+
_days: number;
|
|
19366
|
+
};
|
|
19367
|
+
Returns: string;
|
|
19368
|
+
};
|
|
19369
|
+
apply_stock_consumption: {
|
|
19370
|
+
Args: {
|
|
19371
|
+
p_order_id: string;
|
|
19372
|
+
p_order_item_id: string;
|
|
19373
|
+
p_qty: number;
|
|
19374
|
+
p_reason: string;
|
|
19375
|
+
p_source: string;
|
|
19376
|
+
p_trade_item_key: string;
|
|
19377
|
+
};
|
|
19378
|
+
Returns: undefined;
|
|
19379
|
+
};
|
|
19380
|
+
apply_stock_reservation: {
|
|
19381
|
+
Args: {
|
|
19382
|
+
p_order_id: string;
|
|
19383
|
+
p_order_item_id: string;
|
|
19384
|
+
p_qty: number;
|
|
19385
|
+
p_reason: string;
|
|
19386
|
+
p_source: string;
|
|
19387
|
+
p_trade_item_key: string;
|
|
19388
|
+
};
|
|
19389
|
+
Returns: undefined;
|
|
19390
|
+
};
|
|
19157
19391
|
assign_cart_numbers: {
|
|
19158
19392
|
Args: {
|
|
19159
19393
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -19177,6 +19411,12 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
19177
19411
|
order_number: string;
|
|
19178
19412
|
}[];
|
|
19179
19413
|
};
|
|
19414
|
+
backfill_open_order_reservations: {
|
|
19415
|
+
Args: never;
|
|
19416
|
+
Returns: {
|
|
19417
|
+
processed_items: number;
|
|
19418
|
+
}[];
|
|
19419
|
+
};
|
|
19180
19420
|
call_exact_route: {
|
|
19181
19421
|
Args: {
|
|
19182
19422
|
path: string;
|
|
@@ -19226,6 +19466,12 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
19226
19466
|
table_name: string;
|
|
19227
19467
|
}[];
|
|
19228
19468
|
};
|
|
19469
|
+
dispatch_carrier_signups_sql: {
|
|
19470
|
+
Args: {
|
|
19471
|
+
_catchup?: string;
|
|
19472
|
+
};
|
|
19473
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19474
|
+
};
|
|
19229
19475
|
email_auth_decrypt: {
|
|
19230
19476
|
Args: {
|
|
19231
19477
|
cipher: string;
|
|
@@ -19298,6 +19544,12 @@ export declare const moveCart: import("@tanstack/start-client-core").RequiredFet
|
|
|
19298
19544
|
};
|
|
19299
19545
|
Returns: boolean;
|
|
19300
19546
|
};
|
|
19547
|
+
find_trade_item_key_by_name: {
|
|
19548
|
+
Args: {
|
|
19549
|
+
p_name: string;
|
|
19550
|
+
};
|
|
19551
|
+
Returns: string;
|
|
19552
|
+
};
|
|
19301
19553
|
format_cart_number: {
|
|
19302
19554
|
Args: {
|
|
19303
19555
|
p_pick_date: string;
|
|
@@ -20560,6 +20812,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
20560
20812
|
notes: string | null;
|
|
20561
20813
|
performed_at: string;
|
|
20562
20814
|
rescheduled_count: number;
|
|
20815
|
+
stock_consumed_at: string | null;
|
|
20563
20816
|
total_carts: number;
|
|
20564
20817
|
updated_at: string;
|
|
20565
20818
|
user_id: string;
|
|
@@ -20573,6 +20826,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
20573
20826
|
notes?: string | null;
|
|
20574
20827
|
performed_at?: string;
|
|
20575
20828
|
rescheduled_count?: number;
|
|
20829
|
+
stock_consumed_at?: string | null;
|
|
20576
20830
|
total_carts?: number;
|
|
20577
20831
|
updated_at?: string;
|
|
20578
20832
|
user_id: string;
|
|
@@ -20586,6 +20840,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
20586
20840
|
notes?: string | null;
|
|
20587
20841
|
performed_at?: string;
|
|
20588
20842
|
rescheduled_count?: number;
|
|
20843
|
+
stock_consumed_at?: string | null;
|
|
20589
20844
|
total_carts?: number;
|
|
20590
20845
|
updated_at?: string;
|
|
20591
20846
|
user_id?: string;
|
|
@@ -26344,6 +26599,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
26344
26599
|
purchase_price: number | null;
|
|
26345
26600
|
quantity: number;
|
|
26346
26601
|
sale_price: number | null;
|
|
26602
|
+
trade_item_key: string | null;
|
|
26347
26603
|
unit: string;
|
|
26348
26604
|
updated_at: string;
|
|
26349
26605
|
weight: string | null;
|
|
@@ -26366,6 +26622,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
26366
26622
|
purchase_price?: number | null;
|
|
26367
26623
|
quantity?: number;
|
|
26368
26624
|
sale_price?: number | null;
|
|
26625
|
+
trade_item_key?: string | null;
|
|
26369
26626
|
unit?: string;
|
|
26370
26627
|
updated_at?: string;
|
|
26371
26628
|
weight?: string | null;
|
|
@@ -26388,6 +26645,7 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
26388
26645
|
purchase_price?: number | null;
|
|
26389
26646
|
quantity?: number;
|
|
26390
26647
|
sale_price?: number | null;
|
|
26648
|
+
trade_item_key?: string | null;
|
|
26391
26649
|
unit?: string;
|
|
26392
26650
|
updated_at?: string;
|
|
26393
26651
|
weight?: string | null;
|
|
@@ -27207,6 +27465,60 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
27207
27465
|
};
|
|
27208
27466
|
Relationships: [];
|
|
27209
27467
|
};
|
|
27468
|
+
stock_mutation_log: {
|
|
27469
|
+
Row: {
|
|
27470
|
+
connection_id: string | null;
|
|
27471
|
+
created_at: string;
|
|
27472
|
+
created_by: string | null;
|
|
27473
|
+
id: string;
|
|
27474
|
+
mutation_type: string;
|
|
27475
|
+
order_id: string | null;
|
|
27476
|
+
order_item_id: string | null;
|
|
27477
|
+
order_source: string | null;
|
|
27478
|
+
physical_after: number | null;
|
|
27479
|
+
physical_before: number | null;
|
|
27480
|
+
qty_delta: number;
|
|
27481
|
+
reason: string | null;
|
|
27482
|
+
reserved_after: number | null;
|
|
27483
|
+
reserved_before: number | null;
|
|
27484
|
+
trade_item_key: string;
|
|
27485
|
+
};
|
|
27486
|
+
Insert: {
|
|
27487
|
+
connection_id?: string | null;
|
|
27488
|
+
created_at?: string;
|
|
27489
|
+
created_by?: string | null;
|
|
27490
|
+
id?: string;
|
|
27491
|
+
mutation_type: string;
|
|
27492
|
+
order_id?: string | null;
|
|
27493
|
+
order_item_id?: string | null;
|
|
27494
|
+
order_source?: string | null;
|
|
27495
|
+
physical_after?: number | null;
|
|
27496
|
+
physical_before?: number | null;
|
|
27497
|
+
qty_delta: number;
|
|
27498
|
+
reason?: string | null;
|
|
27499
|
+
reserved_after?: number | null;
|
|
27500
|
+
reserved_before?: number | null;
|
|
27501
|
+
trade_item_key: string;
|
|
27502
|
+
};
|
|
27503
|
+
Update: {
|
|
27504
|
+
connection_id?: string | null;
|
|
27505
|
+
created_at?: string;
|
|
27506
|
+
created_by?: string | null;
|
|
27507
|
+
id?: string;
|
|
27508
|
+
mutation_type?: string;
|
|
27509
|
+
order_id?: string | null;
|
|
27510
|
+
order_item_id?: string | null;
|
|
27511
|
+
order_source?: string | null;
|
|
27512
|
+
physical_after?: number | null;
|
|
27513
|
+
physical_before?: number | null;
|
|
27514
|
+
qty_delta?: number;
|
|
27515
|
+
reason?: string | null;
|
|
27516
|
+
reserved_after?: number | null;
|
|
27517
|
+
reserved_before?: number | null;
|
|
27518
|
+
trade_item_key?: string;
|
|
27519
|
+
};
|
|
27520
|
+
Relationships: [];
|
|
27521
|
+
};
|
|
27210
27522
|
supplier_products: {
|
|
27211
27523
|
Row: {
|
|
27212
27524
|
article_number: string | null;
|
|
@@ -29068,6 +29380,54 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
29068
29380
|
};
|
|
29069
29381
|
Returns: number;
|
|
29070
29382
|
};
|
|
29383
|
+
afh_city_code: {
|
|
29384
|
+
Args: {
|
|
29385
|
+
_city: string;
|
|
29386
|
+
_country: string;
|
|
29387
|
+
};
|
|
29388
|
+
Returns: string;
|
|
29389
|
+
};
|
|
29390
|
+
afh_normalize_country: {
|
|
29391
|
+
Args: {
|
|
29392
|
+
_raw: string;
|
|
29393
|
+
};
|
|
29394
|
+
Returns: string;
|
|
29395
|
+
};
|
|
29396
|
+
afh_normalize_nl_province: {
|
|
29397
|
+
Args: {
|
|
29398
|
+
_raw: string;
|
|
29399
|
+
};
|
|
29400
|
+
Returns: string;
|
|
29401
|
+
};
|
|
29402
|
+
afh_subtract_workdays: {
|
|
29403
|
+
Args: {
|
|
29404
|
+
_date: string;
|
|
29405
|
+
_days: number;
|
|
29406
|
+
};
|
|
29407
|
+
Returns: string;
|
|
29408
|
+
};
|
|
29409
|
+
apply_stock_consumption: {
|
|
29410
|
+
Args: {
|
|
29411
|
+
p_order_id: string;
|
|
29412
|
+
p_order_item_id: string;
|
|
29413
|
+
p_qty: number;
|
|
29414
|
+
p_reason: string;
|
|
29415
|
+
p_source: string;
|
|
29416
|
+
p_trade_item_key: string;
|
|
29417
|
+
};
|
|
29418
|
+
Returns: undefined;
|
|
29419
|
+
};
|
|
29420
|
+
apply_stock_reservation: {
|
|
29421
|
+
Args: {
|
|
29422
|
+
p_order_id: string;
|
|
29423
|
+
p_order_item_id: string;
|
|
29424
|
+
p_qty: number;
|
|
29425
|
+
p_reason: string;
|
|
29426
|
+
p_source: string;
|
|
29427
|
+
p_trade_item_key: string;
|
|
29428
|
+
};
|
|
29429
|
+
Returns: undefined;
|
|
29430
|
+
};
|
|
29071
29431
|
assign_cart_numbers: {
|
|
29072
29432
|
Args: {
|
|
29073
29433
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -29091,6 +29451,12 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
29091
29451
|
order_number: string;
|
|
29092
29452
|
}[];
|
|
29093
29453
|
};
|
|
29454
|
+
backfill_open_order_reservations: {
|
|
29455
|
+
Args: never;
|
|
29456
|
+
Returns: {
|
|
29457
|
+
processed_items: number;
|
|
29458
|
+
}[];
|
|
29459
|
+
};
|
|
29094
29460
|
call_exact_route: {
|
|
29095
29461
|
Args: {
|
|
29096
29462
|
path: string;
|
|
@@ -29140,6 +29506,12 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
29140
29506
|
table_name: string;
|
|
29141
29507
|
}[];
|
|
29142
29508
|
};
|
|
29509
|
+
dispatch_carrier_signups_sql: {
|
|
29510
|
+
Args: {
|
|
29511
|
+
_catchup?: string;
|
|
29512
|
+
};
|
|
29513
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29514
|
+
};
|
|
29143
29515
|
email_auth_decrypt: {
|
|
29144
29516
|
Args: {
|
|
29145
29517
|
cipher: string;
|
|
@@ -29212,6 +29584,12 @@ export declare const resetCartOverride: import("@tanstack/start-client-core").Re
|
|
|
29212
29584
|
};
|
|
29213
29585
|
Returns: boolean;
|
|
29214
29586
|
};
|
|
29587
|
+
find_trade_item_key_by_name: {
|
|
29588
|
+
Args: {
|
|
29589
|
+
p_name: string;
|
|
29590
|
+
};
|
|
29591
|
+
Returns: string;
|
|
29592
|
+
};
|
|
29215
29593
|
format_cart_number: {
|
|
29216
29594
|
Args: {
|
|
29217
29595
|
p_pick_date: string;
|
|
@@ -30481,6 +30859,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
30481
30859
|
notes: string | null;
|
|
30482
30860
|
performed_at: string;
|
|
30483
30861
|
rescheduled_count: number;
|
|
30862
|
+
stock_consumed_at: string | null;
|
|
30484
30863
|
total_carts: number;
|
|
30485
30864
|
updated_at: string;
|
|
30486
30865
|
user_id: string;
|
|
@@ -30494,6 +30873,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
30494
30873
|
notes?: string | null;
|
|
30495
30874
|
performed_at?: string;
|
|
30496
30875
|
rescheduled_count?: number;
|
|
30876
|
+
stock_consumed_at?: string | null;
|
|
30497
30877
|
total_carts?: number;
|
|
30498
30878
|
updated_at?: string;
|
|
30499
30879
|
user_id: string;
|
|
@@ -30507,6 +30887,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
30507
30887
|
notes?: string | null;
|
|
30508
30888
|
performed_at?: string;
|
|
30509
30889
|
rescheduled_count?: number;
|
|
30890
|
+
stock_consumed_at?: string | null;
|
|
30510
30891
|
total_carts?: number;
|
|
30511
30892
|
updated_at?: string;
|
|
30512
30893
|
user_id?: string;
|
|
@@ -36265,6 +36646,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
36265
36646
|
purchase_price: number | null;
|
|
36266
36647
|
quantity: number;
|
|
36267
36648
|
sale_price: number | null;
|
|
36649
|
+
trade_item_key: string | null;
|
|
36268
36650
|
unit: string;
|
|
36269
36651
|
updated_at: string;
|
|
36270
36652
|
weight: string | null;
|
|
@@ -36287,6 +36669,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
36287
36669
|
purchase_price?: number | null;
|
|
36288
36670
|
quantity?: number;
|
|
36289
36671
|
sale_price?: number | null;
|
|
36672
|
+
trade_item_key?: string | null;
|
|
36290
36673
|
unit?: string;
|
|
36291
36674
|
updated_at?: string;
|
|
36292
36675
|
weight?: string | null;
|
|
@@ -36309,6 +36692,7 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
36309
36692
|
purchase_price?: number | null;
|
|
36310
36693
|
quantity?: number;
|
|
36311
36694
|
sale_price?: number | null;
|
|
36695
|
+
trade_item_key?: string | null;
|
|
36312
36696
|
unit?: string;
|
|
36313
36697
|
updated_at?: string;
|
|
36314
36698
|
weight?: string | null;
|
|
@@ -37128,6 +37512,60 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
37128
37512
|
};
|
|
37129
37513
|
Relationships: [];
|
|
37130
37514
|
};
|
|
37515
|
+
stock_mutation_log: {
|
|
37516
|
+
Row: {
|
|
37517
|
+
connection_id: string | null;
|
|
37518
|
+
created_at: string;
|
|
37519
|
+
created_by: string | null;
|
|
37520
|
+
id: string;
|
|
37521
|
+
mutation_type: string;
|
|
37522
|
+
order_id: string | null;
|
|
37523
|
+
order_item_id: string | null;
|
|
37524
|
+
order_source: string | null;
|
|
37525
|
+
physical_after: number | null;
|
|
37526
|
+
physical_before: number | null;
|
|
37527
|
+
qty_delta: number;
|
|
37528
|
+
reason: string | null;
|
|
37529
|
+
reserved_after: number | null;
|
|
37530
|
+
reserved_before: number | null;
|
|
37531
|
+
trade_item_key: string;
|
|
37532
|
+
};
|
|
37533
|
+
Insert: {
|
|
37534
|
+
connection_id?: string | null;
|
|
37535
|
+
created_at?: string;
|
|
37536
|
+
created_by?: string | null;
|
|
37537
|
+
id?: string;
|
|
37538
|
+
mutation_type: string;
|
|
37539
|
+
order_id?: string | null;
|
|
37540
|
+
order_item_id?: string | null;
|
|
37541
|
+
order_source?: string | null;
|
|
37542
|
+
physical_after?: number | null;
|
|
37543
|
+
physical_before?: number | null;
|
|
37544
|
+
qty_delta: number;
|
|
37545
|
+
reason?: string | null;
|
|
37546
|
+
reserved_after?: number | null;
|
|
37547
|
+
reserved_before?: number | null;
|
|
37548
|
+
trade_item_key: string;
|
|
37549
|
+
};
|
|
37550
|
+
Update: {
|
|
37551
|
+
connection_id?: string | null;
|
|
37552
|
+
created_at?: string;
|
|
37553
|
+
created_by?: string | null;
|
|
37554
|
+
id?: string;
|
|
37555
|
+
mutation_type?: string;
|
|
37556
|
+
order_id?: string | null;
|
|
37557
|
+
order_item_id?: string | null;
|
|
37558
|
+
order_source?: string | null;
|
|
37559
|
+
physical_after?: number | null;
|
|
37560
|
+
physical_before?: number | null;
|
|
37561
|
+
qty_delta?: number;
|
|
37562
|
+
reason?: string | null;
|
|
37563
|
+
reserved_after?: number | null;
|
|
37564
|
+
reserved_before?: number | null;
|
|
37565
|
+
trade_item_key?: string;
|
|
37566
|
+
};
|
|
37567
|
+
Relationships: [];
|
|
37568
|
+
};
|
|
37131
37569
|
supplier_products: {
|
|
37132
37570
|
Row: {
|
|
37133
37571
|
article_number: string | null;
|
|
@@ -38989,6 +39427,54 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
38989
39427
|
};
|
|
38990
39428
|
Returns: number;
|
|
38991
39429
|
};
|
|
39430
|
+
afh_city_code: {
|
|
39431
|
+
Args: {
|
|
39432
|
+
_city: string;
|
|
39433
|
+
_country: string;
|
|
39434
|
+
};
|
|
39435
|
+
Returns: string;
|
|
39436
|
+
};
|
|
39437
|
+
afh_normalize_country: {
|
|
39438
|
+
Args: {
|
|
39439
|
+
_raw: string;
|
|
39440
|
+
};
|
|
39441
|
+
Returns: string;
|
|
39442
|
+
};
|
|
39443
|
+
afh_normalize_nl_province: {
|
|
39444
|
+
Args: {
|
|
39445
|
+
_raw: string;
|
|
39446
|
+
};
|
|
39447
|
+
Returns: string;
|
|
39448
|
+
};
|
|
39449
|
+
afh_subtract_workdays: {
|
|
39450
|
+
Args: {
|
|
39451
|
+
_date: string;
|
|
39452
|
+
_days: number;
|
|
39453
|
+
};
|
|
39454
|
+
Returns: string;
|
|
39455
|
+
};
|
|
39456
|
+
apply_stock_consumption: {
|
|
39457
|
+
Args: {
|
|
39458
|
+
p_order_id: string;
|
|
39459
|
+
p_order_item_id: string;
|
|
39460
|
+
p_qty: number;
|
|
39461
|
+
p_reason: string;
|
|
39462
|
+
p_source: string;
|
|
39463
|
+
p_trade_item_key: string;
|
|
39464
|
+
};
|
|
39465
|
+
Returns: undefined;
|
|
39466
|
+
};
|
|
39467
|
+
apply_stock_reservation: {
|
|
39468
|
+
Args: {
|
|
39469
|
+
p_order_id: string;
|
|
39470
|
+
p_order_item_id: string;
|
|
39471
|
+
p_qty: number;
|
|
39472
|
+
p_reason: string;
|
|
39473
|
+
p_source: string;
|
|
39474
|
+
p_trade_item_key: string;
|
|
39475
|
+
};
|
|
39476
|
+
Returns: undefined;
|
|
39477
|
+
};
|
|
38992
39478
|
assign_cart_numbers: {
|
|
38993
39479
|
Args: {
|
|
38994
39480
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -39012,6 +39498,12 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
39012
39498
|
order_number: string;
|
|
39013
39499
|
}[];
|
|
39014
39500
|
};
|
|
39501
|
+
backfill_open_order_reservations: {
|
|
39502
|
+
Args: never;
|
|
39503
|
+
Returns: {
|
|
39504
|
+
processed_items: number;
|
|
39505
|
+
}[];
|
|
39506
|
+
};
|
|
39015
39507
|
call_exact_route: {
|
|
39016
39508
|
Args: {
|
|
39017
39509
|
path: string;
|
|
@@ -39061,6 +39553,12 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
39061
39553
|
table_name: string;
|
|
39062
39554
|
}[];
|
|
39063
39555
|
};
|
|
39556
|
+
dispatch_carrier_signups_sql: {
|
|
39557
|
+
Args: {
|
|
39558
|
+
_catchup?: string;
|
|
39559
|
+
};
|
|
39560
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39561
|
+
};
|
|
39064
39562
|
email_auth_decrypt: {
|
|
39065
39563
|
Args: {
|
|
39066
39564
|
cipher: string;
|
|
@@ -39133,6 +39631,12 @@ export declare const resetAllCartOverrides: import("@tanstack/start-client-core"
|
|
|
39133
39631
|
};
|
|
39134
39632
|
Returns: boolean;
|
|
39135
39633
|
};
|
|
39634
|
+
find_trade_item_key_by_name: {
|
|
39635
|
+
Args: {
|
|
39636
|
+
p_name: string;
|
|
39637
|
+
};
|
|
39638
|
+
Returns: string;
|
|
39639
|
+
};
|
|
39136
39640
|
format_cart_number: {
|
|
39137
39641
|
Args: {
|
|
39138
39642
|
p_pick_date: string;
|
|
@@ -40402,6 +40906,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
40402
40906
|
notes: string | null;
|
|
40403
40907
|
performed_at: string;
|
|
40404
40908
|
rescheduled_count: number;
|
|
40909
|
+
stock_consumed_at: string | null;
|
|
40405
40910
|
total_carts: number;
|
|
40406
40911
|
updated_at: string;
|
|
40407
40912
|
user_id: string;
|
|
@@ -40415,6 +40920,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
40415
40920
|
notes?: string | null;
|
|
40416
40921
|
performed_at?: string;
|
|
40417
40922
|
rescheduled_count?: number;
|
|
40923
|
+
stock_consumed_at?: string | null;
|
|
40418
40924
|
total_carts?: number;
|
|
40419
40925
|
updated_at?: string;
|
|
40420
40926
|
user_id: string;
|
|
@@ -40428,6 +40934,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
40428
40934
|
notes?: string | null;
|
|
40429
40935
|
performed_at?: string;
|
|
40430
40936
|
rescheduled_count?: number;
|
|
40937
|
+
stock_consumed_at?: string | null;
|
|
40431
40938
|
total_carts?: number;
|
|
40432
40939
|
updated_at?: string;
|
|
40433
40940
|
user_id?: string;
|
|
@@ -46186,6 +46693,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
46186
46693
|
purchase_price: number | null;
|
|
46187
46694
|
quantity: number;
|
|
46188
46695
|
sale_price: number | null;
|
|
46696
|
+
trade_item_key: string | null;
|
|
46189
46697
|
unit: string;
|
|
46190
46698
|
updated_at: string;
|
|
46191
46699
|
weight: string | null;
|
|
@@ -46208,6 +46716,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
46208
46716
|
purchase_price?: number | null;
|
|
46209
46717
|
quantity?: number;
|
|
46210
46718
|
sale_price?: number | null;
|
|
46719
|
+
trade_item_key?: string | null;
|
|
46211
46720
|
unit?: string;
|
|
46212
46721
|
updated_at?: string;
|
|
46213
46722
|
weight?: string | null;
|
|
@@ -46230,6 +46739,7 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
46230
46739
|
purchase_price?: number | null;
|
|
46231
46740
|
quantity?: number;
|
|
46232
46741
|
sale_price?: number | null;
|
|
46742
|
+
trade_item_key?: string | null;
|
|
46233
46743
|
unit?: string;
|
|
46234
46744
|
updated_at?: string;
|
|
46235
46745
|
weight?: string | null;
|
|
@@ -47049,6 +47559,60 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
47049
47559
|
};
|
|
47050
47560
|
Relationships: [];
|
|
47051
47561
|
};
|
|
47562
|
+
stock_mutation_log: {
|
|
47563
|
+
Row: {
|
|
47564
|
+
connection_id: string | null;
|
|
47565
|
+
created_at: string;
|
|
47566
|
+
created_by: string | null;
|
|
47567
|
+
id: string;
|
|
47568
|
+
mutation_type: string;
|
|
47569
|
+
order_id: string | null;
|
|
47570
|
+
order_item_id: string | null;
|
|
47571
|
+
order_source: string | null;
|
|
47572
|
+
physical_after: number | null;
|
|
47573
|
+
physical_before: number | null;
|
|
47574
|
+
qty_delta: number;
|
|
47575
|
+
reason: string | null;
|
|
47576
|
+
reserved_after: number | null;
|
|
47577
|
+
reserved_before: number | null;
|
|
47578
|
+
trade_item_key: string;
|
|
47579
|
+
};
|
|
47580
|
+
Insert: {
|
|
47581
|
+
connection_id?: string | null;
|
|
47582
|
+
created_at?: string;
|
|
47583
|
+
created_by?: string | null;
|
|
47584
|
+
id?: string;
|
|
47585
|
+
mutation_type: string;
|
|
47586
|
+
order_id?: string | null;
|
|
47587
|
+
order_item_id?: string | null;
|
|
47588
|
+
order_source?: string | null;
|
|
47589
|
+
physical_after?: number | null;
|
|
47590
|
+
physical_before?: number | null;
|
|
47591
|
+
qty_delta: number;
|
|
47592
|
+
reason?: string | null;
|
|
47593
|
+
reserved_after?: number | null;
|
|
47594
|
+
reserved_before?: number | null;
|
|
47595
|
+
trade_item_key: string;
|
|
47596
|
+
};
|
|
47597
|
+
Update: {
|
|
47598
|
+
connection_id?: string | null;
|
|
47599
|
+
created_at?: string;
|
|
47600
|
+
created_by?: string | null;
|
|
47601
|
+
id?: string;
|
|
47602
|
+
mutation_type?: string;
|
|
47603
|
+
order_id?: string | null;
|
|
47604
|
+
order_item_id?: string | null;
|
|
47605
|
+
order_source?: string | null;
|
|
47606
|
+
physical_after?: number | null;
|
|
47607
|
+
physical_before?: number | null;
|
|
47608
|
+
qty_delta?: number;
|
|
47609
|
+
reason?: string | null;
|
|
47610
|
+
reserved_after?: number | null;
|
|
47611
|
+
reserved_before?: number | null;
|
|
47612
|
+
trade_item_key?: string;
|
|
47613
|
+
};
|
|
47614
|
+
Relationships: [];
|
|
47615
|
+
};
|
|
47052
47616
|
supplier_products: {
|
|
47053
47617
|
Row: {
|
|
47054
47618
|
article_number: string | null;
|
|
@@ -48910,6 +49474,54 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
48910
49474
|
};
|
|
48911
49475
|
Returns: number;
|
|
48912
49476
|
};
|
|
49477
|
+
afh_city_code: {
|
|
49478
|
+
Args: {
|
|
49479
|
+
_city: string;
|
|
49480
|
+
_country: string;
|
|
49481
|
+
};
|
|
49482
|
+
Returns: string;
|
|
49483
|
+
};
|
|
49484
|
+
afh_normalize_country: {
|
|
49485
|
+
Args: {
|
|
49486
|
+
_raw: string;
|
|
49487
|
+
};
|
|
49488
|
+
Returns: string;
|
|
49489
|
+
};
|
|
49490
|
+
afh_normalize_nl_province: {
|
|
49491
|
+
Args: {
|
|
49492
|
+
_raw: string;
|
|
49493
|
+
};
|
|
49494
|
+
Returns: string;
|
|
49495
|
+
};
|
|
49496
|
+
afh_subtract_workdays: {
|
|
49497
|
+
Args: {
|
|
49498
|
+
_date: string;
|
|
49499
|
+
_days: number;
|
|
49500
|
+
};
|
|
49501
|
+
Returns: string;
|
|
49502
|
+
};
|
|
49503
|
+
apply_stock_consumption: {
|
|
49504
|
+
Args: {
|
|
49505
|
+
p_order_id: string;
|
|
49506
|
+
p_order_item_id: string;
|
|
49507
|
+
p_qty: number;
|
|
49508
|
+
p_reason: string;
|
|
49509
|
+
p_source: string;
|
|
49510
|
+
p_trade_item_key: string;
|
|
49511
|
+
};
|
|
49512
|
+
Returns: undefined;
|
|
49513
|
+
};
|
|
49514
|
+
apply_stock_reservation: {
|
|
49515
|
+
Args: {
|
|
49516
|
+
p_order_id: string;
|
|
49517
|
+
p_order_item_id: string;
|
|
49518
|
+
p_qty: number;
|
|
49519
|
+
p_reason: string;
|
|
49520
|
+
p_source: string;
|
|
49521
|
+
p_trade_item_key: string;
|
|
49522
|
+
};
|
|
49523
|
+
Returns: undefined;
|
|
49524
|
+
};
|
|
48913
49525
|
assign_cart_numbers: {
|
|
48914
49526
|
Args: {
|
|
48915
49527
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -48933,6 +49545,12 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
48933
49545
|
order_number: string;
|
|
48934
49546
|
}[];
|
|
48935
49547
|
};
|
|
49548
|
+
backfill_open_order_reservations: {
|
|
49549
|
+
Args: never;
|
|
49550
|
+
Returns: {
|
|
49551
|
+
processed_items: number;
|
|
49552
|
+
}[];
|
|
49553
|
+
};
|
|
48936
49554
|
call_exact_route: {
|
|
48937
49555
|
Args: {
|
|
48938
49556
|
path: string;
|
|
@@ -48982,6 +49600,12 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
48982
49600
|
table_name: string;
|
|
48983
49601
|
}[];
|
|
48984
49602
|
};
|
|
49603
|
+
dispatch_carrier_signups_sql: {
|
|
49604
|
+
Args: {
|
|
49605
|
+
_catchup?: string;
|
|
49606
|
+
};
|
|
49607
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
49608
|
+
};
|
|
48985
49609
|
email_auth_decrypt: {
|
|
48986
49610
|
Args: {
|
|
48987
49611
|
cipher: string;
|
|
@@ -49054,6 +49678,12 @@ export declare const getOrderLines: import("@tanstack/start-client-core").Requir
|
|
|
49054
49678
|
};
|
|
49055
49679
|
Returns: boolean;
|
|
49056
49680
|
};
|
|
49681
|
+
find_trade_item_key_by_name: {
|
|
49682
|
+
Args: {
|
|
49683
|
+
p_name: string;
|
|
49684
|
+
};
|
|
49685
|
+
Returns: string;
|
|
49686
|
+
};
|
|
49057
49687
|
format_cart_number: {
|
|
49058
49688
|
Args: {
|
|
49059
49689
|
p_pick_date: string;
|