@flowselections/floriday-voorraad 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/voorraad/ArtikelCompositionCard.d.ts +7 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.js +196 -0
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +2 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +259 -26
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +28 -85
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +4 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.js +8 -0
- package/dist-lib/components/voorraad/StockBulkButtons.js +7 -6
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +5 -0
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +26 -56
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +4 -0
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +14 -6
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +11 -0
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +5 -12
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts +13 -0
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts.map +1 -0
- package/dist-lib/hooks/useFloridayContinuousStock.js +109 -0
- package/dist-lib/hooks/useFlorydayCustomers.d.ts +11 -4
- package/dist-lib/hooks/useFlorydayCustomers.d.ts.map +1 -1
- package/dist-lib/hooks/useFlorydayCustomers.js +85 -38
- package/dist-lib/hooks/useLocalTradeItems.d.ts +26 -2
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +119 -79
- package/dist-lib/hooks/useVoorraadData.d.ts +5 -5
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +127 -50
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +662 -168
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +678 -163
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +662 -168
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.d.ts +29 -12
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.js +36 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +662 -168
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +3220 -750
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +3 -0
- package/dist-lib/lib/floriday-payload.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.js +32 -8
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1932 -450
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1333 -345
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/merge-products.d.ts +8 -0
- package/dist-lib/lib/merge-products.d.ts.map +1 -0
- package/dist-lib/lib/merge-products.js +17 -0
- package/package.json +3 -3
|
@@ -251,6 +251,165 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
251
251
|
};
|
|
252
252
|
Relationships: [];
|
|
253
253
|
};
|
|
254
|
+
ai_credentials: {
|
|
255
|
+
Row: {
|
|
256
|
+
active: boolean;
|
|
257
|
+
api_key: string;
|
|
258
|
+
created_at: string;
|
|
259
|
+
created_by: string | null;
|
|
260
|
+
id: string;
|
|
261
|
+
label: string;
|
|
262
|
+
provider_id: string;
|
|
263
|
+
updated_at: string;
|
|
264
|
+
};
|
|
265
|
+
Insert: {
|
|
266
|
+
active?: boolean;
|
|
267
|
+
api_key: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
created_by?: string | null;
|
|
270
|
+
id?: string;
|
|
271
|
+
label: string;
|
|
272
|
+
provider_id: string;
|
|
273
|
+
updated_at?: string;
|
|
274
|
+
};
|
|
275
|
+
Update: {
|
|
276
|
+
active?: boolean;
|
|
277
|
+
api_key?: string;
|
|
278
|
+
created_at?: string;
|
|
279
|
+
created_by?: string | null;
|
|
280
|
+
id?: string;
|
|
281
|
+
label?: string;
|
|
282
|
+
provider_id?: string;
|
|
283
|
+
updated_at?: string;
|
|
284
|
+
};
|
|
285
|
+
Relationships: [{
|
|
286
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
287
|
+
columns: ["provider_id"];
|
|
288
|
+
isOneToOne: false;
|
|
289
|
+
referencedRelation: "ai_providers";
|
|
290
|
+
referencedColumns: ["id"];
|
|
291
|
+
}];
|
|
292
|
+
};
|
|
293
|
+
ai_models: {
|
|
294
|
+
Row: {
|
|
295
|
+
active: boolean;
|
|
296
|
+
context_window: number | null;
|
|
297
|
+
created_at: string;
|
|
298
|
+
display_name: string;
|
|
299
|
+
id: string;
|
|
300
|
+
is_default: boolean;
|
|
301
|
+
modality: string;
|
|
302
|
+
provider_id: string;
|
|
303
|
+
slug: string;
|
|
304
|
+
updated_at: string;
|
|
305
|
+
};
|
|
306
|
+
Insert: {
|
|
307
|
+
active?: boolean;
|
|
308
|
+
context_window?: number | null;
|
|
309
|
+
created_at?: string;
|
|
310
|
+
display_name: string;
|
|
311
|
+
id?: string;
|
|
312
|
+
is_default?: boolean;
|
|
313
|
+
modality?: string;
|
|
314
|
+
provider_id: string;
|
|
315
|
+
slug: string;
|
|
316
|
+
updated_at?: string;
|
|
317
|
+
};
|
|
318
|
+
Update: {
|
|
319
|
+
active?: boolean;
|
|
320
|
+
context_window?: number | null;
|
|
321
|
+
created_at?: string;
|
|
322
|
+
display_name?: string;
|
|
323
|
+
id?: string;
|
|
324
|
+
is_default?: boolean;
|
|
325
|
+
modality?: string;
|
|
326
|
+
provider_id?: string;
|
|
327
|
+
slug?: string;
|
|
328
|
+
updated_at?: string;
|
|
329
|
+
};
|
|
330
|
+
Relationships: [{
|
|
331
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
332
|
+
columns: ["provider_id"];
|
|
333
|
+
isOneToOne: false;
|
|
334
|
+
referencedRelation: "ai_providers";
|
|
335
|
+
referencedColumns: ["id"];
|
|
336
|
+
}];
|
|
337
|
+
};
|
|
338
|
+
ai_module_bindings: {
|
|
339
|
+
Row: {
|
|
340
|
+
consumer_module_id: string;
|
|
341
|
+
created_at: string;
|
|
342
|
+
credential_id: string;
|
|
343
|
+
id: string;
|
|
344
|
+
model_id: string;
|
|
345
|
+
notes: string | null;
|
|
346
|
+
updated_at: string;
|
|
347
|
+
};
|
|
348
|
+
Insert: {
|
|
349
|
+
consumer_module_id: string;
|
|
350
|
+
created_at?: string;
|
|
351
|
+
credential_id: string;
|
|
352
|
+
id?: string;
|
|
353
|
+
model_id: string;
|
|
354
|
+
notes?: string | null;
|
|
355
|
+
updated_at?: string;
|
|
356
|
+
};
|
|
357
|
+
Update: {
|
|
358
|
+
consumer_module_id?: string;
|
|
359
|
+
created_at?: string;
|
|
360
|
+
credential_id?: string;
|
|
361
|
+
id?: string;
|
|
362
|
+
model_id?: string;
|
|
363
|
+
notes?: string | null;
|
|
364
|
+
updated_at?: string;
|
|
365
|
+
};
|
|
366
|
+
Relationships: [{
|
|
367
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
368
|
+
columns: ["credential_id"];
|
|
369
|
+
isOneToOne: false;
|
|
370
|
+
referencedRelation: "ai_credentials";
|
|
371
|
+
referencedColumns: ["id"];
|
|
372
|
+
}, {
|
|
373
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
374
|
+
columns: ["model_id"];
|
|
375
|
+
isOneToOne: false;
|
|
376
|
+
referencedRelation: "ai_models";
|
|
377
|
+
referencedColumns: ["id"];
|
|
378
|
+
}];
|
|
379
|
+
};
|
|
380
|
+
ai_providers: {
|
|
381
|
+
Row: {
|
|
382
|
+
active: boolean;
|
|
383
|
+
auth_type: string;
|
|
384
|
+
base_url: string | null;
|
|
385
|
+
created_at: string;
|
|
386
|
+
id: string;
|
|
387
|
+
name: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
updated_at: string;
|
|
390
|
+
};
|
|
391
|
+
Insert: {
|
|
392
|
+
active?: boolean;
|
|
393
|
+
auth_type?: string;
|
|
394
|
+
base_url?: string | null;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
id?: string;
|
|
397
|
+
name: string;
|
|
398
|
+
slug: string;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
};
|
|
401
|
+
Update: {
|
|
402
|
+
active?: boolean;
|
|
403
|
+
auth_type?: string;
|
|
404
|
+
base_url?: string | null;
|
|
405
|
+
created_at?: string;
|
|
406
|
+
id?: string;
|
|
407
|
+
name?: string;
|
|
408
|
+
slug?: string;
|
|
409
|
+
updated_at?: string;
|
|
410
|
+
};
|
|
411
|
+
Relationships: [];
|
|
412
|
+
};
|
|
254
413
|
app_settings: {
|
|
255
414
|
Row: {
|
|
256
415
|
created_at: string;
|
|
@@ -3257,105 +3416,6 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
3257
3416
|
referencedColumns: ["id"];
|
|
3258
3417
|
}];
|
|
3259
3418
|
};
|
|
3260
|
-
floriday_agreement_calloffs_cache: {
|
|
3261
|
-
Row: {
|
|
3262
|
-
agreement_id: string | null;
|
|
3263
|
-
connection_id: string;
|
|
3264
|
-
data: import("../integrations/supabase/types").Json;
|
|
3265
|
-
delivery_date: string | null;
|
|
3266
|
-
fetched_at: string;
|
|
3267
|
-
floriday_id: string;
|
|
3268
|
-
id: string;
|
|
3269
|
-
is_deleted: boolean;
|
|
3270
|
-
sequence_number: number;
|
|
3271
|
-
status: string | null;
|
|
3272
|
-
updated_at: string;
|
|
3273
|
-
};
|
|
3274
|
-
Insert: {
|
|
3275
|
-
agreement_id?: string | null;
|
|
3276
|
-
connection_id: string;
|
|
3277
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3278
|
-
delivery_date?: string | null;
|
|
3279
|
-
fetched_at?: string;
|
|
3280
|
-
floriday_id: string;
|
|
3281
|
-
id?: string;
|
|
3282
|
-
is_deleted?: boolean;
|
|
3283
|
-
sequence_number?: number;
|
|
3284
|
-
status?: string | null;
|
|
3285
|
-
updated_at?: string;
|
|
3286
|
-
};
|
|
3287
|
-
Update: {
|
|
3288
|
-
agreement_id?: string | null;
|
|
3289
|
-
connection_id?: string;
|
|
3290
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3291
|
-
delivery_date?: string | null;
|
|
3292
|
-
fetched_at?: string;
|
|
3293
|
-
floriday_id?: string;
|
|
3294
|
-
id?: string;
|
|
3295
|
-
is_deleted?: boolean;
|
|
3296
|
-
sequence_number?: number;
|
|
3297
|
-
status?: string | null;
|
|
3298
|
-
updated_at?: string;
|
|
3299
|
-
};
|
|
3300
|
-
Relationships: [{
|
|
3301
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3302
|
-
columns: ["connection_id"];
|
|
3303
|
-
isOneToOne: false;
|
|
3304
|
-
referencedRelation: "floriday_connections";
|
|
3305
|
-
referencedColumns: ["id"];
|
|
3306
|
-
}];
|
|
3307
|
-
};
|
|
3308
|
-
floriday_agreements_cache: {
|
|
3309
|
-
Row: {
|
|
3310
|
-
buyer_organization_id: string | null;
|
|
3311
|
-
connection_id: string;
|
|
3312
|
-
data: import("../integrations/supabase/types").Json;
|
|
3313
|
-
fetched_at: string;
|
|
3314
|
-
floriday_id: string;
|
|
3315
|
-
id: string;
|
|
3316
|
-
is_deleted: boolean;
|
|
3317
|
-
sequence_number: number;
|
|
3318
|
-
status: string | null;
|
|
3319
|
-
updated_at: string;
|
|
3320
|
-
valid_from: string | null;
|
|
3321
|
-
valid_until: string | null;
|
|
3322
|
-
};
|
|
3323
|
-
Insert: {
|
|
3324
|
-
buyer_organization_id?: string | null;
|
|
3325
|
-
connection_id: string;
|
|
3326
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3327
|
-
fetched_at?: string;
|
|
3328
|
-
floriday_id: string;
|
|
3329
|
-
id?: string;
|
|
3330
|
-
is_deleted?: boolean;
|
|
3331
|
-
sequence_number?: number;
|
|
3332
|
-
status?: string | null;
|
|
3333
|
-
updated_at?: string;
|
|
3334
|
-
valid_from?: string | null;
|
|
3335
|
-
valid_until?: string | null;
|
|
3336
|
-
};
|
|
3337
|
-
Update: {
|
|
3338
|
-
buyer_organization_id?: string | null;
|
|
3339
|
-
connection_id?: string;
|
|
3340
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3341
|
-
fetched_at?: string;
|
|
3342
|
-
floriday_id?: string;
|
|
3343
|
-
id?: string;
|
|
3344
|
-
is_deleted?: boolean;
|
|
3345
|
-
sequence_number?: number;
|
|
3346
|
-
status?: string | null;
|
|
3347
|
-
updated_at?: string;
|
|
3348
|
-
valid_from?: string | null;
|
|
3349
|
-
valid_until?: string | null;
|
|
3350
|
-
};
|
|
3351
|
-
Relationships: [{
|
|
3352
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3353
|
-
columns: ["connection_id"];
|
|
3354
|
-
isOneToOne: false;
|
|
3355
|
-
referencedRelation: "floriday_connections";
|
|
3356
|
-
referencedColumns: ["id"];
|
|
3357
|
-
}];
|
|
3358
|
-
};
|
|
3359
3419
|
floriday_auction_letters_cache: {
|
|
3360
3420
|
Row: {
|
|
3361
3421
|
auction_letter_code: string;
|
|
@@ -3854,6 +3914,27 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
3854
3914
|
referencedColumns: ["id"];
|
|
3855
3915
|
}];
|
|
3856
3916
|
};
|
|
3917
|
+
floriday_continuous_stock_cache: {
|
|
3918
|
+
Row: {
|
|
3919
|
+
connection_id: string;
|
|
3920
|
+
fetched_at: string;
|
|
3921
|
+
number_of_pieces: number;
|
|
3922
|
+
trade_item_id: string;
|
|
3923
|
+
};
|
|
3924
|
+
Insert: {
|
|
3925
|
+
connection_id: string;
|
|
3926
|
+
fetched_at?: string;
|
|
3927
|
+
number_of_pieces?: number;
|
|
3928
|
+
trade_item_id: string;
|
|
3929
|
+
};
|
|
3930
|
+
Update: {
|
|
3931
|
+
connection_id?: string;
|
|
3932
|
+
fetched_at?: string;
|
|
3933
|
+
number_of_pieces?: number;
|
|
3934
|
+
trade_item_id?: string;
|
|
3935
|
+
};
|
|
3936
|
+
Relationships: [];
|
|
3937
|
+
};
|
|
3857
3938
|
floriday_continuous_stock_queue: {
|
|
3858
3939
|
Row: {
|
|
3859
3940
|
attempts: number;
|
|
@@ -4832,9 +4913,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
4832
4913
|
referencedColumns: ["id"];
|
|
4833
4914
|
}];
|
|
4834
4915
|
};
|
|
4835
|
-
|
|
4916
|
+
floriday_trade_settings_customers_cache: {
|
|
4836
4917
|
Row: {
|
|
4837
|
-
carrier_organization_id: string | null;
|
|
4838
4918
|
connection_id: string;
|
|
4839
4919
|
data: import("../integrations/supabase/types").Json;
|
|
4840
4920
|
fetched_at: string;
|
|
@@ -4842,25 +4922,19 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
4842
4922
|
id: string;
|
|
4843
4923
|
is_deleted: boolean;
|
|
4844
4924
|
sequence_number: number;
|
|
4845
|
-
status: string | null;
|
|
4846
|
-
trip_date: string | null;
|
|
4847
4925
|
updated_at: string;
|
|
4848
4926
|
};
|
|
4849
4927
|
Insert: {
|
|
4850
|
-
carrier_organization_id?: string | null;
|
|
4851
4928
|
connection_id: string;
|
|
4852
|
-
data
|
|
4929
|
+
data: import("../integrations/supabase/types").Json;
|
|
4853
4930
|
fetched_at?: string;
|
|
4854
4931
|
floriday_id: string;
|
|
4855
4932
|
id?: string;
|
|
4856
4933
|
is_deleted?: boolean;
|
|
4857
4934
|
sequence_number?: number;
|
|
4858
|
-
status?: string | null;
|
|
4859
|
-
trip_date?: string | null;
|
|
4860
4935
|
updated_at?: string;
|
|
4861
4936
|
};
|
|
4862
4937
|
Update: {
|
|
4863
|
-
carrier_organization_id?: string | null;
|
|
4864
4938
|
connection_id?: string;
|
|
4865
4939
|
data?: import("../integrations/supabase/types").Json;
|
|
4866
4940
|
fetched_at?: string;
|
|
@@ -4868,31 +4942,77 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
4868
4942
|
id?: string;
|
|
4869
4943
|
is_deleted?: boolean;
|
|
4870
4944
|
sequence_number?: number;
|
|
4871
|
-
status?: string | null;
|
|
4872
|
-
trip_date?: string | null;
|
|
4873
4945
|
updated_at?: string;
|
|
4874
4946
|
};
|
|
4875
4947
|
Relationships: [{
|
|
4876
|
-
foreignKeyName: "
|
|
4948
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4877
4949
|
columns: ["connection_id"];
|
|
4878
4950
|
isOneToOne: false;
|
|
4879
4951
|
referencedRelation: "floriday_connections";
|
|
4880
4952
|
referencedColumns: ["id"];
|
|
4881
4953
|
}];
|
|
4882
4954
|
};
|
|
4883
|
-
|
|
4955
|
+
floriday_trips_cache: {
|
|
4884
4956
|
Row: {
|
|
4957
|
+
carrier_organization_id: string | null;
|
|
4885
4958
|
connection_id: string;
|
|
4886
4959
|
data: import("../integrations/supabase/types").Json;
|
|
4887
4960
|
fetched_at: string;
|
|
4888
4961
|
floriday_id: string;
|
|
4889
|
-
gln_code: string | null;
|
|
4890
4962
|
id: string;
|
|
4891
|
-
is_default: boolean;
|
|
4892
4963
|
is_deleted: boolean;
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4964
|
+
sequence_number: number;
|
|
4965
|
+
status: string | null;
|
|
4966
|
+
trip_date: string | null;
|
|
4967
|
+
updated_at: string;
|
|
4968
|
+
};
|
|
4969
|
+
Insert: {
|
|
4970
|
+
carrier_organization_id?: string | null;
|
|
4971
|
+
connection_id: string;
|
|
4972
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4973
|
+
fetched_at?: string;
|
|
4974
|
+
floriday_id: string;
|
|
4975
|
+
id?: string;
|
|
4976
|
+
is_deleted?: boolean;
|
|
4977
|
+
sequence_number?: number;
|
|
4978
|
+
status?: string | null;
|
|
4979
|
+
trip_date?: string | null;
|
|
4980
|
+
updated_at?: string;
|
|
4981
|
+
};
|
|
4982
|
+
Update: {
|
|
4983
|
+
carrier_organization_id?: string | null;
|
|
4984
|
+
connection_id?: string;
|
|
4985
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4986
|
+
fetched_at?: string;
|
|
4987
|
+
floriday_id?: string;
|
|
4988
|
+
id?: string;
|
|
4989
|
+
is_deleted?: boolean;
|
|
4990
|
+
sequence_number?: number;
|
|
4991
|
+
status?: string | null;
|
|
4992
|
+
trip_date?: string | null;
|
|
4993
|
+
updated_at?: string;
|
|
4994
|
+
};
|
|
4995
|
+
Relationships: [{
|
|
4996
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4997
|
+
columns: ["connection_id"];
|
|
4998
|
+
isOneToOne: false;
|
|
4999
|
+
referencedRelation: "floriday_connections";
|
|
5000
|
+
referencedColumns: ["id"];
|
|
5001
|
+
}];
|
|
5002
|
+
};
|
|
5003
|
+
floriday_warehouses_cache: {
|
|
5004
|
+
Row: {
|
|
5005
|
+
connection_id: string;
|
|
5006
|
+
data: import("../integrations/supabase/types").Json;
|
|
5007
|
+
fetched_at: string;
|
|
5008
|
+
floriday_id: string;
|
|
5009
|
+
gln_code: string | null;
|
|
5010
|
+
id: string;
|
|
5011
|
+
is_default: boolean;
|
|
5012
|
+
is_deleted: boolean;
|
|
5013
|
+
name: string | null;
|
|
5014
|
+
updated_at: string;
|
|
5015
|
+
};
|
|
4896
5016
|
Insert: {
|
|
4897
5017
|
connection_id: string;
|
|
4898
5018
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -5977,39 +6097,60 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
5977
6097
|
};
|
|
5978
6098
|
manufacture_products: {
|
|
5979
6099
|
Row: {
|
|
6100
|
+
aantal_te_produceren: number;
|
|
5980
6101
|
created_at: string;
|
|
5981
6102
|
description: string | null;
|
|
5982
6103
|
id: string;
|
|
5983
6104
|
is_active: boolean;
|
|
6105
|
+
location_id: string | null;
|
|
5984
6106
|
name: string;
|
|
6107
|
+
partij_nummer: string | null;
|
|
6108
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5985
6109
|
produced_stock: number;
|
|
5986
6110
|
product_code: string;
|
|
5987
6111
|
tenant_id: string;
|
|
6112
|
+
unit: string;
|
|
5988
6113
|
updated_at: string;
|
|
5989
6114
|
};
|
|
5990
6115
|
Insert: {
|
|
6116
|
+
aantal_te_produceren?: number;
|
|
5991
6117
|
created_at?: string;
|
|
5992
6118
|
description?: string | null;
|
|
5993
6119
|
id?: string;
|
|
5994
6120
|
is_active?: boolean;
|
|
6121
|
+
location_id?: string | null;
|
|
5995
6122
|
name: string;
|
|
6123
|
+
partij_nummer?: string | null;
|
|
6124
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5996
6125
|
produced_stock?: number;
|
|
5997
6126
|
product_code: string;
|
|
5998
6127
|
tenant_id: string;
|
|
6128
|
+
unit?: string;
|
|
5999
6129
|
updated_at?: string;
|
|
6000
6130
|
};
|
|
6001
6131
|
Update: {
|
|
6132
|
+
aantal_te_produceren?: number;
|
|
6002
6133
|
created_at?: string;
|
|
6003
6134
|
description?: string | null;
|
|
6004
6135
|
id?: string;
|
|
6005
6136
|
is_active?: boolean;
|
|
6137
|
+
location_id?: string | null;
|
|
6006
6138
|
name?: string;
|
|
6139
|
+
partij_nummer?: string | null;
|
|
6140
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6007
6141
|
produced_stock?: number;
|
|
6008
6142
|
product_code?: string;
|
|
6009
6143
|
tenant_id?: string;
|
|
6144
|
+
unit?: string;
|
|
6010
6145
|
updated_at?: string;
|
|
6011
6146
|
};
|
|
6012
|
-
Relationships: [
|
|
6147
|
+
Relationships: [{
|
|
6148
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6149
|
+
columns: ["location_id"];
|
|
6150
|
+
isOneToOne: false;
|
|
6151
|
+
referencedRelation: "locations";
|
|
6152
|
+
referencedColumns: ["id"];
|
|
6153
|
+
}];
|
|
6013
6154
|
};
|
|
6014
6155
|
monteurs: {
|
|
6015
6156
|
Row: {
|
|
@@ -6983,6 +7124,105 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
6983
7124
|
};
|
|
6984
7125
|
Relationships: [];
|
|
6985
7126
|
};
|
|
7127
|
+
order_shipment_items: {
|
|
7128
|
+
Row: {
|
|
7129
|
+
created_at: string;
|
|
7130
|
+
id: string;
|
|
7131
|
+
order_item_id: string;
|
|
7132
|
+
product_id: string | null;
|
|
7133
|
+
product_name: string;
|
|
7134
|
+
quantity: number;
|
|
7135
|
+
shipment_id: string;
|
|
7136
|
+
updated_at: string;
|
|
7137
|
+
};
|
|
7138
|
+
Insert: {
|
|
7139
|
+
created_at?: string;
|
|
7140
|
+
id?: string;
|
|
7141
|
+
order_item_id: string;
|
|
7142
|
+
product_id?: string | null;
|
|
7143
|
+
product_name: string;
|
|
7144
|
+
quantity: number;
|
|
7145
|
+
shipment_id: string;
|
|
7146
|
+
updated_at?: string;
|
|
7147
|
+
};
|
|
7148
|
+
Update: {
|
|
7149
|
+
created_at?: string;
|
|
7150
|
+
id?: string;
|
|
7151
|
+
order_item_id?: string;
|
|
7152
|
+
product_id?: string | null;
|
|
7153
|
+
product_name?: string;
|
|
7154
|
+
quantity?: number;
|
|
7155
|
+
shipment_id?: string;
|
|
7156
|
+
updated_at?: string;
|
|
7157
|
+
};
|
|
7158
|
+
Relationships: [{
|
|
7159
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7160
|
+
columns: ["order_item_id"];
|
|
7161
|
+
isOneToOne: false;
|
|
7162
|
+
referencedRelation: "order_items";
|
|
7163
|
+
referencedColumns: ["id"];
|
|
7164
|
+
}, {
|
|
7165
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7166
|
+
columns: ["shipment_id"];
|
|
7167
|
+
isOneToOne: false;
|
|
7168
|
+
referencedRelation: "order_shipments";
|
|
7169
|
+
referencedColumns: ["id"];
|
|
7170
|
+
}];
|
|
7171
|
+
};
|
|
7172
|
+
order_shipments: {
|
|
7173
|
+
Row: {
|
|
7174
|
+
carrier_id: string | null;
|
|
7175
|
+
created_at: string;
|
|
7176
|
+
delivery_date: string | null;
|
|
7177
|
+
delivery_location_id: string | null;
|
|
7178
|
+
id: string;
|
|
7179
|
+
notes: string | null;
|
|
7180
|
+
order_id: string;
|
|
7181
|
+
shipment_number: number;
|
|
7182
|
+
shipped_at: string | null;
|
|
7183
|
+
status: string;
|
|
7184
|
+
updated_at: string;
|
|
7185
|
+
};
|
|
7186
|
+
Insert: {
|
|
7187
|
+
carrier_id?: string | null;
|
|
7188
|
+
created_at?: string;
|
|
7189
|
+
delivery_date?: string | null;
|
|
7190
|
+
delivery_location_id?: string | null;
|
|
7191
|
+
id?: string;
|
|
7192
|
+
notes?: string | null;
|
|
7193
|
+
order_id: string;
|
|
7194
|
+
shipment_number: number;
|
|
7195
|
+
shipped_at?: string | null;
|
|
7196
|
+
status?: string;
|
|
7197
|
+
updated_at?: string;
|
|
7198
|
+
};
|
|
7199
|
+
Update: {
|
|
7200
|
+
carrier_id?: string | null;
|
|
7201
|
+
created_at?: string;
|
|
7202
|
+
delivery_date?: string | null;
|
|
7203
|
+
delivery_location_id?: string | null;
|
|
7204
|
+
id?: string;
|
|
7205
|
+
notes?: string | null;
|
|
7206
|
+
order_id?: string;
|
|
7207
|
+
shipment_number?: number;
|
|
7208
|
+
shipped_at?: string | null;
|
|
7209
|
+
status?: string;
|
|
7210
|
+
updated_at?: string;
|
|
7211
|
+
};
|
|
7212
|
+
Relationships: [{
|
|
7213
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7214
|
+
columns: ["carrier_id"];
|
|
7215
|
+
isOneToOne: false;
|
|
7216
|
+
referencedRelation: "carriers";
|
|
7217
|
+
referencedColumns: ["id"];
|
|
7218
|
+
}, {
|
|
7219
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7220
|
+
columns: ["order_id"];
|
|
7221
|
+
isOneToOne: false;
|
|
7222
|
+
referencedRelation: "orders";
|
|
7223
|
+
referencedColumns: ["id"];
|
|
7224
|
+
}];
|
|
7225
|
+
};
|
|
6986
7226
|
orders: {
|
|
6987
7227
|
Row: {
|
|
6988
7228
|
created_at: string;
|
|
@@ -6990,8 +7230,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
6990
7230
|
customer_id: string | null;
|
|
6991
7231
|
customer_name: string;
|
|
6992
7232
|
deleted_at: string | null;
|
|
6993
|
-
delivery_date: string;
|
|
7233
|
+
delivery_date: string | null;
|
|
6994
7234
|
id: string;
|
|
7235
|
+
is_reservation: boolean;
|
|
6995
7236
|
notes: string | null;
|
|
6996
7237
|
order_date: string;
|
|
6997
7238
|
order_number: string;
|
|
@@ -7008,8 +7249,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7008
7249
|
customer_id?: string | null;
|
|
7009
7250
|
customer_name?: string;
|
|
7010
7251
|
deleted_at?: string | null;
|
|
7011
|
-
delivery_date
|
|
7252
|
+
delivery_date?: string | null;
|
|
7012
7253
|
id?: string;
|
|
7254
|
+
is_reservation?: boolean;
|
|
7013
7255
|
notes?: string | null;
|
|
7014
7256
|
order_date?: string;
|
|
7015
7257
|
order_number: string;
|
|
@@ -7026,8 +7268,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7026
7268
|
customer_id?: string | null;
|
|
7027
7269
|
customer_name?: string;
|
|
7028
7270
|
deleted_at?: string | null;
|
|
7029
|
-
delivery_date?: string;
|
|
7271
|
+
delivery_date?: string | null;
|
|
7030
7272
|
id?: string;
|
|
7273
|
+
is_reservation?: boolean;
|
|
7031
7274
|
notes?: string | null;
|
|
7032
7275
|
order_date?: string;
|
|
7033
7276
|
order_number?: string;
|
|
@@ -7169,6 +7412,63 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7169
7412
|
};
|
|
7170
7413
|
Relationships: [];
|
|
7171
7414
|
};
|
|
7415
|
+
product_bom_items: {
|
|
7416
|
+
Row: {
|
|
7417
|
+
component_product_id: string | null;
|
|
7418
|
+
component_trade_item_floriday_id: string | null;
|
|
7419
|
+
created_at: string;
|
|
7420
|
+
id: string;
|
|
7421
|
+
notes: string | null;
|
|
7422
|
+
parent_product_id: string | null;
|
|
7423
|
+
parent_trade_item_floriday_id: string | null;
|
|
7424
|
+
quantity: number;
|
|
7425
|
+
sort_order: number;
|
|
7426
|
+
tenant_id: string;
|
|
7427
|
+
unit: string;
|
|
7428
|
+
updated_at: string;
|
|
7429
|
+
};
|
|
7430
|
+
Insert: {
|
|
7431
|
+
component_product_id?: string | null;
|
|
7432
|
+
component_trade_item_floriday_id?: string | null;
|
|
7433
|
+
created_at?: string;
|
|
7434
|
+
id?: string;
|
|
7435
|
+
notes?: string | null;
|
|
7436
|
+
parent_product_id?: string | null;
|
|
7437
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7438
|
+
quantity?: number;
|
|
7439
|
+
sort_order?: number;
|
|
7440
|
+
tenant_id: string;
|
|
7441
|
+
unit?: string;
|
|
7442
|
+
updated_at?: string;
|
|
7443
|
+
};
|
|
7444
|
+
Update: {
|
|
7445
|
+
component_product_id?: string | null;
|
|
7446
|
+
component_trade_item_floriday_id?: string | null;
|
|
7447
|
+
created_at?: string;
|
|
7448
|
+
id?: string;
|
|
7449
|
+
notes?: string | null;
|
|
7450
|
+
parent_product_id?: string | null;
|
|
7451
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7452
|
+
quantity?: number;
|
|
7453
|
+
sort_order?: number;
|
|
7454
|
+
tenant_id?: string;
|
|
7455
|
+
unit?: string;
|
|
7456
|
+
updated_at?: string;
|
|
7457
|
+
};
|
|
7458
|
+
Relationships: [{
|
|
7459
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7460
|
+
columns: ["component_product_id"];
|
|
7461
|
+
isOneToOne: false;
|
|
7462
|
+
referencedRelation: "products";
|
|
7463
|
+
referencedColumns: ["id"];
|
|
7464
|
+
}, {
|
|
7465
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7466
|
+
columns: ["parent_product_id"];
|
|
7467
|
+
isOneToOne: false;
|
|
7468
|
+
referencedRelation: "products";
|
|
7469
|
+
referencedColumns: ["id"];
|
|
7470
|
+
}];
|
|
7471
|
+
};
|
|
7172
7472
|
product_categories: {
|
|
7173
7473
|
Row: {
|
|
7174
7474
|
color: string;
|
|
@@ -7274,6 +7574,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7274
7574
|
id: string;
|
|
7275
7575
|
product_group_id: string;
|
|
7276
7576
|
quantity: number;
|
|
7577
|
+
sort_order: number;
|
|
7277
7578
|
trade_item_id: string;
|
|
7278
7579
|
};
|
|
7279
7580
|
Insert: {
|
|
@@ -7281,6 +7582,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7281
7582
|
id?: string;
|
|
7282
7583
|
product_group_id: string;
|
|
7283
7584
|
quantity?: number;
|
|
7585
|
+
sort_order?: number;
|
|
7284
7586
|
trade_item_id: string;
|
|
7285
7587
|
};
|
|
7286
7588
|
Update: {
|
|
@@ -7288,6 +7590,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7288
7590
|
id?: string;
|
|
7289
7591
|
product_group_id?: string;
|
|
7290
7592
|
quantity?: number;
|
|
7593
|
+
sort_order?: number;
|
|
7291
7594
|
trade_item_id?: string;
|
|
7292
7595
|
};
|
|
7293
7596
|
Relationships: [{
|
|
@@ -7302,6 +7605,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7302
7605
|
Row: {
|
|
7303
7606
|
created_at: string;
|
|
7304
7607
|
description: string | null;
|
|
7608
|
+
head_product_id: string | null;
|
|
7609
|
+
head_trade_item_floriday_id: string | null;
|
|
7305
7610
|
id: string;
|
|
7306
7611
|
is_active: boolean;
|
|
7307
7612
|
name: string;
|
|
@@ -7311,6 +7616,8 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7311
7616
|
Insert: {
|
|
7312
7617
|
created_at?: string;
|
|
7313
7618
|
description?: string | null;
|
|
7619
|
+
head_product_id?: string | null;
|
|
7620
|
+
head_trade_item_floriday_id?: string | null;
|
|
7314
7621
|
id?: string;
|
|
7315
7622
|
is_active?: boolean;
|
|
7316
7623
|
name: string;
|
|
@@ -7320,21 +7627,126 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7320
7627
|
Update: {
|
|
7321
7628
|
created_at?: string;
|
|
7322
7629
|
description?: string | null;
|
|
7630
|
+
head_product_id?: string | null;
|
|
7631
|
+
head_trade_item_floriday_id?: string | null;
|
|
7323
7632
|
id?: string;
|
|
7324
7633
|
is_active?: boolean;
|
|
7325
7634
|
name?: string;
|
|
7326
7635
|
tenant_id?: string;
|
|
7327
7636
|
updated_at?: string;
|
|
7328
7637
|
};
|
|
7638
|
+
Relationships: [{
|
|
7639
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7640
|
+
columns: ["head_product_id"];
|
|
7641
|
+
isOneToOne: false;
|
|
7642
|
+
referencedRelation: "products";
|
|
7643
|
+
referencedColumns: ["id"];
|
|
7644
|
+
}];
|
|
7645
|
+
};
|
|
7646
|
+
product_load_settings: {
|
|
7647
|
+
Row: {
|
|
7648
|
+
created_at: string;
|
|
7649
|
+
id: string;
|
|
7650
|
+
is_package: boolean;
|
|
7651
|
+
layers_per_load_carrier: number | null;
|
|
7652
|
+
load_carrier: string | null;
|
|
7653
|
+
package_id: string | null;
|
|
7654
|
+
package_label: string | null;
|
|
7655
|
+
packages_per_layer: number | null;
|
|
7656
|
+
product_id: string | null;
|
|
7657
|
+
tenant_id: string;
|
|
7658
|
+
trade_item_floriday_id: string | null;
|
|
7659
|
+
units_per_package: number | null;
|
|
7660
|
+
updated_at: string;
|
|
7661
|
+
};
|
|
7662
|
+
Insert: {
|
|
7663
|
+
created_at?: string;
|
|
7664
|
+
id?: string;
|
|
7665
|
+
is_package?: boolean;
|
|
7666
|
+
layers_per_load_carrier?: number | null;
|
|
7667
|
+
load_carrier?: string | null;
|
|
7668
|
+
package_id?: string | null;
|
|
7669
|
+
package_label?: string | null;
|
|
7670
|
+
packages_per_layer?: number | null;
|
|
7671
|
+
product_id?: string | null;
|
|
7672
|
+
tenant_id: string;
|
|
7673
|
+
trade_item_floriday_id?: string | null;
|
|
7674
|
+
units_per_package?: number | null;
|
|
7675
|
+
updated_at?: string;
|
|
7676
|
+
};
|
|
7677
|
+
Update: {
|
|
7678
|
+
created_at?: string;
|
|
7679
|
+
id?: string;
|
|
7680
|
+
is_package?: boolean;
|
|
7681
|
+
layers_per_load_carrier?: number | null;
|
|
7682
|
+
load_carrier?: string | null;
|
|
7683
|
+
package_id?: string | null;
|
|
7684
|
+
package_label?: string | null;
|
|
7685
|
+
packages_per_layer?: number | null;
|
|
7686
|
+
product_id?: string | null;
|
|
7687
|
+
tenant_id?: string;
|
|
7688
|
+
trade_item_floriday_id?: string | null;
|
|
7689
|
+
units_per_package?: number | null;
|
|
7690
|
+
updated_at?: string;
|
|
7691
|
+
};
|
|
7692
|
+
Relationships: [{
|
|
7693
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7694
|
+
columns: ["package_id"];
|
|
7695
|
+
isOneToOne: false;
|
|
7696
|
+
referencedRelation: "packages";
|
|
7697
|
+
referencedColumns: ["id"];
|
|
7698
|
+
}, {
|
|
7699
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7700
|
+
columns: ["product_id"];
|
|
7701
|
+
isOneToOne: false;
|
|
7702
|
+
referencedRelation: "products";
|
|
7703
|
+
referencedColumns: ["id"];
|
|
7704
|
+
}];
|
|
7705
|
+
};
|
|
7706
|
+
product_merge_log: {
|
|
7707
|
+
Row: {
|
|
7708
|
+
canonical_product_id: string | null;
|
|
7709
|
+
id: string;
|
|
7710
|
+
merged_at: string;
|
|
7711
|
+
merged_from_id: string;
|
|
7712
|
+
notes: string | null;
|
|
7713
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7714
|
+
source_table: string;
|
|
7715
|
+
status: string;
|
|
7716
|
+
};
|
|
7717
|
+
Insert: {
|
|
7718
|
+
canonical_product_id?: string | null;
|
|
7719
|
+
id?: string;
|
|
7720
|
+
merged_at?: string;
|
|
7721
|
+
merged_from_id: string;
|
|
7722
|
+
notes?: string | null;
|
|
7723
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7724
|
+
source_table: string;
|
|
7725
|
+
status?: string;
|
|
7726
|
+
};
|
|
7727
|
+
Update: {
|
|
7728
|
+
canonical_product_id?: string | null;
|
|
7729
|
+
id?: string;
|
|
7730
|
+
merged_at?: string;
|
|
7731
|
+
merged_from_id?: string;
|
|
7732
|
+
notes?: string | null;
|
|
7733
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7734
|
+
source_table?: string;
|
|
7735
|
+
status?: string;
|
|
7736
|
+
};
|
|
7329
7737
|
Relationships: [];
|
|
7330
7738
|
};
|
|
7331
7739
|
products: {
|
|
7332
7740
|
Row: {
|
|
7741
|
+
article_number: string | null;
|
|
7333
7742
|
barcode: string | null;
|
|
7334
7743
|
batch: string;
|
|
7335
7744
|
crates_per_layer: number;
|
|
7336
7745
|
created_at: string;
|
|
7337
7746
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7747
|
+
floriday_active: boolean;
|
|
7748
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7749
|
+
floriday_trade_item_id: string | null;
|
|
7338
7750
|
id: string;
|
|
7339
7751
|
image_url: string | null;
|
|
7340
7752
|
incoming_quantity: number;
|
|
@@ -7353,11 +7765,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7353
7765
|
weight: string | null;
|
|
7354
7766
|
};
|
|
7355
7767
|
Insert: {
|
|
7768
|
+
article_number?: string | null;
|
|
7356
7769
|
barcode?: string | null;
|
|
7357
7770
|
batch: string;
|
|
7358
7771
|
crates_per_layer?: number;
|
|
7359
7772
|
created_at?: string;
|
|
7360
7773
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7774
|
+
floriday_active?: boolean;
|
|
7775
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7776
|
+
floriday_trade_item_id?: string | null;
|
|
7361
7777
|
id?: string;
|
|
7362
7778
|
image_url?: string | null;
|
|
7363
7779
|
incoming_quantity?: number;
|
|
@@ -7376,11 +7792,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
7376
7792
|
weight?: string | null;
|
|
7377
7793
|
};
|
|
7378
7794
|
Update: {
|
|
7795
|
+
article_number?: string | null;
|
|
7379
7796
|
barcode?: string | null;
|
|
7380
7797
|
batch?: string;
|
|
7381
7798
|
crates_per_layer?: number;
|
|
7382
7799
|
created_at?: string;
|
|
7383
7800
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7801
|
+
floriday_active?: boolean;
|
|
7802
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7803
|
+
floriday_trade_item_id?: string | null;
|
|
7384
7804
|
id?: string;
|
|
7385
7805
|
image_url?: string | null;
|
|
7386
7806
|
incoming_quantity?: number;
|
|
@@ -8289,8 +8709,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8289
8709
|
order_id: string | null;
|
|
8290
8710
|
order_item_id: string | null;
|
|
8291
8711
|
order_source: string | null;
|
|
8712
|
+
parent_trade_item_key: string | null;
|
|
8292
8713
|
physical_after: number | null;
|
|
8293
8714
|
physical_before: number | null;
|
|
8715
|
+
production_batch_id: string | null;
|
|
8294
8716
|
qty_delta: number;
|
|
8295
8717
|
reason: string | null;
|
|
8296
8718
|
reserved_after: number | null;
|
|
@@ -8306,8 +8728,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8306
8728
|
order_id?: string | null;
|
|
8307
8729
|
order_item_id?: string | null;
|
|
8308
8730
|
order_source?: string | null;
|
|
8731
|
+
parent_trade_item_key?: string | null;
|
|
8309
8732
|
physical_after?: number | null;
|
|
8310
8733
|
physical_before?: number | null;
|
|
8734
|
+
production_batch_id?: string | null;
|
|
8311
8735
|
qty_delta: number;
|
|
8312
8736
|
reason?: string | null;
|
|
8313
8737
|
reserved_after?: number | null;
|
|
@@ -8323,8 +8747,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8323
8747
|
order_id?: string | null;
|
|
8324
8748
|
order_item_id?: string | null;
|
|
8325
8749
|
order_source?: string | null;
|
|
8750
|
+
parent_trade_item_key?: string | null;
|
|
8326
8751
|
physical_after?: number | null;
|
|
8327
8752
|
physical_before?: number | null;
|
|
8753
|
+
production_batch_id?: string | null;
|
|
8328
8754
|
qty_delta?: number;
|
|
8329
8755
|
reason?: string | null;
|
|
8330
8756
|
reserved_after?: number | null;
|
|
@@ -8783,7 +9209,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8783
9209
|
twinfield_connections: {
|
|
8784
9210
|
Row: {
|
|
8785
9211
|
access_token: string | null;
|
|
8786
|
-
client_id: string;
|
|
9212
|
+
client_id: string | null;
|
|
8787
9213
|
client_secret: string | null;
|
|
8788
9214
|
cluster_uri: string | null;
|
|
8789
9215
|
company_code: string | null;
|
|
@@ -8795,7 +9221,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8795
9221
|
is_active: boolean;
|
|
8796
9222
|
label: string | null;
|
|
8797
9223
|
office_code: string | null;
|
|
8798
|
-
redirect_uri: string;
|
|
9224
|
+
redirect_uri: string | null;
|
|
8799
9225
|
refresh_token: string | null;
|
|
8800
9226
|
token_expires_at: string | null;
|
|
8801
9227
|
updated_at: string;
|
|
@@ -8803,7 +9229,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8803
9229
|
};
|
|
8804
9230
|
Insert: {
|
|
8805
9231
|
access_token?: string | null;
|
|
8806
|
-
client_id
|
|
9232
|
+
client_id?: string | null;
|
|
8807
9233
|
client_secret?: string | null;
|
|
8808
9234
|
cluster_uri?: string | null;
|
|
8809
9235
|
company_code?: string | null;
|
|
@@ -8815,7 +9241,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8815
9241
|
is_active?: boolean;
|
|
8816
9242
|
label?: string | null;
|
|
8817
9243
|
office_code?: string | null;
|
|
8818
|
-
redirect_uri
|
|
9244
|
+
redirect_uri?: string | null;
|
|
8819
9245
|
refresh_token?: string | null;
|
|
8820
9246
|
token_expires_at?: string | null;
|
|
8821
9247
|
updated_at?: string;
|
|
@@ -8823,7 +9249,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8823
9249
|
};
|
|
8824
9250
|
Update: {
|
|
8825
9251
|
access_token?: string | null;
|
|
8826
|
-
client_id?: string;
|
|
9252
|
+
client_id?: string | null;
|
|
8827
9253
|
client_secret?: string | null;
|
|
8828
9254
|
cluster_uri?: string | null;
|
|
8829
9255
|
company_code?: string | null;
|
|
@@ -8835,7 +9261,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
8835
9261
|
is_active?: boolean;
|
|
8836
9262
|
label?: string | null;
|
|
8837
9263
|
office_code?: string | null;
|
|
8838
|
-
redirect_uri?: string;
|
|
9264
|
+
redirect_uri?: string | null;
|
|
8839
9265
|
refresh_token?: string | null;
|
|
8840
9266
|
token_expires_at?: string | null;
|
|
8841
9267
|
updated_at?: string;
|
|
@@ -10030,25 +10456,6 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10030
10456
|
};
|
|
10031
10457
|
Relationships: [];
|
|
10032
10458
|
};
|
|
10033
|
-
floriday_customer_discounts: {
|
|
10034
|
-
Row: {
|
|
10035
|
-
base_price: number | null;
|
|
10036
|
-
buyer_organization_id: string | null;
|
|
10037
|
-
currency: string | null;
|
|
10038
|
-
discount_type: string | null;
|
|
10039
|
-
discount_value: number | null;
|
|
10040
|
-
min_quantity: number | null;
|
|
10041
|
-
net_price: number | null;
|
|
10042
|
-
product_group_id: string | null;
|
|
10043
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10044
|
-
source: string | null;
|
|
10045
|
-
source_id: string | null;
|
|
10046
|
-
trade_item_id: string | null;
|
|
10047
|
-
valid_from: string | null;
|
|
10048
|
-
valid_until: string | null;
|
|
10049
|
-
};
|
|
10050
|
-
Relationships: [];
|
|
10051
|
-
};
|
|
10052
10459
|
local_customer_discounts: {
|
|
10053
10460
|
Row: {
|
|
10054
10461
|
base_price: number | null;
|
|
@@ -10352,6 +10759,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10352
10759
|
};
|
|
10353
10760
|
Returns: number;
|
|
10354
10761
|
};
|
|
10762
|
+
_migrate_rewrite_stock_key: {
|
|
10763
|
+
Args: {
|
|
10764
|
+
_from_key: string;
|
|
10765
|
+
_to_key: string;
|
|
10766
|
+
};
|
|
10767
|
+
Returns: undefined;
|
|
10768
|
+
};
|
|
10355
10769
|
afh_city_code: {
|
|
10356
10770
|
Args: {
|
|
10357
10771
|
_city: string;
|
|
@@ -10467,6 +10881,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10467
10881
|
Args: never;
|
|
10468
10882
|
Returns: undefined;
|
|
10469
10883
|
};
|
|
10884
|
+
consume_bom_for_production: {
|
|
10885
|
+
Args: {
|
|
10886
|
+
p_connection_id: string;
|
|
10887
|
+
p_parent_id: string;
|
|
10888
|
+
p_parent_key: string;
|
|
10889
|
+
p_parent_kind: string;
|
|
10890
|
+
p_quantity: number;
|
|
10891
|
+
p_user_id: string;
|
|
10892
|
+
};
|
|
10893
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10894
|
+
} | {
|
|
10895
|
+
Args: {
|
|
10896
|
+
p_batch_id?: string;
|
|
10897
|
+
p_connection_id: string;
|
|
10898
|
+
p_parent_id: string;
|
|
10899
|
+
p_parent_key: string;
|
|
10900
|
+
p_parent_kind: string;
|
|
10901
|
+
p_quantity: number;
|
|
10902
|
+
p_user_id: string;
|
|
10903
|
+
};
|
|
10904
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10905
|
+
};
|
|
10470
10906
|
consume_floriday_rate_limit: {
|
|
10471
10907
|
Args: {
|
|
10472
10908
|
p_bucket: string;
|
|
@@ -10518,6 +10954,13 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10518
10954
|
table_name: string;
|
|
10519
10955
|
}[];
|
|
10520
10956
|
};
|
|
10957
|
+
delete_samenstelling: {
|
|
10958
|
+
Args: {
|
|
10959
|
+
p_parent_id: string;
|
|
10960
|
+
p_parent_kind: string;
|
|
10961
|
+
};
|
|
10962
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10963
|
+
};
|
|
10521
10964
|
dispatch_carrier_signups_sql: {
|
|
10522
10965
|
Args: {
|
|
10523
10966
|
_catchup?: string;
|
|
@@ -10678,19 +11121,6 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10678
11121
|
resource: string;
|
|
10679
11122
|
}[];
|
|
10680
11123
|
};
|
|
10681
|
-
get_floriday_agreements_active: {
|
|
10682
|
-
Args: {
|
|
10683
|
-
p_on_date?: string;
|
|
10684
|
-
};
|
|
10685
|
-
Returns: {
|
|
10686
|
-
buyer_organization_id: string;
|
|
10687
|
-
data: import("../integrations/supabase/types").Json;
|
|
10688
|
-
floriday_id: string;
|
|
10689
|
-
status: string;
|
|
10690
|
-
valid_from: string;
|
|
10691
|
-
valid_until: string;
|
|
10692
|
-
}[];
|
|
10693
|
-
};
|
|
10694
11124
|
get_floriday_clock_supplies_window: {
|
|
10695
11125
|
Args: {
|
|
10696
11126
|
p_from: string;
|
|
@@ -10763,6 +11193,21 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10763
11193
|
minutes_since_success: number;
|
|
10764
11194
|
}[];
|
|
10765
11195
|
};
|
|
11196
|
+
get_group_allocation_keys: {
|
|
11197
|
+
Args: {
|
|
11198
|
+
p_product_id: string;
|
|
11199
|
+
};
|
|
11200
|
+
Returns: {
|
|
11201
|
+
k: string;
|
|
11202
|
+
ord: number;
|
|
11203
|
+
}[];
|
|
11204
|
+
};
|
|
11205
|
+
get_group_head_key: {
|
|
11206
|
+
Args: {
|
|
11207
|
+
p_group_id: string;
|
|
11208
|
+
};
|
|
11209
|
+
Returns: string;
|
|
11210
|
+
};
|
|
10766
11211
|
get_offer_by_link_code: {
|
|
10767
11212
|
Args: {
|
|
10768
11213
|
p_code: string;
|
|
@@ -10873,6 +11318,25 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10873
11318
|
};
|
|
10874
11319
|
Returns: undefined;
|
|
10875
11320
|
};
|
|
11321
|
+
mark_shipment_shipped: {
|
|
11322
|
+
Args: {
|
|
11323
|
+
p_shipment_id: string;
|
|
11324
|
+
};
|
|
11325
|
+
Returns: undefined;
|
|
11326
|
+
};
|
|
11327
|
+
merge_products: {
|
|
11328
|
+
Args: {
|
|
11329
|
+
_canonical: string;
|
|
11330
|
+
_loser: string;
|
|
11331
|
+
};
|
|
11332
|
+
Returns: undefined;
|
|
11333
|
+
};
|
|
11334
|
+
next_manufacture_partij: {
|
|
11335
|
+
Args: {
|
|
11336
|
+
_tenant_id: string;
|
|
11337
|
+
};
|
|
11338
|
+
Returns: string;
|
|
11339
|
+
};
|
|
10876
11340
|
next_order_number: {
|
|
10877
11341
|
Args: {
|
|
10878
11342
|
p_prefix: string;
|
|
@@ -10951,6 +11415,14 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10951
11415
|
};
|
|
10952
11416
|
Returns: undefined;
|
|
10953
11417
|
};
|
|
11418
|
+
produce_designed_product: {
|
|
11419
|
+
Args: {
|
|
11420
|
+
p_parent_id: string;
|
|
11421
|
+
p_parent_kind: string;
|
|
11422
|
+
p_quantity: number;
|
|
11423
|
+
};
|
|
11424
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11425
|
+
};
|
|
10954
11426
|
promote_trade_item_key: {
|
|
10955
11427
|
Args: {
|
|
10956
11428
|
p_new: string;
|
|
@@ -10958,6 +11430,10 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
10958
11430
|
};
|
|
10959
11431
|
Returns: undefined;
|
|
10960
11432
|
};
|
|
11433
|
+
recompute_all_reserved_stock: {
|
|
11434
|
+
Args: never;
|
|
11435
|
+
Returns: undefined;
|
|
11436
|
+
};
|
|
10961
11437
|
recompute_order_status: {
|
|
10962
11438
|
Args: {
|
|
10963
11439
|
p_order_id: string;
|
|
@@ -11007,27 +11483,45 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
|
|
|
11007
11483
|
};
|
|
11008
11484
|
Returns: undefined;
|
|
11009
11485
|
};
|
|
11486
|
+
resolve_group_allocation: {
|
|
11487
|
+
Args: {
|
|
11488
|
+
_needed: number;
|
|
11489
|
+
_product_group_id: string;
|
|
11490
|
+
};
|
|
11491
|
+
Returns: {
|
|
11492
|
+
allocated: number;
|
|
11493
|
+
trade_item_id: string;
|
|
11494
|
+
}[];
|
|
11495
|
+
};
|
|
11496
|
+
resolve_group_member_stock_key: {
|
|
11497
|
+
Args: {
|
|
11498
|
+
p_trade_item_id: string;
|
|
11499
|
+
};
|
|
11500
|
+
Returns: string;
|
|
11501
|
+
};
|
|
11010
11502
|
resolve_product_id_for_item: {
|
|
11011
11503
|
Args: {
|
|
11012
11504
|
p_product_name: string;
|
|
11013
11505
|
};
|
|
11014
11506
|
Returns: string;
|
|
11015
11507
|
};
|
|
11016
|
-
|
|
11508
|
+
resolve_stock_trade_item_key: {
|
|
11017
11509
|
Args: {
|
|
11018
|
-
|
|
11019
|
-
p_url: string;
|
|
11510
|
+
p_product_id: string;
|
|
11020
11511
|
};
|
|
11021
|
-
Returns:
|
|
11512
|
+
Returns: string;
|
|
11022
11513
|
};
|
|
11023
|
-
|
|
11514
|
+
reverse_production: {
|
|
11024
11515
|
Args: {
|
|
11025
|
-
|
|
11026
|
-
|
|
11516
|
+
p_connection_id?: string;
|
|
11517
|
+
p_parent_key: string;
|
|
11518
|
+
p_quantity: number;
|
|
11519
|
+
p_reason?: string;
|
|
11520
|
+
p_user_id?: string;
|
|
11027
11521
|
};
|
|
11028
|
-
Returns:
|
|
11522
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11029
11523
|
};
|
|
11030
|
-
|
|
11524
|
+
schedule_floriday_additional_services_sync: {
|
|
11031
11525
|
Args: {
|
|
11032
11526
|
p_apikey: string;
|
|
11033
11527
|
p_url: string;
|
|
@@ -11554,37 +12048,196 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
11554
12048
|
scope?: string | null;
|
|
11555
12049
|
token_expires_at?: string | null;
|
|
11556
12050
|
updated_at?: string;
|
|
11557
|
-
user_id?: string;
|
|
12051
|
+
user_id?: string;
|
|
12052
|
+
};
|
|
12053
|
+
Relationships: [];
|
|
12054
|
+
};
|
|
12055
|
+
agenda_settings: {
|
|
12056
|
+
Row: {
|
|
12057
|
+
color_map: import("../integrations/supabase/types").Json;
|
|
12058
|
+
created_at: string;
|
|
12059
|
+
default_calendar_id: string;
|
|
12060
|
+
default_view: string;
|
|
12061
|
+
settings: import("../integrations/supabase/types").Json;
|
|
12062
|
+
updated_at: string;
|
|
12063
|
+
user_id: string;
|
|
12064
|
+
};
|
|
12065
|
+
Insert: {
|
|
12066
|
+
color_map?: import("../integrations/supabase/types").Json;
|
|
12067
|
+
created_at?: string;
|
|
12068
|
+
default_calendar_id?: string;
|
|
12069
|
+
default_view?: string;
|
|
12070
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
12071
|
+
updated_at?: string;
|
|
12072
|
+
user_id: string;
|
|
12073
|
+
};
|
|
12074
|
+
Update: {
|
|
12075
|
+
color_map?: import("../integrations/supabase/types").Json;
|
|
12076
|
+
created_at?: string;
|
|
12077
|
+
default_calendar_id?: string;
|
|
12078
|
+
default_view?: string;
|
|
12079
|
+
settings?: import("../integrations/supabase/types").Json;
|
|
12080
|
+
updated_at?: string;
|
|
12081
|
+
user_id?: string;
|
|
12082
|
+
};
|
|
12083
|
+
Relationships: [];
|
|
12084
|
+
};
|
|
12085
|
+
ai_credentials: {
|
|
12086
|
+
Row: {
|
|
12087
|
+
active: boolean;
|
|
12088
|
+
api_key: string;
|
|
12089
|
+
created_at: string;
|
|
12090
|
+
created_by: string | null;
|
|
12091
|
+
id: string;
|
|
12092
|
+
label: string;
|
|
12093
|
+
provider_id: string;
|
|
12094
|
+
updated_at: string;
|
|
12095
|
+
};
|
|
12096
|
+
Insert: {
|
|
12097
|
+
active?: boolean;
|
|
12098
|
+
api_key: string;
|
|
12099
|
+
created_at?: string;
|
|
12100
|
+
created_by?: string | null;
|
|
12101
|
+
id?: string;
|
|
12102
|
+
label: string;
|
|
12103
|
+
provider_id: string;
|
|
12104
|
+
updated_at?: string;
|
|
12105
|
+
};
|
|
12106
|
+
Update: {
|
|
12107
|
+
active?: boolean;
|
|
12108
|
+
api_key?: string;
|
|
12109
|
+
created_at?: string;
|
|
12110
|
+
created_by?: string | null;
|
|
12111
|
+
id?: string;
|
|
12112
|
+
label?: string;
|
|
12113
|
+
provider_id?: string;
|
|
12114
|
+
updated_at?: string;
|
|
12115
|
+
};
|
|
12116
|
+
Relationships: [{
|
|
12117
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
12118
|
+
columns: ["provider_id"];
|
|
12119
|
+
isOneToOne: false;
|
|
12120
|
+
referencedRelation: "ai_providers";
|
|
12121
|
+
referencedColumns: ["id"];
|
|
12122
|
+
}];
|
|
12123
|
+
};
|
|
12124
|
+
ai_models: {
|
|
12125
|
+
Row: {
|
|
12126
|
+
active: boolean;
|
|
12127
|
+
context_window: number | null;
|
|
12128
|
+
created_at: string;
|
|
12129
|
+
display_name: string;
|
|
12130
|
+
id: string;
|
|
12131
|
+
is_default: boolean;
|
|
12132
|
+
modality: string;
|
|
12133
|
+
provider_id: string;
|
|
12134
|
+
slug: string;
|
|
12135
|
+
updated_at: string;
|
|
12136
|
+
};
|
|
12137
|
+
Insert: {
|
|
12138
|
+
active?: boolean;
|
|
12139
|
+
context_window?: number | null;
|
|
12140
|
+
created_at?: string;
|
|
12141
|
+
display_name: string;
|
|
12142
|
+
id?: string;
|
|
12143
|
+
is_default?: boolean;
|
|
12144
|
+
modality?: string;
|
|
12145
|
+
provider_id: string;
|
|
12146
|
+
slug: string;
|
|
12147
|
+
updated_at?: string;
|
|
12148
|
+
};
|
|
12149
|
+
Update: {
|
|
12150
|
+
active?: boolean;
|
|
12151
|
+
context_window?: number | null;
|
|
12152
|
+
created_at?: string;
|
|
12153
|
+
display_name?: string;
|
|
12154
|
+
id?: string;
|
|
12155
|
+
is_default?: boolean;
|
|
12156
|
+
modality?: string;
|
|
12157
|
+
provider_id?: string;
|
|
12158
|
+
slug?: string;
|
|
12159
|
+
updated_at?: string;
|
|
12160
|
+
};
|
|
12161
|
+
Relationships: [{
|
|
12162
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
12163
|
+
columns: ["provider_id"];
|
|
12164
|
+
isOneToOne: false;
|
|
12165
|
+
referencedRelation: "ai_providers";
|
|
12166
|
+
referencedColumns: ["id"];
|
|
12167
|
+
}];
|
|
12168
|
+
};
|
|
12169
|
+
ai_module_bindings: {
|
|
12170
|
+
Row: {
|
|
12171
|
+
consumer_module_id: string;
|
|
12172
|
+
created_at: string;
|
|
12173
|
+
credential_id: string;
|
|
12174
|
+
id: string;
|
|
12175
|
+
model_id: string;
|
|
12176
|
+
notes: string | null;
|
|
12177
|
+
updated_at: string;
|
|
12178
|
+
};
|
|
12179
|
+
Insert: {
|
|
12180
|
+
consumer_module_id: string;
|
|
12181
|
+
created_at?: string;
|
|
12182
|
+
credential_id: string;
|
|
12183
|
+
id?: string;
|
|
12184
|
+
model_id: string;
|
|
12185
|
+
notes?: string | null;
|
|
12186
|
+
updated_at?: string;
|
|
12187
|
+
};
|
|
12188
|
+
Update: {
|
|
12189
|
+
consumer_module_id?: string;
|
|
12190
|
+
created_at?: string;
|
|
12191
|
+
credential_id?: string;
|
|
12192
|
+
id?: string;
|
|
12193
|
+
model_id?: string;
|
|
12194
|
+
notes?: string | null;
|
|
12195
|
+
updated_at?: string;
|
|
11558
12196
|
};
|
|
11559
|
-
Relationships: [
|
|
12197
|
+
Relationships: [{
|
|
12198
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
12199
|
+
columns: ["credential_id"];
|
|
12200
|
+
isOneToOne: false;
|
|
12201
|
+
referencedRelation: "ai_credentials";
|
|
12202
|
+
referencedColumns: ["id"];
|
|
12203
|
+
}, {
|
|
12204
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
12205
|
+
columns: ["model_id"];
|
|
12206
|
+
isOneToOne: false;
|
|
12207
|
+
referencedRelation: "ai_models";
|
|
12208
|
+
referencedColumns: ["id"];
|
|
12209
|
+
}];
|
|
11560
12210
|
};
|
|
11561
|
-
|
|
12211
|
+
ai_providers: {
|
|
11562
12212
|
Row: {
|
|
11563
|
-
|
|
12213
|
+
active: boolean;
|
|
12214
|
+
auth_type: string;
|
|
12215
|
+
base_url: string | null;
|
|
11564
12216
|
created_at: string;
|
|
11565
|
-
|
|
11566
|
-
|
|
11567
|
-
|
|
12217
|
+
id: string;
|
|
12218
|
+
name: string;
|
|
12219
|
+
slug: string;
|
|
11568
12220
|
updated_at: string;
|
|
11569
|
-
user_id: string;
|
|
11570
12221
|
};
|
|
11571
12222
|
Insert: {
|
|
11572
|
-
|
|
12223
|
+
active?: boolean;
|
|
12224
|
+
auth_type?: string;
|
|
12225
|
+
base_url?: string | null;
|
|
11573
12226
|
created_at?: string;
|
|
11574
|
-
|
|
11575
|
-
|
|
11576
|
-
|
|
12227
|
+
id?: string;
|
|
12228
|
+
name: string;
|
|
12229
|
+
slug: string;
|
|
11577
12230
|
updated_at?: string;
|
|
11578
|
-
user_id: string;
|
|
11579
12231
|
};
|
|
11580
12232
|
Update: {
|
|
11581
|
-
|
|
12233
|
+
active?: boolean;
|
|
12234
|
+
auth_type?: string;
|
|
12235
|
+
base_url?: string | null;
|
|
11582
12236
|
created_at?: string;
|
|
11583
|
-
|
|
11584
|
-
|
|
11585
|
-
|
|
12237
|
+
id?: string;
|
|
12238
|
+
name?: string;
|
|
12239
|
+
slug?: string;
|
|
11586
12240
|
updated_at?: string;
|
|
11587
|
-
user_id?: string;
|
|
11588
12241
|
};
|
|
11589
12242
|
Relationships: [];
|
|
11590
12243
|
};
|
|
@@ -14594,105 +15247,6 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
14594
15247
|
referencedColumns: ["id"];
|
|
14595
15248
|
}];
|
|
14596
15249
|
};
|
|
14597
|
-
floriday_agreement_calloffs_cache: {
|
|
14598
|
-
Row: {
|
|
14599
|
-
agreement_id: string | null;
|
|
14600
|
-
connection_id: string;
|
|
14601
|
-
data: import("../integrations/supabase/types").Json;
|
|
14602
|
-
delivery_date: string | null;
|
|
14603
|
-
fetched_at: string;
|
|
14604
|
-
floriday_id: string;
|
|
14605
|
-
id: string;
|
|
14606
|
-
is_deleted: boolean;
|
|
14607
|
-
sequence_number: number;
|
|
14608
|
-
status: string | null;
|
|
14609
|
-
updated_at: string;
|
|
14610
|
-
};
|
|
14611
|
-
Insert: {
|
|
14612
|
-
agreement_id?: string | null;
|
|
14613
|
-
connection_id: string;
|
|
14614
|
-
data?: import("../integrations/supabase/types").Json;
|
|
14615
|
-
delivery_date?: string | null;
|
|
14616
|
-
fetched_at?: string;
|
|
14617
|
-
floriday_id: string;
|
|
14618
|
-
id?: string;
|
|
14619
|
-
is_deleted?: boolean;
|
|
14620
|
-
sequence_number?: number;
|
|
14621
|
-
status?: string | null;
|
|
14622
|
-
updated_at?: string;
|
|
14623
|
-
};
|
|
14624
|
-
Update: {
|
|
14625
|
-
agreement_id?: string | null;
|
|
14626
|
-
connection_id?: string;
|
|
14627
|
-
data?: import("../integrations/supabase/types").Json;
|
|
14628
|
-
delivery_date?: string | null;
|
|
14629
|
-
fetched_at?: string;
|
|
14630
|
-
floriday_id?: string;
|
|
14631
|
-
id?: string;
|
|
14632
|
-
is_deleted?: boolean;
|
|
14633
|
-
sequence_number?: number;
|
|
14634
|
-
status?: string | null;
|
|
14635
|
-
updated_at?: string;
|
|
14636
|
-
};
|
|
14637
|
-
Relationships: [{
|
|
14638
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
14639
|
-
columns: ["connection_id"];
|
|
14640
|
-
isOneToOne: false;
|
|
14641
|
-
referencedRelation: "floriday_connections";
|
|
14642
|
-
referencedColumns: ["id"];
|
|
14643
|
-
}];
|
|
14644
|
-
};
|
|
14645
|
-
floriday_agreements_cache: {
|
|
14646
|
-
Row: {
|
|
14647
|
-
buyer_organization_id: string | null;
|
|
14648
|
-
connection_id: string;
|
|
14649
|
-
data: import("../integrations/supabase/types").Json;
|
|
14650
|
-
fetched_at: string;
|
|
14651
|
-
floriday_id: string;
|
|
14652
|
-
id: string;
|
|
14653
|
-
is_deleted: boolean;
|
|
14654
|
-
sequence_number: number;
|
|
14655
|
-
status: string | null;
|
|
14656
|
-
updated_at: string;
|
|
14657
|
-
valid_from: string | null;
|
|
14658
|
-
valid_until: string | null;
|
|
14659
|
-
};
|
|
14660
|
-
Insert: {
|
|
14661
|
-
buyer_organization_id?: string | null;
|
|
14662
|
-
connection_id: string;
|
|
14663
|
-
data?: import("../integrations/supabase/types").Json;
|
|
14664
|
-
fetched_at?: string;
|
|
14665
|
-
floriday_id: string;
|
|
14666
|
-
id?: string;
|
|
14667
|
-
is_deleted?: boolean;
|
|
14668
|
-
sequence_number?: number;
|
|
14669
|
-
status?: string | null;
|
|
14670
|
-
updated_at?: string;
|
|
14671
|
-
valid_from?: string | null;
|
|
14672
|
-
valid_until?: string | null;
|
|
14673
|
-
};
|
|
14674
|
-
Update: {
|
|
14675
|
-
buyer_organization_id?: string | null;
|
|
14676
|
-
connection_id?: string;
|
|
14677
|
-
data?: import("../integrations/supabase/types").Json;
|
|
14678
|
-
fetched_at?: string;
|
|
14679
|
-
floriday_id?: string;
|
|
14680
|
-
id?: string;
|
|
14681
|
-
is_deleted?: boolean;
|
|
14682
|
-
sequence_number?: number;
|
|
14683
|
-
status?: string | null;
|
|
14684
|
-
updated_at?: string;
|
|
14685
|
-
valid_from?: string | null;
|
|
14686
|
-
valid_until?: string | null;
|
|
14687
|
-
};
|
|
14688
|
-
Relationships: [{
|
|
14689
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
14690
|
-
columns: ["connection_id"];
|
|
14691
|
-
isOneToOne: false;
|
|
14692
|
-
referencedRelation: "floriday_connections";
|
|
14693
|
-
referencedColumns: ["id"];
|
|
14694
|
-
}];
|
|
14695
|
-
};
|
|
14696
15250
|
floriday_auction_letters_cache: {
|
|
14697
15251
|
Row: {
|
|
14698
15252
|
auction_letter_code: string;
|
|
@@ -15191,6 +15745,27 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
15191
15745
|
referencedColumns: ["id"];
|
|
15192
15746
|
}];
|
|
15193
15747
|
};
|
|
15748
|
+
floriday_continuous_stock_cache: {
|
|
15749
|
+
Row: {
|
|
15750
|
+
connection_id: string;
|
|
15751
|
+
fetched_at: string;
|
|
15752
|
+
number_of_pieces: number;
|
|
15753
|
+
trade_item_id: string;
|
|
15754
|
+
};
|
|
15755
|
+
Insert: {
|
|
15756
|
+
connection_id: string;
|
|
15757
|
+
fetched_at?: string;
|
|
15758
|
+
number_of_pieces?: number;
|
|
15759
|
+
trade_item_id: string;
|
|
15760
|
+
};
|
|
15761
|
+
Update: {
|
|
15762
|
+
connection_id?: string;
|
|
15763
|
+
fetched_at?: string;
|
|
15764
|
+
number_of_pieces?: number;
|
|
15765
|
+
trade_item_id?: string;
|
|
15766
|
+
};
|
|
15767
|
+
Relationships: [];
|
|
15768
|
+
};
|
|
15194
15769
|
floriday_continuous_stock_queue: {
|
|
15195
15770
|
Row: {
|
|
15196
15771
|
attempts: number;
|
|
@@ -16169,6 +16744,45 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
16169
16744
|
referencedColumns: ["id"];
|
|
16170
16745
|
}];
|
|
16171
16746
|
};
|
|
16747
|
+
floriday_trade_settings_customers_cache: {
|
|
16748
|
+
Row: {
|
|
16749
|
+
connection_id: string;
|
|
16750
|
+
data: import("../integrations/supabase/types").Json;
|
|
16751
|
+
fetched_at: string;
|
|
16752
|
+
floriday_id: string;
|
|
16753
|
+
id: string;
|
|
16754
|
+
is_deleted: boolean;
|
|
16755
|
+
sequence_number: number;
|
|
16756
|
+
updated_at: string;
|
|
16757
|
+
};
|
|
16758
|
+
Insert: {
|
|
16759
|
+
connection_id: string;
|
|
16760
|
+
data: import("../integrations/supabase/types").Json;
|
|
16761
|
+
fetched_at?: string;
|
|
16762
|
+
floriday_id: string;
|
|
16763
|
+
id?: string;
|
|
16764
|
+
is_deleted?: boolean;
|
|
16765
|
+
sequence_number?: number;
|
|
16766
|
+
updated_at?: string;
|
|
16767
|
+
};
|
|
16768
|
+
Update: {
|
|
16769
|
+
connection_id?: string;
|
|
16770
|
+
data?: import("../integrations/supabase/types").Json;
|
|
16771
|
+
fetched_at?: string;
|
|
16772
|
+
floriday_id?: string;
|
|
16773
|
+
id?: string;
|
|
16774
|
+
is_deleted?: boolean;
|
|
16775
|
+
sequence_number?: number;
|
|
16776
|
+
updated_at?: string;
|
|
16777
|
+
};
|
|
16778
|
+
Relationships: [{
|
|
16779
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
16780
|
+
columns: ["connection_id"];
|
|
16781
|
+
isOneToOne: false;
|
|
16782
|
+
referencedRelation: "floriday_connections";
|
|
16783
|
+
referencedColumns: ["id"];
|
|
16784
|
+
}];
|
|
16785
|
+
};
|
|
16172
16786
|
floriday_trips_cache: {
|
|
16173
16787
|
Row: {
|
|
16174
16788
|
carrier_organization_id: string | null;
|
|
@@ -17314,39 +17928,60 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
17314
17928
|
};
|
|
17315
17929
|
manufacture_products: {
|
|
17316
17930
|
Row: {
|
|
17931
|
+
aantal_te_produceren: number;
|
|
17317
17932
|
created_at: string;
|
|
17318
17933
|
description: string | null;
|
|
17319
17934
|
id: string;
|
|
17320
17935
|
is_active: boolean;
|
|
17936
|
+
location_id: string | null;
|
|
17321
17937
|
name: string;
|
|
17938
|
+
partij_nummer: string | null;
|
|
17939
|
+
photos: import("../integrations/supabase/types").Json;
|
|
17322
17940
|
produced_stock: number;
|
|
17323
17941
|
product_code: string;
|
|
17324
17942
|
tenant_id: string;
|
|
17943
|
+
unit: string;
|
|
17325
17944
|
updated_at: string;
|
|
17326
17945
|
};
|
|
17327
17946
|
Insert: {
|
|
17947
|
+
aantal_te_produceren?: number;
|
|
17328
17948
|
created_at?: string;
|
|
17329
17949
|
description?: string | null;
|
|
17330
17950
|
id?: string;
|
|
17331
17951
|
is_active?: boolean;
|
|
17952
|
+
location_id?: string | null;
|
|
17332
17953
|
name: string;
|
|
17954
|
+
partij_nummer?: string | null;
|
|
17955
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17333
17956
|
produced_stock?: number;
|
|
17334
17957
|
product_code: string;
|
|
17335
17958
|
tenant_id: string;
|
|
17959
|
+
unit?: string;
|
|
17336
17960
|
updated_at?: string;
|
|
17337
17961
|
};
|
|
17338
17962
|
Update: {
|
|
17963
|
+
aantal_te_produceren?: number;
|
|
17339
17964
|
created_at?: string;
|
|
17340
17965
|
description?: string | null;
|
|
17341
17966
|
id?: string;
|
|
17342
17967
|
is_active?: boolean;
|
|
17968
|
+
location_id?: string | null;
|
|
17343
17969
|
name?: string;
|
|
17970
|
+
partij_nummer?: string | null;
|
|
17971
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17344
17972
|
produced_stock?: number;
|
|
17345
17973
|
product_code?: string;
|
|
17346
17974
|
tenant_id?: string;
|
|
17975
|
+
unit?: string;
|
|
17347
17976
|
updated_at?: string;
|
|
17348
17977
|
};
|
|
17349
|
-
Relationships: [
|
|
17978
|
+
Relationships: [{
|
|
17979
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
17980
|
+
columns: ["location_id"];
|
|
17981
|
+
isOneToOne: false;
|
|
17982
|
+
referencedRelation: "locations";
|
|
17983
|
+
referencedColumns: ["id"];
|
|
17984
|
+
}];
|
|
17350
17985
|
};
|
|
17351
17986
|
monteurs: {
|
|
17352
17987
|
Row: {
|
|
@@ -18298,27 +18933,126 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18298
18933
|
foreignKeyName: "order_items_product_id_fkey";
|
|
18299
18934
|
columns: ["product_id"];
|
|
18300
18935
|
isOneToOne: false;
|
|
18301
|
-
referencedRelation: "products";
|
|
18936
|
+
referencedRelation: "products";
|
|
18937
|
+
referencedColumns: ["id"];
|
|
18938
|
+
}];
|
|
18939
|
+
};
|
|
18940
|
+
order_number_counters: {
|
|
18941
|
+
Row: {
|
|
18942
|
+
last_value: number;
|
|
18943
|
+
updated_at: string;
|
|
18944
|
+
year: number;
|
|
18945
|
+
};
|
|
18946
|
+
Insert: {
|
|
18947
|
+
last_value?: number;
|
|
18948
|
+
updated_at?: string;
|
|
18949
|
+
year: number;
|
|
18950
|
+
};
|
|
18951
|
+
Update: {
|
|
18952
|
+
last_value?: number;
|
|
18953
|
+
updated_at?: string;
|
|
18954
|
+
year?: number;
|
|
18955
|
+
};
|
|
18956
|
+
Relationships: [];
|
|
18957
|
+
};
|
|
18958
|
+
order_shipment_items: {
|
|
18959
|
+
Row: {
|
|
18960
|
+
created_at: string;
|
|
18961
|
+
id: string;
|
|
18962
|
+
order_item_id: string;
|
|
18963
|
+
product_id: string | null;
|
|
18964
|
+
product_name: string;
|
|
18965
|
+
quantity: number;
|
|
18966
|
+
shipment_id: string;
|
|
18967
|
+
updated_at: string;
|
|
18968
|
+
};
|
|
18969
|
+
Insert: {
|
|
18970
|
+
created_at?: string;
|
|
18971
|
+
id?: string;
|
|
18972
|
+
order_item_id: string;
|
|
18973
|
+
product_id?: string | null;
|
|
18974
|
+
product_name: string;
|
|
18975
|
+
quantity: number;
|
|
18976
|
+
shipment_id: string;
|
|
18977
|
+
updated_at?: string;
|
|
18978
|
+
};
|
|
18979
|
+
Update: {
|
|
18980
|
+
created_at?: string;
|
|
18981
|
+
id?: string;
|
|
18982
|
+
order_item_id?: string;
|
|
18983
|
+
product_id?: string | null;
|
|
18984
|
+
product_name?: string;
|
|
18985
|
+
quantity?: number;
|
|
18986
|
+
shipment_id?: string;
|
|
18987
|
+
updated_at?: string;
|
|
18988
|
+
};
|
|
18989
|
+
Relationships: [{
|
|
18990
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
18991
|
+
columns: ["order_item_id"];
|
|
18992
|
+
isOneToOne: false;
|
|
18993
|
+
referencedRelation: "order_items";
|
|
18994
|
+
referencedColumns: ["id"];
|
|
18995
|
+
}, {
|
|
18996
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
18997
|
+
columns: ["shipment_id"];
|
|
18998
|
+
isOneToOne: false;
|
|
18999
|
+
referencedRelation: "order_shipments";
|
|
18302
19000
|
referencedColumns: ["id"];
|
|
18303
19001
|
}];
|
|
18304
19002
|
};
|
|
18305
|
-
|
|
19003
|
+
order_shipments: {
|
|
18306
19004
|
Row: {
|
|
18307
|
-
|
|
19005
|
+
carrier_id: string | null;
|
|
19006
|
+
created_at: string;
|
|
19007
|
+
delivery_date: string | null;
|
|
19008
|
+
delivery_location_id: string | null;
|
|
19009
|
+
id: string;
|
|
19010
|
+
notes: string | null;
|
|
19011
|
+
order_id: string;
|
|
19012
|
+
shipment_number: number;
|
|
19013
|
+
shipped_at: string | null;
|
|
19014
|
+
status: string;
|
|
18308
19015
|
updated_at: string;
|
|
18309
|
-
year: number;
|
|
18310
19016
|
};
|
|
18311
19017
|
Insert: {
|
|
18312
|
-
|
|
19018
|
+
carrier_id?: string | null;
|
|
19019
|
+
created_at?: string;
|
|
19020
|
+
delivery_date?: string | null;
|
|
19021
|
+
delivery_location_id?: string | null;
|
|
19022
|
+
id?: string;
|
|
19023
|
+
notes?: string | null;
|
|
19024
|
+
order_id: string;
|
|
19025
|
+
shipment_number: number;
|
|
19026
|
+
shipped_at?: string | null;
|
|
19027
|
+
status?: string;
|
|
18313
19028
|
updated_at?: string;
|
|
18314
|
-
year: number;
|
|
18315
19029
|
};
|
|
18316
19030
|
Update: {
|
|
18317
|
-
|
|
19031
|
+
carrier_id?: string | null;
|
|
19032
|
+
created_at?: string;
|
|
19033
|
+
delivery_date?: string | null;
|
|
19034
|
+
delivery_location_id?: string | null;
|
|
19035
|
+
id?: string;
|
|
19036
|
+
notes?: string | null;
|
|
19037
|
+
order_id?: string;
|
|
19038
|
+
shipment_number?: number;
|
|
19039
|
+
shipped_at?: string | null;
|
|
19040
|
+
status?: string;
|
|
18318
19041
|
updated_at?: string;
|
|
18319
|
-
year?: number;
|
|
18320
19042
|
};
|
|
18321
|
-
Relationships: [
|
|
19043
|
+
Relationships: [{
|
|
19044
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
19045
|
+
columns: ["carrier_id"];
|
|
19046
|
+
isOneToOne: false;
|
|
19047
|
+
referencedRelation: "carriers";
|
|
19048
|
+
referencedColumns: ["id"];
|
|
19049
|
+
}, {
|
|
19050
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
19051
|
+
columns: ["order_id"];
|
|
19052
|
+
isOneToOne: false;
|
|
19053
|
+
referencedRelation: "orders";
|
|
19054
|
+
referencedColumns: ["id"];
|
|
19055
|
+
}];
|
|
18322
19056
|
};
|
|
18323
19057
|
orders: {
|
|
18324
19058
|
Row: {
|
|
@@ -18327,8 +19061,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18327
19061
|
customer_id: string | null;
|
|
18328
19062
|
customer_name: string;
|
|
18329
19063
|
deleted_at: string | null;
|
|
18330
|
-
delivery_date: string;
|
|
19064
|
+
delivery_date: string | null;
|
|
18331
19065
|
id: string;
|
|
19066
|
+
is_reservation: boolean;
|
|
18332
19067
|
notes: string | null;
|
|
18333
19068
|
order_date: string;
|
|
18334
19069
|
order_number: string;
|
|
@@ -18345,8 +19080,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18345
19080
|
customer_id?: string | null;
|
|
18346
19081
|
customer_name?: string;
|
|
18347
19082
|
deleted_at?: string | null;
|
|
18348
|
-
delivery_date
|
|
19083
|
+
delivery_date?: string | null;
|
|
18349
19084
|
id?: string;
|
|
19085
|
+
is_reservation?: boolean;
|
|
18350
19086
|
notes?: string | null;
|
|
18351
19087
|
order_date?: string;
|
|
18352
19088
|
order_number: string;
|
|
@@ -18363,8 +19099,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18363
19099
|
customer_id?: string | null;
|
|
18364
19100
|
customer_name?: string;
|
|
18365
19101
|
deleted_at?: string | null;
|
|
18366
|
-
delivery_date?: string;
|
|
19102
|
+
delivery_date?: string | null;
|
|
18367
19103
|
id?: string;
|
|
19104
|
+
is_reservation?: boolean;
|
|
18368
19105
|
notes?: string | null;
|
|
18369
19106
|
order_date?: string;
|
|
18370
19107
|
order_number?: string;
|
|
@@ -18506,6 +19243,63 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18506
19243
|
};
|
|
18507
19244
|
Relationships: [];
|
|
18508
19245
|
};
|
|
19246
|
+
product_bom_items: {
|
|
19247
|
+
Row: {
|
|
19248
|
+
component_product_id: string | null;
|
|
19249
|
+
component_trade_item_floriday_id: string | null;
|
|
19250
|
+
created_at: string;
|
|
19251
|
+
id: string;
|
|
19252
|
+
notes: string | null;
|
|
19253
|
+
parent_product_id: string | null;
|
|
19254
|
+
parent_trade_item_floriday_id: string | null;
|
|
19255
|
+
quantity: number;
|
|
19256
|
+
sort_order: number;
|
|
19257
|
+
tenant_id: string;
|
|
19258
|
+
unit: string;
|
|
19259
|
+
updated_at: string;
|
|
19260
|
+
};
|
|
19261
|
+
Insert: {
|
|
19262
|
+
component_product_id?: string | null;
|
|
19263
|
+
component_trade_item_floriday_id?: string | null;
|
|
19264
|
+
created_at?: string;
|
|
19265
|
+
id?: string;
|
|
19266
|
+
notes?: string | null;
|
|
19267
|
+
parent_product_id?: string | null;
|
|
19268
|
+
parent_trade_item_floriday_id?: string | null;
|
|
19269
|
+
quantity?: number;
|
|
19270
|
+
sort_order?: number;
|
|
19271
|
+
tenant_id: string;
|
|
19272
|
+
unit?: string;
|
|
19273
|
+
updated_at?: string;
|
|
19274
|
+
};
|
|
19275
|
+
Update: {
|
|
19276
|
+
component_product_id?: string | null;
|
|
19277
|
+
component_trade_item_floriday_id?: string | null;
|
|
19278
|
+
created_at?: string;
|
|
19279
|
+
id?: string;
|
|
19280
|
+
notes?: string | null;
|
|
19281
|
+
parent_product_id?: string | null;
|
|
19282
|
+
parent_trade_item_floriday_id?: string | null;
|
|
19283
|
+
quantity?: number;
|
|
19284
|
+
sort_order?: number;
|
|
19285
|
+
tenant_id?: string;
|
|
19286
|
+
unit?: string;
|
|
19287
|
+
updated_at?: string;
|
|
19288
|
+
};
|
|
19289
|
+
Relationships: [{
|
|
19290
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
19291
|
+
columns: ["component_product_id"];
|
|
19292
|
+
isOneToOne: false;
|
|
19293
|
+
referencedRelation: "products";
|
|
19294
|
+
referencedColumns: ["id"];
|
|
19295
|
+
}, {
|
|
19296
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
19297
|
+
columns: ["parent_product_id"];
|
|
19298
|
+
isOneToOne: false;
|
|
19299
|
+
referencedRelation: "products";
|
|
19300
|
+
referencedColumns: ["id"];
|
|
19301
|
+
}];
|
|
19302
|
+
};
|
|
18509
19303
|
product_categories: {
|
|
18510
19304
|
Row: {
|
|
18511
19305
|
color: string;
|
|
@@ -18611,6 +19405,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18611
19405
|
id: string;
|
|
18612
19406
|
product_group_id: string;
|
|
18613
19407
|
quantity: number;
|
|
19408
|
+
sort_order: number;
|
|
18614
19409
|
trade_item_id: string;
|
|
18615
19410
|
};
|
|
18616
19411
|
Insert: {
|
|
@@ -18618,6 +19413,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18618
19413
|
id?: string;
|
|
18619
19414
|
product_group_id: string;
|
|
18620
19415
|
quantity?: number;
|
|
19416
|
+
sort_order?: number;
|
|
18621
19417
|
trade_item_id: string;
|
|
18622
19418
|
};
|
|
18623
19419
|
Update: {
|
|
@@ -18625,6 +19421,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18625
19421
|
id?: string;
|
|
18626
19422
|
product_group_id?: string;
|
|
18627
19423
|
quantity?: number;
|
|
19424
|
+
sort_order?: number;
|
|
18628
19425
|
trade_item_id?: string;
|
|
18629
19426
|
};
|
|
18630
19427
|
Relationships: [{
|
|
@@ -18639,6 +19436,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18639
19436
|
Row: {
|
|
18640
19437
|
created_at: string;
|
|
18641
19438
|
description: string | null;
|
|
19439
|
+
head_product_id: string | null;
|
|
19440
|
+
head_trade_item_floriday_id: string | null;
|
|
18642
19441
|
id: string;
|
|
18643
19442
|
is_active: boolean;
|
|
18644
19443
|
name: string;
|
|
@@ -18648,6 +19447,8 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18648
19447
|
Insert: {
|
|
18649
19448
|
created_at?: string;
|
|
18650
19449
|
description?: string | null;
|
|
19450
|
+
head_product_id?: string | null;
|
|
19451
|
+
head_trade_item_floriday_id?: string | null;
|
|
18651
19452
|
id?: string;
|
|
18652
19453
|
is_active?: boolean;
|
|
18653
19454
|
name: string;
|
|
@@ -18657,21 +19458,126 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18657
19458
|
Update: {
|
|
18658
19459
|
created_at?: string;
|
|
18659
19460
|
description?: string | null;
|
|
19461
|
+
head_product_id?: string | null;
|
|
19462
|
+
head_trade_item_floriday_id?: string | null;
|
|
18660
19463
|
id?: string;
|
|
18661
19464
|
is_active?: boolean;
|
|
18662
19465
|
name?: string;
|
|
18663
19466
|
tenant_id?: string;
|
|
18664
19467
|
updated_at?: string;
|
|
18665
19468
|
};
|
|
19469
|
+
Relationships: [{
|
|
19470
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
19471
|
+
columns: ["head_product_id"];
|
|
19472
|
+
isOneToOne: false;
|
|
19473
|
+
referencedRelation: "products";
|
|
19474
|
+
referencedColumns: ["id"];
|
|
19475
|
+
}];
|
|
19476
|
+
};
|
|
19477
|
+
product_load_settings: {
|
|
19478
|
+
Row: {
|
|
19479
|
+
created_at: string;
|
|
19480
|
+
id: string;
|
|
19481
|
+
is_package: boolean;
|
|
19482
|
+
layers_per_load_carrier: number | null;
|
|
19483
|
+
load_carrier: string | null;
|
|
19484
|
+
package_id: string | null;
|
|
19485
|
+
package_label: string | null;
|
|
19486
|
+
packages_per_layer: number | null;
|
|
19487
|
+
product_id: string | null;
|
|
19488
|
+
tenant_id: string;
|
|
19489
|
+
trade_item_floriday_id: string | null;
|
|
19490
|
+
units_per_package: number | null;
|
|
19491
|
+
updated_at: string;
|
|
19492
|
+
};
|
|
19493
|
+
Insert: {
|
|
19494
|
+
created_at?: string;
|
|
19495
|
+
id?: string;
|
|
19496
|
+
is_package?: boolean;
|
|
19497
|
+
layers_per_load_carrier?: number | null;
|
|
19498
|
+
load_carrier?: string | null;
|
|
19499
|
+
package_id?: string | null;
|
|
19500
|
+
package_label?: string | null;
|
|
19501
|
+
packages_per_layer?: number | null;
|
|
19502
|
+
product_id?: string | null;
|
|
19503
|
+
tenant_id: string;
|
|
19504
|
+
trade_item_floriday_id?: string | null;
|
|
19505
|
+
units_per_package?: number | null;
|
|
19506
|
+
updated_at?: string;
|
|
19507
|
+
};
|
|
19508
|
+
Update: {
|
|
19509
|
+
created_at?: string;
|
|
19510
|
+
id?: string;
|
|
19511
|
+
is_package?: boolean;
|
|
19512
|
+
layers_per_load_carrier?: number | null;
|
|
19513
|
+
load_carrier?: string | null;
|
|
19514
|
+
package_id?: string | null;
|
|
19515
|
+
package_label?: string | null;
|
|
19516
|
+
packages_per_layer?: number | null;
|
|
19517
|
+
product_id?: string | null;
|
|
19518
|
+
tenant_id?: string;
|
|
19519
|
+
trade_item_floriday_id?: string | null;
|
|
19520
|
+
units_per_package?: number | null;
|
|
19521
|
+
updated_at?: string;
|
|
19522
|
+
};
|
|
19523
|
+
Relationships: [{
|
|
19524
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
19525
|
+
columns: ["package_id"];
|
|
19526
|
+
isOneToOne: false;
|
|
19527
|
+
referencedRelation: "packages";
|
|
19528
|
+
referencedColumns: ["id"];
|
|
19529
|
+
}, {
|
|
19530
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
19531
|
+
columns: ["product_id"];
|
|
19532
|
+
isOneToOne: false;
|
|
19533
|
+
referencedRelation: "products";
|
|
19534
|
+
referencedColumns: ["id"];
|
|
19535
|
+
}];
|
|
19536
|
+
};
|
|
19537
|
+
product_merge_log: {
|
|
19538
|
+
Row: {
|
|
19539
|
+
canonical_product_id: string | null;
|
|
19540
|
+
id: string;
|
|
19541
|
+
merged_at: string;
|
|
19542
|
+
merged_from_id: string;
|
|
19543
|
+
notes: string | null;
|
|
19544
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
19545
|
+
source_table: string;
|
|
19546
|
+
status: string;
|
|
19547
|
+
};
|
|
19548
|
+
Insert: {
|
|
19549
|
+
canonical_product_id?: string | null;
|
|
19550
|
+
id?: string;
|
|
19551
|
+
merged_at?: string;
|
|
19552
|
+
merged_from_id: string;
|
|
19553
|
+
notes?: string | null;
|
|
19554
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
19555
|
+
source_table: string;
|
|
19556
|
+
status?: string;
|
|
19557
|
+
};
|
|
19558
|
+
Update: {
|
|
19559
|
+
canonical_product_id?: string | null;
|
|
19560
|
+
id?: string;
|
|
19561
|
+
merged_at?: string;
|
|
19562
|
+
merged_from_id?: string;
|
|
19563
|
+
notes?: string | null;
|
|
19564
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
19565
|
+
source_table?: string;
|
|
19566
|
+
status?: string;
|
|
19567
|
+
};
|
|
18666
19568
|
Relationships: [];
|
|
18667
19569
|
};
|
|
18668
19570
|
products: {
|
|
18669
19571
|
Row: {
|
|
19572
|
+
article_number: string | null;
|
|
18670
19573
|
barcode: string | null;
|
|
18671
19574
|
batch: string;
|
|
18672
19575
|
crates_per_layer: number;
|
|
18673
19576
|
created_at: string;
|
|
18674
19577
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
19578
|
+
floriday_active: boolean;
|
|
19579
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
19580
|
+
floriday_trade_item_id: string | null;
|
|
18675
19581
|
id: string;
|
|
18676
19582
|
image_url: string | null;
|
|
18677
19583
|
incoming_quantity: number;
|
|
@@ -18690,11 +19596,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18690
19596
|
weight: string | null;
|
|
18691
19597
|
};
|
|
18692
19598
|
Insert: {
|
|
19599
|
+
article_number?: string | null;
|
|
18693
19600
|
barcode?: string | null;
|
|
18694
19601
|
batch: string;
|
|
18695
19602
|
crates_per_layer?: number;
|
|
18696
19603
|
created_at?: string;
|
|
18697
19604
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
19605
|
+
floriday_active?: boolean;
|
|
19606
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
19607
|
+
floriday_trade_item_id?: string | null;
|
|
18698
19608
|
id?: string;
|
|
18699
19609
|
image_url?: string | null;
|
|
18700
19610
|
incoming_quantity?: number;
|
|
@@ -18713,11 +19623,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
18713
19623
|
weight?: string | null;
|
|
18714
19624
|
};
|
|
18715
19625
|
Update: {
|
|
19626
|
+
article_number?: string | null;
|
|
18716
19627
|
barcode?: string | null;
|
|
18717
19628
|
batch?: string;
|
|
18718
19629
|
crates_per_layer?: number;
|
|
18719
19630
|
created_at?: string;
|
|
18720
19631
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
19632
|
+
floriday_active?: boolean;
|
|
19633
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
19634
|
+
floriday_trade_item_id?: string | null;
|
|
18721
19635
|
id?: string;
|
|
18722
19636
|
image_url?: string | null;
|
|
18723
19637
|
incoming_quantity?: number;
|
|
@@ -19626,8 +20540,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
19626
20540
|
order_id: string | null;
|
|
19627
20541
|
order_item_id: string | null;
|
|
19628
20542
|
order_source: string | null;
|
|
20543
|
+
parent_trade_item_key: string | null;
|
|
19629
20544
|
physical_after: number | null;
|
|
19630
20545
|
physical_before: number | null;
|
|
20546
|
+
production_batch_id: string | null;
|
|
19631
20547
|
qty_delta: number;
|
|
19632
20548
|
reason: string | null;
|
|
19633
20549
|
reserved_after: number | null;
|
|
@@ -19643,8 +20559,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
19643
20559
|
order_id?: string | null;
|
|
19644
20560
|
order_item_id?: string | null;
|
|
19645
20561
|
order_source?: string | null;
|
|
20562
|
+
parent_trade_item_key?: string | null;
|
|
19646
20563
|
physical_after?: number | null;
|
|
19647
20564
|
physical_before?: number | null;
|
|
20565
|
+
production_batch_id?: string | null;
|
|
19648
20566
|
qty_delta: number;
|
|
19649
20567
|
reason?: string | null;
|
|
19650
20568
|
reserved_after?: number | null;
|
|
@@ -19660,8 +20578,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
19660
20578
|
order_id?: string | null;
|
|
19661
20579
|
order_item_id?: string | null;
|
|
19662
20580
|
order_source?: string | null;
|
|
20581
|
+
parent_trade_item_key?: string | null;
|
|
19663
20582
|
physical_after?: number | null;
|
|
19664
20583
|
physical_before?: number | null;
|
|
20584
|
+
production_batch_id?: string | null;
|
|
19665
20585
|
qty_delta?: number;
|
|
19666
20586
|
reason?: string | null;
|
|
19667
20587
|
reserved_after?: number | null;
|
|
@@ -20120,7 +21040,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20120
21040
|
twinfield_connections: {
|
|
20121
21041
|
Row: {
|
|
20122
21042
|
access_token: string | null;
|
|
20123
|
-
client_id: string;
|
|
21043
|
+
client_id: string | null;
|
|
20124
21044
|
client_secret: string | null;
|
|
20125
21045
|
cluster_uri: string | null;
|
|
20126
21046
|
company_code: string | null;
|
|
@@ -20132,7 +21052,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20132
21052
|
is_active: boolean;
|
|
20133
21053
|
label: string | null;
|
|
20134
21054
|
office_code: string | null;
|
|
20135
|
-
redirect_uri: string;
|
|
21055
|
+
redirect_uri: string | null;
|
|
20136
21056
|
refresh_token: string | null;
|
|
20137
21057
|
token_expires_at: string | null;
|
|
20138
21058
|
updated_at: string;
|
|
@@ -20140,7 +21060,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20140
21060
|
};
|
|
20141
21061
|
Insert: {
|
|
20142
21062
|
access_token?: string | null;
|
|
20143
|
-
client_id
|
|
21063
|
+
client_id?: string | null;
|
|
20144
21064
|
client_secret?: string | null;
|
|
20145
21065
|
cluster_uri?: string | null;
|
|
20146
21066
|
company_code?: string | null;
|
|
@@ -20152,7 +21072,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20152
21072
|
is_active?: boolean;
|
|
20153
21073
|
label?: string | null;
|
|
20154
21074
|
office_code?: string | null;
|
|
20155
|
-
redirect_uri
|
|
21075
|
+
redirect_uri?: string | null;
|
|
20156
21076
|
refresh_token?: string | null;
|
|
20157
21077
|
token_expires_at?: string | null;
|
|
20158
21078
|
updated_at?: string;
|
|
@@ -20160,7 +21080,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20160
21080
|
};
|
|
20161
21081
|
Update: {
|
|
20162
21082
|
access_token?: string | null;
|
|
20163
|
-
client_id?: string;
|
|
21083
|
+
client_id?: string | null;
|
|
20164
21084
|
client_secret?: string | null;
|
|
20165
21085
|
cluster_uri?: string | null;
|
|
20166
21086
|
company_code?: string | null;
|
|
@@ -20172,7 +21092,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
20172
21092
|
is_active?: boolean;
|
|
20173
21093
|
label?: string | null;
|
|
20174
21094
|
office_code?: string | null;
|
|
20175
|
-
redirect_uri?: string;
|
|
21095
|
+
redirect_uri?: string | null;
|
|
20176
21096
|
refresh_token?: string | null;
|
|
20177
21097
|
token_expires_at?: string | null;
|
|
20178
21098
|
updated_at?: string;
|
|
@@ -21367,25 +22287,6 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
21367
22287
|
};
|
|
21368
22288
|
Relationships: [];
|
|
21369
22289
|
};
|
|
21370
|
-
floriday_customer_discounts: {
|
|
21371
|
-
Row: {
|
|
21372
|
-
base_price: number | null;
|
|
21373
|
-
buyer_organization_id: string | null;
|
|
21374
|
-
currency: string | null;
|
|
21375
|
-
discount_type: string | null;
|
|
21376
|
-
discount_value: number | null;
|
|
21377
|
-
min_quantity: number | null;
|
|
21378
|
-
net_price: number | null;
|
|
21379
|
-
product_group_id: string | null;
|
|
21380
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
21381
|
-
source: string | null;
|
|
21382
|
-
source_id: string | null;
|
|
21383
|
-
trade_item_id: string | null;
|
|
21384
|
-
valid_from: string | null;
|
|
21385
|
-
valid_until: string | null;
|
|
21386
|
-
};
|
|
21387
|
-
Relationships: [];
|
|
21388
|
-
};
|
|
21389
22290
|
local_customer_discounts: {
|
|
21390
22291
|
Row: {
|
|
21391
22292
|
base_price: number | null;
|
|
@@ -21689,6 +22590,13 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
21689
22590
|
};
|
|
21690
22591
|
Returns: number;
|
|
21691
22592
|
};
|
|
22593
|
+
_migrate_rewrite_stock_key: {
|
|
22594
|
+
Args: {
|
|
22595
|
+
_from_key: string;
|
|
22596
|
+
_to_key: string;
|
|
22597
|
+
};
|
|
22598
|
+
Returns: undefined;
|
|
22599
|
+
};
|
|
21692
22600
|
afh_city_code: {
|
|
21693
22601
|
Args: {
|
|
21694
22602
|
_city: string;
|
|
@@ -21804,6 +22712,28 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
21804
22712
|
Args: never;
|
|
21805
22713
|
Returns: undefined;
|
|
21806
22714
|
};
|
|
22715
|
+
consume_bom_for_production: {
|
|
22716
|
+
Args: {
|
|
22717
|
+
p_connection_id: string;
|
|
22718
|
+
p_parent_id: string;
|
|
22719
|
+
p_parent_key: string;
|
|
22720
|
+
p_parent_kind: string;
|
|
22721
|
+
p_quantity: number;
|
|
22722
|
+
p_user_id: string;
|
|
22723
|
+
};
|
|
22724
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22725
|
+
} | {
|
|
22726
|
+
Args: {
|
|
22727
|
+
p_batch_id?: string;
|
|
22728
|
+
p_connection_id: string;
|
|
22729
|
+
p_parent_id: string;
|
|
22730
|
+
p_parent_key: string;
|
|
22731
|
+
p_parent_kind: string;
|
|
22732
|
+
p_quantity: number;
|
|
22733
|
+
p_user_id: string;
|
|
22734
|
+
};
|
|
22735
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22736
|
+
};
|
|
21807
22737
|
consume_floriday_rate_limit: {
|
|
21808
22738
|
Args: {
|
|
21809
22739
|
p_bucket: string;
|
|
@@ -21855,6 +22785,13 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
21855
22785
|
table_name: string;
|
|
21856
22786
|
}[];
|
|
21857
22787
|
};
|
|
22788
|
+
delete_samenstelling: {
|
|
22789
|
+
Args: {
|
|
22790
|
+
p_parent_id: string;
|
|
22791
|
+
p_parent_kind: string;
|
|
22792
|
+
};
|
|
22793
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22794
|
+
};
|
|
21858
22795
|
dispatch_carrier_signups_sql: {
|
|
21859
22796
|
Args: {
|
|
21860
22797
|
_catchup?: string;
|
|
@@ -22015,19 +22952,6 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22015
22952
|
resource: string;
|
|
22016
22953
|
}[];
|
|
22017
22954
|
};
|
|
22018
|
-
get_floriday_agreements_active: {
|
|
22019
|
-
Args: {
|
|
22020
|
-
p_on_date?: string;
|
|
22021
|
-
};
|
|
22022
|
-
Returns: {
|
|
22023
|
-
buyer_organization_id: string;
|
|
22024
|
-
data: import("../integrations/supabase/types").Json;
|
|
22025
|
-
floriday_id: string;
|
|
22026
|
-
status: string;
|
|
22027
|
-
valid_from: string;
|
|
22028
|
-
valid_until: string;
|
|
22029
|
-
}[];
|
|
22030
|
-
};
|
|
22031
22955
|
get_floriday_clock_supplies_window: {
|
|
22032
22956
|
Args: {
|
|
22033
22957
|
p_from: string;
|
|
@@ -22100,6 +23024,21 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22100
23024
|
minutes_since_success: number;
|
|
22101
23025
|
}[];
|
|
22102
23026
|
};
|
|
23027
|
+
get_group_allocation_keys: {
|
|
23028
|
+
Args: {
|
|
23029
|
+
p_product_id: string;
|
|
23030
|
+
};
|
|
23031
|
+
Returns: {
|
|
23032
|
+
k: string;
|
|
23033
|
+
ord: number;
|
|
23034
|
+
}[];
|
|
23035
|
+
};
|
|
23036
|
+
get_group_head_key: {
|
|
23037
|
+
Args: {
|
|
23038
|
+
p_group_id: string;
|
|
23039
|
+
};
|
|
23040
|
+
Returns: string;
|
|
23041
|
+
};
|
|
22103
23042
|
get_offer_by_link_code: {
|
|
22104
23043
|
Args: {
|
|
22105
23044
|
p_code: string;
|
|
@@ -22210,6 +23149,25 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22210
23149
|
};
|
|
22211
23150
|
Returns: undefined;
|
|
22212
23151
|
};
|
|
23152
|
+
mark_shipment_shipped: {
|
|
23153
|
+
Args: {
|
|
23154
|
+
p_shipment_id: string;
|
|
23155
|
+
};
|
|
23156
|
+
Returns: undefined;
|
|
23157
|
+
};
|
|
23158
|
+
merge_products: {
|
|
23159
|
+
Args: {
|
|
23160
|
+
_canonical: string;
|
|
23161
|
+
_loser: string;
|
|
23162
|
+
};
|
|
23163
|
+
Returns: undefined;
|
|
23164
|
+
};
|
|
23165
|
+
next_manufacture_partij: {
|
|
23166
|
+
Args: {
|
|
23167
|
+
_tenant_id: string;
|
|
23168
|
+
};
|
|
23169
|
+
Returns: string;
|
|
23170
|
+
};
|
|
22213
23171
|
next_order_number: {
|
|
22214
23172
|
Args: {
|
|
22215
23173
|
p_prefix: string;
|
|
@@ -22288,6 +23246,14 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22288
23246
|
};
|
|
22289
23247
|
Returns: undefined;
|
|
22290
23248
|
};
|
|
23249
|
+
produce_designed_product: {
|
|
23250
|
+
Args: {
|
|
23251
|
+
p_parent_id: string;
|
|
23252
|
+
p_parent_kind: string;
|
|
23253
|
+
p_quantity: number;
|
|
23254
|
+
};
|
|
23255
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23256
|
+
};
|
|
22291
23257
|
promote_trade_item_key: {
|
|
22292
23258
|
Args: {
|
|
22293
23259
|
p_new: string;
|
|
@@ -22295,6 +23261,10 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22295
23261
|
};
|
|
22296
23262
|
Returns: undefined;
|
|
22297
23263
|
};
|
|
23264
|
+
recompute_all_reserved_stock: {
|
|
23265
|
+
Args: never;
|
|
23266
|
+
Returns: undefined;
|
|
23267
|
+
};
|
|
22298
23268
|
recompute_order_status: {
|
|
22299
23269
|
Args: {
|
|
22300
23270
|
p_order_id: string;
|
|
@@ -22344,27 +23314,45 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
|
|
|
22344
23314
|
};
|
|
22345
23315
|
Returns: undefined;
|
|
22346
23316
|
};
|
|
23317
|
+
resolve_group_allocation: {
|
|
23318
|
+
Args: {
|
|
23319
|
+
_needed: number;
|
|
23320
|
+
_product_group_id: string;
|
|
23321
|
+
};
|
|
23322
|
+
Returns: {
|
|
23323
|
+
allocated: number;
|
|
23324
|
+
trade_item_id: string;
|
|
23325
|
+
}[];
|
|
23326
|
+
};
|
|
23327
|
+
resolve_group_member_stock_key: {
|
|
23328
|
+
Args: {
|
|
23329
|
+
p_trade_item_id: string;
|
|
23330
|
+
};
|
|
23331
|
+
Returns: string;
|
|
23332
|
+
};
|
|
22347
23333
|
resolve_product_id_for_item: {
|
|
22348
23334
|
Args: {
|
|
22349
23335
|
p_product_name: string;
|
|
22350
23336
|
};
|
|
22351
23337
|
Returns: string;
|
|
22352
23338
|
};
|
|
22353
|
-
|
|
23339
|
+
resolve_stock_trade_item_key: {
|
|
22354
23340
|
Args: {
|
|
22355
|
-
|
|
22356
|
-
p_url: string;
|
|
23341
|
+
p_product_id: string;
|
|
22357
23342
|
};
|
|
22358
|
-
Returns:
|
|
23343
|
+
Returns: string;
|
|
22359
23344
|
};
|
|
22360
|
-
|
|
23345
|
+
reverse_production: {
|
|
22361
23346
|
Args: {
|
|
22362
|
-
|
|
22363
|
-
|
|
23347
|
+
p_connection_id?: string;
|
|
23348
|
+
p_parent_key: string;
|
|
23349
|
+
p_quantity: number;
|
|
23350
|
+
p_reason?: string;
|
|
23351
|
+
p_user_id?: string;
|
|
22364
23352
|
};
|
|
22365
|
-
Returns:
|
|
23353
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22366
23354
|
};
|
|
22367
|
-
|
|
23355
|
+
schedule_floriday_additional_services_sync: {
|
|
22368
23356
|
Args: {
|
|
22369
23357
|
p_apikey: string;
|
|
22370
23358
|
p_url: string;
|