@flowselections/floriday-klanten-module 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts +3 -1
- package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.d.ts.map +1 -1
- package/dist-lib/components/klanten/pricegroups/PriceGroupEditRoute.js +4 -4
- package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.d.ts +2 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupNewRoute.js +5 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.d.ts +2 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.d.ts.map +1 -0
- package/dist-lib/components/klanten/pricegroups/PriceGroupsRoute.js +12 -0
- package/dist-lib/index.d.ts +2 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +228 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +228 -2
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +228 -2
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +235 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +8 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +684 -6
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +684 -6
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +228 -2
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.d.ts +2052 -18
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +912 -8
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +912 -8
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +228 -2
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +456 -4
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +228 -2
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +1596 -14
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +228 -2
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +1596 -14
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +228 -2
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -8395,6 +8395,66 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8395
8395
|
referencedColumns: ["id"];
|
|
8396
8396
|
}];
|
|
8397
8397
|
};
|
|
8398
|
+
product_bom_items: {
|
|
8399
|
+
Row: {
|
|
8400
|
+
component_product_id: string | null;
|
|
8401
|
+
component_trade_item_floriday_id: string | null;
|
|
8402
|
+
created_at: string;
|
|
8403
|
+
id: string;
|
|
8404
|
+
notes: string | null;
|
|
8405
|
+
packing_configuration_id: string | null;
|
|
8406
|
+
parent_product_id: string | null;
|
|
8407
|
+
parent_trade_item_floriday_id: string | null;
|
|
8408
|
+
quantity: number;
|
|
8409
|
+
sort_order: number;
|
|
8410
|
+
tenant_id: string;
|
|
8411
|
+
unit: string;
|
|
8412
|
+
updated_at: string;
|
|
8413
|
+
};
|
|
8414
|
+
Insert: {
|
|
8415
|
+
component_product_id?: string | null;
|
|
8416
|
+
component_trade_item_floriday_id?: string | null;
|
|
8417
|
+
created_at?: string;
|
|
8418
|
+
id?: string;
|
|
8419
|
+
notes?: string | null;
|
|
8420
|
+
packing_configuration_id?: string | null;
|
|
8421
|
+
parent_product_id?: string | null;
|
|
8422
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8423
|
+
quantity?: number;
|
|
8424
|
+
sort_order?: number;
|
|
8425
|
+
tenant_id: string;
|
|
8426
|
+
unit?: string;
|
|
8427
|
+
updated_at?: string;
|
|
8428
|
+
};
|
|
8429
|
+
Update: {
|
|
8430
|
+
component_product_id?: string | null;
|
|
8431
|
+
component_trade_item_floriday_id?: string | null;
|
|
8432
|
+
created_at?: string;
|
|
8433
|
+
id?: string;
|
|
8434
|
+
notes?: string | null;
|
|
8435
|
+
packing_configuration_id?: string | null;
|
|
8436
|
+
parent_product_id?: string | null;
|
|
8437
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8438
|
+
quantity?: number;
|
|
8439
|
+
sort_order?: number;
|
|
8440
|
+
tenant_id?: string;
|
|
8441
|
+
unit?: string;
|
|
8442
|
+
updated_at?: string;
|
|
8443
|
+
};
|
|
8444
|
+
Relationships: [{
|
|
8445
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8446
|
+
columns: ["component_product_id"];
|
|
8447
|
+
isOneToOne: false;
|
|
8448
|
+
referencedRelation: "products";
|
|
8449
|
+
referencedColumns: ["id"];
|
|
8450
|
+
}, {
|
|
8451
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8452
|
+
columns: ["parent_product_id"];
|
|
8453
|
+
isOneToOne: false;
|
|
8454
|
+
referencedRelation: "products";
|
|
8455
|
+
referencedColumns: ["id"];
|
|
8456
|
+
}];
|
|
8457
|
+
};
|
|
8398
8458
|
product_categories: {
|
|
8399
8459
|
Row: {
|
|
8400
8460
|
color: string;
|
|
@@ -8500,6 +8560,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8500
8560
|
id: string;
|
|
8501
8561
|
product_group_id: string;
|
|
8502
8562
|
quantity: number;
|
|
8563
|
+
sort_order: number;
|
|
8503
8564
|
trade_item_id: string;
|
|
8504
8565
|
};
|
|
8505
8566
|
Insert: {
|
|
@@ -8507,6 +8568,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8507
8568
|
id?: string;
|
|
8508
8569
|
product_group_id: string;
|
|
8509
8570
|
quantity?: number;
|
|
8571
|
+
sort_order?: number;
|
|
8510
8572
|
trade_item_id: string;
|
|
8511
8573
|
};
|
|
8512
8574
|
Update: {
|
|
@@ -8514,6 +8576,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8514
8576
|
id?: string;
|
|
8515
8577
|
product_group_id?: string;
|
|
8516
8578
|
quantity?: number;
|
|
8579
|
+
sort_order?: number;
|
|
8517
8580
|
trade_item_id?: string;
|
|
8518
8581
|
};
|
|
8519
8582
|
Relationships: [{
|
|
@@ -8566,16 +8629,85 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8566
8629
|
referencedColumns: ["id"];
|
|
8567
8630
|
}];
|
|
8568
8631
|
};
|
|
8632
|
+
product_load_settings: {
|
|
8633
|
+
Row: {
|
|
8634
|
+
created_at: string;
|
|
8635
|
+
id: string;
|
|
8636
|
+
is_package: boolean;
|
|
8637
|
+
label: string | null;
|
|
8638
|
+
layers_per_load_carrier: number | null;
|
|
8639
|
+
load_carrier: string | null;
|
|
8640
|
+
package_id: string | null;
|
|
8641
|
+
package_label: string | null;
|
|
8642
|
+
packages_per_layer: number | null;
|
|
8643
|
+
packing_configuration_id: string;
|
|
8644
|
+
product_id: string | null;
|
|
8645
|
+
tenant_id: string;
|
|
8646
|
+
trade_item_floriday_id: string | null;
|
|
8647
|
+
units_per_package: number | null;
|
|
8648
|
+
updated_at: string;
|
|
8649
|
+
};
|
|
8650
|
+
Insert: {
|
|
8651
|
+
created_at?: string;
|
|
8652
|
+
id?: string;
|
|
8653
|
+
is_package?: boolean;
|
|
8654
|
+
label?: string | null;
|
|
8655
|
+
layers_per_load_carrier?: number | null;
|
|
8656
|
+
load_carrier?: string | null;
|
|
8657
|
+
package_id?: string | null;
|
|
8658
|
+
package_label?: string | null;
|
|
8659
|
+
packages_per_layer?: number | null;
|
|
8660
|
+
packing_configuration_id?: string;
|
|
8661
|
+
product_id?: string | null;
|
|
8662
|
+
tenant_id: string;
|
|
8663
|
+
trade_item_floriday_id?: string | null;
|
|
8664
|
+
units_per_package?: number | null;
|
|
8665
|
+
updated_at?: string;
|
|
8666
|
+
};
|
|
8667
|
+
Update: {
|
|
8668
|
+
created_at?: string;
|
|
8669
|
+
id?: string;
|
|
8670
|
+
is_package?: boolean;
|
|
8671
|
+
label?: string | null;
|
|
8672
|
+
layers_per_load_carrier?: number | null;
|
|
8673
|
+
load_carrier?: string | null;
|
|
8674
|
+
package_id?: string | null;
|
|
8675
|
+
package_label?: string | null;
|
|
8676
|
+
packages_per_layer?: number | null;
|
|
8677
|
+
packing_configuration_id?: string;
|
|
8678
|
+
product_id?: string | null;
|
|
8679
|
+
tenant_id?: string;
|
|
8680
|
+
trade_item_floriday_id?: string | null;
|
|
8681
|
+
units_per_package?: number | null;
|
|
8682
|
+
updated_at?: string;
|
|
8683
|
+
};
|
|
8684
|
+
Relationships: [{
|
|
8685
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8686
|
+
columns: ["package_id"];
|
|
8687
|
+
isOneToOne: false;
|
|
8688
|
+
referencedRelation: "packages";
|
|
8689
|
+
referencedColumns: ["id"];
|
|
8690
|
+
}, {
|
|
8691
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8692
|
+
columns: ["product_id"];
|
|
8693
|
+
isOneToOne: false;
|
|
8694
|
+
referencedRelation: "products";
|
|
8695
|
+
referencedColumns: ["id"];
|
|
8696
|
+
}];
|
|
8697
|
+
};
|
|
8569
8698
|
products: {
|
|
8570
8699
|
Row: {
|
|
8700
|
+
article_number: string | null;
|
|
8571
8701
|
barcode: string | null;
|
|
8572
8702
|
batch: string;
|
|
8573
8703
|
crates_per_layer: number;
|
|
8574
8704
|
created_at: string;
|
|
8575
8705
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
8706
|
+
floriday_trade_item_id: string | null;
|
|
8576
8707
|
id: string;
|
|
8577
8708
|
image_url: string | null;
|
|
8578
8709
|
incoming_quantity: number;
|
|
8710
|
+
is_layer: boolean;
|
|
8579
8711
|
layers_per_cart: number;
|
|
8580
8712
|
location: string;
|
|
8581
8713
|
min_quantity: number;
|
|
@@ -8591,14 +8723,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8591
8723
|
weight: string | null;
|
|
8592
8724
|
};
|
|
8593
8725
|
Insert: {
|
|
8726
|
+
article_number?: string | null;
|
|
8594
8727
|
barcode?: string | null;
|
|
8595
8728
|
batch: string;
|
|
8596
8729
|
crates_per_layer?: number;
|
|
8597
8730
|
created_at?: string;
|
|
8598
8731
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8732
|
+
floriday_trade_item_id?: string | null;
|
|
8599
8733
|
id?: string;
|
|
8600
8734
|
image_url?: string | null;
|
|
8601
8735
|
incoming_quantity?: number;
|
|
8736
|
+
is_layer?: boolean;
|
|
8602
8737
|
layers_per_cart?: number;
|
|
8603
8738
|
location: string;
|
|
8604
8739
|
min_quantity?: number;
|
|
@@ -8614,14 +8749,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8614
8749
|
weight?: string | null;
|
|
8615
8750
|
};
|
|
8616
8751
|
Update: {
|
|
8752
|
+
article_number?: string | null;
|
|
8617
8753
|
barcode?: string | null;
|
|
8618
8754
|
batch?: string;
|
|
8619
8755
|
crates_per_layer?: number;
|
|
8620
8756
|
created_at?: string;
|
|
8621
8757
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8758
|
+
floriday_trade_item_id?: string | null;
|
|
8622
8759
|
id?: string;
|
|
8623
8760
|
image_url?: string | null;
|
|
8624
8761
|
incoming_quantity?: number;
|
|
8762
|
+
is_layer?: boolean;
|
|
8625
8763
|
layers_per_cart?: number;
|
|
8626
8764
|
location?: string;
|
|
8627
8765
|
min_quantity?: number;
|
|
@@ -8641,6 +8779,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8641
8779
|
profiles: {
|
|
8642
8780
|
Row: {
|
|
8643
8781
|
address: string | null;
|
|
8782
|
+
avatar_url: string | null;
|
|
8644
8783
|
created_at: string;
|
|
8645
8784
|
display_name: string | null;
|
|
8646
8785
|
email: string | null;
|
|
@@ -8652,6 +8791,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8652
8791
|
};
|
|
8653
8792
|
Insert: {
|
|
8654
8793
|
address?: string | null;
|
|
8794
|
+
avatar_url?: string | null;
|
|
8655
8795
|
created_at?: string;
|
|
8656
8796
|
display_name?: string | null;
|
|
8657
8797
|
email?: string | null;
|
|
@@ -8663,6 +8803,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8663
8803
|
};
|
|
8664
8804
|
Update: {
|
|
8665
8805
|
address?: string | null;
|
|
8806
|
+
avatar_url?: string | null;
|
|
8666
8807
|
created_at?: string;
|
|
8667
8808
|
display_name?: string | null;
|
|
8668
8809
|
email?: string | null;
|
|
@@ -9529,6 +9670,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9529
9670
|
order_source: string | null;
|
|
9530
9671
|
physical_after: number | null;
|
|
9531
9672
|
physical_before: number | null;
|
|
9673
|
+
production_batch_id: string | null;
|
|
9532
9674
|
qty_delta: number;
|
|
9533
9675
|
reason: string | null;
|
|
9534
9676
|
reserved_after: number | null;
|
|
@@ -9546,6 +9688,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9546
9688
|
order_source?: string | null;
|
|
9547
9689
|
physical_after?: number | null;
|
|
9548
9690
|
physical_before?: number | null;
|
|
9691
|
+
production_batch_id?: string | null;
|
|
9549
9692
|
qty_delta: number;
|
|
9550
9693
|
reason?: string | null;
|
|
9551
9694
|
reserved_after?: number | null;
|
|
@@ -9563,6 +9706,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
9563
9706
|
order_source?: string | null;
|
|
9564
9707
|
physical_after?: number | null;
|
|
9565
9708
|
physical_before?: number | null;
|
|
9709
|
+
production_batch_id?: string | null;
|
|
9566
9710
|
qty_delta?: number;
|
|
9567
9711
|
reason?: string | null;
|
|
9568
9712
|
reserved_after?: number | null;
|
|
@@ -11991,6 +12135,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
11991
12135
|
processed_items: number;
|
|
11992
12136
|
}[];
|
|
11993
12137
|
};
|
|
12138
|
+
calculate_layer_stock: {
|
|
12139
|
+
Args: {
|
|
12140
|
+
p_product_id: string;
|
|
12141
|
+
};
|
|
12142
|
+
Returns: number;
|
|
12143
|
+
};
|
|
11994
12144
|
call_exact_route: {
|
|
11995
12145
|
Args: {
|
|
11996
12146
|
path: string;
|
|
@@ -12050,6 +12200,28 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12050
12200
|
Args: never;
|
|
12051
12201
|
Returns: undefined;
|
|
12052
12202
|
};
|
|
12203
|
+
consume_bom_for_production: {
|
|
12204
|
+
Args: {
|
|
12205
|
+
p_connection_id: string;
|
|
12206
|
+
p_parent_id: string;
|
|
12207
|
+
p_parent_key: string;
|
|
12208
|
+
p_parent_kind: string;
|
|
12209
|
+
p_quantity: number;
|
|
12210
|
+
p_user_id: string;
|
|
12211
|
+
};
|
|
12212
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12213
|
+
} | {
|
|
12214
|
+
Args: {
|
|
12215
|
+
p_batch_id?: string;
|
|
12216
|
+
p_connection_id: string;
|
|
12217
|
+
p_parent_id: string;
|
|
12218
|
+
p_parent_key: string;
|
|
12219
|
+
p_parent_kind: string;
|
|
12220
|
+
p_quantity: number;
|
|
12221
|
+
p_user_id: string;
|
|
12222
|
+
};
|
|
12223
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12224
|
+
};
|
|
12053
12225
|
consume_floriday_rate_limit: {
|
|
12054
12226
|
Args: {
|
|
12055
12227
|
p_bucket: string;
|
|
@@ -12107,6 +12279,13 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12107
12279
|
table_name: string;
|
|
12108
12280
|
}[];
|
|
12109
12281
|
};
|
|
12282
|
+
delete_samenstelling: {
|
|
12283
|
+
Args: {
|
|
12284
|
+
p_parent_id: string;
|
|
12285
|
+
p_parent_kind: string;
|
|
12286
|
+
};
|
|
12287
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12288
|
+
};
|
|
12110
12289
|
dispatch_carrier_signups_sql: {
|
|
12111
12290
|
Args: {
|
|
12112
12291
|
_catchup?: string;
|
|
@@ -12362,6 +12541,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12362
12541
|
minutes_since_success: number;
|
|
12363
12542
|
}[];
|
|
12364
12543
|
};
|
|
12544
|
+
get_inventory_stock_for_key: {
|
|
12545
|
+
Args: {
|
|
12546
|
+
p_key: string;
|
|
12547
|
+
};
|
|
12548
|
+
Returns: number;
|
|
12549
|
+
};
|
|
12365
12550
|
get_offer_by_link_code: {
|
|
12366
12551
|
Args: {
|
|
12367
12552
|
p_code: string;
|
|
@@ -12392,6 +12577,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12392
12577
|
};
|
|
12393
12578
|
Returns: string;
|
|
12394
12579
|
};
|
|
12580
|
+
get_product_group_available_stock: {
|
|
12581
|
+
Args: {
|
|
12582
|
+
p_group_id: string;
|
|
12583
|
+
};
|
|
12584
|
+
Returns: number;
|
|
12585
|
+
};
|
|
12395
12586
|
get_room_busy_windows: {
|
|
12396
12587
|
Args: {
|
|
12397
12588
|
p_from: string;
|
|
@@ -12465,9 +12656,10 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12465
12656
|
list_monteurs: {
|
|
12466
12657
|
Args: never;
|
|
12467
12658
|
Returns: {
|
|
12659
|
+
avatar_url: string;
|
|
12468
12660
|
display_name: string;
|
|
12469
12661
|
email: string;
|
|
12470
|
-
|
|
12662
|
+
id: string;
|
|
12471
12663
|
}[];
|
|
12472
12664
|
};
|
|
12473
12665
|
local_effective_price: {
|
|
@@ -12602,6 +12794,14 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12602
12794
|
};
|
|
12603
12795
|
Returns: undefined;
|
|
12604
12796
|
};
|
|
12797
|
+
produce_designed_product: {
|
|
12798
|
+
Args: {
|
|
12799
|
+
p_parent_id: string;
|
|
12800
|
+
p_parent_kind: string;
|
|
12801
|
+
p_quantity: number;
|
|
12802
|
+
};
|
|
12803
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12804
|
+
};
|
|
12605
12805
|
promote_trade_item_key: {
|
|
12606
12806
|
Args: {
|
|
12607
12807
|
p_new: string;
|
|
@@ -12676,6 +12876,16 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12676
12876
|
};
|
|
12677
12877
|
Returns: number;
|
|
12678
12878
|
};
|
|
12879
|
+
reverse_production: {
|
|
12880
|
+
Args: {
|
|
12881
|
+
p_connection_id?: string;
|
|
12882
|
+
p_parent_key: string;
|
|
12883
|
+
p_quantity: number;
|
|
12884
|
+
p_reason?: string;
|
|
12885
|
+
p_user_id?: string;
|
|
12886
|
+
};
|
|
12887
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12888
|
+
};
|
|
12679
12889
|
schedule_floriday_additional_services_sync: {
|
|
12680
12890
|
Args: {
|
|
12681
12891
|
p_apikey: string;
|
|
@@ -12960,18 +13170,34 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
12960
13170
|
};
|
|
12961
13171
|
Returns: string[];
|
|
12962
13172
|
};
|
|
13173
|
+
sync_all_layer_stocks: {
|
|
13174
|
+
Args: never;
|
|
13175
|
+
Returns: undefined;
|
|
13176
|
+
};
|
|
12963
13177
|
sync_cached_packing_from_product: {
|
|
12964
13178
|
Args: {
|
|
12965
13179
|
p_product_id: string;
|
|
12966
13180
|
};
|
|
12967
13181
|
Returns: undefined;
|
|
12968
13182
|
};
|
|
13183
|
+
sync_layer_stock: {
|
|
13184
|
+
Args: {
|
|
13185
|
+
p_product_id: string;
|
|
13186
|
+
};
|
|
13187
|
+
Returns: undefined;
|
|
13188
|
+
};
|
|
12969
13189
|
sync_order_cart_item_packing_from_product: {
|
|
12970
13190
|
Args: {
|
|
12971
13191
|
p_product_id: string;
|
|
12972
13192
|
};
|
|
12973
13193
|
Returns: undefined;
|
|
12974
13194
|
};
|
|
13195
|
+
sync_product_group_belading: {
|
|
13196
|
+
Args: {
|
|
13197
|
+
_group_id: string;
|
|
13198
|
+
};
|
|
13199
|
+
Returns: undefined;
|
|
13200
|
+
};
|
|
12975
13201
|
sync_product_packing_from_floriday_cache: {
|
|
12976
13202
|
Args: {
|
|
12977
13203
|
p_floriday_id: string;
|
|
@@ -13008,7 +13234,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
13008
13234
|
exact_push_status: "pending" | "sent" | "error";
|
|
13009
13235
|
itk_customer_segment: "Business" | "Private";
|
|
13010
13236
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13011
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
13237
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
13012
13238
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
13013
13239
|
};
|
|
13014
13240
|
CompositeTypes: { [_ in never]: never; };
|
|
@@ -21385,6 +21611,66 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21385
21611
|
referencedColumns: ["id"];
|
|
21386
21612
|
}];
|
|
21387
21613
|
};
|
|
21614
|
+
product_bom_items: {
|
|
21615
|
+
Row: {
|
|
21616
|
+
component_product_id: string | null;
|
|
21617
|
+
component_trade_item_floriday_id: string | null;
|
|
21618
|
+
created_at: string;
|
|
21619
|
+
id: string;
|
|
21620
|
+
notes: string | null;
|
|
21621
|
+
packing_configuration_id: string | null;
|
|
21622
|
+
parent_product_id: string | null;
|
|
21623
|
+
parent_trade_item_floriday_id: string | null;
|
|
21624
|
+
quantity: number;
|
|
21625
|
+
sort_order: number;
|
|
21626
|
+
tenant_id: string;
|
|
21627
|
+
unit: string;
|
|
21628
|
+
updated_at: string;
|
|
21629
|
+
};
|
|
21630
|
+
Insert: {
|
|
21631
|
+
component_product_id?: string | null;
|
|
21632
|
+
component_trade_item_floriday_id?: string | null;
|
|
21633
|
+
created_at?: string;
|
|
21634
|
+
id?: string;
|
|
21635
|
+
notes?: string | null;
|
|
21636
|
+
packing_configuration_id?: string | null;
|
|
21637
|
+
parent_product_id?: string | null;
|
|
21638
|
+
parent_trade_item_floriday_id?: string | null;
|
|
21639
|
+
quantity?: number;
|
|
21640
|
+
sort_order?: number;
|
|
21641
|
+
tenant_id: string;
|
|
21642
|
+
unit?: string;
|
|
21643
|
+
updated_at?: string;
|
|
21644
|
+
};
|
|
21645
|
+
Update: {
|
|
21646
|
+
component_product_id?: string | null;
|
|
21647
|
+
component_trade_item_floriday_id?: string | null;
|
|
21648
|
+
created_at?: string;
|
|
21649
|
+
id?: string;
|
|
21650
|
+
notes?: string | null;
|
|
21651
|
+
packing_configuration_id?: string | null;
|
|
21652
|
+
parent_product_id?: string | null;
|
|
21653
|
+
parent_trade_item_floriday_id?: string | null;
|
|
21654
|
+
quantity?: number;
|
|
21655
|
+
sort_order?: number;
|
|
21656
|
+
tenant_id?: string;
|
|
21657
|
+
unit?: string;
|
|
21658
|
+
updated_at?: string;
|
|
21659
|
+
};
|
|
21660
|
+
Relationships: [{
|
|
21661
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
21662
|
+
columns: ["component_product_id"];
|
|
21663
|
+
isOneToOne: false;
|
|
21664
|
+
referencedRelation: "products";
|
|
21665
|
+
referencedColumns: ["id"];
|
|
21666
|
+
}, {
|
|
21667
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
21668
|
+
columns: ["parent_product_id"];
|
|
21669
|
+
isOneToOne: false;
|
|
21670
|
+
referencedRelation: "products";
|
|
21671
|
+
referencedColumns: ["id"];
|
|
21672
|
+
}];
|
|
21673
|
+
};
|
|
21388
21674
|
product_categories: {
|
|
21389
21675
|
Row: {
|
|
21390
21676
|
color: string;
|
|
@@ -21490,6 +21776,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21490
21776
|
id: string;
|
|
21491
21777
|
product_group_id: string;
|
|
21492
21778
|
quantity: number;
|
|
21779
|
+
sort_order: number;
|
|
21493
21780
|
trade_item_id: string;
|
|
21494
21781
|
};
|
|
21495
21782
|
Insert: {
|
|
@@ -21497,6 +21784,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21497
21784
|
id?: string;
|
|
21498
21785
|
product_group_id: string;
|
|
21499
21786
|
quantity?: number;
|
|
21787
|
+
sort_order?: number;
|
|
21500
21788
|
trade_item_id: string;
|
|
21501
21789
|
};
|
|
21502
21790
|
Update: {
|
|
@@ -21504,6 +21792,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21504
21792
|
id?: string;
|
|
21505
21793
|
product_group_id?: string;
|
|
21506
21794
|
quantity?: number;
|
|
21795
|
+
sort_order?: number;
|
|
21507
21796
|
trade_item_id?: string;
|
|
21508
21797
|
};
|
|
21509
21798
|
Relationships: [{
|
|
@@ -21556,16 +21845,85 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21556
21845
|
referencedColumns: ["id"];
|
|
21557
21846
|
}];
|
|
21558
21847
|
};
|
|
21848
|
+
product_load_settings: {
|
|
21849
|
+
Row: {
|
|
21850
|
+
created_at: string;
|
|
21851
|
+
id: string;
|
|
21852
|
+
is_package: boolean;
|
|
21853
|
+
label: string | null;
|
|
21854
|
+
layers_per_load_carrier: number | null;
|
|
21855
|
+
load_carrier: string | null;
|
|
21856
|
+
package_id: string | null;
|
|
21857
|
+
package_label: string | null;
|
|
21858
|
+
packages_per_layer: number | null;
|
|
21859
|
+
packing_configuration_id: string;
|
|
21860
|
+
product_id: string | null;
|
|
21861
|
+
tenant_id: string;
|
|
21862
|
+
trade_item_floriday_id: string | null;
|
|
21863
|
+
units_per_package: number | null;
|
|
21864
|
+
updated_at: string;
|
|
21865
|
+
};
|
|
21866
|
+
Insert: {
|
|
21867
|
+
created_at?: string;
|
|
21868
|
+
id?: string;
|
|
21869
|
+
is_package?: boolean;
|
|
21870
|
+
label?: string | null;
|
|
21871
|
+
layers_per_load_carrier?: number | null;
|
|
21872
|
+
load_carrier?: string | null;
|
|
21873
|
+
package_id?: string | null;
|
|
21874
|
+
package_label?: string | null;
|
|
21875
|
+
packages_per_layer?: number | null;
|
|
21876
|
+
packing_configuration_id?: string;
|
|
21877
|
+
product_id?: string | null;
|
|
21878
|
+
tenant_id: string;
|
|
21879
|
+
trade_item_floriday_id?: string | null;
|
|
21880
|
+
units_per_package?: number | null;
|
|
21881
|
+
updated_at?: string;
|
|
21882
|
+
};
|
|
21883
|
+
Update: {
|
|
21884
|
+
created_at?: string;
|
|
21885
|
+
id?: string;
|
|
21886
|
+
is_package?: boolean;
|
|
21887
|
+
label?: string | null;
|
|
21888
|
+
layers_per_load_carrier?: number | null;
|
|
21889
|
+
load_carrier?: string | null;
|
|
21890
|
+
package_id?: string | null;
|
|
21891
|
+
package_label?: string | null;
|
|
21892
|
+
packages_per_layer?: number | null;
|
|
21893
|
+
packing_configuration_id?: string;
|
|
21894
|
+
product_id?: string | null;
|
|
21895
|
+
tenant_id?: string;
|
|
21896
|
+
trade_item_floriday_id?: string | null;
|
|
21897
|
+
units_per_package?: number | null;
|
|
21898
|
+
updated_at?: string;
|
|
21899
|
+
};
|
|
21900
|
+
Relationships: [{
|
|
21901
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
21902
|
+
columns: ["package_id"];
|
|
21903
|
+
isOneToOne: false;
|
|
21904
|
+
referencedRelation: "packages";
|
|
21905
|
+
referencedColumns: ["id"];
|
|
21906
|
+
}, {
|
|
21907
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
21908
|
+
columns: ["product_id"];
|
|
21909
|
+
isOneToOne: false;
|
|
21910
|
+
referencedRelation: "products";
|
|
21911
|
+
referencedColumns: ["id"];
|
|
21912
|
+
}];
|
|
21913
|
+
};
|
|
21559
21914
|
products: {
|
|
21560
21915
|
Row: {
|
|
21916
|
+
article_number: string | null;
|
|
21561
21917
|
barcode: string | null;
|
|
21562
21918
|
batch: string;
|
|
21563
21919
|
crates_per_layer: number;
|
|
21564
21920
|
created_at: string;
|
|
21565
21921
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
21922
|
+
floriday_trade_item_id: string | null;
|
|
21566
21923
|
id: string;
|
|
21567
21924
|
image_url: string | null;
|
|
21568
21925
|
incoming_quantity: number;
|
|
21926
|
+
is_layer: boolean;
|
|
21569
21927
|
layers_per_cart: number;
|
|
21570
21928
|
location: string;
|
|
21571
21929
|
min_quantity: number;
|
|
@@ -21581,14 +21939,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21581
21939
|
weight: string | null;
|
|
21582
21940
|
};
|
|
21583
21941
|
Insert: {
|
|
21942
|
+
article_number?: string | null;
|
|
21584
21943
|
barcode?: string | null;
|
|
21585
21944
|
batch: string;
|
|
21586
21945
|
crates_per_layer?: number;
|
|
21587
21946
|
created_at?: string;
|
|
21588
21947
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
21948
|
+
floriday_trade_item_id?: string | null;
|
|
21589
21949
|
id?: string;
|
|
21590
21950
|
image_url?: string | null;
|
|
21591
21951
|
incoming_quantity?: number;
|
|
21952
|
+
is_layer?: boolean;
|
|
21592
21953
|
layers_per_cart?: number;
|
|
21593
21954
|
location: string;
|
|
21594
21955
|
min_quantity?: number;
|
|
@@ -21604,14 +21965,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21604
21965
|
weight?: string | null;
|
|
21605
21966
|
};
|
|
21606
21967
|
Update: {
|
|
21968
|
+
article_number?: string | null;
|
|
21607
21969
|
barcode?: string | null;
|
|
21608
21970
|
batch?: string;
|
|
21609
21971
|
crates_per_layer?: number;
|
|
21610
21972
|
created_at?: string;
|
|
21611
21973
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
21974
|
+
floriday_trade_item_id?: string | null;
|
|
21612
21975
|
id?: string;
|
|
21613
21976
|
image_url?: string | null;
|
|
21614
21977
|
incoming_quantity?: number;
|
|
21978
|
+
is_layer?: boolean;
|
|
21615
21979
|
layers_per_cart?: number;
|
|
21616
21980
|
location?: string;
|
|
21617
21981
|
min_quantity?: number;
|
|
@@ -21631,6 +21995,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21631
21995
|
profiles: {
|
|
21632
21996
|
Row: {
|
|
21633
21997
|
address: string | null;
|
|
21998
|
+
avatar_url: string | null;
|
|
21634
21999
|
created_at: string;
|
|
21635
22000
|
display_name: string | null;
|
|
21636
22001
|
email: string | null;
|
|
@@ -21642,6 +22007,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21642
22007
|
};
|
|
21643
22008
|
Insert: {
|
|
21644
22009
|
address?: string | null;
|
|
22010
|
+
avatar_url?: string | null;
|
|
21645
22011
|
created_at?: string;
|
|
21646
22012
|
display_name?: string | null;
|
|
21647
22013
|
email?: string | null;
|
|
@@ -21653,6 +22019,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21653
22019
|
};
|
|
21654
22020
|
Update: {
|
|
21655
22021
|
address?: string | null;
|
|
22022
|
+
avatar_url?: string | null;
|
|
21656
22023
|
created_at?: string;
|
|
21657
22024
|
display_name?: string | null;
|
|
21658
22025
|
email?: string | null;
|
|
@@ -22519,6 +22886,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
22519
22886
|
order_source: string | null;
|
|
22520
22887
|
physical_after: number | null;
|
|
22521
22888
|
physical_before: number | null;
|
|
22889
|
+
production_batch_id: string | null;
|
|
22522
22890
|
qty_delta: number;
|
|
22523
22891
|
reason: string | null;
|
|
22524
22892
|
reserved_after: number | null;
|
|
@@ -22536,6 +22904,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
22536
22904
|
order_source?: string | null;
|
|
22537
22905
|
physical_after?: number | null;
|
|
22538
22906
|
physical_before?: number | null;
|
|
22907
|
+
production_batch_id?: string | null;
|
|
22539
22908
|
qty_delta: number;
|
|
22540
22909
|
reason?: string | null;
|
|
22541
22910
|
reserved_after?: number | null;
|
|
@@ -22553,6 +22922,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
22553
22922
|
order_source?: string | null;
|
|
22554
22923
|
physical_after?: number | null;
|
|
22555
22924
|
physical_before?: number | null;
|
|
22925
|
+
production_batch_id?: string | null;
|
|
22556
22926
|
qty_delta?: number;
|
|
22557
22927
|
reason?: string | null;
|
|
22558
22928
|
reserved_after?: number | null;
|
|
@@ -24981,6 +25351,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
24981
25351
|
processed_items: number;
|
|
24982
25352
|
}[];
|
|
24983
25353
|
};
|
|
25354
|
+
calculate_layer_stock: {
|
|
25355
|
+
Args: {
|
|
25356
|
+
p_product_id: string;
|
|
25357
|
+
};
|
|
25358
|
+
Returns: number;
|
|
25359
|
+
};
|
|
24984
25360
|
call_exact_route: {
|
|
24985
25361
|
Args: {
|
|
24986
25362
|
path: string;
|
|
@@ -25040,6 +25416,28 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25040
25416
|
Args: never;
|
|
25041
25417
|
Returns: undefined;
|
|
25042
25418
|
};
|
|
25419
|
+
consume_bom_for_production: {
|
|
25420
|
+
Args: {
|
|
25421
|
+
p_connection_id: string;
|
|
25422
|
+
p_parent_id: string;
|
|
25423
|
+
p_parent_key: string;
|
|
25424
|
+
p_parent_kind: string;
|
|
25425
|
+
p_quantity: number;
|
|
25426
|
+
p_user_id: string;
|
|
25427
|
+
};
|
|
25428
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25429
|
+
} | {
|
|
25430
|
+
Args: {
|
|
25431
|
+
p_batch_id?: string;
|
|
25432
|
+
p_connection_id: string;
|
|
25433
|
+
p_parent_id: string;
|
|
25434
|
+
p_parent_key: string;
|
|
25435
|
+
p_parent_kind: string;
|
|
25436
|
+
p_quantity: number;
|
|
25437
|
+
p_user_id: string;
|
|
25438
|
+
};
|
|
25439
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25440
|
+
};
|
|
25043
25441
|
consume_floriday_rate_limit: {
|
|
25044
25442
|
Args: {
|
|
25045
25443
|
p_bucket: string;
|
|
@@ -25097,6 +25495,13 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25097
25495
|
table_name: string;
|
|
25098
25496
|
}[];
|
|
25099
25497
|
};
|
|
25498
|
+
delete_samenstelling: {
|
|
25499
|
+
Args: {
|
|
25500
|
+
p_parent_id: string;
|
|
25501
|
+
p_parent_kind: string;
|
|
25502
|
+
};
|
|
25503
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25504
|
+
};
|
|
25100
25505
|
dispatch_carrier_signups_sql: {
|
|
25101
25506
|
Args: {
|
|
25102
25507
|
_catchup?: string;
|
|
@@ -25352,6 +25757,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25352
25757
|
minutes_since_success: number;
|
|
25353
25758
|
}[];
|
|
25354
25759
|
};
|
|
25760
|
+
get_inventory_stock_for_key: {
|
|
25761
|
+
Args: {
|
|
25762
|
+
p_key: string;
|
|
25763
|
+
};
|
|
25764
|
+
Returns: number;
|
|
25765
|
+
};
|
|
25355
25766
|
get_offer_by_link_code: {
|
|
25356
25767
|
Args: {
|
|
25357
25768
|
p_code: string;
|
|
@@ -25382,6 +25793,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25382
25793
|
};
|
|
25383
25794
|
Returns: string;
|
|
25384
25795
|
};
|
|
25796
|
+
get_product_group_available_stock: {
|
|
25797
|
+
Args: {
|
|
25798
|
+
p_group_id: string;
|
|
25799
|
+
};
|
|
25800
|
+
Returns: number;
|
|
25801
|
+
};
|
|
25385
25802
|
get_room_busy_windows: {
|
|
25386
25803
|
Args: {
|
|
25387
25804
|
p_from: string;
|
|
@@ -25455,9 +25872,10 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25455
25872
|
list_monteurs: {
|
|
25456
25873
|
Args: never;
|
|
25457
25874
|
Returns: {
|
|
25875
|
+
avatar_url: string;
|
|
25458
25876
|
display_name: string;
|
|
25459
25877
|
email: string;
|
|
25460
|
-
|
|
25878
|
+
id: string;
|
|
25461
25879
|
}[];
|
|
25462
25880
|
};
|
|
25463
25881
|
local_effective_price: {
|
|
@@ -25592,6 +26010,14 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25592
26010
|
};
|
|
25593
26011
|
Returns: undefined;
|
|
25594
26012
|
};
|
|
26013
|
+
produce_designed_product: {
|
|
26014
|
+
Args: {
|
|
26015
|
+
p_parent_id: string;
|
|
26016
|
+
p_parent_kind: string;
|
|
26017
|
+
p_quantity: number;
|
|
26018
|
+
};
|
|
26019
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26020
|
+
};
|
|
25595
26021
|
promote_trade_item_key: {
|
|
25596
26022
|
Args: {
|
|
25597
26023
|
p_new: string;
|
|
@@ -25666,6 +26092,16 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25666
26092
|
};
|
|
25667
26093
|
Returns: number;
|
|
25668
26094
|
};
|
|
26095
|
+
reverse_production: {
|
|
26096
|
+
Args: {
|
|
26097
|
+
p_connection_id?: string;
|
|
26098
|
+
p_parent_key: string;
|
|
26099
|
+
p_quantity: number;
|
|
26100
|
+
p_reason?: string;
|
|
26101
|
+
p_user_id?: string;
|
|
26102
|
+
};
|
|
26103
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26104
|
+
};
|
|
25669
26105
|
schedule_floriday_additional_services_sync: {
|
|
25670
26106
|
Args: {
|
|
25671
26107
|
p_apikey: string;
|
|
@@ -25950,18 +26386,34 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25950
26386
|
};
|
|
25951
26387
|
Returns: string[];
|
|
25952
26388
|
};
|
|
26389
|
+
sync_all_layer_stocks: {
|
|
26390
|
+
Args: never;
|
|
26391
|
+
Returns: undefined;
|
|
26392
|
+
};
|
|
25953
26393
|
sync_cached_packing_from_product: {
|
|
25954
26394
|
Args: {
|
|
25955
26395
|
p_product_id: string;
|
|
25956
26396
|
};
|
|
25957
26397
|
Returns: undefined;
|
|
25958
26398
|
};
|
|
26399
|
+
sync_layer_stock: {
|
|
26400
|
+
Args: {
|
|
26401
|
+
p_product_id: string;
|
|
26402
|
+
};
|
|
26403
|
+
Returns: undefined;
|
|
26404
|
+
};
|
|
25959
26405
|
sync_order_cart_item_packing_from_product: {
|
|
25960
26406
|
Args: {
|
|
25961
26407
|
p_product_id: string;
|
|
25962
26408
|
};
|
|
25963
26409
|
Returns: undefined;
|
|
25964
26410
|
};
|
|
26411
|
+
sync_product_group_belading: {
|
|
26412
|
+
Args: {
|
|
26413
|
+
_group_id: string;
|
|
26414
|
+
};
|
|
26415
|
+
Returns: undefined;
|
|
26416
|
+
};
|
|
25965
26417
|
sync_product_packing_from_floriday_cache: {
|
|
25966
26418
|
Args: {
|
|
25967
26419
|
p_floriday_id: string;
|
|
@@ -25998,7 +26450,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
25998
26450
|
exact_push_status: "pending" | "sent" | "error";
|
|
25999
26451
|
itk_customer_segment: "Business" | "Private";
|
|
26000
26452
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
26001
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
26453
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
26002
26454
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
26003
26455
|
};
|
|
26004
26456
|
CompositeTypes: { [_ in never]: never; };
|
|
@@ -34392,6 +34844,66 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34392
34844
|
referencedColumns: ["id"];
|
|
34393
34845
|
}];
|
|
34394
34846
|
};
|
|
34847
|
+
product_bom_items: {
|
|
34848
|
+
Row: {
|
|
34849
|
+
component_product_id: string | null;
|
|
34850
|
+
component_trade_item_floriday_id: string | null;
|
|
34851
|
+
created_at: string;
|
|
34852
|
+
id: string;
|
|
34853
|
+
notes: string | null;
|
|
34854
|
+
packing_configuration_id: string | null;
|
|
34855
|
+
parent_product_id: string | null;
|
|
34856
|
+
parent_trade_item_floriday_id: string | null;
|
|
34857
|
+
quantity: number;
|
|
34858
|
+
sort_order: number;
|
|
34859
|
+
tenant_id: string;
|
|
34860
|
+
unit: string;
|
|
34861
|
+
updated_at: string;
|
|
34862
|
+
};
|
|
34863
|
+
Insert: {
|
|
34864
|
+
component_product_id?: string | null;
|
|
34865
|
+
component_trade_item_floriday_id?: string | null;
|
|
34866
|
+
created_at?: string;
|
|
34867
|
+
id?: string;
|
|
34868
|
+
notes?: string | null;
|
|
34869
|
+
packing_configuration_id?: string | null;
|
|
34870
|
+
parent_product_id?: string | null;
|
|
34871
|
+
parent_trade_item_floriday_id?: string | null;
|
|
34872
|
+
quantity?: number;
|
|
34873
|
+
sort_order?: number;
|
|
34874
|
+
tenant_id: string;
|
|
34875
|
+
unit?: string;
|
|
34876
|
+
updated_at?: string;
|
|
34877
|
+
};
|
|
34878
|
+
Update: {
|
|
34879
|
+
component_product_id?: string | null;
|
|
34880
|
+
component_trade_item_floriday_id?: string | null;
|
|
34881
|
+
created_at?: string;
|
|
34882
|
+
id?: string;
|
|
34883
|
+
notes?: string | null;
|
|
34884
|
+
packing_configuration_id?: string | null;
|
|
34885
|
+
parent_product_id?: string | null;
|
|
34886
|
+
parent_trade_item_floriday_id?: string | null;
|
|
34887
|
+
quantity?: number;
|
|
34888
|
+
sort_order?: number;
|
|
34889
|
+
tenant_id?: string;
|
|
34890
|
+
unit?: string;
|
|
34891
|
+
updated_at?: string;
|
|
34892
|
+
};
|
|
34893
|
+
Relationships: [{
|
|
34894
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
34895
|
+
columns: ["component_product_id"];
|
|
34896
|
+
isOneToOne: false;
|
|
34897
|
+
referencedRelation: "products";
|
|
34898
|
+
referencedColumns: ["id"];
|
|
34899
|
+
}, {
|
|
34900
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
34901
|
+
columns: ["parent_product_id"];
|
|
34902
|
+
isOneToOne: false;
|
|
34903
|
+
referencedRelation: "products";
|
|
34904
|
+
referencedColumns: ["id"];
|
|
34905
|
+
}];
|
|
34906
|
+
};
|
|
34395
34907
|
product_categories: {
|
|
34396
34908
|
Row: {
|
|
34397
34909
|
color: string;
|
|
@@ -34497,6 +35009,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34497
35009
|
id: string;
|
|
34498
35010
|
product_group_id: string;
|
|
34499
35011
|
quantity: number;
|
|
35012
|
+
sort_order: number;
|
|
34500
35013
|
trade_item_id: string;
|
|
34501
35014
|
};
|
|
34502
35015
|
Insert: {
|
|
@@ -34504,6 +35017,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34504
35017
|
id?: string;
|
|
34505
35018
|
product_group_id: string;
|
|
34506
35019
|
quantity?: number;
|
|
35020
|
+
sort_order?: number;
|
|
34507
35021
|
trade_item_id: string;
|
|
34508
35022
|
};
|
|
34509
35023
|
Update: {
|
|
@@ -34511,6 +35025,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34511
35025
|
id?: string;
|
|
34512
35026
|
product_group_id?: string;
|
|
34513
35027
|
quantity?: number;
|
|
35028
|
+
sort_order?: number;
|
|
34514
35029
|
trade_item_id?: string;
|
|
34515
35030
|
};
|
|
34516
35031
|
Relationships: [{
|
|
@@ -34563,16 +35078,85 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34563
35078
|
referencedColumns: ["id"];
|
|
34564
35079
|
}];
|
|
34565
35080
|
};
|
|
35081
|
+
product_load_settings: {
|
|
35082
|
+
Row: {
|
|
35083
|
+
created_at: string;
|
|
35084
|
+
id: string;
|
|
35085
|
+
is_package: boolean;
|
|
35086
|
+
label: string | null;
|
|
35087
|
+
layers_per_load_carrier: number | null;
|
|
35088
|
+
load_carrier: string | null;
|
|
35089
|
+
package_id: string | null;
|
|
35090
|
+
package_label: string | null;
|
|
35091
|
+
packages_per_layer: number | null;
|
|
35092
|
+
packing_configuration_id: string;
|
|
35093
|
+
product_id: string | null;
|
|
35094
|
+
tenant_id: string;
|
|
35095
|
+
trade_item_floriday_id: string | null;
|
|
35096
|
+
units_per_package: number | null;
|
|
35097
|
+
updated_at: string;
|
|
35098
|
+
};
|
|
35099
|
+
Insert: {
|
|
35100
|
+
created_at?: string;
|
|
35101
|
+
id?: string;
|
|
35102
|
+
is_package?: boolean;
|
|
35103
|
+
label?: string | null;
|
|
35104
|
+
layers_per_load_carrier?: number | null;
|
|
35105
|
+
load_carrier?: string | null;
|
|
35106
|
+
package_id?: string | null;
|
|
35107
|
+
package_label?: string | null;
|
|
35108
|
+
packages_per_layer?: number | null;
|
|
35109
|
+
packing_configuration_id?: string;
|
|
35110
|
+
product_id?: string | null;
|
|
35111
|
+
tenant_id: string;
|
|
35112
|
+
trade_item_floriday_id?: string | null;
|
|
35113
|
+
units_per_package?: number | null;
|
|
35114
|
+
updated_at?: string;
|
|
35115
|
+
};
|
|
35116
|
+
Update: {
|
|
35117
|
+
created_at?: string;
|
|
35118
|
+
id?: string;
|
|
35119
|
+
is_package?: boolean;
|
|
35120
|
+
label?: string | null;
|
|
35121
|
+
layers_per_load_carrier?: number | null;
|
|
35122
|
+
load_carrier?: string | null;
|
|
35123
|
+
package_id?: string | null;
|
|
35124
|
+
package_label?: string | null;
|
|
35125
|
+
packages_per_layer?: number | null;
|
|
35126
|
+
packing_configuration_id?: string;
|
|
35127
|
+
product_id?: string | null;
|
|
35128
|
+
tenant_id?: string;
|
|
35129
|
+
trade_item_floriday_id?: string | null;
|
|
35130
|
+
units_per_package?: number | null;
|
|
35131
|
+
updated_at?: string;
|
|
35132
|
+
};
|
|
35133
|
+
Relationships: [{
|
|
35134
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
35135
|
+
columns: ["package_id"];
|
|
35136
|
+
isOneToOne: false;
|
|
35137
|
+
referencedRelation: "packages";
|
|
35138
|
+
referencedColumns: ["id"];
|
|
35139
|
+
}, {
|
|
35140
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
35141
|
+
columns: ["product_id"];
|
|
35142
|
+
isOneToOne: false;
|
|
35143
|
+
referencedRelation: "products";
|
|
35144
|
+
referencedColumns: ["id"];
|
|
35145
|
+
}];
|
|
35146
|
+
};
|
|
34566
35147
|
products: {
|
|
34567
35148
|
Row: {
|
|
35149
|
+
article_number: string | null;
|
|
34568
35150
|
barcode: string | null;
|
|
34569
35151
|
batch: string;
|
|
34570
35152
|
crates_per_layer: number;
|
|
34571
35153
|
created_at: string;
|
|
34572
35154
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
35155
|
+
floriday_trade_item_id: string | null;
|
|
34573
35156
|
id: string;
|
|
34574
35157
|
image_url: string | null;
|
|
34575
35158
|
incoming_quantity: number;
|
|
35159
|
+
is_layer: boolean;
|
|
34576
35160
|
layers_per_cart: number;
|
|
34577
35161
|
location: string;
|
|
34578
35162
|
min_quantity: number;
|
|
@@ -34588,14 +35172,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34588
35172
|
weight: string | null;
|
|
34589
35173
|
};
|
|
34590
35174
|
Insert: {
|
|
35175
|
+
article_number?: string | null;
|
|
34591
35176
|
barcode?: string | null;
|
|
34592
35177
|
batch: string;
|
|
34593
35178
|
crates_per_layer?: number;
|
|
34594
35179
|
created_at?: string;
|
|
34595
35180
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
35181
|
+
floriday_trade_item_id?: string | null;
|
|
34596
35182
|
id?: string;
|
|
34597
35183
|
image_url?: string | null;
|
|
34598
35184
|
incoming_quantity?: number;
|
|
35185
|
+
is_layer?: boolean;
|
|
34599
35186
|
layers_per_cart?: number;
|
|
34600
35187
|
location: string;
|
|
34601
35188
|
min_quantity?: number;
|
|
@@ -34611,14 +35198,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34611
35198
|
weight?: string | null;
|
|
34612
35199
|
};
|
|
34613
35200
|
Update: {
|
|
35201
|
+
article_number?: string | null;
|
|
34614
35202
|
barcode?: string | null;
|
|
34615
35203
|
batch?: string;
|
|
34616
35204
|
crates_per_layer?: number;
|
|
34617
35205
|
created_at?: string;
|
|
34618
35206
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
35207
|
+
floriday_trade_item_id?: string | null;
|
|
34619
35208
|
id?: string;
|
|
34620
35209
|
image_url?: string | null;
|
|
34621
35210
|
incoming_quantity?: number;
|
|
35211
|
+
is_layer?: boolean;
|
|
34622
35212
|
layers_per_cart?: number;
|
|
34623
35213
|
location?: string;
|
|
34624
35214
|
min_quantity?: number;
|
|
@@ -34638,6 +35228,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34638
35228
|
profiles: {
|
|
34639
35229
|
Row: {
|
|
34640
35230
|
address: string | null;
|
|
35231
|
+
avatar_url: string | null;
|
|
34641
35232
|
created_at: string;
|
|
34642
35233
|
display_name: string | null;
|
|
34643
35234
|
email: string | null;
|
|
@@ -34649,6 +35240,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34649
35240
|
};
|
|
34650
35241
|
Insert: {
|
|
34651
35242
|
address?: string | null;
|
|
35243
|
+
avatar_url?: string | null;
|
|
34652
35244
|
created_at?: string;
|
|
34653
35245
|
display_name?: string | null;
|
|
34654
35246
|
email?: string | null;
|
|
@@ -34660,6 +35252,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34660
35252
|
};
|
|
34661
35253
|
Update: {
|
|
34662
35254
|
address?: string | null;
|
|
35255
|
+
avatar_url?: string | null;
|
|
34663
35256
|
created_at?: string;
|
|
34664
35257
|
display_name?: string | null;
|
|
34665
35258
|
email?: string | null;
|
|
@@ -35526,6 +36119,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
35526
36119
|
order_source: string | null;
|
|
35527
36120
|
physical_after: number | null;
|
|
35528
36121
|
physical_before: number | null;
|
|
36122
|
+
production_batch_id: string | null;
|
|
35529
36123
|
qty_delta: number;
|
|
35530
36124
|
reason: string | null;
|
|
35531
36125
|
reserved_after: number | null;
|
|
@@ -35543,6 +36137,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
35543
36137
|
order_source?: string | null;
|
|
35544
36138
|
physical_after?: number | null;
|
|
35545
36139
|
physical_before?: number | null;
|
|
36140
|
+
production_batch_id?: string | null;
|
|
35546
36141
|
qty_delta: number;
|
|
35547
36142
|
reason?: string | null;
|
|
35548
36143
|
reserved_after?: number | null;
|
|
@@ -35560,6 +36155,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
35560
36155
|
order_source?: string | null;
|
|
35561
36156
|
physical_after?: number | null;
|
|
35562
36157
|
physical_before?: number | null;
|
|
36158
|
+
production_batch_id?: string | null;
|
|
35563
36159
|
qty_delta?: number;
|
|
35564
36160
|
reason?: string | null;
|
|
35565
36161
|
reserved_after?: number | null;
|
|
@@ -37988,6 +38584,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
37988
38584
|
processed_items: number;
|
|
37989
38585
|
}[];
|
|
37990
38586
|
};
|
|
38587
|
+
calculate_layer_stock: {
|
|
38588
|
+
Args: {
|
|
38589
|
+
p_product_id: string;
|
|
38590
|
+
};
|
|
38591
|
+
Returns: number;
|
|
38592
|
+
};
|
|
37991
38593
|
call_exact_route: {
|
|
37992
38594
|
Args: {
|
|
37993
38595
|
path: string;
|
|
@@ -38047,6 +38649,28 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38047
38649
|
Args: never;
|
|
38048
38650
|
Returns: undefined;
|
|
38049
38651
|
};
|
|
38652
|
+
consume_bom_for_production: {
|
|
38653
|
+
Args: {
|
|
38654
|
+
p_connection_id: string;
|
|
38655
|
+
p_parent_id: string;
|
|
38656
|
+
p_parent_key: string;
|
|
38657
|
+
p_parent_kind: string;
|
|
38658
|
+
p_quantity: number;
|
|
38659
|
+
p_user_id: string;
|
|
38660
|
+
};
|
|
38661
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38662
|
+
} | {
|
|
38663
|
+
Args: {
|
|
38664
|
+
p_batch_id?: string;
|
|
38665
|
+
p_connection_id: string;
|
|
38666
|
+
p_parent_id: string;
|
|
38667
|
+
p_parent_key: string;
|
|
38668
|
+
p_parent_kind: string;
|
|
38669
|
+
p_quantity: number;
|
|
38670
|
+
p_user_id: string;
|
|
38671
|
+
};
|
|
38672
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38673
|
+
};
|
|
38050
38674
|
consume_floriday_rate_limit: {
|
|
38051
38675
|
Args: {
|
|
38052
38676
|
p_bucket: string;
|
|
@@ -38104,6 +38728,13 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38104
38728
|
table_name: string;
|
|
38105
38729
|
}[];
|
|
38106
38730
|
};
|
|
38731
|
+
delete_samenstelling: {
|
|
38732
|
+
Args: {
|
|
38733
|
+
p_parent_id: string;
|
|
38734
|
+
p_parent_kind: string;
|
|
38735
|
+
};
|
|
38736
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38737
|
+
};
|
|
38107
38738
|
dispatch_carrier_signups_sql: {
|
|
38108
38739
|
Args: {
|
|
38109
38740
|
_catchup?: string;
|
|
@@ -38359,6 +38990,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38359
38990
|
minutes_since_success: number;
|
|
38360
38991
|
}[];
|
|
38361
38992
|
};
|
|
38993
|
+
get_inventory_stock_for_key: {
|
|
38994
|
+
Args: {
|
|
38995
|
+
p_key: string;
|
|
38996
|
+
};
|
|
38997
|
+
Returns: number;
|
|
38998
|
+
};
|
|
38362
38999
|
get_offer_by_link_code: {
|
|
38363
39000
|
Args: {
|
|
38364
39001
|
p_code: string;
|
|
@@ -38389,6 +39026,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38389
39026
|
};
|
|
38390
39027
|
Returns: string;
|
|
38391
39028
|
};
|
|
39029
|
+
get_product_group_available_stock: {
|
|
39030
|
+
Args: {
|
|
39031
|
+
p_group_id: string;
|
|
39032
|
+
};
|
|
39033
|
+
Returns: number;
|
|
39034
|
+
};
|
|
38392
39035
|
get_room_busy_windows: {
|
|
38393
39036
|
Args: {
|
|
38394
39037
|
p_from: string;
|
|
@@ -38462,9 +39105,10 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38462
39105
|
list_monteurs: {
|
|
38463
39106
|
Args: never;
|
|
38464
39107
|
Returns: {
|
|
39108
|
+
avatar_url: string;
|
|
38465
39109
|
display_name: string;
|
|
38466
39110
|
email: string;
|
|
38467
|
-
|
|
39111
|
+
id: string;
|
|
38468
39112
|
}[];
|
|
38469
39113
|
};
|
|
38470
39114
|
local_effective_price: {
|
|
@@ -38599,6 +39243,14 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38599
39243
|
};
|
|
38600
39244
|
Returns: undefined;
|
|
38601
39245
|
};
|
|
39246
|
+
produce_designed_product: {
|
|
39247
|
+
Args: {
|
|
39248
|
+
p_parent_id: string;
|
|
39249
|
+
p_parent_kind: string;
|
|
39250
|
+
p_quantity: number;
|
|
39251
|
+
};
|
|
39252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39253
|
+
};
|
|
38602
39254
|
promote_trade_item_key: {
|
|
38603
39255
|
Args: {
|
|
38604
39256
|
p_new: string;
|
|
@@ -38673,6 +39325,16 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38673
39325
|
};
|
|
38674
39326
|
Returns: number;
|
|
38675
39327
|
};
|
|
39328
|
+
reverse_production: {
|
|
39329
|
+
Args: {
|
|
39330
|
+
p_connection_id?: string;
|
|
39331
|
+
p_parent_key: string;
|
|
39332
|
+
p_quantity: number;
|
|
39333
|
+
p_reason?: string;
|
|
39334
|
+
p_user_id?: string;
|
|
39335
|
+
};
|
|
39336
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39337
|
+
};
|
|
38676
39338
|
schedule_floriday_additional_services_sync: {
|
|
38677
39339
|
Args: {
|
|
38678
39340
|
p_apikey: string;
|
|
@@ -38957,18 +39619,34 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
38957
39619
|
};
|
|
38958
39620
|
Returns: string[];
|
|
38959
39621
|
};
|
|
39622
|
+
sync_all_layer_stocks: {
|
|
39623
|
+
Args: never;
|
|
39624
|
+
Returns: undefined;
|
|
39625
|
+
};
|
|
38960
39626
|
sync_cached_packing_from_product: {
|
|
38961
39627
|
Args: {
|
|
38962
39628
|
p_product_id: string;
|
|
38963
39629
|
};
|
|
38964
39630
|
Returns: undefined;
|
|
38965
39631
|
};
|
|
39632
|
+
sync_layer_stock: {
|
|
39633
|
+
Args: {
|
|
39634
|
+
p_product_id: string;
|
|
39635
|
+
};
|
|
39636
|
+
Returns: undefined;
|
|
39637
|
+
};
|
|
38966
39638
|
sync_order_cart_item_packing_from_product: {
|
|
38967
39639
|
Args: {
|
|
38968
39640
|
p_product_id: string;
|
|
38969
39641
|
};
|
|
38970
39642
|
Returns: undefined;
|
|
38971
39643
|
};
|
|
39644
|
+
sync_product_group_belading: {
|
|
39645
|
+
Args: {
|
|
39646
|
+
_group_id: string;
|
|
39647
|
+
};
|
|
39648
|
+
Returns: undefined;
|
|
39649
|
+
};
|
|
38972
39650
|
sync_product_packing_from_floriday_cache: {
|
|
38973
39651
|
Args: {
|
|
38974
39652
|
p_floriday_id: string;
|
|
@@ -39005,7 +39683,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
39005
39683
|
exact_push_status: "pending" | "sent" | "error";
|
|
39006
39684
|
itk_customer_segment: "Business" | "Private";
|
|
39007
39685
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
39008
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
39686
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
39009
39687
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
39010
39688
|
};
|
|
39011
39689
|
CompositeTypes: { [_ in never]: never; };
|
|
@@ -47409,6 +48087,66 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47409
48087
|
referencedColumns: ["id"];
|
|
47410
48088
|
}];
|
|
47411
48089
|
};
|
|
48090
|
+
product_bom_items: {
|
|
48091
|
+
Row: {
|
|
48092
|
+
component_product_id: string | null;
|
|
48093
|
+
component_trade_item_floriday_id: string | null;
|
|
48094
|
+
created_at: string;
|
|
48095
|
+
id: string;
|
|
48096
|
+
notes: string | null;
|
|
48097
|
+
packing_configuration_id: string | null;
|
|
48098
|
+
parent_product_id: string | null;
|
|
48099
|
+
parent_trade_item_floriday_id: string | null;
|
|
48100
|
+
quantity: number;
|
|
48101
|
+
sort_order: number;
|
|
48102
|
+
tenant_id: string;
|
|
48103
|
+
unit: string;
|
|
48104
|
+
updated_at: string;
|
|
48105
|
+
};
|
|
48106
|
+
Insert: {
|
|
48107
|
+
component_product_id?: string | null;
|
|
48108
|
+
component_trade_item_floriday_id?: string | null;
|
|
48109
|
+
created_at?: string;
|
|
48110
|
+
id?: string;
|
|
48111
|
+
notes?: string | null;
|
|
48112
|
+
packing_configuration_id?: string | null;
|
|
48113
|
+
parent_product_id?: string | null;
|
|
48114
|
+
parent_trade_item_floriday_id?: string | null;
|
|
48115
|
+
quantity?: number;
|
|
48116
|
+
sort_order?: number;
|
|
48117
|
+
tenant_id: string;
|
|
48118
|
+
unit?: string;
|
|
48119
|
+
updated_at?: string;
|
|
48120
|
+
};
|
|
48121
|
+
Update: {
|
|
48122
|
+
component_product_id?: string | null;
|
|
48123
|
+
component_trade_item_floriday_id?: string | null;
|
|
48124
|
+
created_at?: string;
|
|
48125
|
+
id?: string;
|
|
48126
|
+
notes?: string | null;
|
|
48127
|
+
packing_configuration_id?: string | null;
|
|
48128
|
+
parent_product_id?: string | null;
|
|
48129
|
+
parent_trade_item_floriday_id?: string | null;
|
|
48130
|
+
quantity?: number;
|
|
48131
|
+
sort_order?: number;
|
|
48132
|
+
tenant_id?: string;
|
|
48133
|
+
unit?: string;
|
|
48134
|
+
updated_at?: string;
|
|
48135
|
+
};
|
|
48136
|
+
Relationships: [{
|
|
48137
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
48138
|
+
columns: ["component_product_id"];
|
|
48139
|
+
isOneToOne: false;
|
|
48140
|
+
referencedRelation: "products";
|
|
48141
|
+
referencedColumns: ["id"];
|
|
48142
|
+
}, {
|
|
48143
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
48144
|
+
columns: ["parent_product_id"];
|
|
48145
|
+
isOneToOne: false;
|
|
48146
|
+
referencedRelation: "products";
|
|
48147
|
+
referencedColumns: ["id"];
|
|
48148
|
+
}];
|
|
48149
|
+
};
|
|
47412
48150
|
product_categories: {
|
|
47413
48151
|
Row: {
|
|
47414
48152
|
color: string;
|
|
@@ -47514,6 +48252,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47514
48252
|
id: string;
|
|
47515
48253
|
product_group_id: string;
|
|
47516
48254
|
quantity: number;
|
|
48255
|
+
sort_order: number;
|
|
47517
48256
|
trade_item_id: string;
|
|
47518
48257
|
};
|
|
47519
48258
|
Insert: {
|
|
@@ -47521,6 +48260,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47521
48260
|
id?: string;
|
|
47522
48261
|
product_group_id: string;
|
|
47523
48262
|
quantity?: number;
|
|
48263
|
+
sort_order?: number;
|
|
47524
48264
|
trade_item_id: string;
|
|
47525
48265
|
};
|
|
47526
48266
|
Update: {
|
|
@@ -47528,6 +48268,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47528
48268
|
id?: string;
|
|
47529
48269
|
product_group_id?: string;
|
|
47530
48270
|
quantity?: number;
|
|
48271
|
+
sort_order?: number;
|
|
47531
48272
|
trade_item_id?: string;
|
|
47532
48273
|
};
|
|
47533
48274
|
Relationships: [{
|
|
@@ -47580,16 +48321,85 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47580
48321
|
referencedColumns: ["id"];
|
|
47581
48322
|
}];
|
|
47582
48323
|
};
|
|
48324
|
+
product_load_settings: {
|
|
48325
|
+
Row: {
|
|
48326
|
+
created_at: string;
|
|
48327
|
+
id: string;
|
|
48328
|
+
is_package: boolean;
|
|
48329
|
+
label: string | null;
|
|
48330
|
+
layers_per_load_carrier: number | null;
|
|
48331
|
+
load_carrier: string | null;
|
|
48332
|
+
package_id: string | null;
|
|
48333
|
+
package_label: string | null;
|
|
48334
|
+
packages_per_layer: number | null;
|
|
48335
|
+
packing_configuration_id: string;
|
|
48336
|
+
product_id: string | null;
|
|
48337
|
+
tenant_id: string;
|
|
48338
|
+
trade_item_floriday_id: string | null;
|
|
48339
|
+
units_per_package: number | null;
|
|
48340
|
+
updated_at: string;
|
|
48341
|
+
};
|
|
48342
|
+
Insert: {
|
|
48343
|
+
created_at?: string;
|
|
48344
|
+
id?: string;
|
|
48345
|
+
is_package?: boolean;
|
|
48346
|
+
label?: string | null;
|
|
48347
|
+
layers_per_load_carrier?: number | null;
|
|
48348
|
+
load_carrier?: string | null;
|
|
48349
|
+
package_id?: string | null;
|
|
48350
|
+
package_label?: string | null;
|
|
48351
|
+
packages_per_layer?: number | null;
|
|
48352
|
+
packing_configuration_id?: string;
|
|
48353
|
+
product_id?: string | null;
|
|
48354
|
+
tenant_id: string;
|
|
48355
|
+
trade_item_floriday_id?: string | null;
|
|
48356
|
+
units_per_package?: number | null;
|
|
48357
|
+
updated_at?: string;
|
|
48358
|
+
};
|
|
48359
|
+
Update: {
|
|
48360
|
+
created_at?: string;
|
|
48361
|
+
id?: string;
|
|
48362
|
+
is_package?: boolean;
|
|
48363
|
+
label?: string | null;
|
|
48364
|
+
layers_per_load_carrier?: number | null;
|
|
48365
|
+
load_carrier?: string | null;
|
|
48366
|
+
package_id?: string | null;
|
|
48367
|
+
package_label?: string | null;
|
|
48368
|
+
packages_per_layer?: number | null;
|
|
48369
|
+
packing_configuration_id?: string;
|
|
48370
|
+
product_id?: string | null;
|
|
48371
|
+
tenant_id?: string;
|
|
48372
|
+
trade_item_floriday_id?: string | null;
|
|
48373
|
+
units_per_package?: number | null;
|
|
48374
|
+
updated_at?: string;
|
|
48375
|
+
};
|
|
48376
|
+
Relationships: [{
|
|
48377
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
48378
|
+
columns: ["package_id"];
|
|
48379
|
+
isOneToOne: false;
|
|
48380
|
+
referencedRelation: "packages";
|
|
48381
|
+
referencedColumns: ["id"];
|
|
48382
|
+
}, {
|
|
48383
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
48384
|
+
columns: ["product_id"];
|
|
48385
|
+
isOneToOne: false;
|
|
48386
|
+
referencedRelation: "products";
|
|
48387
|
+
referencedColumns: ["id"];
|
|
48388
|
+
}];
|
|
48389
|
+
};
|
|
47583
48390
|
products: {
|
|
47584
48391
|
Row: {
|
|
48392
|
+
article_number: string | null;
|
|
47585
48393
|
barcode: string | null;
|
|
47586
48394
|
batch: string;
|
|
47587
48395
|
crates_per_layer: number;
|
|
47588
48396
|
created_at: string;
|
|
47589
48397
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
48398
|
+
floriday_trade_item_id: string | null;
|
|
47590
48399
|
id: string;
|
|
47591
48400
|
image_url: string | null;
|
|
47592
48401
|
incoming_quantity: number;
|
|
48402
|
+
is_layer: boolean;
|
|
47593
48403
|
layers_per_cart: number;
|
|
47594
48404
|
location: string;
|
|
47595
48405
|
min_quantity: number;
|
|
@@ -47605,14 +48415,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47605
48415
|
weight: string | null;
|
|
47606
48416
|
};
|
|
47607
48417
|
Insert: {
|
|
48418
|
+
article_number?: string | null;
|
|
47608
48419
|
barcode?: string | null;
|
|
47609
48420
|
batch: string;
|
|
47610
48421
|
crates_per_layer?: number;
|
|
47611
48422
|
created_at?: string;
|
|
47612
48423
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
48424
|
+
floriday_trade_item_id?: string | null;
|
|
47613
48425
|
id?: string;
|
|
47614
48426
|
image_url?: string | null;
|
|
47615
48427
|
incoming_quantity?: number;
|
|
48428
|
+
is_layer?: boolean;
|
|
47616
48429
|
layers_per_cart?: number;
|
|
47617
48430
|
location: string;
|
|
47618
48431
|
min_quantity?: number;
|
|
@@ -47628,14 +48441,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47628
48441
|
weight?: string | null;
|
|
47629
48442
|
};
|
|
47630
48443
|
Update: {
|
|
48444
|
+
article_number?: string | null;
|
|
47631
48445
|
barcode?: string | null;
|
|
47632
48446
|
batch?: string;
|
|
47633
48447
|
crates_per_layer?: number;
|
|
47634
48448
|
created_at?: string;
|
|
47635
48449
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
48450
|
+
floriday_trade_item_id?: string | null;
|
|
47636
48451
|
id?: string;
|
|
47637
48452
|
image_url?: string | null;
|
|
47638
48453
|
incoming_quantity?: number;
|
|
48454
|
+
is_layer?: boolean;
|
|
47639
48455
|
layers_per_cart?: number;
|
|
47640
48456
|
location?: string;
|
|
47641
48457
|
min_quantity?: number;
|
|
@@ -47655,6 +48471,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47655
48471
|
profiles: {
|
|
47656
48472
|
Row: {
|
|
47657
48473
|
address: string | null;
|
|
48474
|
+
avatar_url: string | null;
|
|
47658
48475
|
created_at: string;
|
|
47659
48476
|
display_name: string | null;
|
|
47660
48477
|
email: string | null;
|
|
@@ -47666,6 +48483,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47666
48483
|
};
|
|
47667
48484
|
Insert: {
|
|
47668
48485
|
address?: string | null;
|
|
48486
|
+
avatar_url?: string | null;
|
|
47669
48487
|
created_at?: string;
|
|
47670
48488
|
display_name?: string | null;
|
|
47671
48489
|
email?: string | null;
|
|
@@ -47677,6 +48495,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
47677
48495
|
};
|
|
47678
48496
|
Update: {
|
|
47679
48497
|
address?: string | null;
|
|
48498
|
+
avatar_url?: string | null;
|
|
47680
48499
|
created_at?: string;
|
|
47681
48500
|
display_name?: string | null;
|
|
47682
48501
|
email?: string | null;
|
|
@@ -48543,6 +49362,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
48543
49362
|
order_source: string | null;
|
|
48544
49363
|
physical_after: number | null;
|
|
48545
49364
|
physical_before: number | null;
|
|
49365
|
+
production_batch_id: string | null;
|
|
48546
49366
|
qty_delta: number;
|
|
48547
49367
|
reason: string | null;
|
|
48548
49368
|
reserved_after: number | null;
|
|
@@ -48560,6 +49380,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
48560
49380
|
order_source?: string | null;
|
|
48561
49381
|
physical_after?: number | null;
|
|
48562
49382
|
physical_before?: number | null;
|
|
49383
|
+
production_batch_id?: string | null;
|
|
48563
49384
|
qty_delta: number;
|
|
48564
49385
|
reason?: string | null;
|
|
48565
49386
|
reserved_after?: number | null;
|
|
@@ -48577,6 +49398,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
48577
49398
|
order_source?: string | null;
|
|
48578
49399
|
physical_after?: number | null;
|
|
48579
49400
|
physical_before?: number | null;
|
|
49401
|
+
production_batch_id?: string | null;
|
|
48580
49402
|
qty_delta?: number;
|
|
48581
49403
|
reason?: string | null;
|
|
48582
49404
|
reserved_after?: number | null;
|
|
@@ -51005,6 +51827,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51005
51827
|
processed_items: number;
|
|
51006
51828
|
}[];
|
|
51007
51829
|
};
|
|
51830
|
+
calculate_layer_stock: {
|
|
51831
|
+
Args: {
|
|
51832
|
+
p_product_id: string;
|
|
51833
|
+
};
|
|
51834
|
+
Returns: number;
|
|
51835
|
+
};
|
|
51008
51836
|
call_exact_route: {
|
|
51009
51837
|
Args: {
|
|
51010
51838
|
path: string;
|
|
@@ -51064,6 +51892,28 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51064
51892
|
Args: never;
|
|
51065
51893
|
Returns: undefined;
|
|
51066
51894
|
};
|
|
51895
|
+
consume_bom_for_production: {
|
|
51896
|
+
Args: {
|
|
51897
|
+
p_connection_id: string;
|
|
51898
|
+
p_parent_id: string;
|
|
51899
|
+
p_parent_key: string;
|
|
51900
|
+
p_parent_kind: string;
|
|
51901
|
+
p_quantity: number;
|
|
51902
|
+
p_user_id: string;
|
|
51903
|
+
};
|
|
51904
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51905
|
+
} | {
|
|
51906
|
+
Args: {
|
|
51907
|
+
p_batch_id?: string;
|
|
51908
|
+
p_connection_id: string;
|
|
51909
|
+
p_parent_id: string;
|
|
51910
|
+
p_parent_key: string;
|
|
51911
|
+
p_parent_kind: string;
|
|
51912
|
+
p_quantity: number;
|
|
51913
|
+
p_user_id: string;
|
|
51914
|
+
};
|
|
51915
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51916
|
+
};
|
|
51067
51917
|
consume_floriday_rate_limit: {
|
|
51068
51918
|
Args: {
|
|
51069
51919
|
p_bucket: string;
|
|
@@ -51121,6 +51971,13 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51121
51971
|
table_name: string;
|
|
51122
51972
|
}[];
|
|
51123
51973
|
};
|
|
51974
|
+
delete_samenstelling: {
|
|
51975
|
+
Args: {
|
|
51976
|
+
p_parent_id: string;
|
|
51977
|
+
p_parent_kind: string;
|
|
51978
|
+
};
|
|
51979
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51980
|
+
};
|
|
51124
51981
|
dispatch_carrier_signups_sql: {
|
|
51125
51982
|
Args: {
|
|
51126
51983
|
_catchup?: string;
|
|
@@ -51376,6 +52233,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51376
52233
|
minutes_since_success: number;
|
|
51377
52234
|
}[];
|
|
51378
52235
|
};
|
|
52236
|
+
get_inventory_stock_for_key: {
|
|
52237
|
+
Args: {
|
|
52238
|
+
p_key: string;
|
|
52239
|
+
};
|
|
52240
|
+
Returns: number;
|
|
52241
|
+
};
|
|
51379
52242
|
get_offer_by_link_code: {
|
|
51380
52243
|
Args: {
|
|
51381
52244
|
p_code: string;
|
|
@@ -51406,6 +52269,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51406
52269
|
};
|
|
51407
52270
|
Returns: string;
|
|
51408
52271
|
};
|
|
52272
|
+
get_product_group_available_stock: {
|
|
52273
|
+
Args: {
|
|
52274
|
+
p_group_id: string;
|
|
52275
|
+
};
|
|
52276
|
+
Returns: number;
|
|
52277
|
+
};
|
|
51409
52278
|
get_room_busy_windows: {
|
|
51410
52279
|
Args: {
|
|
51411
52280
|
p_from: string;
|
|
@@ -51479,9 +52348,10 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51479
52348
|
list_monteurs: {
|
|
51480
52349
|
Args: never;
|
|
51481
52350
|
Returns: {
|
|
52351
|
+
avatar_url: string;
|
|
51482
52352
|
display_name: string;
|
|
51483
52353
|
email: string;
|
|
51484
|
-
|
|
52354
|
+
id: string;
|
|
51485
52355
|
}[];
|
|
51486
52356
|
};
|
|
51487
52357
|
local_effective_price: {
|
|
@@ -51616,6 +52486,14 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51616
52486
|
};
|
|
51617
52487
|
Returns: undefined;
|
|
51618
52488
|
};
|
|
52489
|
+
produce_designed_product: {
|
|
52490
|
+
Args: {
|
|
52491
|
+
p_parent_id: string;
|
|
52492
|
+
p_parent_kind: string;
|
|
52493
|
+
p_quantity: number;
|
|
52494
|
+
};
|
|
52495
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52496
|
+
};
|
|
51619
52497
|
promote_trade_item_key: {
|
|
51620
52498
|
Args: {
|
|
51621
52499
|
p_new: string;
|
|
@@ -51690,6 +52568,16 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51690
52568
|
};
|
|
51691
52569
|
Returns: number;
|
|
51692
52570
|
};
|
|
52571
|
+
reverse_production: {
|
|
52572
|
+
Args: {
|
|
52573
|
+
p_connection_id?: string;
|
|
52574
|
+
p_parent_key: string;
|
|
52575
|
+
p_quantity: number;
|
|
52576
|
+
p_reason?: string;
|
|
52577
|
+
p_user_id?: string;
|
|
52578
|
+
};
|
|
52579
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52580
|
+
};
|
|
51693
52581
|
schedule_floriday_additional_services_sync: {
|
|
51694
52582
|
Args: {
|
|
51695
52583
|
p_apikey: string;
|
|
@@ -51974,18 +52862,34 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
51974
52862
|
};
|
|
51975
52863
|
Returns: string[];
|
|
51976
52864
|
};
|
|
52865
|
+
sync_all_layer_stocks: {
|
|
52866
|
+
Args: never;
|
|
52867
|
+
Returns: undefined;
|
|
52868
|
+
};
|
|
51977
52869
|
sync_cached_packing_from_product: {
|
|
51978
52870
|
Args: {
|
|
51979
52871
|
p_product_id: string;
|
|
51980
52872
|
};
|
|
51981
52873
|
Returns: undefined;
|
|
51982
52874
|
};
|
|
52875
|
+
sync_layer_stock: {
|
|
52876
|
+
Args: {
|
|
52877
|
+
p_product_id: string;
|
|
52878
|
+
};
|
|
52879
|
+
Returns: undefined;
|
|
52880
|
+
};
|
|
51983
52881
|
sync_order_cart_item_packing_from_product: {
|
|
51984
52882
|
Args: {
|
|
51985
52883
|
p_product_id: string;
|
|
51986
52884
|
};
|
|
51987
52885
|
Returns: undefined;
|
|
51988
52886
|
};
|
|
52887
|
+
sync_product_group_belading: {
|
|
52888
|
+
Args: {
|
|
52889
|
+
_group_id: string;
|
|
52890
|
+
};
|
|
52891
|
+
Returns: undefined;
|
|
52892
|
+
};
|
|
51989
52893
|
sync_product_packing_from_floriday_cache: {
|
|
51990
52894
|
Args: {
|
|
51991
52895
|
p_floriday_id: string;
|
|
@@ -52022,7 +52926,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
52022
52926
|
exact_push_status: "pending" | "sent" | "error";
|
|
52023
52927
|
itk_customer_segment: "Business" | "Private";
|
|
52024
52928
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
52025
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
52929
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
52026
52930
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
52027
52931
|
};
|
|
52028
52932
|
CompositeTypes: { [_ in never]: never; };
|