@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
|
@@ -725,6 +725,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
725
725
|
notes: string | null;
|
|
726
726
|
performed_at: string;
|
|
727
727
|
rescheduled_count: number;
|
|
728
|
+
stock_consumed_at: string | null;
|
|
728
729
|
total_carts: number;
|
|
729
730
|
updated_at: string;
|
|
730
731
|
user_id: string;
|
|
@@ -738,6 +739,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
738
739
|
notes?: string | null;
|
|
739
740
|
performed_at?: string;
|
|
740
741
|
rescheduled_count?: number;
|
|
742
|
+
stock_consumed_at?: string | null;
|
|
741
743
|
total_carts?: number;
|
|
742
744
|
updated_at?: string;
|
|
743
745
|
user_id: string;
|
|
@@ -751,6 +753,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
751
753
|
notes?: string | null;
|
|
752
754
|
performed_at?: string;
|
|
753
755
|
rescheduled_count?: number;
|
|
756
|
+
stock_consumed_at?: string | null;
|
|
754
757
|
total_carts?: number;
|
|
755
758
|
updated_at?: string;
|
|
756
759
|
user_id?: string;
|
|
@@ -6509,6 +6512,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
6509
6512
|
purchase_price: number | null;
|
|
6510
6513
|
quantity: number;
|
|
6511
6514
|
sale_price: number | null;
|
|
6515
|
+
trade_item_key: string | null;
|
|
6512
6516
|
unit: string;
|
|
6513
6517
|
updated_at: string;
|
|
6514
6518
|
weight: string | null;
|
|
@@ -6531,6 +6535,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
6531
6535
|
purchase_price?: number | null;
|
|
6532
6536
|
quantity?: number;
|
|
6533
6537
|
sale_price?: number | null;
|
|
6538
|
+
trade_item_key?: string | null;
|
|
6534
6539
|
unit?: string;
|
|
6535
6540
|
updated_at?: string;
|
|
6536
6541
|
weight?: string | null;
|
|
@@ -6553,6 +6558,7 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
6553
6558
|
purchase_price?: number | null;
|
|
6554
6559
|
quantity?: number;
|
|
6555
6560
|
sale_price?: number | null;
|
|
6561
|
+
trade_item_key?: string | null;
|
|
6556
6562
|
unit?: string;
|
|
6557
6563
|
updated_at?: string;
|
|
6558
6564
|
weight?: string | null;
|
|
@@ -7372,6 +7378,60 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
7372
7378
|
};
|
|
7373
7379
|
Relationships: [];
|
|
7374
7380
|
};
|
|
7381
|
+
stock_mutation_log: {
|
|
7382
|
+
Row: {
|
|
7383
|
+
connection_id: string | null;
|
|
7384
|
+
created_at: string;
|
|
7385
|
+
created_by: string | null;
|
|
7386
|
+
id: string;
|
|
7387
|
+
mutation_type: string;
|
|
7388
|
+
order_id: string | null;
|
|
7389
|
+
order_item_id: string | null;
|
|
7390
|
+
order_source: string | null;
|
|
7391
|
+
physical_after: number | null;
|
|
7392
|
+
physical_before: number | null;
|
|
7393
|
+
qty_delta: number;
|
|
7394
|
+
reason: string | null;
|
|
7395
|
+
reserved_after: number | null;
|
|
7396
|
+
reserved_before: number | null;
|
|
7397
|
+
trade_item_key: string;
|
|
7398
|
+
};
|
|
7399
|
+
Insert: {
|
|
7400
|
+
connection_id?: string | null;
|
|
7401
|
+
created_at?: string;
|
|
7402
|
+
created_by?: string | null;
|
|
7403
|
+
id?: string;
|
|
7404
|
+
mutation_type: string;
|
|
7405
|
+
order_id?: string | null;
|
|
7406
|
+
order_item_id?: string | null;
|
|
7407
|
+
order_source?: string | null;
|
|
7408
|
+
physical_after?: number | null;
|
|
7409
|
+
physical_before?: number | null;
|
|
7410
|
+
qty_delta: number;
|
|
7411
|
+
reason?: string | null;
|
|
7412
|
+
reserved_after?: number | null;
|
|
7413
|
+
reserved_before?: number | null;
|
|
7414
|
+
trade_item_key: string;
|
|
7415
|
+
};
|
|
7416
|
+
Update: {
|
|
7417
|
+
connection_id?: string | null;
|
|
7418
|
+
created_at?: string;
|
|
7419
|
+
created_by?: string | null;
|
|
7420
|
+
id?: string;
|
|
7421
|
+
mutation_type?: string;
|
|
7422
|
+
order_id?: string | null;
|
|
7423
|
+
order_item_id?: string | null;
|
|
7424
|
+
order_source?: string | null;
|
|
7425
|
+
physical_after?: number | null;
|
|
7426
|
+
physical_before?: number | null;
|
|
7427
|
+
qty_delta?: number;
|
|
7428
|
+
reason?: string | null;
|
|
7429
|
+
reserved_after?: number | null;
|
|
7430
|
+
reserved_before?: number | null;
|
|
7431
|
+
trade_item_key?: string;
|
|
7432
|
+
};
|
|
7433
|
+
Relationships: [];
|
|
7434
|
+
};
|
|
7375
7435
|
supplier_products: {
|
|
7376
7436
|
Row: {
|
|
7377
7437
|
article_number: string | null;
|
|
@@ -9233,6 +9293,54 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9233
9293
|
};
|
|
9234
9294
|
Returns: number;
|
|
9235
9295
|
};
|
|
9296
|
+
afh_city_code: {
|
|
9297
|
+
Args: {
|
|
9298
|
+
_city: string;
|
|
9299
|
+
_country: string;
|
|
9300
|
+
};
|
|
9301
|
+
Returns: string;
|
|
9302
|
+
};
|
|
9303
|
+
afh_normalize_country: {
|
|
9304
|
+
Args: {
|
|
9305
|
+
_raw: string;
|
|
9306
|
+
};
|
|
9307
|
+
Returns: string;
|
|
9308
|
+
};
|
|
9309
|
+
afh_normalize_nl_province: {
|
|
9310
|
+
Args: {
|
|
9311
|
+
_raw: string;
|
|
9312
|
+
};
|
|
9313
|
+
Returns: string;
|
|
9314
|
+
};
|
|
9315
|
+
afh_subtract_workdays: {
|
|
9316
|
+
Args: {
|
|
9317
|
+
_date: string;
|
|
9318
|
+
_days: number;
|
|
9319
|
+
};
|
|
9320
|
+
Returns: string;
|
|
9321
|
+
};
|
|
9322
|
+
apply_stock_consumption: {
|
|
9323
|
+
Args: {
|
|
9324
|
+
p_order_id: string;
|
|
9325
|
+
p_order_item_id: string;
|
|
9326
|
+
p_qty: number;
|
|
9327
|
+
p_reason: string;
|
|
9328
|
+
p_source: string;
|
|
9329
|
+
p_trade_item_key: string;
|
|
9330
|
+
};
|
|
9331
|
+
Returns: undefined;
|
|
9332
|
+
};
|
|
9333
|
+
apply_stock_reservation: {
|
|
9334
|
+
Args: {
|
|
9335
|
+
p_order_id: string;
|
|
9336
|
+
p_order_item_id: string;
|
|
9337
|
+
p_qty: number;
|
|
9338
|
+
p_reason: string;
|
|
9339
|
+
p_source: string;
|
|
9340
|
+
p_trade_item_key: string;
|
|
9341
|
+
};
|
|
9342
|
+
Returns: undefined;
|
|
9343
|
+
};
|
|
9236
9344
|
assign_cart_numbers: {
|
|
9237
9345
|
Args: {
|
|
9238
9346
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -9256,6 +9364,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9256
9364
|
order_number: string;
|
|
9257
9365
|
}[];
|
|
9258
9366
|
};
|
|
9367
|
+
backfill_open_order_reservations: {
|
|
9368
|
+
Args: never;
|
|
9369
|
+
Returns: {
|
|
9370
|
+
processed_items: number;
|
|
9371
|
+
}[];
|
|
9372
|
+
};
|
|
9259
9373
|
call_exact_route: {
|
|
9260
9374
|
Args: {
|
|
9261
9375
|
path: string;
|
|
@@ -9305,6 +9419,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9305
9419
|
table_name: string;
|
|
9306
9420
|
}[];
|
|
9307
9421
|
};
|
|
9422
|
+
dispatch_carrier_signups_sql: {
|
|
9423
|
+
Args: {
|
|
9424
|
+
_catchup?: string;
|
|
9425
|
+
};
|
|
9426
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9427
|
+
};
|
|
9308
9428
|
email_auth_decrypt: {
|
|
9309
9429
|
Args: {
|
|
9310
9430
|
cipher: string;
|
|
@@ -9377,6 +9497,12 @@ export declare const getAfhandelingSettings: import("@tanstack/start-client-core
|
|
|
9377
9497
|
};
|
|
9378
9498
|
Returns: boolean;
|
|
9379
9499
|
};
|
|
9500
|
+
find_trade_item_key_by_name: {
|
|
9501
|
+
Args: {
|
|
9502
|
+
p_name: string;
|
|
9503
|
+
};
|
|
9504
|
+
Returns: string;
|
|
9505
|
+
};
|
|
9380
9506
|
format_cart_number: {
|
|
9381
9507
|
Args: {
|
|
9382
9508
|
p_pick_date: string;
|
|
@@ -10636,6 +10762,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
10636
10762
|
notes: string | null;
|
|
10637
10763
|
performed_at: string;
|
|
10638
10764
|
rescheduled_count: number;
|
|
10765
|
+
stock_consumed_at: string | null;
|
|
10639
10766
|
total_carts: number;
|
|
10640
10767
|
updated_at: string;
|
|
10641
10768
|
user_id: string;
|
|
@@ -10649,6 +10776,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
10649
10776
|
notes?: string | null;
|
|
10650
10777
|
performed_at?: string;
|
|
10651
10778
|
rescheduled_count?: number;
|
|
10779
|
+
stock_consumed_at?: string | null;
|
|
10652
10780
|
total_carts?: number;
|
|
10653
10781
|
updated_at?: string;
|
|
10654
10782
|
user_id: string;
|
|
@@ -10662,6 +10790,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
10662
10790
|
notes?: string | null;
|
|
10663
10791
|
performed_at?: string;
|
|
10664
10792
|
rescheduled_count?: number;
|
|
10793
|
+
stock_consumed_at?: string | null;
|
|
10665
10794
|
total_carts?: number;
|
|
10666
10795
|
updated_at?: string;
|
|
10667
10796
|
user_id?: string;
|
|
@@ -16420,6 +16549,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
16420
16549
|
purchase_price: number | null;
|
|
16421
16550
|
quantity: number;
|
|
16422
16551
|
sale_price: number | null;
|
|
16552
|
+
trade_item_key: string | null;
|
|
16423
16553
|
unit: string;
|
|
16424
16554
|
updated_at: string;
|
|
16425
16555
|
weight: string | null;
|
|
@@ -16442,6 +16572,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
16442
16572
|
purchase_price?: number | null;
|
|
16443
16573
|
quantity?: number;
|
|
16444
16574
|
sale_price?: number | null;
|
|
16575
|
+
trade_item_key?: string | null;
|
|
16445
16576
|
unit?: string;
|
|
16446
16577
|
updated_at?: string;
|
|
16447
16578
|
weight?: string | null;
|
|
@@ -16464,6 +16595,7 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
16464
16595
|
purchase_price?: number | null;
|
|
16465
16596
|
quantity?: number;
|
|
16466
16597
|
sale_price?: number | null;
|
|
16598
|
+
trade_item_key?: string | null;
|
|
16467
16599
|
unit?: string;
|
|
16468
16600
|
updated_at?: string;
|
|
16469
16601
|
weight?: string | null;
|
|
@@ -17283,6 +17415,60 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
17283
17415
|
};
|
|
17284
17416
|
Relationships: [];
|
|
17285
17417
|
};
|
|
17418
|
+
stock_mutation_log: {
|
|
17419
|
+
Row: {
|
|
17420
|
+
connection_id: string | null;
|
|
17421
|
+
created_at: string;
|
|
17422
|
+
created_by: string | null;
|
|
17423
|
+
id: string;
|
|
17424
|
+
mutation_type: string;
|
|
17425
|
+
order_id: string | null;
|
|
17426
|
+
order_item_id: string | null;
|
|
17427
|
+
order_source: string | null;
|
|
17428
|
+
physical_after: number | null;
|
|
17429
|
+
physical_before: number | null;
|
|
17430
|
+
qty_delta: number;
|
|
17431
|
+
reason: string | null;
|
|
17432
|
+
reserved_after: number | null;
|
|
17433
|
+
reserved_before: number | null;
|
|
17434
|
+
trade_item_key: string;
|
|
17435
|
+
};
|
|
17436
|
+
Insert: {
|
|
17437
|
+
connection_id?: string | null;
|
|
17438
|
+
created_at?: string;
|
|
17439
|
+
created_by?: string | null;
|
|
17440
|
+
id?: string;
|
|
17441
|
+
mutation_type: string;
|
|
17442
|
+
order_id?: string | null;
|
|
17443
|
+
order_item_id?: string | null;
|
|
17444
|
+
order_source?: string | null;
|
|
17445
|
+
physical_after?: number | null;
|
|
17446
|
+
physical_before?: number | null;
|
|
17447
|
+
qty_delta: number;
|
|
17448
|
+
reason?: string | null;
|
|
17449
|
+
reserved_after?: number | null;
|
|
17450
|
+
reserved_before?: number | null;
|
|
17451
|
+
trade_item_key: string;
|
|
17452
|
+
};
|
|
17453
|
+
Update: {
|
|
17454
|
+
connection_id?: string | null;
|
|
17455
|
+
created_at?: string;
|
|
17456
|
+
created_by?: string | null;
|
|
17457
|
+
id?: string;
|
|
17458
|
+
mutation_type?: string;
|
|
17459
|
+
order_id?: string | null;
|
|
17460
|
+
order_item_id?: string | null;
|
|
17461
|
+
order_source?: string | null;
|
|
17462
|
+
physical_after?: number | null;
|
|
17463
|
+
physical_before?: number | null;
|
|
17464
|
+
qty_delta?: number;
|
|
17465
|
+
reason?: string | null;
|
|
17466
|
+
reserved_after?: number | null;
|
|
17467
|
+
reserved_before?: number | null;
|
|
17468
|
+
trade_item_key?: string;
|
|
17469
|
+
};
|
|
17470
|
+
Relationships: [];
|
|
17471
|
+
};
|
|
17286
17472
|
supplier_products: {
|
|
17287
17473
|
Row: {
|
|
17288
17474
|
article_number: string | null;
|
|
@@ -19144,6 +19330,54 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
19144
19330
|
};
|
|
19145
19331
|
Returns: number;
|
|
19146
19332
|
};
|
|
19333
|
+
afh_city_code: {
|
|
19334
|
+
Args: {
|
|
19335
|
+
_city: string;
|
|
19336
|
+
_country: string;
|
|
19337
|
+
};
|
|
19338
|
+
Returns: string;
|
|
19339
|
+
};
|
|
19340
|
+
afh_normalize_country: {
|
|
19341
|
+
Args: {
|
|
19342
|
+
_raw: string;
|
|
19343
|
+
};
|
|
19344
|
+
Returns: string;
|
|
19345
|
+
};
|
|
19346
|
+
afh_normalize_nl_province: {
|
|
19347
|
+
Args: {
|
|
19348
|
+
_raw: string;
|
|
19349
|
+
};
|
|
19350
|
+
Returns: string;
|
|
19351
|
+
};
|
|
19352
|
+
afh_subtract_workdays: {
|
|
19353
|
+
Args: {
|
|
19354
|
+
_date: string;
|
|
19355
|
+
_days: number;
|
|
19356
|
+
};
|
|
19357
|
+
Returns: string;
|
|
19358
|
+
};
|
|
19359
|
+
apply_stock_consumption: {
|
|
19360
|
+
Args: {
|
|
19361
|
+
p_order_id: string;
|
|
19362
|
+
p_order_item_id: string;
|
|
19363
|
+
p_qty: number;
|
|
19364
|
+
p_reason: string;
|
|
19365
|
+
p_source: string;
|
|
19366
|
+
p_trade_item_key: string;
|
|
19367
|
+
};
|
|
19368
|
+
Returns: undefined;
|
|
19369
|
+
};
|
|
19370
|
+
apply_stock_reservation: {
|
|
19371
|
+
Args: {
|
|
19372
|
+
p_order_id: string;
|
|
19373
|
+
p_order_item_id: string;
|
|
19374
|
+
p_qty: number;
|
|
19375
|
+
p_reason: string;
|
|
19376
|
+
p_source: string;
|
|
19377
|
+
p_trade_item_key: string;
|
|
19378
|
+
};
|
|
19379
|
+
Returns: undefined;
|
|
19380
|
+
};
|
|
19147
19381
|
assign_cart_numbers: {
|
|
19148
19382
|
Args: {
|
|
19149
19383
|
p_carts: import("../integrations/supabase/types").Json;
|
|
@@ -19167,6 +19401,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
19167
19401
|
order_number: string;
|
|
19168
19402
|
}[];
|
|
19169
19403
|
};
|
|
19404
|
+
backfill_open_order_reservations: {
|
|
19405
|
+
Args: never;
|
|
19406
|
+
Returns: {
|
|
19407
|
+
processed_items: number;
|
|
19408
|
+
}[];
|
|
19409
|
+
};
|
|
19170
19410
|
call_exact_route: {
|
|
19171
19411
|
Args: {
|
|
19172
19412
|
path: string;
|
|
@@ -19216,6 +19456,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
19216
19456
|
table_name: string;
|
|
19217
19457
|
}[];
|
|
19218
19458
|
};
|
|
19459
|
+
dispatch_carrier_signups_sql: {
|
|
19460
|
+
Args: {
|
|
19461
|
+
_catchup?: string;
|
|
19462
|
+
};
|
|
19463
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
19464
|
+
};
|
|
19219
19465
|
email_auth_decrypt: {
|
|
19220
19466
|
Args: {
|
|
19221
19467
|
cipher: string;
|
|
@@ -19288,6 +19534,12 @@ export declare const updateAfhandelingSettings: import("@tanstack/start-client-c
|
|
|
19288
19534
|
};
|
|
19289
19535
|
Returns: boolean;
|
|
19290
19536
|
};
|
|
19537
|
+
find_trade_item_key_by_name: {
|
|
19538
|
+
Args: {
|
|
19539
|
+
p_name: string;
|
|
19540
|
+
};
|
|
19541
|
+
Returns: string;
|
|
19542
|
+
};
|
|
19291
19543
|
format_cart_number: {
|
|
19292
19544
|
Args: {
|
|
19293
19545
|
p_pick_date: string;
|