@flowselections/floriday-verkoop-module 1.0.17 → 1.0.18
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/verkoop/CreateOrderPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CreateOrderPage.js +6 -4
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +6 -0
- package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -0
- package/dist-lib/components/verkoop/EditLocalOrderDialog.js +102 -0
- package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
- package/dist-lib/components/verkoop/OrderKarindelingCard.js +26 -28
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +5 -0
- package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -0
- package/dist-lib/components/verkoop/OrderShipmentsCard.js +137 -0
- package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailPage.js +8 -2
- package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrderDetailView.js +2 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +4 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersTable.js +2 -2
- package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +43 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +381 -150
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +381 -150
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +381 -150
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +397 -154
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +381 -150
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +789 -327
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +38897 -1457
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +792 -52
- package/dist-lib/lib/expand-group-order-items.d.ts +13 -0
- package/dist-lib/lib/expand-group-order-items.d.ts.map +1 -0
- package/dist-lib/lib/expand-group-order-items.js +216 -0
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1174 -481
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +381 -150
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +2701 -1084
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1939 -784
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +47158 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -0
- package/dist-lib/lib/order-shipments.functions.js +178 -0
- package/dist-lib/lib/salesorders-mapping.d.ts +1 -0
- package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +1174 -481
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +381 -150
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.d.ts.map +1 -1
- package/dist-lib/lib/useSalesOrdersQuery.js +39 -2
- package/package.json +2 -2
|
@@ -3407,105 +3407,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3407
3407
|
referencedColumns: ["id"];
|
|
3408
3408
|
}];
|
|
3409
3409
|
};
|
|
3410
|
-
floriday_agreement_calloffs_cache: {
|
|
3411
|
-
Row: {
|
|
3412
|
-
agreement_id: string | null;
|
|
3413
|
-
connection_id: string;
|
|
3414
|
-
data: import("./types").Json;
|
|
3415
|
-
delivery_date: string | null;
|
|
3416
|
-
fetched_at: string;
|
|
3417
|
-
floriday_id: string;
|
|
3418
|
-
id: string;
|
|
3419
|
-
is_deleted: boolean;
|
|
3420
|
-
sequence_number: number;
|
|
3421
|
-
status: string | null;
|
|
3422
|
-
updated_at: string;
|
|
3423
|
-
};
|
|
3424
|
-
Insert: {
|
|
3425
|
-
agreement_id?: string | null;
|
|
3426
|
-
connection_id: string;
|
|
3427
|
-
data?: import("./types").Json;
|
|
3428
|
-
delivery_date?: string | null;
|
|
3429
|
-
fetched_at?: string;
|
|
3430
|
-
floriday_id: string;
|
|
3431
|
-
id?: string;
|
|
3432
|
-
is_deleted?: boolean;
|
|
3433
|
-
sequence_number?: number;
|
|
3434
|
-
status?: string | null;
|
|
3435
|
-
updated_at?: string;
|
|
3436
|
-
};
|
|
3437
|
-
Update: {
|
|
3438
|
-
agreement_id?: string | null;
|
|
3439
|
-
connection_id?: string;
|
|
3440
|
-
data?: import("./types").Json;
|
|
3441
|
-
delivery_date?: string | null;
|
|
3442
|
-
fetched_at?: string;
|
|
3443
|
-
floriday_id?: string;
|
|
3444
|
-
id?: string;
|
|
3445
|
-
is_deleted?: boolean;
|
|
3446
|
-
sequence_number?: number;
|
|
3447
|
-
status?: string | null;
|
|
3448
|
-
updated_at?: string;
|
|
3449
|
-
};
|
|
3450
|
-
Relationships: [{
|
|
3451
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3452
|
-
columns: ["connection_id"];
|
|
3453
|
-
isOneToOne: false;
|
|
3454
|
-
referencedRelation: "floriday_connections";
|
|
3455
|
-
referencedColumns: ["id"];
|
|
3456
|
-
}];
|
|
3457
|
-
};
|
|
3458
|
-
floriday_agreements_cache: {
|
|
3459
|
-
Row: {
|
|
3460
|
-
buyer_organization_id: string | null;
|
|
3461
|
-
connection_id: string;
|
|
3462
|
-
data: import("./types").Json;
|
|
3463
|
-
fetched_at: string;
|
|
3464
|
-
floriday_id: string;
|
|
3465
|
-
id: string;
|
|
3466
|
-
is_deleted: boolean;
|
|
3467
|
-
sequence_number: number;
|
|
3468
|
-
status: string | null;
|
|
3469
|
-
updated_at: string;
|
|
3470
|
-
valid_from: string | null;
|
|
3471
|
-
valid_until: string | null;
|
|
3472
|
-
};
|
|
3473
|
-
Insert: {
|
|
3474
|
-
buyer_organization_id?: string | null;
|
|
3475
|
-
connection_id: string;
|
|
3476
|
-
data?: import("./types").Json;
|
|
3477
|
-
fetched_at?: string;
|
|
3478
|
-
floriday_id: string;
|
|
3479
|
-
id?: string;
|
|
3480
|
-
is_deleted?: boolean;
|
|
3481
|
-
sequence_number?: number;
|
|
3482
|
-
status?: string | null;
|
|
3483
|
-
updated_at?: string;
|
|
3484
|
-
valid_from?: string | null;
|
|
3485
|
-
valid_until?: string | null;
|
|
3486
|
-
};
|
|
3487
|
-
Update: {
|
|
3488
|
-
buyer_organization_id?: string | null;
|
|
3489
|
-
connection_id?: string;
|
|
3490
|
-
data?: import("./types").Json;
|
|
3491
|
-
fetched_at?: string;
|
|
3492
|
-
floriday_id?: string;
|
|
3493
|
-
id?: string;
|
|
3494
|
-
is_deleted?: boolean;
|
|
3495
|
-
sequence_number?: number;
|
|
3496
|
-
status?: string | null;
|
|
3497
|
-
updated_at?: string;
|
|
3498
|
-
valid_from?: string | null;
|
|
3499
|
-
valid_until?: string | null;
|
|
3500
|
-
};
|
|
3501
|
-
Relationships: [{
|
|
3502
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3503
|
-
columns: ["connection_id"];
|
|
3504
|
-
isOneToOne: false;
|
|
3505
|
-
referencedRelation: "floriday_connections";
|
|
3506
|
-
referencedColumns: ["id"];
|
|
3507
|
-
}];
|
|
3508
|
-
};
|
|
3509
3410
|
floriday_auction_letters_cache: {
|
|
3510
3411
|
Row: {
|
|
3511
3412
|
auction_letter_code: string;
|
|
@@ -5003,6 +4904,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5003
4904
|
referencedColumns: ["id"];
|
|
5004
4905
|
}];
|
|
5005
4906
|
};
|
|
4907
|
+
floriday_trade_settings_customers_cache: {
|
|
4908
|
+
Row: {
|
|
4909
|
+
connection_id: string;
|
|
4910
|
+
data: import("./types").Json;
|
|
4911
|
+
fetched_at: string;
|
|
4912
|
+
floriday_id: string;
|
|
4913
|
+
id: string;
|
|
4914
|
+
is_deleted: boolean;
|
|
4915
|
+
sequence_number: number;
|
|
4916
|
+
updated_at: string;
|
|
4917
|
+
};
|
|
4918
|
+
Insert: {
|
|
4919
|
+
connection_id: string;
|
|
4920
|
+
data: import("./types").Json;
|
|
4921
|
+
fetched_at?: string;
|
|
4922
|
+
floriday_id: string;
|
|
4923
|
+
id?: string;
|
|
4924
|
+
is_deleted?: boolean;
|
|
4925
|
+
sequence_number?: number;
|
|
4926
|
+
updated_at?: string;
|
|
4927
|
+
};
|
|
4928
|
+
Update: {
|
|
4929
|
+
connection_id?: string;
|
|
4930
|
+
data?: import("./types").Json;
|
|
4931
|
+
fetched_at?: string;
|
|
4932
|
+
floriday_id?: string;
|
|
4933
|
+
id?: string;
|
|
4934
|
+
is_deleted?: boolean;
|
|
4935
|
+
sequence_number?: number;
|
|
4936
|
+
updated_at?: string;
|
|
4937
|
+
};
|
|
4938
|
+
Relationships: [{
|
|
4939
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4940
|
+
columns: ["connection_id"];
|
|
4941
|
+
isOneToOne: false;
|
|
4942
|
+
referencedRelation: "floriday_connections";
|
|
4943
|
+
referencedColumns: ["id"];
|
|
4944
|
+
}];
|
|
4945
|
+
};
|
|
5006
4946
|
floriday_trips_cache: {
|
|
5007
4947
|
Row: {
|
|
5008
4948
|
carrier_organization_id: string | null;
|
|
@@ -7175,6 +7115,105 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7175
7115
|
};
|
|
7176
7116
|
Relationships: [];
|
|
7177
7117
|
};
|
|
7118
|
+
order_shipment_items: {
|
|
7119
|
+
Row: {
|
|
7120
|
+
created_at: string;
|
|
7121
|
+
id: string;
|
|
7122
|
+
order_item_id: string;
|
|
7123
|
+
product_id: string | null;
|
|
7124
|
+
product_name: string;
|
|
7125
|
+
quantity: number;
|
|
7126
|
+
shipment_id: string;
|
|
7127
|
+
updated_at: string;
|
|
7128
|
+
};
|
|
7129
|
+
Insert: {
|
|
7130
|
+
created_at?: string;
|
|
7131
|
+
id?: string;
|
|
7132
|
+
order_item_id: string;
|
|
7133
|
+
product_id?: string | null;
|
|
7134
|
+
product_name: string;
|
|
7135
|
+
quantity: number;
|
|
7136
|
+
shipment_id: string;
|
|
7137
|
+
updated_at?: string;
|
|
7138
|
+
};
|
|
7139
|
+
Update: {
|
|
7140
|
+
created_at?: string;
|
|
7141
|
+
id?: string;
|
|
7142
|
+
order_item_id?: string;
|
|
7143
|
+
product_id?: string | null;
|
|
7144
|
+
product_name?: string;
|
|
7145
|
+
quantity?: number;
|
|
7146
|
+
shipment_id?: string;
|
|
7147
|
+
updated_at?: string;
|
|
7148
|
+
};
|
|
7149
|
+
Relationships: [{
|
|
7150
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7151
|
+
columns: ["order_item_id"];
|
|
7152
|
+
isOneToOne: false;
|
|
7153
|
+
referencedRelation: "order_items";
|
|
7154
|
+
referencedColumns: ["id"];
|
|
7155
|
+
}, {
|
|
7156
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7157
|
+
columns: ["shipment_id"];
|
|
7158
|
+
isOneToOne: false;
|
|
7159
|
+
referencedRelation: "order_shipments";
|
|
7160
|
+
referencedColumns: ["id"];
|
|
7161
|
+
}];
|
|
7162
|
+
};
|
|
7163
|
+
order_shipments: {
|
|
7164
|
+
Row: {
|
|
7165
|
+
carrier_id: string | null;
|
|
7166
|
+
created_at: string;
|
|
7167
|
+
delivery_date: string | null;
|
|
7168
|
+
delivery_location_id: string | null;
|
|
7169
|
+
id: string;
|
|
7170
|
+
notes: string | null;
|
|
7171
|
+
order_id: string;
|
|
7172
|
+
shipment_number: number;
|
|
7173
|
+
shipped_at: string | null;
|
|
7174
|
+
status: string;
|
|
7175
|
+
updated_at: string;
|
|
7176
|
+
};
|
|
7177
|
+
Insert: {
|
|
7178
|
+
carrier_id?: string | null;
|
|
7179
|
+
created_at?: string;
|
|
7180
|
+
delivery_date?: string | null;
|
|
7181
|
+
delivery_location_id?: string | null;
|
|
7182
|
+
id?: string;
|
|
7183
|
+
notes?: string | null;
|
|
7184
|
+
order_id: string;
|
|
7185
|
+
shipment_number: number;
|
|
7186
|
+
shipped_at?: string | null;
|
|
7187
|
+
status?: string;
|
|
7188
|
+
updated_at?: string;
|
|
7189
|
+
};
|
|
7190
|
+
Update: {
|
|
7191
|
+
carrier_id?: string | null;
|
|
7192
|
+
created_at?: string;
|
|
7193
|
+
delivery_date?: string | null;
|
|
7194
|
+
delivery_location_id?: string | null;
|
|
7195
|
+
id?: string;
|
|
7196
|
+
notes?: string | null;
|
|
7197
|
+
order_id?: string;
|
|
7198
|
+
shipment_number?: number;
|
|
7199
|
+
shipped_at?: string | null;
|
|
7200
|
+
status?: string;
|
|
7201
|
+
updated_at?: string;
|
|
7202
|
+
};
|
|
7203
|
+
Relationships: [{
|
|
7204
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7205
|
+
columns: ["carrier_id"];
|
|
7206
|
+
isOneToOne: false;
|
|
7207
|
+
referencedRelation: "carriers";
|
|
7208
|
+
referencedColumns: ["id"];
|
|
7209
|
+
}, {
|
|
7210
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7211
|
+
columns: ["order_id"];
|
|
7212
|
+
isOneToOne: false;
|
|
7213
|
+
referencedRelation: "orders";
|
|
7214
|
+
referencedColumns: ["id"];
|
|
7215
|
+
}];
|
|
7216
|
+
};
|
|
7178
7217
|
orders: {
|
|
7179
7218
|
Row: {
|
|
7180
7219
|
created_at: string;
|
|
@@ -7182,8 +7221,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7182
7221
|
customer_id: string | null;
|
|
7183
7222
|
customer_name: string;
|
|
7184
7223
|
deleted_at: string | null;
|
|
7185
|
-
delivery_date: string;
|
|
7224
|
+
delivery_date: string | null;
|
|
7186
7225
|
id: string;
|
|
7226
|
+
is_reservation: boolean;
|
|
7187
7227
|
notes: string | null;
|
|
7188
7228
|
order_date: string;
|
|
7189
7229
|
order_number: string;
|
|
@@ -7200,8 +7240,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7200
7240
|
customer_id?: string | null;
|
|
7201
7241
|
customer_name?: string;
|
|
7202
7242
|
deleted_at?: string | null;
|
|
7203
|
-
delivery_date
|
|
7243
|
+
delivery_date?: string | null;
|
|
7204
7244
|
id?: string;
|
|
7245
|
+
is_reservation?: boolean;
|
|
7205
7246
|
notes?: string | null;
|
|
7206
7247
|
order_date?: string;
|
|
7207
7248
|
order_number: string;
|
|
@@ -7218,8 +7259,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7218
7259
|
customer_id?: string | null;
|
|
7219
7260
|
customer_name?: string;
|
|
7220
7261
|
deleted_at?: string | null;
|
|
7221
|
-
delivery_date?: string;
|
|
7262
|
+
delivery_date?: string | null;
|
|
7222
7263
|
id?: string;
|
|
7264
|
+
is_reservation?: boolean;
|
|
7223
7265
|
notes?: string | null;
|
|
7224
7266
|
order_date?: string;
|
|
7225
7267
|
order_number?: string;
|
|
@@ -7361,6 +7403,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7361
7403
|
};
|
|
7362
7404
|
Relationships: [];
|
|
7363
7405
|
};
|
|
7406
|
+
product_bom_items: {
|
|
7407
|
+
Row: {
|
|
7408
|
+
component_product_id: string | null;
|
|
7409
|
+
component_trade_item_floriday_id: string | null;
|
|
7410
|
+
created_at: string;
|
|
7411
|
+
id: string;
|
|
7412
|
+
notes: string | null;
|
|
7413
|
+
parent_product_id: string | null;
|
|
7414
|
+
parent_trade_item_floriday_id: string | null;
|
|
7415
|
+
quantity: number;
|
|
7416
|
+
sort_order: number;
|
|
7417
|
+
tenant_id: string;
|
|
7418
|
+
unit: string;
|
|
7419
|
+
updated_at: string;
|
|
7420
|
+
};
|
|
7421
|
+
Insert: {
|
|
7422
|
+
component_product_id?: string | null;
|
|
7423
|
+
component_trade_item_floriday_id?: string | null;
|
|
7424
|
+
created_at?: string;
|
|
7425
|
+
id?: string;
|
|
7426
|
+
notes?: string | null;
|
|
7427
|
+
parent_product_id?: string | null;
|
|
7428
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7429
|
+
quantity?: number;
|
|
7430
|
+
sort_order?: number;
|
|
7431
|
+
tenant_id: string;
|
|
7432
|
+
unit?: string;
|
|
7433
|
+
updated_at?: string;
|
|
7434
|
+
};
|
|
7435
|
+
Update: {
|
|
7436
|
+
component_product_id?: string | null;
|
|
7437
|
+
component_trade_item_floriday_id?: string | null;
|
|
7438
|
+
created_at?: string;
|
|
7439
|
+
id?: string;
|
|
7440
|
+
notes?: string | null;
|
|
7441
|
+
parent_product_id?: string | null;
|
|
7442
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7443
|
+
quantity?: number;
|
|
7444
|
+
sort_order?: number;
|
|
7445
|
+
tenant_id?: string;
|
|
7446
|
+
unit?: string;
|
|
7447
|
+
updated_at?: string;
|
|
7448
|
+
};
|
|
7449
|
+
Relationships: [{
|
|
7450
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7451
|
+
columns: ["component_product_id"];
|
|
7452
|
+
isOneToOne: false;
|
|
7453
|
+
referencedRelation: "products";
|
|
7454
|
+
referencedColumns: ["id"];
|
|
7455
|
+
}, {
|
|
7456
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7457
|
+
columns: ["parent_product_id"];
|
|
7458
|
+
isOneToOne: false;
|
|
7459
|
+
referencedRelation: "products";
|
|
7460
|
+
referencedColumns: ["id"];
|
|
7461
|
+
}];
|
|
7462
|
+
};
|
|
7364
7463
|
product_categories: {
|
|
7365
7464
|
Row: {
|
|
7366
7465
|
color: string;
|
|
@@ -7466,6 +7565,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7466
7565
|
id: string;
|
|
7467
7566
|
product_group_id: string;
|
|
7468
7567
|
quantity: number;
|
|
7568
|
+
sort_order: number;
|
|
7469
7569
|
trade_item_id: string;
|
|
7470
7570
|
};
|
|
7471
7571
|
Insert: {
|
|
@@ -7473,6 +7573,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7473
7573
|
id?: string;
|
|
7474
7574
|
product_group_id: string;
|
|
7475
7575
|
quantity?: number;
|
|
7576
|
+
sort_order?: number;
|
|
7476
7577
|
trade_item_id: string;
|
|
7477
7578
|
};
|
|
7478
7579
|
Update: {
|
|
@@ -7480,6 +7581,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7480
7581
|
id?: string;
|
|
7481
7582
|
product_group_id?: string;
|
|
7482
7583
|
quantity?: number;
|
|
7584
|
+
sort_order?: number;
|
|
7483
7585
|
trade_item_id?: string;
|
|
7484
7586
|
};
|
|
7485
7587
|
Relationships: [{
|
|
@@ -7494,6 +7596,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7494
7596
|
Row: {
|
|
7495
7597
|
created_at: string;
|
|
7496
7598
|
description: string | null;
|
|
7599
|
+
head_product_id: string | null;
|
|
7600
|
+
head_trade_item_floriday_id: string | null;
|
|
7497
7601
|
id: string;
|
|
7498
7602
|
is_active: boolean;
|
|
7499
7603
|
name: string;
|
|
@@ -7503,6 +7607,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7503
7607
|
Insert: {
|
|
7504
7608
|
created_at?: string;
|
|
7505
7609
|
description?: string | null;
|
|
7610
|
+
head_product_id?: string | null;
|
|
7611
|
+
head_trade_item_floriday_id?: string | null;
|
|
7506
7612
|
id?: string;
|
|
7507
7613
|
is_active?: boolean;
|
|
7508
7614
|
name: string;
|
|
@@ -7512,16 +7618,85 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7512
7618
|
Update: {
|
|
7513
7619
|
created_at?: string;
|
|
7514
7620
|
description?: string | null;
|
|
7621
|
+
head_product_id?: string | null;
|
|
7622
|
+
head_trade_item_floriday_id?: string | null;
|
|
7515
7623
|
id?: string;
|
|
7516
7624
|
is_active?: boolean;
|
|
7517
7625
|
name?: string;
|
|
7518
7626
|
tenant_id?: string;
|
|
7519
7627
|
updated_at?: string;
|
|
7520
7628
|
};
|
|
7521
|
-
Relationships: [
|
|
7629
|
+
Relationships: [{
|
|
7630
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7631
|
+
columns: ["head_product_id"];
|
|
7632
|
+
isOneToOne: false;
|
|
7633
|
+
referencedRelation: "products";
|
|
7634
|
+
referencedColumns: ["id"];
|
|
7635
|
+
}];
|
|
7636
|
+
};
|
|
7637
|
+
product_load_settings: {
|
|
7638
|
+
Row: {
|
|
7639
|
+
created_at: string;
|
|
7640
|
+
id: string;
|
|
7641
|
+
is_package: boolean;
|
|
7642
|
+
layers_per_load_carrier: number | null;
|
|
7643
|
+
load_carrier: string | null;
|
|
7644
|
+
package_id: string | null;
|
|
7645
|
+
package_label: string | null;
|
|
7646
|
+
packages_per_layer: number | null;
|
|
7647
|
+
product_id: string | null;
|
|
7648
|
+
tenant_id: string;
|
|
7649
|
+
trade_item_floriday_id: string | null;
|
|
7650
|
+
units_per_package: number | null;
|
|
7651
|
+
updated_at: string;
|
|
7652
|
+
};
|
|
7653
|
+
Insert: {
|
|
7654
|
+
created_at?: string;
|
|
7655
|
+
id?: string;
|
|
7656
|
+
is_package?: boolean;
|
|
7657
|
+
layers_per_load_carrier?: number | null;
|
|
7658
|
+
load_carrier?: string | null;
|
|
7659
|
+
package_id?: string | null;
|
|
7660
|
+
package_label?: string | null;
|
|
7661
|
+
packages_per_layer?: number | null;
|
|
7662
|
+
product_id?: string | null;
|
|
7663
|
+
tenant_id: string;
|
|
7664
|
+
trade_item_floriday_id?: string | null;
|
|
7665
|
+
units_per_package?: number | null;
|
|
7666
|
+
updated_at?: string;
|
|
7667
|
+
};
|
|
7668
|
+
Update: {
|
|
7669
|
+
created_at?: string;
|
|
7670
|
+
id?: string;
|
|
7671
|
+
is_package?: boolean;
|
|
7672
|
+
layers_per_load_carrier?: number | null;
|
|
7673
|
+
load_carrier?: string | null;
|
|
7674
|
+
package_id?: string | null;
|
|
7675
|
+
package_label?: string | null;
|
|
7676
|
+
packages_per_layer?: number | null;
|
|
7677
|
+
product_id?: string | null;
|
|
7678
|
+
tenant_id?: string;
|
|
7679
|
+
trade_item_floriday_id?: string | null;
|
|
7680
|
+
units_per_package?: number | null;
|
|
7681
|
+
updated_at?: string;
|
|
7682
|
+
};
|
|
7683
|
+
Relationships: [{
|
|
7684
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7685
|
+
columns: ["package_id"];
|
|
7686
|
+
isOneToOne: false;
|
|
7687
|
+
referencedRelation: "packages";
|
|
7688
|
+
referencedColumns: ["id"];
|
|
7689
|
+
}, {
|
|
7690
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7691
|
+
columns: ["product_id"];
|
|
7692
|
+
isOneToOne: false;
|
|
7693
|
+
referencedRelation: "products";
|
|
7694
|
+
referencedColumns: ["id"];
|
|
7695
|
+
}];
|
|
7522
7696
|
};
|
|
7523
7697
|
products: {
|
|
7524
7698
|
Row: {
|
|
7699
|
+
article_number: string | null;
|
|
7525
7700
|
barcode: string | null;
|
|
7526
7701
|
batch: string;
|
|
7527
7702
|
crates_per_layer: number;
|
|
@@ -7545,6 +7720,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7545
7720
|
weight: string | null;
|
|
7546
7721
|
};
|
|
7547
7722
|
Insert: {
|
|
7723
|
+
article_number?: string | null;
|
|
7548
7724
|
barcode?: string | null;
|
|
7549
7725
|
batch: string;
|
|
7550
7726
|
crates_per_layer?: number;
|
|
@@ -7568,6 +7744,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7568
7744
|
weight?: string | null;
|
|
7569
7745
|
};
|
|
7570
7746
|
Update: {
|
|
7747
|
+
article_number?: string | null;
|
|
7571
7748
|
barcode?: string | null;
|
|
7572
7749
|
batch?: string;
|
|
7573
7750
|
crates_per_layer?: number;
|
|
@@ -8481,8 +8658,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8481
8658
|
order_id: string | null;
|
|
8482
8659
|
order_item_id: string | null;
|
|
8483
8660
|
order_source: string | null;
|
|
8661
|
+
parent_trade_item_key: string | null;
|
|
8484
8662
|
physical_after: number | null;
|
|
8485
8663
|
physical_before: number | null;
|
|
8664
|
+
production_batch_id: string | null;
|
|
8486
8665
|
qty_delta: number;
|
|
8487
8666
|
reason: string | null;
|
|
8488
8667
|
reserved_after: number | null;
|
|
@@ -8498,8 +8677,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8498
8677
|
order_id?: string | null;
|
|
8499
8678
|
order_item_id?: string | null;
|
|
8500
8679
|
order_source?: string | null;
|
|
8680
|
+
parent_trade_item_key?: string | null;
|
|
8501
8681
|
physical_after?: number | null;
|
|
8502
8682
|
physical_before?: number | null;
|
|
8683
|
+
production_batch_id?: string | null;
|
|
8503
8684
|
qty_delta: number;
|
|
8504
8685
|
reason?: string | null;
|
|
8505
8686
|
reserved_after?: number | null;
|
|
@@ -8515,8 +8696,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8515
8696
|
order_id?: string | null;
|
|
8516
8697
|
order_item_id?: string | null;
|
|
8517
8698
|
order_source?: string | null;
|
|
8699
|
+
parent_trade_item_key?: string | null;
|
|
8518
8700
|
physical_after?: number | null;
|
|
8519
8701
|
physical_before?: number | null;
|
|
8702
|
+
production_batch_id?: string | null;
|
|
8520
8703
|
qty_delta?: number;
|
|
8521
8704
|
reason?: string | null;
|
|
8522
8705
|
reserved_after?: number | null;
|
|
@@ -8975,7 +9158,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8975
9158
|
twinfield_connections: {
|
|
8976
9159
|
Row: {
|
|
8977
9160
|
access_token: string | null;
|
|
8978
|
-
client_id: string;
|
|
9161
|
+
client_id: string | null;
|
|
8979
9162
|
client_secret: string | null;
|
|
8980
9163
|
cluster_uri: string | null;
|
|
8981
9164
|
company_code: string | null;
|
|
@@ -8987,7 +9170,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8987
9170
|
is_active: boolean;
|
|
8988
9171
|
label: string | null;
|
|
8989
9172
|
office_code: string | null;
|
|
8990
|
-
redirect_uri: string;
|
|
9173
|
+
redirect_uri: string | null;
|
|
8991
9174
|
refresh_token: string | null;
|
|
8992
9175
|
token_expires_at: string | null;
|
|
8993
9176
|
updated_at: string;
|
|
@@ -8995,7 +9178,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8995
9178
|
};
|
|
8996
9179
|
Insert: {
|
|
8997
9180
|
access_token?: string | null;
|
|
8998
|
-
client_id
|
|
9181
|
+
client_id?: string | null;
|
|
8999
9182
|
client_secret?: string | null;
|
|
9000
9183
|
cluster_uri?: string | null;
|
|
9001
9184
|
company_code?: string | null;
|
|
@@ -9007,7 +9190,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9007
9190
|
is_active?: boolean;
|
|
9008
9191
|
label?: string | null;
|
|
9009
9192
|
office_code?: string | null;
|
|
9010
|
-
redirect_uri
|
|
9193
|
+
redirect_uri?: string | null;
|
|
9011
9194
|
refresh_token?: string | null;
|
|
9012
9195
|
token_expires_at?: string | null;
|
|
9013
9196
|
updated_at?: string;
|
|
@@ -9015,7 +9198,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9015
9198
|
};
|
|
9016
9199
|
Update: {
|
|
9017
9200
|
access_token?: string | null;
|
|
9018
|
-
client_id?: string;
|
|
9201
|
+
client_id?: string | null;
|
|
9019
9202
|
client_secret?: string | null;
|
|
9020
9203
|
cluster_uri?: string | null;
|
|
9021
9204
|
company_code?: string | null;
|
|
@@ -9027,7 +9210,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9027
9210
|
is_active?: boolean;
|
|
9028
9211
|
label?: string | null;
|
|
9029
9212
|
office_code?: string | null;
|
|
9030
|
-
redirect_uri?: string;
|
|
9213
|
+
redirect_uri?: string | null;
|
|
9031
9214
|
refresh_token?: string | null;
|
|
9032
9215
|
token_expires_at?: string | null;
|
|
9033
9216
|
updated_at?: string;
|
|
@@ -10222,25 +10405,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10222
10405
|
};
|
|
10223
10406
|
Relationships: [];
|
|
10224
10407
|
};
|
|
10225
|
-
floriday_customer_discounts: {
|
|
10226
|
-
Row: {
|
|
10227
|
-
base_price: number | null;
|
|
10228
|
-
buyer_organization_id: string | null;
|
|
10229
|
-
currency: string | null;
|
|
10230
|
-
discount_type: string | null;
|
|
10231
|
-
discount_value: number | null;
|
|
10232
|
-
min_quantity: number | null;
|
|
10233
|
-
net_price: number | null;
|
|
10234
|
-
product_group_id: string | null;
|
|
10235
|
-
raw: import("./types").Json | null;
|
|
10236
|
-
source: string | null;
|
|
10237
|
-
source_id: string | null;
|
|
10238
|
-
trade_item_id: string | null;
|
|
10239
|
-
valid_from: string | null;
|
|
10240
|
-
valid_until: string | null;
|
|
10241
|
-
};
|
|
10242
|
-
Relationships: [];
|
|
10243
|
-
};
|
|
10244
10408
|
local_customer_discounts: {
|
|
10245
10409
|
Row: {
|
|
10246
10410
|
base_price: number | null;
|
|
@@ -10659,6 +10823,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10659
10823
|
Args: never;
|
|
10660
10824
|
Returns: undefined;
|
|
10661
10825
|
};
|
|
10826
|
+
consume_bom_for_production: {
|
|
10827
|
+
Args: {
|
|
10828
|
+
p_connection_id: string;
|
|
10829
|
+
p_parent_id: string;
|
|
10830
|
+
p_parent_key: string;
|
|
10831
|
+
p_parent_kind: string;
|
|
10832
|
+
p_quantity: number;
|
|
10833
|
+
p_user_id: string;
|
|
10834
|
+
};
|
|
10835
|
+
Returns: import("./types").Json;
|
|
10836
|
+
} | {
|
|
10837
|
+
Args: {
|
|
10838
|
+
p_batch_id?: string;
|
|
10839
|
+
p_connection_id: string;
|
|
10840
|
+
p_parent_id: string;
|
|
10841
|
+
p_parent_key: string;
|
|
10842
|
+
p_parent_kind: string;
|
|
10843
|
+
p_quantity: number;
|
|
10844
|
+
p_user_id: string;
|
|
10845
|
+
};
|
|
10846
|
+
Returns: import("./types").Json;
|
|
10847
|
+
};
|
|
10662
10848
|
consume_floriday_rate_limit: {
|
|
10663
10849
|
Args: {
|
|
10664
10850
|
p_bucket: string;
|
|
@@ -10710,6 +10896,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10710
10896
|
table_name: string;
|
|
10711
10897
|
}[];
|
|
10712
10898
|
};
|
|
10899
|
+
delete_samenstelling: {
|
|
10900
|
+
Args: {
|
|
10901
|
+
p_parent_id: string;
|
|
10902
|
+
p_parent_kind: string;
|
|
10903
|
+
};
|
|
10904
|
+
Returns: import("./types").Json;
|
|
10905
|
+
};
|
|
10713
10906
|
dispatch_carrier_signups_sql: {
|
|
10714
10907
|
Args: {
|
|
10715
10908
|
_catchup?: string;
|
|
@@ -10870,19 +11063,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10870
11063
|
resource: string;
|
|
10871
11064
|
}[];
|
|
10872
11065
|
};
|
|
10873
|
-
get_floriday_agreements_active: {
|
|
10874
|
-
Args: {
|
|
10875
|
-
p_on_date?: string;
|
|
10876
|
-
};
|
|
10877
|
-
Returns: {
|
|
10878
|
-
buyer_organization_id: string;
|
|
10879
|
-
data: import("./types").Json;
|
|
10880
|
-
floriday_id: string;
|
|
10881
|
-
status: string;
|
|
10882
|
-
valid_from: string;
|
|
10883
|
-
valid_until: string;
|
|
10884
|
-
}[];
|
|
10885
|
-
};
|
|
10886
11066
|
get_floriday_clock_supplies_window: {
|
|
10887
11067
|
Args: {
|
|
10888
11068
|
p_from: string;
|
|
@@ -10955,6 +11135,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10955
11135
|
minutes_since_success: number;
|
|
10956
11136
|
}[];
|
|
10957
11137
|
};
|
|
11138
|
+
get_group_allocation_keys: {
|
|
11139
|
+
Args: {
|
|
11140
|
+
p_product_id: string;
|
|
11141
|
+
};
|
|
11142
|
+
Returns: {
|
|
11143
|
+
k: string;
|
|
11144
|
+
ord: number;
|
|
11145
|
+
}[];
|
|
11146
|
+
};
|
|
11147
|
+
get_group_head_key: {
|
|
11148
|
+
Args: {
|
|
11149
|
+
p_group_id: string;
|
|
11150
|
+
};
|
|
11151
|
+
Returns: string;
|
|
11152
|
+
};
|
|
10958
11153
|
get_offer_by_link_code: {
|
|
10959
11154
|
Args: {
|
|
10960
11155
|
p_code: string;
|
|
@@ -11065,6 +11260,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11065
11260
|
};
|
|
11066
11261
|
Returns: undefined;
|
|
11067
11262
|
};
|
|
11263
|
+
mark_shipment_shipped: {
|
|
11264
|
+
Args: {
|
|
11265
|
+
p_shipment_id: string;
|
|
11266
|
+
};
|
|
11267
|
+
Returns: undefined;
|
|
11268
|
+
};
|
|
11068
11269
|
next_manufacture_partij: {
|
|
11069
11270
|
Args: {
|
|
11070
11271
|
_tenant_id: string;
|
|
@@ -11149,6 +11350,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11149
11350
|
};
|
|
11150
11351
|
Returns: undefined;
|
|
11151
11352
|
};
|
|
11353
|
+
produce_designed_product: {
|
|
11354
|
+
Args: {
|
|
11355
|
+
p_parent_id: string;
|
|
11356
|
+
p_parent_kind: string;
|
|
11357
|
+
p_quantity: number;
|
|
11358
|
+
};
|
|
11359
|
+
Returns: import("./types").Json;
|
|
11360
|
+
};
|
|
11152
11361
|
promote_trade_item_key: {
|
|
11153
11362
|
Args: {
|
|
11154
11363
|
p_new: string;
|
|
@@ -11156,6 +11365,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11156
11365
|
};
|
|
11157
11366
|
Returns: undefined;
|
|
11158
11367
|
};
|
|
11368
|
+
recompute_all_reserved_stock: {
|
|
11369
|
+
Args: never;
|
|
11370
|
+
Returns: undefined;
|
|
11371
|
+
};
|
|
11159
11372
|
recompute_order_status: {
|
|
11160
11373
|
Args: {
|
|
11161
11374
|
p_order_id: string;
|
|
@@ -11205,27 +11418,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11205
11418
|
};
|
|
11206
11419
|
Returns: undefined;
|
|
11207
11420
|
};
|
|
11421
|
+
resolve_group_allocation: {
|
|
11422
|
+
Args: {
|
|
11423
|
+
_needed: number;
|
|
11424
|
+
_product_group_id: string;
|
|
11425
|
+
};
|
|
11426
|
+
Returns: {
|
|
11427
|
+
allocated: number;
|
|
11428
|
+
trade_item_id: string;
|
|
11429
|
+
}[];
|
|
11430
|
+
};
|
|
11431
|
+
resolve_group_member_stock_key: {
|
|
11432
|
+
Args: {
|
|
11433
|
+
p_trade_item_id: string;
|
|
11434
|
+
};
|
|
11435
|
+
Returns: string;
|
|
11436
|
+
};
|
|
11208
11437
|
resolve_product_id_for_item: {
|
|
11209
11438
|
Args: {
|
|
11210
11439
|
p_product_name: string;
|
|
11211
11440
|
};
|
|
11212
11441
|
Returns: string;
|
|
11213
11442
|
};
|
|
11214
|
-
|
|
11443
|
+
resolve_stock_trade_item_key: {
|
|
11215
11444
|
Args: {
|
|
11216
|
-
|
|
11217
|
-
p_url: string;
|
|
11445
|
+
p_product_id: string;
|
|
11218
11446
|
};
|
|
11219
|
-
Returns:
|
|
11447
|
+
Returns: string;
|
|
11220
11448
|
};
|
|
11221
|
-
|
|
11449
|
+
reverse_production: {
|
|
11222
11450
|
Args: {
|
|
11223
|
-
|
|
11224
|
-
|
|
11451
|
+
p_connection_id?: string;
|
|
11452
|
+
p_parent_key: string;
|
|
11453
|
+
p_quantity: number;
|
|
11454
|
+
p_reason?: string;
|
|
11455
|
+
p_user_id?: string;
|
|
11225
11456
|
};
|
|
11226
|
-
Returns:
|
|
11457
|
+
Returns: import("./types").Json;
|
|
11227
11458
|
};
|
|
11228
|
-
|
|
11459
|
+
schedule_floriday_additional_services_sync: {
|
|
11229
11460
|
Args: {
|
|
11230
11461
|
p_apikey: string;
|
|
11231
11462
|
p_url: string;
|