@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
|
@@ -8357,6 +8357,66 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8357
8357
|
referencedColumns: ["id"];
|
|
8358
8358
|
}];
|
|
8359
8359
|
};
|
|
8360
|
+
product_bom_items: {
|
|
8361
|
+
Row: {
|
|
8362
|
+
component_product_id: string | null;
|
|
8363
|
+
component_trade_item_floriday_id: string | null;
|
|
8364
|
+
created_at: string;
|
|
8365
|
+
id: string;
|
|
8366
|
+
notes: string | null;
|
|
8367
|
+
packing_configuration_id: string | null;
|
|
8368
|
+
parent_product_id: string | null;
|
|
8369
|
+
parent_trade_item_floriday_id: string | null;
|
|
8370
|
+
quantity: number;
|
|
8371
|
+
sort_order: number;
|
|
8372
|
+
tenant_id: string;
|
|
8373
|
+
unit: string;
|
|
8374
|
+
updated_at: string;
|
|
8375
|
+
};
|
|
8376
|
+
Insert: {
|
|
8377
|
+
component_product_id?: string | null;
|
|
8378
|
+
component_trade_item_floriday_id?: string | null;
|
|
8379
|
+
created_at?: string;
|
|
8380
|
+
id?: string;
|
|
8381
|
+
notes?: string | null;
|
|
8382
|
+
packing_configuration_id?: string | null;
|
|
8383
|
+
parent_product_id?: string | null;
|
|
8384
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8385
|
+
quantity?: number;
|
|
8386
|
+
sort_order?: number;
|
|
8387
|
+
tenant_id: string;
|
|
8388
|
+
unit?: string;
|
|
8389
|
+
updated_at?: string;
|
|
8390
|
+
};
|
|
8391
|
+
Update: {
|
|
8392
|
+
component_product_id?: string | null;
|
|
8393
|
+
component_trade_item_floriday_id?: string | null;
|
|
8394
|
+
created_at?: string;
|
|
8395
|
+
id?: string;
|
|
8396
|
+
notes?: string | null;
|
|
8397
|
+
packing_configuration_id?: string | null;
|
|
8398
|
+
parent_product_id?: string | null;
|
|
8399
|
+
parent_trade_item_floriday_id?: string | null;
|
|
8400
|
+
quantity?: number;
|
|
8401
|
+
sort_order?: number;
|
|
8402
|
+
tenant_id?: string;
|
|
8403
|
+
unit?: string;
|
|
8404
|
+
updated_at?: string;
|
|
8405
|
+
};
|
|
8406
|
+
Relationships: [{
|
|
8407
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
8408
|
+
columns: ["component_product_id"];
|
|
8409
|
+
isOneToOne: false;
|
|
8410
|
+
referencedRelation: "products";
|
|
8411
|
+
referencedColumns: ["id"];
|
|
8412
|
+
}, {
|
|
8413
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
8414
|
+
columns: ["parent_product_id"];
|
|
8415
|
+
isOneToOne: false;
|
|
8416
|
+
referencedRelation: "products";
|
|
8417
|
+
referencedColumns: ["id"];
|
|
8418
|
+
}];
|
|
8419
|
+
};
|
|
8360
8420
|
product_categories: {
|
|
8361
8421
|
Row: {
|
|
8362
8422
|
color: string;
|
|
@@ -8462,6 +8522,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8462
8522
|
id: string;
|
|
8463
8523
|
product_group_id: string;
|
|
8464
8524
|
quantity: number;
|
|
8525
|
+
sort_order: number;
|
|
8465
8526
|
trade_item_id: string;
|
|
8466
8527
|
};
|
|
8467
8528
|
Insert: {
|
|
@@ -8469,6 +8530,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8469
8530
|
id?: string;
|
|
8470
8531
|
product_group_id: string;
|
|
8471
8532
|
quantity?: number;
|
|
8533
|
+
sort_order?: number;
|
|
8472
8534
|
trade_item_id: string;
|
|
8473
8535
|
};
|
|
8474
8536
|
Update: {
|
|
@@ -8476,6 +8538,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8476
8538
|
id?: string;
|
|
8477
8539
|
product_group_id?: string;
|
|
8478
8540
|
quantity?: number;
|
|
8541
|
+
sort_order?: number;
|
|
8479
8542
|
trade_item_id?: string;
|
|
8480
8543
|
};
|
|
8481
8544
|
Relationships: [{
|
|
@@ -8528,16 +8591,85 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8528
8591
|
referencedColumns: ["id"];
|
|
8529
8592
|
}];
|
|
8530
8593
|
};
|
|
8594
|
+
product_load_settings: {
|
|
8595
|
+
Row: {
|
|
8596
|
+
created_at: string;
|
|
8597
|
+
id: string;
|
|
8598
|
+
is_package: boolean;
|
|
8599
|
+
label: string | null;
|
|
8600
|
+
layers_per_load_carrier: number | null;
|
|
8601
|
+
load_carrier: string | null;
|
|
8602
|
+
package_id: string | null;
|
|
8603
|
+
package_label: string | null;
|
|
8604
|
+
packages_per_layer: number | null;
|
|
8605
|
+
packing_configuration_id: string;
|
|
8606
|
+
product_id: string | null;
|
|
8607
|
+
tenant_id: string;
|
|
8608
|
+
trade_item_floriday_id: string | null;
|
|
8609
|
+
units_per_package: number | null;
|
|
8610
|
+
updated_at: string;
|
|
8611
|
+
};
|
|
8612
|
+
Insert: {
|
|
8613
|
+
created_at?: string;
|
|
8614
|
+
id?: string;
|
|
8615
|
+
is_package?: boolean;
|
|
8616
|
+
label?: string | null;
|
|
8617
|
+
layers_per_load_carrier?: number | null;
|
|
8618
|
+
load_carrier?: string | null;
|
|
8619
|
+
package_id?: string | null;
|
|
8620
|
+
package_label?: string | null;
|
|
8621
|
+
packages_per_layer?: number | null;
|
|
8622
|
+
packing_configuration_id?: string;
|
|
8623
|
+
product_id?: string | null;
|
|
8624
|
+
tenant_id: string;
|
|
8625
|
+
trade_item_floriday_id?: string | null;
|
|
8626
|
+
units_per_package?: number | null;
|
|
8627
|
+
updated_at?: string;
|
|
8628
|
+
};
|
|
8629
|
+
Update: {
|
|
8630
|
+
created_at?: string;
|
|
8631
|
+
id?: string;
|
|
8632
|
+
is_package?: boolean;
|
|
8633
|
+
label?: string | null;
|
|
8634
|
+
layers_per_load_carrier?: number | null;
|
|
8635
|
+
load_carrier?: string | null;
|
|
8636
|
+
package_id?: string | null;
|
|
8637
|
+
package_label?: string | null;
|
|
8638
|
+
packages_per_layer?: number | null;
|
|
8639
|
+
packing_configuration_id?: string;
|
|
8640
|
+
product_id?: string | null;
|
|
8641
|
+
tenant_id?: string;
|
|
8642
|
+
trade_item_floriday_id?: string | null;
|
|
8643
|
+
units_per_package?: number | null;
|
|
8644
|
+
updated_at?: string;
|
|
8645
|
+
};
|
|
8646
|
+
Relationships: [{
|
|
8647
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
8648
|
+
columns: ["package_id"];
|
|
8649
|
+
isOneToOne: false;
|
|
8650
|
+
referencedRelation: "packages";
|
|
8651
|
+
referencedColumns: ["id"];
|
|
8652
|
+
}, {
|
|
8653
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
8654
|
+
columns: ["product_id"];
|
|
8655
|
+
isOneToOne: false;
|
|
8656
|
+
referencedRelation: "products";
|
|
8657
|
+
referencedColumns: ["id"];
|
|
8658
|
+
}];
|
|
8659
|
+
};
|
|
8531
8660
|
products: {
|
|
8532
8661
|
Row: {
|
|
8662
|
+
article_number: string | null;
|
|
8533
8663
|
barcode: string | null;
|
|
8534
8664
|
batch: string;
|
|
8535
8665
|
crates_per_layer: number;
|
|
8536
8666
|
created_at: string;
|
|
8537
8667
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
8668
|
+
floriday_trade_item_id: string | null;
|
|
8538
8669
|
id: string;
|
|
8539
8670
|
image_url: string | null;
|
|
8540
8671
|
incoming_quantity: number;
|
|
8672
|
+
is_layer: boolean;
|
|
8541
8673
|
layers_per_cart: number;
|
|
8542
8674
|
location: string;
|
|
8543
8675
|
min_quantity: number;
|
|
@@ -8553,14 +8685,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8553
8685
|
weight: string | null;
|
|
8554
8686
|
};
|
|
8555
8687
|
Insert: {
|
|
8688
|
+
article_number?: string | null;
|
|
8556
8689
|
barcode?: string | null;
|
|
8557
8690
|
batch: string;
|
|
8558
8691
|
crates_per_layer?: number;
|
|
8559
8692
|
created_at?: string;
|
|
8560
8693
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8694
|
+
floriday_trade_item_id?: string | null;
|
|
8561
8695
|
id?: string;
|
|
8562
8696
|
image_url?: string | null;
|
|
8563
8697
|
incoming_quantity?: number;
|
|
8698
|
+
is_layer?: boolean;
|
|
8564
8699
|
layers_per_cart?: number;
|
|
8565
8700
|
location: string;
|
|
8566
8701
|
min_quantity?: number;
|
|
@@ -8576,14 +8711,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8576
8711
|
weight?: string | null;
|
|
8577
8712
|
};
|
|
8578
8713
|
Update: {
|
|
8714
|
+
article_number?: string | null;
|
|
8579
8715
|
barcode?: string | null;
|
|
8580
8716
|
batch?: string;
|
|
8581
8717
|
crates_per_layer?: number;
|
|
8582
8718
|
created_at?: string;
|
|
8583
8719
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8720
|
+
floriday_trade_item_id?: string | null;
|
|
8584
8721
|
id?: string;
|
|
8585
8722
|
image_url?: string | null;
|
|
8586
8723
|
incoming_quantity?: number;
|
|
8724
|
+
is_layer?: boolean;
|
|
8587
8725
|
layers_per_cart?: number;
|
|
8588
8726
|
location?: string;
|
|
8589
8727
|
min_quantity?: number;
|
|
@@ -8603,6 +8741,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8603
8741
|
profiles: {
|
|
8604
8742
|
Row: {
|
|
8605
8743
|
address: string | null;
|
|
8744
|
+
avatar_url: string | null;
|
|
8606
8745
|
created_at: string;
|
|
8607
8746
|
display_name: string | null;
|
|
8608
8747
|
email: string | null;
|
|
@@ -8614,6 +8753,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8614
8753
|
};
|
|
8615
8754
|
Insert: {
|
|
8616
8755
|
address?: string | null;
|
|
8756
|
+
avatar_url?: string | null;
|
|
8617
8757
|
created_at?: string;
|
|
8618
8758
|
display_name?: string | null;
|
|
8619
8759
|
email?: string | null;
|
|
@@ -8625,6 +8765,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
8625
8765
|
};
|
|
8626
8766
|
Update: {
|
|
8627
8767
|
address?: string | null;
|
|
8768
|
+
avatar_url?: string | null;
|
|
8628
8769
|
created_at?: string;
|
|
8629
8770
|
display_name?: string | null;
|
|
8630
8771
|
email?: string | null;
|
|
@@ -9491,6 +9632,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9491
9632
|
order_source: string | null;
|
|
9492
9633
|
physical_after: number | null;
|
|
9493
9634
|
physical_before: number | null;
|
|
9635
|
+
production_batch_id: string | null;
|
|
9494
9636
|
qty_delta: number;
|
|
9495
9637
|
reason: string | null;
|
|
9496
9638
|
reserved_after: number | null;
|
|
@@ -9508,6 +9650,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9508
9650
|
order_source?: string | null;
|
|
9509
9651
|
physical_after?: number | null;
|
|
9510
9652
|
physical_before?: number | null;
|
|
9653
|
+
production_batch_id?: string | null;
|
|
9511
9654
|
qty_delta: number;
|
|
9512
9655
|
reason?: string | null;
|
|
9513
9656
|
reserved_after?: number | null;
|
|
@@ -9525,6 +9668,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
9525
9668
|
order_source?: string | null;
|
|
9526
9669
|
physical_after?: number | null;
|
|
9527
9670
|
physical_before?: number | null;
|
|
9671
|
+
production_batch_id?: string | null;
|
|
9528
9672
|
qty_delta?: number;
|
|
9529
9673
|
reason?: string | null;
|
|
9530
9674
|
reserved_after?: number | null;
|
|
@@ -11953,6 +12097,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
11953
12097
|
processed_items: number;
|
|
11954
12098
|
}[];
|
|
11955
12099
|
};
|
|
12100
|
+
calculate_layer_stock: {
|
|
12101
|
+
Args: {
|
|
12102
|
+
p_product_id: string;
|
|
12103
|
+
};
|
|
12104
|
+
Returns: number;
|
|
12105
|
+
};
|
|
11956
12106
|
call_exact_route: {
|
|
11957
12107
|
Args: {
|
|
11958
12108
|
path: string;
|
|
@@ -12012,6 +12162,28 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12012
12162
|
Args: never;
|
|
12013
12163
|
Returns: undefined;
|
|
12014
12164
|
};
|
|
12165
|
+
consume_bom_for_production: {
|
|
12166
|
+
Args: {
|
|
12167
|
+
p_connection_id: string;
|
|
12168
|
+
p_parent_id: string;
|
|
12169
|
+
p_parent_key: string;
|
|
12170
|
+
p_parent_kind: string;
|
|
12171
|
+
p_quantity: number;
|
|
12172
|
+
p_user_id: string;
|
|
12173
|
+
};
|
|
12174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12175
|
+
} | {
|
|
12176
|
+
Args: {
|
|
12177
|
+
p_batch_id?: string;
|
|
12178
|
+
p_connection_id: string;
|
|
12179
|
+
p_parent_id: string;
|
|
12180
|
+
p_parent_key: string;
|
|
12181
|
+
p_parent_kind: string;
|
|
12182
|
+
p_quantity: number;
|
|
12183
|
+
p_user_id: string;
|
|
12184
|
+
};
|
|
12185
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12186
|
+
};
|
|
12015
12187
|
consume_floriday_rate_limit: {
|
|
12016
12188
|
Args: {
|
|
12017
12189
|
p_bucket: string;
|
|
@@ -12069,6 +12241,13 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12069
12241
|
table_name: string;
|
|
12070
12242
|
}[];
|
|
12071
12243
|
};
|
|
12244
|
+
delete_samenstelling: {
|
|
12245
|
+
Args: {
|
|
12246
|
+
p_parent_id: string;
|
|
12247
|
+
p_parent_kind: string;
|
|
12248
|
+
};
|
|
12249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12250
|
+
};
|
|
12072
12251
|
dispatch_carrier_signups_sql: {
|
|
12073
12252
|
Args: {
|
|
12074
12253
|
_catchup?: string;
|
|
@@ -12324,6 +12503,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12324
12503
|
minutes_since_success: number;
|
|
12325
12504
|
}[];
|
|
12326
12505
|
};
|
|
12506
|
+
get_inventory_stock_for_key: {
|
|
12507
|
+
Args: {
|
|
12508
|
+
p_key: string;
|
|
12509
|
+
};
|
|
12510
|
+
Returns: number;
|
|
12511
|
+
};
|
|
12327
12512
|
get_offer_by_link_code: {
|
|
12328
12513
|
Args: {
|
|
12329
12514
|
p_code: string;
|
|
@@ -12354,6 +12539,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12354
12539
|
};
|
|
12355
12540
|
Returns: string;
|
|
12356
12541
|
};
|
|
12542
|
+
get_product_group_available_stock: {
|
|
12543
|
+
Args: {
|
|
12544
|
+
p_group_id: string;
|
|
12545
|
+
};
|
|
12546
|
+
Returns: number;
|
|
12547
|
+
};
|
|
12357
12548
|
get_room_busy_windows: {
|
|
12358
12549
|
Args: {
|
|
12359
12550
|
p_from: string;
|
|
@@ -12427,9 +12618,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12427
12618
|
list_monteurs: {
|
|
12428
12619
|
Args: never;
|
|
12429
12620
|
Returns: {
|
|
12621
|
+
avatar_url: string;
|
|
12430
12622
|
display_name: string;
|
|
12431
12623
|
email: string;
|
|
12432
|
-
|
|
12624
|
+
id: string;
|
|
12433
12625
|
}[];
|
|
12434
12626
|
};
|
|
12435
12627
|
local_effective_price: {
|
|
@@ -12564,6 +12756,14 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12564
12756
|
};
|
|
12565
12757
|
Returns: undefined;
|
|
12566
12758
|
};
|
|
12759
|
+
produce_designed_product: {
|
|
12760
|
+
Args: {
|
|
12761
|
+
p_parent_id: string;
|
|
12762
|
+
p_parent_kind: string;
|
|
12763
|
+
p_quantity: number;
|
|
12764
|
+
};
|
|
12765
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12766
|
+
};
|
|
12567
12767
|
promote_trade_item_key: {
|
|
12568
12768
|
Args: {
|
|
12569
12769
|
p_new: string;
|
|
@@ -12638,6 +12838,16 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12638
12838
|
};
|
|
12639
12839
|
Returns: number;
|
|
12640
12840
|
};
|
|
12841
|
+
reverse_production: {
|
|
12842
|
+
Args: {
|
|
12843
|
+
p_connection_id?: string;
|
|
12844
|
+
p_parent_key: string;
|
|
12845
|
+
p_quantity: number;
|
|
12846
|
+
p_reason?: string;
|
|
12847
|
+
p_user_id?: string;
|
|
12848
|
+
};
|
|
12849
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12850
|
+
};
|
|
12641
12851
|
schedule_floriday_additional_services_sync: {
|
|
12642
12852
|
Args: {
|
|
12643
12853
|
p_apikey: string;
|
|
@@ -12922,18 +13132,34 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12922
13132
|
};
|
|
12923
13133
|
Returns: string[];
|
|
12924
13134
|
};
|
|
13135
|
+
sync_all_layer_stocks: {
|
|
13136
|
+
Args: never;
|
|
13137
|
+
Returns: undefined;
|
|
13138
|
+
};
|
|
12925
13139
|
sync_cached_packing_from_product: {
|
|
12926
13140
|
Args: {
|
|
12927
13141
|
p_product_id: string;
|
|
12928
13142
|
};
|
|
12929
13143
|
Returns: undefined;
|
|
12930
13144
|
};
|
|
13145
|
+
sync_layer_stock: {
|
|
13146
|
+
Args: {
|
|
13147
|
+
p_product_id: string;
|
|
13148
|
+
};
|
|
13149
|
+
Returns: undefined;
|
|
13150
|
+
};
|
|
12931
13151
|
sync_order_cart_item_packing_from_product: {
|
|
12932
13152
|
Args: {
|
|
12933
13153
|
p_product_id: string;
|
|
12934
13154
|
};
|
|
12935
13155
|
Returns: undefined;
|
|
12936
13156
|
};
|
|
13157
|
+
sync_product_group_belading: {
|
|
13158
|
+
Args: {
|
|
13159
|
+
_group_id: string;
|
|
13160
|
+
};
|
|
13161
|
+
Returns: undefined;
|
|
13162
|
+
};
|
|
12937
13163
|
sync_product_packing_from_floriday_cache: {
|
|
12938
13164
|
Args: {
|
|
12939
13165
|
p_floriday_id: string;
|
|
@@ -12970,7 +13196,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
|
|
|
12970
13196
|
exact_push_status: "pending" | "sent" | "error";
|
|
12971
13197
|
itk_customer_segment: "Business" | "Private";
|
|
12972
13198
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
12973
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
13199
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
12974
13200
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
12975
13201
|
};
|
|
12976
13202
|
CompositeTypes: { [_ in never]: never; };
|
|
@@ -21340,6 +21566,66 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21340
21566
|
referencedColumns: ["id"];
|
|
21341
21567
|
}];
|
|
21342
21568
|
};
|
|
21569
|
+
product_bom_items: {
|
|
21570
|
+
Row: {
|
|
21571
|
+
component_product_id: string | null;
|
|
21572
|
+
component_trade_item_floriday_id: string | null;
|
|
21573
|
+
created_at: string;
|
|
21574
|
+
id: string;
|
|
21575
|
+
notes: string | null;
|
|
21576
|
+
packing_configuration_id: string | null;
|
|
21577
|
+
parent_product_id: string | null;
|
|
21578
|
+
parent_trade_item_floriday_id: string | null;
|
|
21579
|
+
quantity: number;
|
|
21580
|
+
sort_order: number;
|
|
21581
|
+
tenant_id: string;
|
|
21582
|
+
unit: string;
|
|
21583
|
+
updated_at: string;
|
|
21584
|
+
};
|
|
21585
|
+
Insert: {
|
|
21586
|
+
component_product_id?: string | null;
|
|
21587
|
+
component_trade_item_floriday_id?: string | null;
|
|
21588
|
+
created_at?: string;
|
|
21589
|
+
id?: string;
|
|
21590
|
+
notes?: string | null;
|
|
21591
|
+
packing_configuration_id?: string | null;
|
|
21592
|
+
parent_product_id?: string | null;
|
|
21593
|
+
parent_trade_item_floriday_id?: string | null;
|
|
21594
|
+
quantity?: number;
|
|
21595
|
+
sort_order?: number;
|
|
21596
|
+
tenant_id: string;
|
|
21597
|
+
unit?: string;
|
|
21598
|
+
updated_at?: string;
|
|
21599
|
+
};
|
|
21600
|
+
Update: {
|
|
21601
|
+
component_product_id?: string | null;
|
|
21602
|
+
component_trade_item_floriday_id?: string | null;
|
|
21603
|
+
created_at?: string;
|
|
21604
|
+
id?: string;
|
|
21605
|
+
notes?: string | null;
|
|
21606
|
+
packing_configuration_id?: string | null;
|
|
21607
|
+
parent_product_id?: string | null;
|
|
21608
|
+
parent_trade_item_floriday_id?: string | null;
|
|
21609
|
+
quantity?: number;
|
|
21610
|
+
sort_order?: number;
|
|
21611
|
+
tenant_id?: string;
|
|
21612
|
+
unit?: string;
|
|
21613
|
+
updated_at?: string;
|
|
21614
|
+
};
|
|
21615
|
+
Relationships: [{
|
|
21616
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
21617
|
+
columns: ["component_product_id"];
|
|
21618
|
+
isOneToOne: false;
|
|
21619
|
+
referencedRelation: "products";
|
|
21620
|
+
referencedColumns: ["id"];
|
|
21621
|
+
}, {
|
|
21622
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
21623
|
+
columns: ["parent_product_id"];
|
|
21624
|
+
isOneToOne: false;
|
|
21625
|
+
referencedRelation: "products";
|
|
21626
|
+
referencedColumns: ["id"];
|
|
21627
|
+
}];
|
|
21628
|
+
};
|
|
21343
21629
|
product_categories: {
|
|
21344
21630
|
Row: {
|
|
21345
21631
|
color: string;
|
|
@@ -21445,6 +21731,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21445
21731
|
id: string;
|
|
21446
21732
|
product_group_id: string;
|
|
21447
21733
|
quantity: number;
|
|
21734
|
+
sort_order: number;
|
|
21448
21735
|
trade_item_id: string;
|
|
21449
21736
|
};
|
|
21450
21737
|
Insert: {
|
|
@@ -21452,6 +21739,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21452
21739
|
id?: string;
|
|
21453
21740
|
product_group_id: string;
|
|
21454
21741
|
quantity?: number;
|
|
21742
|
+
sort_order?: number;
|
|
21455
21743
|
trade_item_id: string;
|
|
21456
21744
|
};
|
|
21457
21745
|
Update: {
|
|
@@ -21459,6 +21747,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21459
21747
|
id?: string;
|
|
21460
21748
|
product_group_id?: string;
|
|
21461
21749
|
quantity?: number;
|
|
21750
|
+
sort_order?: number;
|
|
21462
21751
|
trade_item_id?: string;
|
|
21463
21752
|
};
|
|
21464
21753
|
Relationships: [{
|
|
@@ -21511,16 +21800,85 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21511
21800
|
referencedColumns: ["id"];
|
|
21512
21801
|
}];
|
|
21513
21802
|
};
|
|
21803
|
+
product_load_settings: {
|
|
21804
|
+
Row: {
|
|
21805
|
+
created_at: string;
|
|
21806
|
+
id: string;
|
|
21807
|
+
is_package: boolean;
|
|
21808
|
+
label: string | null;
|
|
21809
|
+
layers_per_load_carrier: number | null;
|
|
21810
|
+
load_carrier: string | null;
|
|
21811
|
+
package_id: string | null;
|
|
21812
|
+
package_label: string | null;
|
|
21813
|
+
packages_per_layer: number | null;
|
|
21814
|
+
packing_configuration_id: string;
|
|
21815
|
+
product_id: string | null;
|
|
21816
|
+
tenant_id: string;
|
|
21817
|
+
trade_item_floriday_id: string | null;
|
|
21818
|
+
units_per_package: number | null;
|
|
21819
|
+
updated_at: string;
|
|
21820
|
+
};
|
|
21821
|
+
Insert: {
|
|
21822
|
+
created_at?: string;
|
|
21823
|
+
id?: string;
|
|
21824
|
+
is_package?: boolean;
|
|
21825
|
+
label?: string | null;
|
|
21826
|
+
layers_per_load_carrier?: number | null;
|
|
21827
|
+
load_carrier?: string | null;
|
|
21828
|
+
package_id?: string | null;
|
|
21829
|
+
package_label?: string | null;
|
|
21830
|
+
packages_per_layer?: number | null;
|
|
21831
|
+
packing_configuration_id?: string;
|
|
21832
|
+
product_id?: string | null;
|
|
21833
|
+
tenant_id: string;
|
|
21834
|
+
trade_item_floriday_id?: string | null;
|
|
21835
|
+
units_per_package?: number | null;
|
|
21836
|
+
updated_at?: string;
|
|
21837
|
+
};
|
|
21838
|
+
Update: {
|
|
21839
|
+
created_at?: string;
|
|
21840
|
+
id?: string;
|
|
21841
|
+
is_package?: boolean;
|
|
21842
|
+
label?: string | null;
|
|
21843
|
+
layers_per_load_carrier?: number | null;
|
|
21844
|
+
load_carrier?: string | null;
|
|
21845
|
+
package_id?: string | null;
|
|
21846
|
+
package_label?: string | null;
|
|
21847
|
+
packages_per_layer?: number | null;
|
|
21848
|
+
packing_configuration_id?: string;
|
|
21849
|
+
product_id?: string | null;
|
|
21850
|
+
tenant_id?: string;
|
|
21851
|
+
trade_item_floriday_id?: string | null;
|
|
21852
|
+
units_per_package?: number | null;
|
|
21853
|
+
updated_at?: string;
|
|
21854
|
+
};
|
|
21855
|
+
Relationships: [{
|
|
21856
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
21857
|
+
columns: ["package_id"];
|
|
21858
|
+
isOneToOne: false;
|
|
21859
|
+
referencedRelation: "packages";
|
|
21860
|
+
referencedColumns: ["id"];
|
|
21861
|
+
}, {
|
|
21862
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
21863
|
+
columns: ["product_id"];
|
|
21864
|
+
isOneToOne: false;
|
|
21865
|
+
referencedRelation: "products";
|
|
21866
|
+
referencedColumns: ["id"];
|
|
21867
|
+
}];
|
|
21868
|
+
};
|
|
21514
21869
|
products: {
|
|
21515
21870
|
Row: {
|
|
21871
|
+
article_number: string | null;
|
|
21516
21872
|
barcode: string | null;
|
|
21517
21873
|
batch: string;
|
|
21518
21874
|
crates_per_layer: number;
|
|
21519
21875
|
created_at: string;
|
|
21520
21876
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
21877
|
+
floriday_trade_item_id: string | null;
|
|
21521
21878
|
id: string;
|
|
21522
21879
|
image_url: string | null;
|
|
21523
21880
|
incoming_quantity: number;
|
|
21881
|
+
is_layer: boolean;
|
|
21524
21882
|
layers_per_cart: number;
|
|
21525
21883
|
location: string;
|
|
21526
21884
|
min_quantity: number;
|
|
@@ -21536,14 +21894,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21536
21894
|
weight: string | null;
|
|
21537
21895
|
};
|
|
21538
21896
|
Insert: {
|
|
21897
|
+
article_number?: string | null;
|
|
21539
21898
|
barcode?: string | null;
|
|
21540
21899
|
batch: string;
|
|
21541
21900
|
crates_per_layer?: number;
|
|
21542
21901
|
created_at?: string;
|
|
21543
21902
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
21903
|
+
floriday_trade_item_id?: string | null;
|
|
21544
21904
|
id?: string;
|
|
21545
21905
|
image_url?: string | null;
|
|
21546
21906
|
incoming_quantity?: number;
|
|
21907
|
+
is_layer?: boolean;
|
|
21547
21908
|
layers_per_cart?: number;
|
|
21548
21909
|
location: string;
|
|
21549
21910
|
min_quantity?: number;
|
|
@@ -21559,14 +21920,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21559
21920
|
weight?: string | null;
|
|
21560
21921
|
};
|
|
21561
21922
|
Update: {
|
|
21923
|
+
article_number?: string | null;
|
|
21562
21924
|
barcode?: string | null;
|
|
21563
21925
|
batch?: string;
|
|
21564
21926
|
crates_per_layer?: number;
|
|
21565
21927
|
created_at?: string;
|
|
21566
21928
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
21929
|
+
floriday_trade_item_id?: string | null;
|
|
21567
21930
|
id?: string;
|
|
21568
21931
|
image_url?: string | null;
|
|
21569
21932
|
incoming_quantity?: number;
|
|
21933
|
+
is_layer?: boolean;
|
|
21570
21934
|
layers_per_cart?: number;
|
|
21571
21935
|
location?: string;
|
|
21572
21936
|
min_quantity?: number;
|
|
@@ -21586,6 +21950,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21586
21950
|
profiles: {
|
|
21587
21951
|
Row: {
|
|
21588
21952
|
address: string | null;
|
|
21953
|
+
avatar_url: string | null;
|
|
21589
21954
|
created_at: string;
|
|
21590
21955
|
display_name: string | null;
|
|
21591
21956
|
email: string | null;
|
|
@@ -21597,6 +21962,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21597
21962
|
};
|
|
21598
21963
|
Insert: {
|
|
21599
21964
|
address?: string | null;
|
|
21965
|
+
avatar_url?: string | null;
|
|
21600
21966
|
created_at?: string;
|
|
21601
21967
|
display_name?: string | null;
|
|
21602
21968
|
email?: string | null;
|
|
@@ -21608,6 +21974,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
21608
21974
|
};
|
|
21609
21975
|
Update: {
|
|
21610
21976
|
address?: string | null;
|
|
21977
|
+
avatar_url?: string | null;
|
|
21611
21978
|
created_at?: string;
|
|
21612
21979
|
display_name?: string | null;
|
|
21613
21980
|
email?: string | null;
|
|
@@ -22474,6 +22841,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22474
22841
|
order_source: string | null;
|
|
22475
22842
|
physical_after: number | null;
|
|
22476
22843
|
physical_before: number | null;
|
|
22844
|
+
production_batch_id: string | null;
|
|
22477
22845
|
qty_delta: number;
|
|
22478
22846
|
reason: string | null;
|
|
22479
22847
|
reserved_after: number | null;
|
|
@@ -22491,6 +22859,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22491
22859
|
order_source?: string | null;
|
|
22492
22860
|
physical_after?: number | null;
|
|
22493
22861
|
physical_before?: number | null;
|
|
22862
|
+
production_batch_id?: string | null;
|
|
22494
22863
|
qty_delta: number;
|
|
22495
22864
|
reason?: string | null;
|
|
22496
22865
|
reserved_after?: number | null;
|
|
@@ -22508,6 +22877,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
22508
22877
|
order_source?: string | null;
|
|
22509
22878
|
physical_after?: number | null;
|
|
22510
22879
|
physical_before?: number | null;
|
|
22880
|
+
production_batch_id?: string | null;
|
|
22511
22881
|
qty_delta?: number;
|
|
22512
22882
|
reason?: string | null;
|
|
22513
22883
|
reserved_after?: number | null;
|
|
@@ -24936,6 +25306,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
24936
25306
|
processed_items: number;
|
|
24937
25307
|
}[];
|
|
24938
25308
|
};
|
|
25309
|
+
calculate_layer_stock: {
|
|
25310
|
+
Args: {
|
|
25311
|
+
p_product_id: string;
|
|
25312
|
+
};
|
|
25313
|
+
Returns: number;
|
|
25314
|
+
};
|
|
24939
25315
|
call_exact_route: {
|
|
24940
25316
|
Args: {
|
|
24941
25317
|
path: string;
|
|
@@ -24995,6 +25371,28 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
24995
25371
|
Args: never;
|
|
24996
25372
|
Returns: undefined;
|
|
24997
25373
|
};
|
|
25374
|
+
consume_bom_for_production: {
|
|
25375
|
+
Args: {
|
|
25376
|
+
p_connection_id: string;
|
|
25377
|
+
p_parent_id: string;
|
|
25378
|
+
p_parent_key: string;
|
|
25379
|
+
p_parent_kind: string;
|
|
25380
|
+
p_quantity: number;
|
|
25381
|
+
p_user_id: string;
|
|
25382
|
+
};
|
|
25383
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25384
|
+
} | {
|
|
25385
|
+
Args: {
|
|
25386
|
+
p_batch_id?: string;
|
|
25387
|
+
p_connection_id: string;
|
|
25388
|
+
p_parent_id: string;
|
|
25389
|
+
p_parent_key: string;
|
|
25390
|
+
p_parent_kind: string;
|
|
25391
|
+
p_quantity: number;
|
|
25392
|
+
p_user_id: string;
|
|
25393
|
+
};
|
|
25394
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25395
|
+
};
|
|
24998
25396
|
consume_floriday_rate_limit: {
|
|
24999
25397
|
Args: {
|
|
25000
25398
|
p_bucket: string;
|
|
@@ -25052,6 +25450,13 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25052
25450
|
table_name: string;
|
|
25053
25451
|
}[];
|
|
25054
25452
|
};
|
|
25453
|
+
delete_samenstelling: {
|
|
25454
|
+
Args: {
|
|
25455
|
+
p_parent_id: string;
|
|
25456
|
+
p_parent_kind: string;
|
|
25457
|
+
};
|
|
25458
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25459
|
+
};
|
|
25055
25460
|
dispatch_carrier_signups_sql: {
|
|
25056
25461
|
Args: {
|
|
25057
25462
|
_catchup?: string;
|
|
@@ -25307,6 +25712,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25307
25712
|
minutes_since_success: number;
|
|
25308
25713
|
}[];
|
|
25309
25714
|
};
|
|
25715
|
+
get_inventory_stock_for_key: {
|
|
25716
|
+
Args: {
|
|
25717
|
+
p_key: string;
|
|
25718
|
+
};
|
|
25719
|
+
Returns: number;
|
|
25720
|
+
};
|
|
25310
25721
|
get_offer_by_link_code: {
|
|
25311
25722
|
Args: {
|
|
25312
25723
|
p_code: string;
|
|
@@ -25337,6 +25748,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25337
25748
|
};
|
|
25338
25749
|
Returns: string;
|
|
25339
25750
|
};
|
|
25751
|
+
get_product_group_available_stock: {
|
|
25752
|
+
Args: {
|
|
25753
|
+
p_group_id: string;
|
|
25754
|
+
};
|
|
25755
|
+
Returns: number;
|
|
25756
|
+
};
|
|
25340
25757
|
get_room_busy_windows: {
|
|
25341
25758
|
Args: {
|
|
25342
25759
|
p_from: string;
|
|
@@ -25410,9 +25827,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25410
25827
|
list_monteurs: {
|
|
25411
25828
|
Args: never;
|
|
25412
25829
|
Returns: {
|
|
25830
|
+
avatar_url: string;
|
|
25413
25831
|
display_name: string;
|
|
25414
25832
|
email: string;
|
|
25415
|
-
|
|
25833
|
+
id: string;
|
|
25416
25834
|
}[];
|
|
25417
25835
|
};
|
|
25418
25836
|
local_effective_price: {
|
|
@@ -25547,6 +25965,14 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25547
25965
|
};
|
|
25548
25966
|
Returns: undefined;
|
|
25549
25967
|
};
|
|
25968
|
+
produce_designed_product: {
|
|
25969
|
+
Args: {
|
|
25970
|
+
p_parent_id: string;
|
|
25971
|
+
p_parent_kind: string;
|
|
25972
|
+
p_quantity: number;
|
|
25973
|
+
};
|
|
25974
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25975
|
+
};
|
|
25550
25976
|
promote_trade_item_key: {
|
|
25551
25977
|
Args: {
|
|
25552
25978
|
p_new: string;
|
|
@@ -25621,6 +26047,16 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25621
26047
|
};
|
|
25622
26048
|
Returns: number;
|
|
25623
26049
|
};
|
|
26050
|
+
reverse_production: {
|
|
26051
|
+
Args: {
|
|
26052
|
+
p_connection_id?: string;
|
|
26053
|
+
p_parent_key: string;
|
|
26054
|
+
p_quantity: number;
|
|
26055
|
+
p_reason?: string;
|
|
26056
|
+
p_user_id?: string;
|
|
26057
|
+
};
|
|
26058
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26059
|
+
};
|
|
25624
26060
|
schedule_floriday_additional_services_sync: {
|
|
25625
26061
|
Args: {
|
|
25626
26062
|
p_apikey: string;
|
|
@@ -25905,18 +26341,34 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25905
26341
|
};
|
|
25906
26342
|
Returns: string[];
|
|
25907
26343
|
};
|
|
26344
|
+
sync_all_layer_stocks: {
|
|
26345
|
+
Args: never;
|
|
26346
|
+
Returns: undefined;
|
|
26347
|
+
};
|
|
25908
26348
|
sync_cached_packing_from_product: {
|
|
25909
26349
|
Args: {
|
|
25910
26350
|
p_product_id: string;
|
|
25911
26351
|
};
|
|
25912
26352
|
Returns: undefined;
|
|
25913
26353
|
};
|
|
26354
|
+
sync_layer_stock: {
|
|
26355
|
+
Args: {
|
|
26356
|
+
p_product_id: string;
|
|
26357
|
+
};
|
|
26358
|
+
Returns: undefined;
|
|
26359
|
+
};
|
|
25914
26360
|
sync_order_cart_item_packing_from_product: {
|
|
25915
26361
|
Args: {
|
|
25916
26362
|
p_product_id: string;
|
|
25917
26363
|
};
|
|
25918
26364
|
Returns: undefined;
|
|
25919
26365
|
};
|
|
26366
|
+
sync_product_group_belading: {
|
|
26367
|
+
Args: {
|
|
26368
|
+
_group_id: string;
|
|
26369
|
+
};
|
|
26370
|
+
Returns: undefined;
|
|
26371
|
+
};
|
|
25920
26372
|
sync_product_packing_from_floriday_cache: {
|
|
25921
26373
|
Args: {
|
|
25922
26374
|
p_floriday_id: string;
|
|
@@ -25953,7 +26405,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
|
|
|
25953
26405
|
exact_push_status: "pending" | "sent" | "error";
|
|
25954
26406
|
itk_customer_segment: "Business" | "Private";
|
|
25955
26407
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
25956
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
26408
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
25957
26409
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
25958
26410
|
};
|
|
25959
26411
|
CompositeTypes: { [_ in never]: never; };
|
|
@@ -34323,6 +34775,66 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34323
34775
|
referencedColumns: ["id"];
|
|
34324
34776
|
}];
|
|
34325
34777
|
};
|
|
34778
|
+
product_bom_items: {
|
|
34779
|
+
Row: {
|
|
34780
|
+
component_product_id: string | null;
|
|
34781
|
+
component_trade_item_floriday_id: string | null;
|
|
34782
|
+
created_at: string;
|
|
34783
|
+
id: string;
|
|
34784
|
+
notes: string | null;
|
|
34785
|
+
packing_configuration_id: string | null;
|
|
34786
|
+
parent_product_id: string | null;
|
|
34787
|
+
parent_trade_item_floriday_id: string | null;
|
|
34788
|
+
quantity: number;
|
|
34789
|
+
sort_order: number;
|
|
34790
|
+
tenant_id: string;
|
|
34791
|
+
unit: string;
|
|
34792
|
+
updated_at: string;
|
|
34793
|
+
};
|
|
34794
|
+
Insert: {
|
|
34795
|
+
component_product_id?: string | null;
|
|
34796
|
+
component_trade_item_floriday_id?: string | null;
|
|
34797
|
+
created_at?: string;
|
|
34798
|
+
id?: string;
|
|
34799
|
+
notes?: string | null;
|
|
34800
|
+
packing_configuration_id?: string | null;
|
|
34801
|
+
parent_product_id?: string | null;
|
|
34802
|
+
parent_trade_item_floriday_id?: string | null;
|
|
34803
|
+
quantity?: number;
|
|
34804
|
+
sort_order?: number;
|
|
34805
|
+
tenant_id: string;
|
|
34806
|
+
unit?: string;
|
|
34807
|
+
updated_at?: string;
|
|
34808
|
+
};
|
|
34809
|
+
Update: {
|
|
34810
|
+
component_product_id?: string | null;
|
|
34811
|
+
component_trade_item_floriday_id?: string | null;
|
|
34812
|
+
created_at?: string;
|
|
34813
|
+
id?: string;
|
|
34814
|
+
notes?: string | null;
|
|
34815
|
+
packing_configuration_id?: string | null;
|
|
34816
|
+
parent_product_id?: string | null;
|
|
34817
|
+
parent_trade_item_floriday_id?: string | null;
|
|
34818
|
+
quantity?: number;
|
|
34819
|
+
sort_order?: number;
|
|
34820
|
+
tenant_id?: string;
|
|
34821
|
+
unit?: string;
|
|
34822
|
+
updated_at?: string;
|
|
34823
|
+
};
|
|
34824
|
+
Relationships: [{
|
|
34825
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
34826
|
+
columns: ["component_product_id"];
|
|
34827
|
+
isOneToOne: false;
|
|
34828
|
+
referencedRelation: "products";
|
|
34829
|
+
referencedColumns: ["id"];
|
|
34830
|
+
}, {
|
|
34831
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
34832
|
+
columns: ["parent_product_id"];
|
|
34833
|
+
isOneToOne: false;
|
|
34834
|
+
referencedRelation: "products";
|
|
34835
|
+
referencedColumns: ["id"];
|
|
34836
|
+
}];
|
|
34837
|
+
};
|
|
34326
34838
|
product_categories: {
|
|
34327
34839
|
Row: {
|
|
34328
34840
|
color: string;
|
|
@@ -34428,6 +34940,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34428
34940
|
id: string;
|
|
34429
34941
|
product_group_id: string;
|
|
34430
34942
|
quantity: number;
|
|
34943
|
+
sort_order: number;
|
|
34431
34944
|
trade_item_id: string;
|
|
34432
34945
|
};
|
|
34433
34946
|
Insert: {
|
|
@@ -34435,6 +34948,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34435
34948
|
id?: string;
|
|
34436
34949
|
product_group_id: string;
|
|
34437
34950
|
quantity?: number;
|
|
34951
|
+
sort_order?: number;
|
|
34438
34952
|
trade_item_id: string;
|
|
34439
34953
|
};
|
|
34440
34954
|
Update: {
|
|
@@ -34442,6 +34956,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34442
34956
|
id?: string;
|
|
34443
34957
|
product_group_id?: string;
|
|
34444
34958
|
quantity?: number;
|
|
34959
|
+
sort_order?: number;
|
|
34445
34960
|
trade_item_id?: string;
|
|
34446
34961
|
};
|
|
34447
34962
|
Relationships: [{
|
|
@@ -34494,16 +35009,85 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34494
35009
|
referencedColumns: ["id"];
|
|
34495
35010
|
}];
|
|
34496
35011
|
};
|
|
35012
|
+
product_load_settings: {
|
|
35013
|
+
Row: {
|
|
35014
|
+
created_at: string;
|
|
35015
|
+
id: string;
|
|
35016
|
+
is_package: boolean;
|
|
35017
|
+
label: string | null;
|
|
35018
|
+
layers_per_load_carrier: number | null;
|
|
35019
|
+
load_carrier: string | null;
|
|
35020
|
+
package_id: string | null;
|
|
35021
|
+
package_label: string | null;
|
|
35022
|
+
packages_per_layer: number | null;
|
|
35023
|
+
packing_configuration_id: string;
|
|
35024
|
+
product_id: string | null;
|
|
35025
|
+
tenant_id: string;
|
|
35026
|
+
trade_item_floriday_id: string | null;
|
|
35027
|
+
units_per_package: number | null;
|
|
35028
|
+
updated_at: string;
|
|
35029
|
+
};
|
|
35030
|
+
Insert: {
|
|
35031
|
+
created_at?: string;
|
|
35032
|
+
id?: string;
|
|
35033
|
+
is_package?: boolean;
|
|
35034
|
+
label?: string | null;
|
|
35035
|
+
layers_per_load_carrier?: number | null;
|
|
35036
|
+
load_carrier?: string | null;
|
|
35037
|
+
package_id?: string | null;
|
|
35038
|
+
package_label?: string | null;
|
|
35039
|
+
packages_per_layer?: number | null;
|
|
35040
|
+
packing_configuration_id?: string;
|
|
35041
|
+
product_id?: string | null;
|
|
35042
|
+
tenant_id: string;
|
|
35043
|
+
trade_item_floriday_id?: string | null;
|
|
35044
|
+
units_per_package?: number | null;
|
|
35045
|
+
updated_at?: string;
|
|
35046
|
+
};
|
|
35047
|
+
Update: {
|
|
35048
|
+
created_at?: string;
|
|
35049
|
+
id?: string;
|
|
35050
|
+
is_package?: boolean;
|
|
35051
|
+
label?: string | null;
|
|
35052
|
+
layers_per_load_carrier?: number | null;
|
|
35053
|
+
load_carrier?: string | null;
|
|
35054
|
+
package_id?: string | null;
|
|
35055
|
+
package_label?: string | null;
|
|
35056
|
+
packages_per_layer?: number | null;
|
|
35057
|
+
packing_configuration_id?: string;
|
|
35058
|
+
product_id?: string | null;
|
|
35059
|
+
tenant_id?: string;
|
|
35060
|
+
trade_item_floriday_id?: string | null;
|
|
35061
|
+
units_per_package?: number | null;
|
|
35062
|
+
updated_at?: string;
|
|
35063
|
+
};
|
|
35064
|
+
Relationships: [{
|
|
35065
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
35066
|
+
columns: ["package_id"];
|
|
35067
|
+
isOneToOne: false;
|
|
35068
|
+
referencedRelation: "packages";
|
|
35069
|
+
referencedColumns: ["id"];
|
|
35070
|
+
}, {
|
|
35071
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
35072
|
+
columns: ["product_id"];
|
|
35073
|
+
isOneToOne: false;
|
|
35074
|
+
referencedRelation: "products";
|
|
35075
|
+
referencedColumns: ["id"];
|
|
35076
|
+
}];
|
|
35077
|
+
};
|
|
34497
35078
|
products: {
|
|
34498
35079
|
Row: {
|
|
35080
|
+
article_number: string | null;
|
|
34499
35081
|
barcode: string | null;
|
|
34500
35082
|
batch: string;
|
|
34501
35083
|
crates_per_layer: number;
|
|
34502
35084
|
created_at: string;
|
|
34503
35085
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
35086
|
+
floriday_trade_item_id: string | null;
|
|
34504
35087
|
id: string;
|
|
34505
35088
|
image_url: string | null;
|
|
34506
35089
|
incoming_quantity: number;
|
|
35090
|
+
is_layer: boolean;
|
|
34507
35091
|
layers_per_cart: number;
|
|
34508
35092
|
location: string;
|
|
34509
35093
|
min_quantity: number;
|
|
@@ -34519,14 +35103,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34519
35103
|
weight: string | null;
|
|
34520
35104
|
};
|
|
34521
35105
|
Insert: {
|
|
35106
|
+
article_number?: string | null;
|
|
34522
35107
|
barcode?: string | null;
|
|
34523
35108
|
batch: string;
|
|
34524
35109
|
crates_per_layer?: number;
|
|
34525
35110
|
created_at?: string;
|
|
34526
35111
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
35112
|
+
floriday_trade_item_id?: string | null;
|
|
34527
35113
|
id?: string;
|
|
34528
35114
|
image_url?: string | null;
|
|
34529
35115
|
incoming_quantity?: number;
|
|
35116
|
+
is_layer?: boolean;
|
|
34530
35117
|
layers_per_cart?: number;
|
|
34531
35118
|
location: string;
|
|
34532
35119
|
min_quantity?: number;
|
|
@@ -34542,14 +35129,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34542
35129
|
weight?: string | null;
|
|
34543
35130
|
};
|
|
34544
35131
|
Update: {
|
|
35132
|
+
article_number?: string | null;
|
|
34545
35133
|
barcode?: string | null;
|
|
34546
35134
|
batch?: string;
|
|
34547
35135
|
crates_per_layer?: number;
|
|
34548
35136
|
created_at?: string;
|
|
34549
35137
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
35138
|
+
floriday_trade_item_id?: string | null;
|
|
34550
35139
|
id?: string;
|
|
34551
35140
|
image_url?: string | null;
|
|
34552
35141
|
incoming_quantity?: number;
|
|
35142
|
+
is_layer?: boolean;
|
|
34553
35143
|
layers_per_cart?: number;
|
|
34554
35144
|
location?: string;
|
|
34555
35145
|
min_quantity?: number;
|
|
@@ -34569,6 +35159,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34569
35159
|
profiles: {
|
|
34570
35160
|
Row: {
|
|
34571
35161
|
address: string | null;
|
|
35162
|
+
avatar_url: string | null;
|
|
34572
35163
|
created_at: string;
|
|
34573
35164
|
display_name: string | null;
|
|
34574
35165
|
email: string | null;
|
|
@@ -34580,6 +35171,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34580
35171
|
};
|
|
34581
35172
|
Insert: {
|
|
34582
35173
|
address?: string | null;
|
|
35174
|
+
avatar_url?: string | null;
|
|
34583
35175
|
created_at?: string;
|
|
34584
35176
|
display_name?: string | null;
|
|
34585
35177
|
email?: string | null;
|
|
@@ -34591,6 +35183,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
34591
35183
|
};
|
|
34592
35184
|
Update: {
|
|
34593
35185
|
address?: string | null;
|
|
35186
|
+
avatar_url?: string | null;
|
|
34594
35187
|
created_at?: string;
|
|
34595
35188
|
display_name?: string | null;
|
|
34596
35189
|
email?: string | null;
|
|
@@ -35457,6 +36050,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
35457
36050
|
order_source: string | null;
|
|
35458
36051
|
physical_after: number | null;
|
|
35459
36052
|
physical_before: number | null;
|
|
36053
|
+
production_batch_id: string | null;
|
|
35460
36054
|
qty_delta: number;
|
|
35461
36055
|
reason: string | null;
|
|
35462
36056
|
reserved_after: number | null;
|
|
@@ -35474,6 +36068,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
35474
36068
|
order_source?: string | null;
|
|
35475
36069
|
physical_after?: number | null;
|
|
35476
36070
|
physical_before?: number | null;
|
|
36071
|
+
production_batch_id?: string | null;
|
|
35477
36072
|
qty_delta: number;
|
|
35478
36073
|
reason?: string | null;
|
|
35479
36074
|
reserved_after?: number | null;
|
|
@@ -35491,6 +36086,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
35491
36086
|
order_source?: string | null;
|
|
35492
36087
|
physical_after?: number | null;
|
|
35493
36088
|
physical_before?: number | null;
|
|
36089
|
+
production_batch_id?: string | null;
|
|
35494
36090
|
qty_delta?: number;
|
|
35495
36091
|
reason?: string | null;
|
|
35496
36092
|
reserved_after?: number | null;
|
|
@@ -37919,6 +38515,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
37919
38515
|
processed_items: number;
|
|
37920
38516
|
}[];
|
|
37921
38517
|
};
|
|
38518
|
+
calculate_layer_stock: {
|
|
38519
|
+
Args: {
|
|
38520
|
+
p_product_id: string;
|
|
38521
|
+
};
|
|
38522
|
+
Returns: number;
|
|
38523
|
+
};
|
|
37922
38524
|
call_exact_route: {
|
|
37923
38525
|
Args: {
|
|
37924
38526
|
path: string;
|
|
@@ -37978,6 +38580,28 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
37978
38580
|
Args: never;
|
|
37979
38581
|
Returns: undefined;
|
|
37980
38582
|
};
|
|
38583
|
+
consume_bom_for_production: {
|
|
38584
|
+
Args: {
|
|
38585
|
+
p_connection_id: string;
|
|
38586
|
+
p_parent_id: string;
|
|
38587
|
+
p_parent_key: string;
|
|
38588
|
+
p_parent_kind: string;
|
|
38589
|
+
p_quantity: number;
|
|
38590
|
+
p_user_id: string;
|
|
38591
|
+
};
|
|
38592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38593
|
+
} | {
|
|
38594
|
+
Args: {
|
|
38595
|
+
p_batch_id?: string;
|
|
38596
|
+
p_connection_id: string;
|
|
38597
|
+
p_parent_id: string;
|
|
38598
|
+
p_parent_key: string;
|
|
38599
|
+
p_parent_kind: string;
|
|
38600
|
+
p_quantity: number;
|
|
38601
|
+
p_user_id: string;
|
|
38602
|
+
};
|
|
38603
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38604
|
+
};
|
|
37981
38605
|
consume_floriday_rate_limit: {
|
|
37982
38606
|
Args: {
|
|
37983
38607
|
p_bucket: string;
|
|
@@ -38035,6 +38659,13 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38035
38659
|
table_name: string;
|
|
38036
38660
|
}[];
|
|
38037
38661
|
};
|
|
38662
|
+
delete_samenstelling: {
|
|
38663
|
+
Args: {
|
|
38664
|
+
p_parent_id: string;
|
|
38665
|
+
p_parent_kind: string;
|
|
38666
|
+
};
|
|
38667
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
38668
|
+
};
|
|
38038
38669
|
dispatch_carrier_signups_sql: {
|
|
38039
38670
|
Args: {
|
|
38040
38671
|
_catchup?: string;
|
|
@@ -38290,6 +38921,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38290
38921
|
minutes_since_success: number;
|
|
38291
38922
|
}[];
|
|
38292
38923
|
};
|
|
38924
|
+
get_inventory_stock_for_key: {
|
|
38925
|
+
Args: {
|
|
38926
|
+
p_key: string;
|
|
38927
|
+
};
|
|
38928
|
+
Returns: number;
|
|
38929
|
+
};
|
|
38293
38930
|
get_offer_by_link_code: {
|
|
38294
38931
|
Args: {
|
|
38295
38932
|
p_code: string;
|
|
@@ -38320,6 +38957,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38320
38957
|
};
|
|
38321
38958
|
Returns: string;
|
|
38322
38959
|
};
|
|
38960
|
+
get_product_group_available_stock: {
|
|
38961
|
+
Args: {
|
|
38962
|
+
p_group_id: string;
|
|
38963
|
+
};
|
|
38964
|
+
Returns: number;
|
|
38965
|
+
};
|
|
38323
38966
|
get_room_busy_windows: {
|
|
38324
38967
|
Args: {
|
|
38325
38968
|
p_from: string;
|
|
@@ -38393,9 +39036,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38393
39036
|
list_monteurs: {
|
|
38394
39037
|
Args: never;
|
|
38395
39038
|
Returns: {
|
|
39039
|
+
avatar_url: string;
|
|
38396
39040
|
display_name: string;
|
|
38397
39041
|
email: string;
|
|
38398
|
-
|
|
39042
|
+
id: string;
|
|
38399
39043
|
}[];
|
|
38400
39044
|
};
|
|
38401
39045
|
local_effective_price: {
|
|
@@ -38530,6 +39174,14 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38530
39174
|
};
|
|
38531
39175
|
Returns: undefined;
|
|
38532
39176
|
};
|
|
39177
|
+
produce_designed_product: {
|
|
39178
|
+
Args: {
|
|
39179
|
+
p_parent_id: string;
|
|
39180
|
+
p_parent_kind: string;
|
|
39181
|
+
p_quantity: number;
|
|
39182
|
+
};
|
|
39183
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39184
|
+
};
|
|
38533
39185
|
promote_trade_item_key: {
|
|
38534
39186
|
Args: {
|
|
38535
39187
|
p_new: string;
|
|
@@ -38604,6 +39256,16 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38604
39256
|
};
|
|
38605
39257
|
Returns: number;
|
|
38606
39258
|
};
|
|
39259
|
+
reverse_production: {
|
|
39260
|
+
Args: {
|
|
39261
|
+
p_connection_id?: string;
|
|
39262
|
+
p_parent_key: string;
|
|
39263
|
+
p_quantity: number;
|
|
39264
|
+
p_reason?: string;
|
|
39265
|
+
p_user_id?: string;
|
|
39266
|
+
};
|
|
39267
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
39268
|
+
};
|
|
38607
39269
|
schedule_floriday_additional_services_sync: {
|
|
38608
39270
|
Args: {
|
|
38609
39271
|
p_apikey: string;
|
|
@@ -38888,18 +39550,34 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38888
39550
|
};
|
|
38889
39551
|
Returns: string[];
|
|
38890
39552
|
};
|
|
39553
|
+
sync_all_layer_stocks: {
|
|
39554
|
+
Args: never;
|
|
39555
|
+
Returns: undefined;
|
|
39556
|
+
};
|
|
38891
39557
|
sync_cached_packing_from_product: {
|
|
38892
39558
|
Args: {
|
|
38893
39559
|
p_product_id: string;
|
|
38894
39560
|
};
|
|
38895
39561
|
Returns: undefined;
|
|
38896
39562
|
};
|
|
39563
|
+
sync_layer_stock: {
|
|
39564
|
+
Args: {
|
|
39565
|
+
p_product_id: string;
|
|
39566
|
+
};
|
|
39567
|
+
Returns: undefined;
|
|
39568
|
+
};
|
|
38897
39569
|
sync_order_cart_item_packing_from_product: {
|
|
38898
39570
|
Args: {
|
|
38899
39571
|
p_product_id: string;
|
|
38900
39572
|
};
|
|
38901
39573
|
Returns: undefined;
|
|
38902
39574
|
};
|
|
39575
|
+
sync_product_group_belading: {
|
|
39576
|
+
Args: {
|
|
39577
|
+
_group_id: string;
|
|
39578
|
+
};
|
|
39579
|
+
Returns: undefined;
|
|
39580
|
+
};
|
|
38903
39581
|
sync_product_packing_from_floriday_cache: {
|
|
38904
39582
|
Args: {
|
|
38905
39583
|
p_floriday_id: string;
|
|
@@ -38936,7 +39614,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
|
|
|
38936
39614
|
exact_push_status: "pending" | "sent" | "error";
|
|
38937
39615
|
itk_customer_segment: "Business" | "Private";
|
|
38938
39616
|
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
38939
|
-
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd";
|
|
39617
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
38940
39618
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
38941
39619
|
};
|
|
38942
39620
|
CompositeTypes: { [_ in never]: never; };
|