@flowselections/floriday-voorraad 1.0.20 → 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 +2 -2
|
@@ -275,6 +275,165 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
275
275
|
};
|
|
276
276
|
Relationships: [];
|
|
277
277
|
};
|
|
278
|
+
ai_credentials: {
|
|
279
|
+
Row: {
|
|
280
|
+
active: boolean;
|
|
281
|
+
api_key: string;
|
|
282
|
+
created_at: string;
|
|
283
|
+
created_by: string | null;
|
|
284
|
+
id: string;
|
|
285
|
+
label: string;
|
|
286
|
+
provider_id: string;
|
|
287
|
+
updated_at: string;
|
|
288
|
+
};
|
|
289
|
+
Insert: {
|
|
290
|
+
active?: boolean;
|
|
291
|
+
api_key: string;
|
|
292
|
+
created_at?: string;
|
|
293
|
+
created_by?: string | null;
|
|
294
|
+
id?: string;
|
|
295
|
+
label: string;
|
|
296
|
+
provider_id: string;
|
|
297
|
+
updated_at?: string;
|
|
298
|
+
};
|
|
299
|
+
Update: {
|
|
300
|
+
active?: boolean;
|
|
301
|
+
api_key?: string;
|
|
302
|
+
created_at?: string;
|
|
303
|
+
created_by?: string | null;
|
|
304
|
+
id?: string;
|
|
305
|
+
label?: string;
|
|
306
|
+
provider_id?: string;
|
|
307
|
+
updated_at?: string;
|
|
308
|
+
};
|
|
309
|
+
Relationships: [{
|
|
310
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
311
|
+
columns: ["provider_id"];
|
|
312
|
+
isOneToOne: false;
|
|
313
|
+
referencedRelation: "ai_providers";
|
|
314
|
+
referencedColumns: ["id"];
|
|
315
|
+
}];
|
|
316
|
+
};
|
|
317
|
+
ai_models: {
|
|
318
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
331
|
+
active?: boolean;
|
|
332
|
+
context_window?: number | null;
|
|
333
|
+
created_at?: string;
|
|
334
|
+
display_name: string;
|
|
335
|
+
id?: string;
|
|
336
|
+
is_default?: boolean;
|
|
337
|
+
modality?: string;
|
|
338
|
+
provider_id: string;
|
|
339
|
+
slug: string;
|
|
340
|
+
updated_at?: string;
|
|
341
|
+
};
|
|
342
|
+
Update: {
|
|
343
|
+
active?: boolean;
|
|
344
|
+
context_window?: number | null;
|
|
345
|
+
created_at?: string;
|
|
346
|
+
display_name?: string;
|
|
347
|
+
id?: string;
|
|
348
|
+
is_default?: boolean;
|
|
349
|
+
modality?: string;
|
|
350
|
+
provider_id?: string;
|
|
351
|
+
slug?: string;
|
|
352
|
+
updated_at?: string;
|
|
353
|
+
};
|
|
354
|
+
Relationships: [{
|
|
355
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
356
|
+
columns: ["provider_id"];
|
|
357
|
+
isOneToOne: false;
|
|
358
|
+
referencedRelation: "ai_providers";
|
|
359
|
+
referencedColumns: ["id"];
|
|
360
|
+
}];
|
|
361
|
+
};
|
|
362
|
+
ai_module_bindings: {
|
|
363
|
+
Row: {
|
|
364
|
+
consumer_module_id: string;
|
|
365
|
+
created_at: string;
|
|
366
|
+
credential_id: string;
|
|
367
|
+
id: string;
|
|
368
|
+
model_id: string;
|
|
369
|
+
notes: string | null;
|
|
370
|
+
updated_at: string;
|
|
371
|
+
};
|
|
372
|
+
Insert: {
|
|
373
|
+
consumer_module_id: string;
|
|
374
|
+
created_at?: string;
|
|
375
|
+
credential_id: string;
|
|
376
|
+
id?: string;
|
|
377
|
+
model_id: string;
|
|
378
|
+
notes?: string | null;
|
|
379
|
+
updated_at?: string;
|
|
380
|
+
};
|
|
381
|
+
Update: {
|
|
382
|
+
consumer_module_id?: string;
|
|
383
|
+
created_at?: string;
|
|
384
|
+
credential_id?: string;
|
|
385
|
+
id?: string;
|
|
386
|
+
model_id?: string;
|
|
387
|
+
notes?: string | null;
|
|
388
|
+
updated_at?: string;
|
|
389
|
+
};
|
|
390
|
+
Relationships: [{
|
|
391
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
392
|
+
columns: ["credential_id"];
|
|
393
|
+
isOneToOne: false;
|
|
394
|
+
referencedRelation: "ai_credentials";
|
|
395
|
+
referencedColumns: ["id"];
|
|
396
|
+
}, {
|
|
397
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
398
|
+
columns: ["model_id"];
|
|
399
|
+
isOneToOne: false;
|
|
400
|
+
referencedRelation: "ai_models";
|
|
401
|
+
referencedColumns: ["id"];
|
|
402
|
+
}];
|
|
403
|
+
};
|
|
404
|
+
ai_providers: {
|
|
405
|
+
Row: {
|
|
406
|
+
active: boolean;
|
|
407
|
+
auth_type: string;
|
|
408
|
+
base_url: string | null;
|
|
409
|
+
created_at: string;
|
|
410
|
+
id: string;
|
|
411
|
+
name: string;
|
|
412
|
+
slug: string;
|
|
413
|
+
updated_at: string;
|
|
414
|
+
};
|
|
415
|
+
Insert: {
|
|
416
|
+
active?: boolean;
|
|
417
|
+
auth_type?: string;
|
|
418
|
+
base_url?: string | null;
|
|
419
|
+
created_at?: string;
|
|
420
|
+
id?: string;
|
|
421
|
+
name: string;
|
|
422
|
+
slug: string;
|
|
423
|
+
updated_at?: string;
|
|
424
|
+
};
|
|
425
|
+
Update: {
|
|
426
|
+
active?: boolean;
|
|
427
|
+
auth_type?: string;
|
|
428
|
+
base_url?: string | null;
|
|
429
|
+
created_at?: string;
|
|
430
|
+
id?: string;
|
|
431
|
+
name?: string;
|
|
432
|
+
slug?: string;
|
|
433
|
+
updated_at?: string;
|
|
434
|
+
};
|
|
435
|
+
Relationships: [];
|
|
436
|
+
};
|
|
278
437
|
app_settings: {
|
|
279
438
|
Row: {
|
|
280
439
|
created_at: string;
|
|
@@ -3281,105 +3440,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3281
3440
|
referencedColumns: ["id"];
|
|
3282
3441
|
}];
|
|
3283
3442
|
};
|
|
3284
|
-
floriday_agreement_calloffs_cache: {
|
|
3285
|
-
Row: {
|
|
3286
|
-
agreement_id: string | null;
|
|
3287
|
-
connection_id: string;
|
|
3288
|
-
data: import("../integrations/supabase/types").Json;
|
|
3289
|
-
delivery_date: string | null;
|
|
3290
|
-
fetched_at: string;
|
|
3291
|
-
floriday_id: string;
|
|
3292
|
-
id: string;
|
|
3293
|
-
is_deleted: boolean;
|
|
3294
|
-
sequence_number: number;
|
|
3295
|
-
status: string | null;
|
|
3296
|
-
updated_at: string;
|
|
3297
|
-
};
|
|
3298
|
-
Insert: {
|
|
3299
|
-
agreement_id?: string | null;
|
|
3300
|
-
connection_id: string;
|
|
3301
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3302
|
-
delivery_date?: string | null;
|
|
3303
|
-
fetched_at?: string;
|
|
3304
|
-
floriday_id: string;
|
|
3305
|
-
id?: string;
|
|
3306
|
-
is_deleted?: boolean;
|
|
3307
|
-
sequence_number?: number;
|
|
3308
|
-
status?: string | null;
|
|
3309
|
-
updated_at?: string;
|
|
3310
|
-
};
|
|
3311
|
-
Update: {
|
|
3312
|
-
agreement_id?: string | null;
|
|
3313
|
-
connection_id?: string;
|
|
3314
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3315
|
-
delivery_date?: string | null;
|
|
3316
|
-
fetched_at?: string;
|
|
3317
|
-
floriday_id?: string;
|
|
3318
|
-
id?: string;
|
|
3319
|
-
is_deleted?: boolean;
|
|
3320
|
-
sequence_number?: number;
|
|
3321
|
-
status?: string | null;
|
|
3322
|
-
updated_at?: string;
|
|
3323
|
-
};
|
|
3324
|
-
Relationships: [{
|
|
3325
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3326
|
-
columns: ["connection_id"];
|
|
3327
|
-
isOneToOne: false;
|
|
3328
|
-
referencedRelation: "floriday_connections";
|
|
3329
|
-
referencedColumns: ["id"];
|
|
3330
|
-
}];
|
|
3331
|
-
};
|
|
3332
|
-
floriday_agreements_cache: {
|
|
3333
|
-
Row: {
|
|
3334
|
-
buyer_organization_id: string | null;
|
|
3335
|
-
connection_id: string;
|
|
3336
|
-
data: import("../integrations/supabase/types").Json;
|
|
3337
|
-
fetched_at: string;
|
|
3338
|
-
floriday_id: string;
|
|
3339
|
-
id: string;
|
|
3340
|
-
is_deleted: boolean;
|
|
3341
|
-
sequence_number: number;
|
|
3342
|
-
status: string | null;
|
|
3343
|
-
updated_at: string;
|
|
3344
|
-
valid_from: string | null;
|
|
3345
|
-
valid_until: string | null;
|
|
3346
|
-
};
|
|
3347
|
-
Insert: {
|
|
3348
|
-
buyer_organization_id?: string | null;
|
|
3349
|
-
connection_id: string;
|
|
3350
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3351
|
-
fetched_at?: string;
|
|
3352
|
-
floriday_id: string;
|
|
3353
|
-
id?: string;
|
|
3354
|
-
is_deleted?: boolean;
|
|
3355
|
-
sequence_number?: number;
|
|
3356
|
-
status?: string | null;
|
|
3357
|
-
updated_at?: string;
|
|
3358
|
-
valid_from?: string | null;
|
|
3359
|
-
valid_until?: string | null;
|
|
3360
|
-
};
|
|
3361
|
-
Update: {
|
|
3362
|
-
buyer_organization_id?: string | null;
|
|
3363
|
-
connection_id?: string;
|
|
3364
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3365
|
-
fetched_at?: string;
|
|
3366
|
-
floriday_id?: string;
|
|
3367
|
-
id?: string;
|
|
3368
|
-
is_deleted?: boolean;
|
|
3369
|
-
sequence_number?: number;
|
|
3370
|
-
status?: string | null;
|
|
3371
|
-
updated_at?: string;
|
|
3372
|
-
valid_from?: string | null;
|
|
3373
|
-
valid_until?: string | null;
|
|
3374
|
-
};
|
|
3375
|
-
Relationships: [{
|
|
3376
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3377
|
-
columns: ["connection_id"];
|
|
3378
|
-
isOneToOne: false;
|
|
3379
|
-
referencedRelation: "floriday_connections";
|
|
3380
|
-
referencedColumns: ["id"];
|
|
3381
|
-
}];
|
|
3382
|
-
};
|
|
3383
3443
|
floriday_auction_letters_cache: {
|
|
3384
3444
|
Row: {
|
|
3385
3445
|
auction_letter_code: string;
|
|
@@ -3878,6 +3938,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3878
3938
|
referencedColumns: ["id"];
|
|
3879
3939
|
}];
|
|
3880
3940
|
};
|
|
3941
|
+
floriday_continuous_stock_cache: {
|
|
3942
|
+
Row: {
|
|
3943
|
+
connection_id: string;
|
|
3944
|
+
fetched_at: string;
|
|
3945
|
+
number_of_pieces: number;
|
|
3946
|
+
trade_item_id: string;
|
|
3947
|
+
};
|
|
3948
|
+
Insert: {
|
|
3949
|
+
connection_id: string;
|
|
3950
|
+
fetched_at?: string;
|
|
3951
|
+
number_of_pieces?: number;
|
|
3952
|
+
trade_item_id: string;
|
|
3953
|
+
};
|
|
3954
|
+
Update: {
|
|
3955
|
+
connection_id?: string;
|
|
3956
|
+
fetched_at?: string;
|
|
3957
|
+
number_of_pieces?: number;
|
|
3958
|
+
trade_item_id?: string;
|
|
3959
|
+
};
|
|
3960
|
+
Relationships: [];
|
|
3961
|
+
};
|
|
3881
3962
|
floriday_continuous_stock_queue: {
|
|
3882
3963
|
Row: {
|
|
3883
3964
|
attempts: number;
|
|
@@ -4856,9 +4937,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
4856
4937
|
referencedColumns: ["id"];
|
|
4857
4938
|
}];
|
|
4858
4939
|
};
|
|
4859
|
-
|
|
4940
|
+
floriday_trade_settings_customers_cache: {
|
|
4860
4941
|
Row: {
|
|
4861
|
-
carrier_organization_id: string | null;
|
|
4862
4942
|
connection_id: string;
|
|
4863
4943
|
data: import("../integrations/supabase/types").Json;
|
|
4864
4944
|
fetched_at: string;
|
|
@@ -4866,25 +4946,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
4866
4946
|
id: string;
|
|
4867
4947
|
is_deleted: boolean;
|
|
4868
4948
|
sequence_number: number;
|
|
4869
|
-
status: string | null;
|
|
4870
|
-
trip_date: string | null;
|
|
4871
4949
|
updated_at: string;
|
|
4872
4950
|
};
|
|
4873
4951
|
Insert: {
|
|
4874
|
-
carrier_organization_id?: string | null;
|
|
4875
4952
|
connection_id: string;
|
|
4876
|
-
data
|
|
4953
|
+
data: import("../integrations/supabase/types").Json;
|
|
4877
4954
|
fetched_at?: string;
|
|
4878
4955
|
floriday_id: string;
|
|
4879
4956
|
id?: string;
|
|
4880
4957
|
is_deleted?: boolean;
|
|
4881
4958
|
sequence_number?: number;
|
|
4882
|
-
status?: string | null;
|
|
4883
|
-
trip_date?: string | null;
|
|
4884
4959
|
updated_at?: string;
|
|
4885
4960
|
};
|
|
4886
4961
|
Update: {
|
|
4887
|
-
carrier_organization_id?: string | null;
|
|
4888
4962
|
connection_id?: string;
|
|
4889
4963
|
data?: import("../integrations/supabase/types").Json;
|
|
4890
4964
|
fetched_at?: string;
|
|
@@ -4892,31 +4966,77 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
4892
4966
|
id?: string;
|
|
4893
4967
|
is_deleted?: boolean;
|
|
4894
4968
|
sequence_number?: number;
|
|
4895
|
-
status?: string | null;
|
|
4896
|
-
trip_date?: string | null;
|
|
4897
4969
|
updated_at?: string;
|
|
4898
4970
|
};
|
|
4899
4971
|
Relationships: [{
|
|
4900
|
-
foreignKeyName: "
|
|
4972
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4901
4973
|
columns: ["connection_id"];
|
|
4902
4974
|
isOneToOne: false;
|
|
4903
4975
|
referencedRelation: "floriday_connections";
|
|
4904
4976
|
referencedColumns: ["id"];
|
|
4905
4977
|
}];
|
|
4906
4978
|
};
|
|
4907
|
-
|
|
4979
|
+
floriday_trips_cache: {
|
|
4908
4980
|
Row: {
|
|
4981
|
+
carrier_organization_id: string | null;
|
|
4909
4982
|
connection_id: string;
|
|
4910
4983
|
data: import("../integrations/supabase/types").Json;
|
|
4911
4984
|
fetched_at: string;
|
|
4912
4985
|
floriday_id: string;
|
|
4913
|
-
gln_code: string | null;
|
|
4914
4986
|
id: string;
|
|
4915
|
-
is_default: boolean;
|
|
4916
4987
|
is_deleted: boolean;
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4988
|
+
sequence_number: number;
|
|
4989
|
+
status: string | null;
|
|
4990
|
+
trip_date: string | null;
|
|
4991
|
+
updated_at: string;
|
|
4992
|
+
};
|
|
4993
|
+
Insert: {
|
|
4994
|
+
carrier_organization_id?: string | null;
|
|
4995
|
+
connection_id: string;
|
|
4996
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4997
|
+
fetched_at?: string;
|
|
4998
|
+
floriday_id: string;
|
|
4999
|
+
id?: string;
|
|
5000
|
+
is_deleted?: boolean;
|
|
5001
|
+
sequence_number?: number;
|
|
5002
|
+
status?: string | null;
|
|
5003
|
+
trip_date?: string | null;
|
|
5004
|
+
updated_at?: string;
|
|
5005
|
+
};
|
|
5006
|
+
Update: {
|
|
5007
|
+
carrier_organization_id?: string | null;
|
|
5008
|
+
connection_id?: string;
|
|
5009
|
+
data?: import("../integrations/supabase/types").Json;
|
|
5010
|
+
fetched_at?: string;
|
|
5011
|
+
floriday_id?: string;
|
|
5012
|
+
id?: string;
|
|
5013
|
+
is_deleted?: boolean;
|
|
5014
|
+
sequence_number?: number;
|
|
5015
|
+
status?: string | null;
|
|
5016
|
+
trip_date?: string | null;
|
|
5017
|
+
updated_at?: string;
|
|
5018
|
+
};
|
|
5019
|
+
Relationships: [{
|
|
5020
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
5021
|
+
columns: ["connection_id"];
|
|
5022
|
+
isOneToOne: false;
|
|
5023
|
+
referencedRelation: "floriday_connections";
|
|
5024
|
+
referencedColumns: ["id"];
|
|
5025
|
+
}];
|
|
5026
|
+
};
|
|
5027
|
+
floriday_warehouses_cache: {
|
|
5028
|
+
Row: {
|
|
5029
|
+
connection_id: string;
|
|
5030
|
+
data: import("../integrations/supabase/types").Json;
|
|
5031
|
+
fetched_at: string;
|
|
5032
|
+
floriday_id: string;
|
|
5033
|
+
gln_code: string | null;
|
|
5034
|
+
id: string;
|
|
5035
|
+
is_default: boolean;
|
|
5036
|
+
is_deleted: boolean;
|
|
5037
|
+
name: string | null;
|
|
5038
|
+
updated_at: string;
|
|
5039
|
+
};
|
|
4920
5040
|
Insert: {
|
|
4921
5041
|
connection_id: string;
|
|
4922
5042
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -6001,39 +6121,60 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
6001
6121
|
};
|
|
6002
6122
|
manufacture_products: {
|
|
6003
6123
|
Row: {
|
|
6124
|
+
aantal_te_produceren: number;
|
|
6004
6125
|
created_at: string;
|
|
6005
6126
|
description: string | null;
|
|
6006
6127
|
id: string;
|
|
6007
6128
|
is_active: boolean;
|
|
6129
|
+
location_id: string | null;
|
|
6008
6130
|
name: string;
|
|
6131
|
+
partij_nummer: string | null;
|
|
6132
|
+
photos: import("../integrations/supabase/types").Json;
|
|
6009
6133
|
produced_stock: number;
|
|
6010
6134
|
product_code: string;
|
|
6011
6135
|
tenant_id: string;
|
|
6136
|
+
unit: string;
|
|
6012
6137
|
updated_at: string;
|
|
6013
6138
|
};
|
|
6014
6139
|
Insert: {
|
|
6140
|
+
aantal_te_produceren?: number;
|
|
6015
6141
|
created_at?: string;
|
|
6016
6142
|
description?: string | null;
|
|
6017
6143
|
id?: string;
|
|
6018
6144
|
is_active?: boolean;
|
|
6145
|
+
location_id?: string | null;
|
|
6019
6146
|
name: string;
|
|
6147
|
+
partij_nummer?: string | null;
|
|
6148
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6020
6149
|
produced_stock?: number;
|
|
6021
6150
|
product_code: string;
|
|
6022
6151
|
tenant_id: string;
|
|
6152
|
+
unit?: string;
|
|
6023
6153
|
updated_at?: string;
|
|
6024
6154
|
};
|
|
6025
6155
|
Update: {
|
|
6156
|
+
aantal_te_produceren?: number;
|
|
6026
6157
|
created_at?: string;
|
|
6027
6158
|
description?: string | null;
|
|
6028
6159
|
id?: string;
|
|
6029
6160
|
is_active?: boolean;
|
|
6161
|
+
location_id?: string | null;
|
|
6030
6162
|
name?: string;
|
|
6163
|
+
partij_nummer?: string | null;
|
|
6164
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6031
6165
|
produced_stock?: number;
|
|
6032
6166
|
product_code?: string;
|
|
6033
6167
|
tenant_id?: string;
|
|
6168
|
+
unit?: string;
|
|
6034
6169
|
updated_at?: string;
|
|
6035
6170
|
};
|
|
6036
|
-
Relationships: [
|
|
6171
|
+
Relationships: [{
|
|
6172
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6173
|
+
columns: ["location_id"];
|
|
6174
|
+
isOneToOne: false;
|
|
6175
|
+
referencedRelation: "locations";
|
|
6176
|
+
referencedColumns: ["id"];
|
|
6177
|
+
}];
|
|
6037
6178
|
};
|
|
6038
6179
|
monteurs: {
|
|
6039
6180
|
Row: {
|
|
@@ -7007,6 +7148,105 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7007
7148
|
};
|
|
7008
7149
|
Relationships: [];
|
|
7009
7150
|
};
|
|
7151
|
+
order_shipment_items: {
|
|
7152
|
+
Row: {
|
|
7153
|
+
created_at: string;
|
|
7154
|
+
id: string;
|
|
7155
|
+
order_item_id: string;
|
|
7156
|
+
product_id: string | null;
|
|
7157
|
+
product_name: string;
|
|
7158
|
+
quantity: number;
|
|
7159
|
+
shipment_id: string;
|
|
7160
|
+
updated_at: string;
|
|
7161
|
+
};
|
|
7162
|
+
Insert: {
|
|
7163
|
+
created_at?: string;
|
|
7164
|
+
id?: string;
|
|
7165
|
+
order_item_id: string;
|
|
7166
|
+
product_id?: string | null;
|
|
7167
|
+
product_name: string;
|
|
7168
|
+
quantity: number;
|
|
7169
|
+
shipment_id: string;
|
|
7170
|
+
updated_at?: string;
|
|
7171
|
+
};
|
|
7172
|
+
Update: {
|
|
7173
|
+
created_at?: string;
|
|
7174
|
+
id?: string;
|
|
7175
|
+
order_item_id?: string;
|
|
7176
|
+
product_id?: string | null;
|
|
7177
|
+
product_name?: string;
|
|
7178
|
+
quantity?: number;
|
|
7179
|
+
shipment_id?: string;
|
|
7180
|
+
updated_at?: string;
|
|
7181
|
+
};
|
|
7182
|
+
Relationships: [{
|
|
7183
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7184
|
+
columns: ["order_item_id"];
|
|
7185
|
+
isOneToOne: false;
|
|
7186
|
+
referencedRelation: "order_items";
|
|
7187
|
+
referencedColumns: ["id"];
|
|
7188
|
+
}, {
|
|
7189
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7190
|
+
columns: ["shipment_id"];
|
|
7191
|
+
isOneToOne: false;
|
|
7192
|
+
referencedRelation: "order_shipments";
|
|
7193
|
+
referencedColumns: ["id"];
|
|
7194
|
+
}];
|
|
7195
|
+
};
|
|
7196
|
+
order_shipments: {
|
|
7197
|
+
Row: {
|
|
7198
|
+
carrier_id: string | null;
|
|
7199
|
+
created_at: string;
|
|
7200
|
+
delivery_date: string | null;
|
|
7201
|
+
delivery_location_id: string | null;
|
|
7202
|
+
id: string;
|
|
7203
|
+
notes: string | null;
|
|
7204
|
+
order_id: string;
|
|
7205
|
+
shipment_number: number;
|
|
7206
|
+
shipped_at: string | null;
|
|
7207
|
+
status: string;
|
|
7208
|
+
updated_at: string;
|
|
7209
|
+
};
|
|
7210
|
+
Insert: {
|
|
7211
|
+
carrier_id?: string | null;
|
|
7212
|
+
created_at?: string;
|
|
7213
|
+
delivery_date?: string | null;
|
|
7214
|
+
delivery_location_id?: string | null;
|
|
7215
|
+
id?: string;
|
|
7216
|
+
notes?: string | null;
|
|
7217
|
+
order_id: string;
|
|
7218
|
+
shipment_number: number;
|
|
7219
|
+
shipped_at?: string | null;
|
|
7220
|
+
status?: string;
|
|
7221
|
+
updated_at?: string;
|
|
7222
|
+
};
|
|
7223
|
+
Update: {
|
|
7224
|
+
carrier_id?: string | null;
|
|
7225
|
+
created_at?: string;
|
|
7226
|
+
delivery_date?: string | null;
|
|
7227
|
+
delivery_location_id?: string | null;
|
|
7228
|
+
id?: string;
|
|
7229
|
+
notes?: string | null;
|
|
7230
|
+
order_id?: string;
|
|
7231
|
+
shipment_number?: number;
|
|
7232
|
+
shipped_at?: string | null;
|
|
7233
|
+
status?: string;
|
|
7234
|
+
updated_at?: string;
|
|
7235
|
+
};
|
|
7236
|
+
Relationships: [{
|
|
7237
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7238
|
+
columns: ["carrier_id"];
|
|
7239
|
+
isOneToOne: false;
|
|
7240
|
+
referencedRelation: "carriers";
|
|
7241
|
+
referencedColumns: ["id"];
|
|
7242
|
+
}, {
|
|
7243
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7244
|
+
columns: ["order_id"];
|
|
7245
|
+
isOneToOne: false;
|
|
7246
|
+
referencedRelation: "orders";
|
|
7247
|
+
referencedColumns: ["id"];
|
|
7248
|
+
}];
|
|
7249
|
+
};
|
|
7010
7250
|
orders: {
|
|
7011
7251
|
Row: {
|
|
7012
7252
|
created_at: string;
|
|
@@ -7014,8 +7254,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7014
7254
|
customer_id: string | null;
|
|
7015
7255
|
customer_name: string;
|
|
7016
7256
|
deleted_at: string | null;
|
|
7017
|
-
delivery_date: string;
|
|
7257
|
+
delivery_date: string | null;
|
|
7018
7258
|
id: string;
|
|
7259
|
+
is_reservation: boolean;
|
|
7019
7260
|
notes: string | null;
|
|
7020
7261
|
order_date: string;
|
|
7021
7262
|
order_number: string;
|
|
@@ -7032,8 +7273,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7032
7273
|
customer_id?: string | null;
|
|
7033
7274
|
customer_name?: string;
|
|
7034
7275
|
deleted_at?: string | null;
|
|
7035
|
-
delivery_date
|
|
7276
|
+
delivery_date?: string | null;
|
|
7036
7277
|
id?: string;
|
|
7278
|
+
is_reservation?: boolean;
|
|
7037
7279
|
notes?: string | null;
|
|
7038
7280
|
order_date?: string;
|
|
7039
7281
|
order_number: string;
|
|
@@ -7050,8 +7292,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7050
7292
|
customer_id?: string | null;
|
|
7051
7293
|
customer_name?: string;
|
|
7052
7294
|
deleted_at?: string | null;
|
|
7053
|
-
delivery_date?: string;
|
|
7295
|
+
delivery_date?: string | null;
|
|
7054
7296
|
id?: string;
|
|
7297
|
+
is_reservation?: boolean;
|
|
7055
7298
|
notes?: string | null;
|
|
7056
7299
|
order_date?: string;
|
|
7057
7300
|
order_number?: string;
|
|
@@ -7193,6 +7436,63 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7193
7436
|
};
|
|
7194
7437
|
Relationships: [];
|
|
7195
7438
|
};
|
|
7439
|
+
product_bom_items: {
|
|
7440
|
+
Row: {
|
|
7441
|
+
component_product_id: string | null;
|
|
7442
|
+
component_trade_item_floriday_id: string | null;
|
|
7443
|
+
created_at: string;
|
|
7444
|
+
id: string;
|
|
7445
|
+
notes: string | null;
|
|
7446
|
+
parent_product_id: string | null;
|
|
7447
|
+
parent_trade_item_floriday_id: string | null;
|
|
7448
|
+
quantity: number;
|
|
7449
|
+
sort_order: number;
|
|
7450
|
+
tenant_id: string;
|
|
7451
|
+
unit: string;
|
|
7452
|
+
updated_at: string;
|
|
7453
|
+
};
|
|
7454
|
+
Insert: {
|
|
7455
|
+
component_product_id?: string | null;
|
|
7456
|
+
component_trade_item_floriday_id?: string | null;
|
|
7457
|
+
created_at?: string;
|
|
7458
|
+
id?: string;
|
|
7459
|
+
notes?: string | null;
|
|
7460
|
+
parent_product_id?: string | null;
|
|
7461
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7462
|
+
quantity?: number;
|
|
7463
|
+
sort_order?: number;
|
|
7464
|
+
tenant_id: string;
|
|
7465
|
+
unit?: string;
|
|
7466
|
+
updated_at?: string;
|
|
7467
|
+
};
|
|
7468
|
+
Update: {
|
|
7469
|
+
component_product_id?: string | null;
|
|
7470
|
+
component_trade_item_floriday_id?: string | null;
|
|
7471
|
+
created_at?: string;
|
|
7472
|
+
id?: string;
|
|
7473
|
+
notes?: string | null;
|
|
7474
|
+
parent_product_id?: string | null;
|
|
7475
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7476
|
+
quantity?: number;
|
|
7477
|
+
sort_order?: number;
|
|
7478
|
+
tenant_id?: string;
|
|
7479
|
+
unit?: string;
|
|
7480
|
+
updated_at?: string;
|
|
7481
|
+
};
|
|
7482
|
+
Relationships: [{
|
|
7483
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7484
|
+
columns: ["component_product_id"];
|
|
7485
|
+
isOneToOne: false;
|
|
7486
|
+
referencedRelation: "products";
|
|
7487
|
+
referencedColumns: ["id"];
|
|
7488
|
+
}, {
|
|
7489
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7490
|
+
columns: ["parent_product_id"];
|
|
7491
|
+
isOneToOne: false;
|
|
7492
|
+
referencedRelation: "products";
|
|
7493
|
+
referencedColumns: ["id"];
|
|
7494
|
+
}];
|
|
7495
|
+
};
|
|
7196
7496
|
product_categories: {
|
|
7197
7497
|
Row: {
|
|
7198
7498
|
color: string;
|
|
@@ -7298,6 +7598,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7298
7598
|
id: string;
|
|
7299
7599
|
product_group_id: string;
|
|
7300
7600
|
quantity: number;
|
|
7601
|
+
sort_order: number;
|
|
7301
7602
|
trade_item_id: string;
|
|
7302
7603
|
};
|
|
7303
7604
|
Insert: {
|
|
@@ -7305,6 +7606,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7305
7606
|
id?: string;
|
|
7306
7607
|
product_group_id: string;
|
|
7307
7608
|
quantity?: number;
|
|
7609
|
+
sort_order?: number;
|
|
7308
7610
|
trade_item_id: string;
|
|
7309
7611
|
};
|
|
7310
7612
|
Update: {
|
|
@@ -7312,6 +7614,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7312
7614
|
id?: string;
|
|
7313
7615
|
product_group_id?: string;
|
|
7314
7616
|
quantity?: number;
|
|
7617
|
+
sort_order?: number;
|
|
7315
7618
|
trade_item_id?: string;
|
|
7316
7619
|
};
|
|
7317
7620
|
Relationships: [{
|
|
@@ -7326,6 +7629,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7326
7629
|
Row: {
|
|
7327
7630
|
created_at: string;
|
|
7328
7631
|
description: string | null;
|
|
7632
|
+
head_product_id: string | null;
|
|
7633
|
+
head_trade_item_floriday_id: string | null;
|
|
7329
7634
|
id: string;
|
|
7330
7635
|
is_active: boolean;
|
|
7331
7636
|
name: string;
|
|
@@ -7335,6 +7640,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7335
7640
|
Insert: {
|
|
7336
7641
|
created_at?: string;
|
|
7337
7642
|
description?: string | null;
|
|
7643
|
+
head_product_id?: string | null;
|
|
7644
|
+
head_trade_item_floriday_id?: string | null;
|
|
7338
7645
|
id?: string;
|
|
7339
7646
|
is_active?: boolean;
|
|
7340
7647
|
name: string;
|
|
@@ -7344,21 +7651,126 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7344
7651
|
Update: {
|
|
7345
7652
|
created_at?: string;
|
|
7346
7653
|
description?: string | null;
|
|
7654
|
+
head_product_id?: string | null;
|
|
7655
|
+
head_trade_item_floriday_id?: string | null;
|
|
7347
7656
|
id?: string;
|
|
7348
7657
|
is_active?: boolean;
|
|
7349
7658
|
name?: string;
|
|
7350
7659
|
tenant_id?: string;
|
|
7351
7660
|
updated_at?: string;
|
|
7352
7661
|
};
|
|
7662
|
+
Relationships: [{
|
|
7663
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7664
|
+
columns: ["head_product_id"];
|
|
7665
|
+
isOneToOne: false;
|
|
7666
|
+
referencedRelation: "products";
|
|
7667
|
+
referencedColumns: ["id"];
|
|
7668
|
+
}];
|
|
7669
|
+
};
|
|
7670
|
+
product_load_settings: {
|
|
7671
|
+
Row: {
|
|
7672
|
+
created_at: string;
|
|
7673
|
+
id: string;
|
|
7674
|
+
is_package: boolean;
|
|
7675
|
+
layers_per_load_carrier: number | null;
|
|
7676
|
+
load_carrier: string | null;
|
|
7677
|
+
package_id: string | null;
|
|
7678
|
+
package_label: string | null;
|
|
7679
|
+
packages_per_layer: number | null;
|
|
7680
|
+
product_id: string | null;
|
|
7681
|
+
tenant_id: string;
|
|
7682
|
+
trade_item_floriday_id: string | null;
|
|
7683
|
+
units_per_package: number | null;
|
|
7684
|
+
updated_at: string;
|
|
7685
|
+
};
|
|
7686
|
+
Insert: {
|
|
7687
|
+
created_at?: string;
|
|
7688
|
+
id?: string;
|
|
7689
|
+
is_package?: boolean;
|
|
7690
|
+
layers_per_load_carrier?: number | null;
|
|
7691
|
+
load_carrier?: string | null;
|
|
7692
|
+
package_id?: string | null;
|
|
7693
|
+
package_label?: string | null;
|
|
7694
|
+
packages_per_layer?: number | null;
|
|
7695
|
+
product_id?: string | null;
|
|
7696
|
+
tenant_id: string;
|
|
7697
|
+
trade_item_floriday_id?: string | null;
|
|
7698
|
+
units_per_package?: number | null;
|
|
7699
|
+
updated_at?: string;
|
|
7700
|
+
};
|
|
7701
|
+
Update: {
|
|
7702
|
+
created_at?: string;
|
|
7703
|
+
id?: string;
|
|
7704
|
+
is_package?: boolean;
|
|
7705
|
+
layers_per_load_carrier?: number | null;
|
|
7706
|
+
load_carrier?: string | null;
|
|
7707
|
+
package_id?: string | null;
|
|
7708
|
+
package_label?: string | null;
|
|
7709
|
+
packages_per_layer?: number | null;
|
|
7710
|
+
product_id?: string | null;
|
|
7711
|
+
tenant_id?: string;
|
|
7712
|
+
trade_item_floriday_id?: string | null;
|
|
7713
|
+
units_per_package?: number | null;
|
|
7714
|
+
updated_at?: string;
|
|
7715
|
+
};
|
|
7716
|
+
Relationships: [{
|
|
7717
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7718
|
+
columns: ["package_id"];
|
|
7719
|
+
isOneToOne: false;
|
|
7720
|
+
referencedRelation: "packages";
|
|
7721
|
+
referencedColumns: ["id"];
|
|
7722
|
+
}, {
|
|
7723
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7724
|
+
columns: ["product_id"];
|
|
7725
|
+
isOneToOne: false;
|
|
7726
|
+
referencedRelation: "products";
|
|
7727
|
+
referencedColumns: ["id"];
|
|
7728
|
+
}];
|
|
7729
|
+
};
|
|
7730
|
+
product_merge_log: {
|
|
7731
|
+
Row: {
|
|
7732
|
+
canonical_product_id: string | null;
|
|
7733
|
+
id: string;
|
|
7734
|
+
merged_at: string;
|
|
7735
|
+
merged_from_id: string;
|
|
7736
|
+
notes: string | null;
|
|
7737
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7738
|
+
source_table: string;
|
|
7739
|
+
status: string;
|
|
7740
|
+
};
|
|
7741
|
+
Insert: {
|
|
7742
|
+
canonical_product_id?: string | null;
|
|
7743
|
+
id?: string;
|
|
7744
|
+
merged_at?: string;
|
|
7745
|
+
merged_from_id: string;
|
|
7746
|
+
notes?: string | null;
|
|
7747
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7748
|
+
source_table: string;
|
|
7749
|
+
status?: string;
|
|
7750
|
+
};
|
|
7751
|
+
Update: {
|
|
7752
|
+
canonical_product_id?: string | null;
|
|
7753
|
+
id?: string;
|
|
7754
|
+
merged_at?: string;
|
|
7755
|
+
merged_from_id?: string;
|
|
7756
|
+
notes?: string | null;
|
|
7757
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7758
|
+
source_table?: string;
|
|
7759
|
+
status?: string;
|
|
7760
|
+
};
|
|
7353
7761
|
Relationships: [];
|
|
7354
7762
|
};
|
|
7355
7763
|
products: {
|
|
7356
7764
|
Row: {
|
|
7765
|
+
article_number: string | null;
|
|
7357
7766
|
barcode: string | null;
|
|
7358
7767
|
batch: string;
|
|
7359
7768
|
crates_per_layer: number;
|
|
7360
7769
|
created_at: string;
|
|
7361
7770
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7771
|
+
floriday_active: boolean;
|
|
7772
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7773
|
+
floriday_trade_item_id: string | null;
|
|
7362
7774
|
id: string;
|
|
7363
7775
|
image_url: string | null;
|
|
7364
7776
|
incoming_quantity: number;
|
|
@@ -7377,11 +7789,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7377
7789
|
weight: string | null;
|
|
7378
7790
|
};
|
|
7379
7791
|
Insert: {
|
|
7792
|
+
article_number?: string | null;
|
|
7380
7793
|
barcode?: string | null;
|
|
7381
7794
|
batch: string;
|
|
7382
7795
|
crates_per_layer?: number;
|
|
7383
7796
|
created_at?: string;
|
|
7384
7797
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7798
|
+
floriday_active?: boolean;
|
|
7799
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7800
|
+
floriday_trade_item_id?: string | null;
|
|
7385
7801
|
id?: string;
|
|
7386
7802
|
image_url?: string | null;
|
|
7387
7803
|
incoming_quantity?: number;
|
|
@@ -7400,11 +7816,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7400
7816
|
weight?: string | null;
|
|
7401
7817
|
};
|
|
7402
7818
|
Update: {
|
|
7819
|
+
article_number?: string | null;
|
|
7403
7820
|
barcode?: string | null;
|
|
7404
7821
|
batch?: string;
|
|
7405
7822
|
crates_per_layer?: number;
|
|
7406
7823
|
created_at?: string;
|
|
7407
7824
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7825
|
+
floriday_active?: boolean;
|
|
7826
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7827
|
+
floriday_trade_item_id?: string | null;
|
|
7408
7828
|
id?: string;
|
|
7409
7829
|
image_url?: string | null;
|
|
7410
7830
|
incoming_quantity?: number;
|
|
@@ -8313,8 +8733,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8313
8733
|
order_id: string | null;
|
|
8314
8734
|
order_item_id: string | null;
|
|
8315
8735
|
order_source: string | null;
|
|
8736
|
+
parent_trade_item_key: string | null;
|
|
8316
8737
|
physical_after: number | null;
|
|
8317
8738
|
physical_before: number | null;
|
|
8739
|
+
production_batch_id: string | null;
|
|
8318
8740
|
qty_delta: number;
|
|
8319
8741
|
reason: string | null;
|
|
8320
8742
|
reserved_after: number | null;
|
|
@@ -8330,8 +8752,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8330
8752
|
order_id?: string | null;
|
|
8331
8753
|
order_item_id?: string | null;
|
|
8332
8754
|
order_source?: string | null;
|
|
8755
|
+
parent_trade_item_key?: string | null;
|
|
8333
8756
|
physical_after?: number | null;
|
|
8334
8757
|
physical_before?: number | null;
|
|
8758
|
+
production_batch_id?: string | null;
|
|
8335
8759
|
qty_delta: number;
|
|
8336
8760
|
reason?: string | null;
|
|
8337
8761
|
reserved_after?: number | null;
|
|
@@ -8347,8 +8771,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8347
8771
|
order_id?: string | null;
|
|
8348
8772
|
order_item_id?: string | null;
|
|
8349
8773
|
order_source?: string | null;
|
|
8774
|
+
parent_trade_item_key?: string | null;
|
|
8350
8775
|
physical_after?: number | null;
|
|
8351
8776
|
physical_before?: number | null;
|
|
8777
|
+
production_batch_id?: string | null;
|
|
8352
8778
|
qty_delta?: number;
|
|
8353
8779
|
reason?: string | null;
|
|
8354
8780
|
reserved_after?: number | null;
|
|
@@ -8807,7 +9233,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8807
9233
|
twinfield_connections: {
|
|
8808
9234
|
Row: {
|
|
8809
9235
|
access_token: string | null;
|
|
8810
|
-
client_id: string;
|
|
9236
|
+
client_id: string | null;
|
|
8811
9237
|
client_secret: string | null;
|
|
8812
9238
|
cluster_uri: string | null;
|
|
8813
9239
|
company_code: string | null;
|
|
@@ -8819,7 +9245,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8819
9245
|
is_active: boolean;
|
|
8820
9246
|
label: string | null;
|
|
8821
9247
|
office_code: string | null;
|
|
8822
|
-
redirect_uri: string;
|
|
9248
|
+
redirect_uri: string | null;
|
|
8823
9249
|
refresh_token: string | null;
|
|
8824
9250
|
token_expires_at: string | null;
|
|
8825
9251
|
updated_at: string;
|
|
@@ -8827,7 +9253,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8827
9253
|
};
|
|
8828
9254
|
Insert: {
|
|
8829
9255
|
access_token?: string | null;
|
|
8830
|
-
client_id
|
|
9256
|
+
client_id?: string | null;
|
|
8831
9257
|
client_secret?: string | null;
|
|
8832
9258
|
cluster_uri?: string | null;
|
|
8833
9259
|
company_code?: string | null;
|
|
@@ -8839,7 +9265,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8839
9265
|
is_active?: boolean;
|
|
8840
9266
|
label?: string | null;
|
|
8841
9267
|
office_code?: string | null;
|
|
8842
|
-
redirect_uri
|
|
9268
|
+
redirect_uri?: string | null;
|
|
8843
9269
|
refresh_token?: string | null;
|
|
8844
9270
|
token_expires_at?: string | null;
|
|
8845
9271
|
updated_at?: string;
|
|
@@ -8847,7 +9273,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8847
9273
|
};
|
|
8848
9274
|
Update: {
|
|
8849
9275
|
access_token?: string | null;
|
|
8850
|
-
client_id?: string;
|
|
9276
|
+
client_id?: string | null;
|
|
8851
9277
|
client_secret?: string | null;
|
|
8852
9278
|
cluster_uri?: string | null;
|
|
8853
9279
|
company_code?: string | null;
|
|
@@ -8859,7 +9285,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8859
9285
|
is_active?: boolean;
|
|
8860
9286
|
label?: string | null;
|
|
8861
9287
|
office_code?: string | null;
|
|
8862
|
-
redirect_uri?: string;
|
|
9288
|
+
redirect_uri?: string | null;
|
|
8863
9289
|
refresh_token?: string | null;
|
|
8864
9290
|
token_expires_at?: string | null;
|
|
8865
9291
|
updated_at?: string;
|
|
@@ -10054,25 +10480,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10054
10480
|
};
|
|
10055
10481
|
Relationships: [];
|
|
10056
10482
|
};
|
|
10057
|
-
floriday_customer_discounts: {
|
|
10058
|
-
Row: {
|
|
10059
|
-
base_price: number | null;
|
|
10060
|
-
buyer_organization_id: string | null;
|
|
10061
|
-
currency: string | null;
|
|
10062
|
-
discount_type: string | null;
|
|
10063
|
-
discount_value: number | null;
|
|
10064
|
-
min_quantity: number | null;
|
|
10065
|
-
net_price: number | null;
|
|
10066
|
-
product_group_id: string | null;
|
|
10067
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10068
|
-
source: string | null;
|
|
10069
|
-
source_id: string | null;
|
|
10070
|
-
trade_item_id: string | null;
|
|
10071
|
-
valid_from: string | null;
|
|
10072
|
-
valid_until: string | null;
|
|
10073
|
-
};
|
|
10074
|
-
Relationships: [];
|
|
10075
|
-
};
|
|
10076
10483
|
local_customer_discounts: {
|
|
10077
10484
|
Row: {
|
|
10078
10485
|
base_price: number | null;
|
|
@@ -10376,6 +10783,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10376
10783
|
};
|
|
10377
10784
|
Returns: number;
|
|
10378
10785
|
};
|
|
10786
|
+
_migrate_rewrite_stock_key: {
|
|
10787
|
+
Args: {
|
|
10788
|
+
_from_key: string;
|
|
10789
|
+
_to_key: string;
|
|
10790
|
+
};
|
|
10791
|
+
Returns: undefined;
|
|
10792
|
+
};
|
|
10379
10793
|
afh_city_code: {
|
|
10380
10794
|
Args: {
|
|
10381
10795
|
_city: string;
|
|
@@ -10491,6 +10905,28 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10491
10905
|
Args: never;
|
|
10492
10906
|
Returns: undefined;
|
|
10493
10907
|
};
|
|
10908
|
+
consume_bom_for_production: {
|
|
10909
|
+
Args: {
|
|
10910
|
+
p_connection_id: string;
|
|
10911
|
+
p_parent_id: string;
|
|
10912
|
+
p_parent_key: string;
|
|
10913
|
+
p_parent_kind: string;
|
|
10914
|
+
p_quantity: number;
|
|
10915
|
+
p_user_id: string;
|
|
10916
|
+
};
|
|
10917
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10918
|
+
} | {
|
|
10919
|
+
Args: {
|
|
10920
|
+
p_batch_id?: string;
|
|
10921
|
+
p_connection_id: string;
|
|
10922
|
+
p_parent_id: string;
|
|
10923
|
+
p_parent_key: string;
|
|
10924
|
+
p_parent_kind: string;
|
|
10925
|
+
p_quantity: number;
|
|
10926
|
+
p_user_id: string;
|
|
10927
|
+
};
|
|
10928
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10929
|
+
};
|
|
10494
10930
|
consume_floriday_rate_limit: {
|
|
10495
10931
|
Args: {
|
|
10496
10932
|
p_bucket: string;
|
|
@@ -10542,6 +10978,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10542
10978
|
table_name: string;
|
|
10543
10979
|
}[];
|
|
10544
10980
|
};
|
|
10981
|
+
delete_samenstelling: {
|
|
10982
|
+
Args: {
|
|
10983
|
+
p_parent_id: string;
|
|
10984
|
+
p_parent_kind: string;
|
|
10985
|
+
};
|
|
10986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10987
|
+
};
|
|
10545
10988
|
dispatch_carrier_signups_sql: {
|
|
10546
10989
|
Args: {
|
|
10547
10990
|
_catchup?: string;
|
|
@@ -10702,19 +11145,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10702
11145
|
resource: string;
|
|
10703
11146
|
}[];
|
|
10704
11147
|
};
|
|
10705
|
-
get_floriday_agreements_active: {
|
|
10706
|
-
Args: {
|
|
10707
|
-
p_on_date?: string;
|
|
10708
|
-
};
|
|
10709
|
-
Returns: {
|
|
10710
|
-
buyer_organization_id: string;
|
|
10711
|
-
data: import("../integrations/supabase/types").Json;
|
|
10712
|
-
floriday_id: string;
|
|
10713
|
-
status: string;
|
|
10714
|
-
valid_from: string;
|
|
10715
|
-
valid_until: string;
|
|
10716
|
-
}[];
|
|
10717
|
-
};
|
|
10718
11148
|
get_floriday_clock_supplies_window: {
|
|
10719
11149
|
Args: {
|
|
10720
11150
|
p_from: string;
|
|
@@ -10787,6 +11217,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10787
11217
|
minutes_since_success: number;
|
|
10788
11218
|
}[];
|
|
10789
11219
|
};
|
|
11220
|
+
get_group_allocation_keys: {
|
|
11221
|
+
Args: {
|
|
11222
|
+
p_product_id: string;
|
|
11223
|
+
};
|
|
11224
|
+
Returns: {
|
|
11225
|
+
k: string;
|
|
11226
|
+
ord: number;
|
|
11227
|
+
}[];
|
|
11228
|
+
};
|
|
11229
|
+
get_group_head_key: {
|
|
11230
|
+
Args: {
|
|
11231
|
+
p_group_id: string;
|
|
11232
|
+
};
|
|
11233
|
+
Returns: string;
|
|
11234
|
+
};
|
|
10790
11235
|
get_offer_by_link_code: {
|
|
10791
11236
|
Args: {
|
|
10792
11237
|
p_code: string;
|
|
@@ -10897,6 +11342,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10897
11342
|
};
|
|
10898
11343
|
Returns: undefined;
|
|
10899
11344
|
};
|
|
11345
|
+
mark_shipment_shipped: {
|
|
11346
|
+
Args: {
|
|
11347
|
+
p_shipment_id: string;
|
|
11348
|
+
};
|
|
11349
|
+
Returns: undefined;
|
|
11350
|
+
};
|
|
11351
|
+
merge_products: {
|
|
11352
|
+
Args: {
|
|
11353
|
+
_canonical: string;
|
|
11354
|
+
_loser: string;
|
|
11355
|
+
};
|
|
11356
|
+
Returns: undefined;
|
|
11357
|
+
};
|
|
11358
|
+
next_manufacture_partij: {
|
|
11359
|
+
Args: {
|
|
11360
|
+
_tenant_id: string;
|
|
11361
|
+
};
|
|
11362
|
+
Returns: string;
|
|
11363
|
+
};
|
|
10900
11364
|
next_order_number: {
|
|
10901
11365
|
Args: {
|
|
10902
11366
|
p_prefix: string;
|
|
@@ -10975,6 +11439,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10975
11439
|
};
|
|
10976
11440
|
Returns: undefined;
|
|
10977
11441
|
};
|
|
11442
|
+
produce_designed_product: {
|
|
11443
|
+
Args: {
|
|
11444
|
+
p_parent_id: string;
|
|
11445
|
+
p_parent_kind: string;
|
|
11446
|
+
p_quantity: number;
|
|
11447
|
+
};
|
|
11448
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11449
|
+
};
|
|
10978
11450
|
promote_trade_item_key: {
|
|
10979
11451
|
Args: {
|
|
10980
11452
|
p_new: string;
|
|
@@ -10982,6 +11454,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10982
11454
|
};
|
|
10983
11455
|
Returns: undefined;
|
|
10984
11456
|
};
|
|
11457
|
+
recompute_all_reserved_stock: {
|
|
11458
|
+
Args: never;
|
|
11459
|
+
Returns: undefined;
|
|
11460
|
+
};
|
|
10985
11461
|
recompute_order_status: {
|
|
10986
11462
|
Args: {
|
|
10987
11463
|
p_order_id: string;
|
|
@@ -11031,27 +11507,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11031
11507
|
};
|
|
11032
11508
|
Returns: undefined;
|
|
11033
11509
|
};
|
|
11510
|
+
resolve_group_allocation: {
|
|
11511
|
+
Args: {
|
|
11512
|
+
_needed: number;
|
|
11513
|
+
_product_group_id: string;
|
|
11514
|
+
};
|
|
11515
|
+
Returns: {
|
|
11516
|
+
allocated: number;
|
|
11517
|
+
trade_item_id: string;
|
|
11518
|
+
}[];
|
|
11519
|
+
};
|
|
11520
|
+
resolve_group_member_stock_key: {
|
|
11521
|
+
Args: {
|
|
11522
|
+
p_trade_item_id: string;
|
|
11523
|
+
};
|
|
11524
|
+
Returns: string;
|
|
11525
|
+
};
|
|
11034
11526
|
resolve_product_id_for_item: {
|
|
11035
11527
|
Args: {
|
|
11036
11528
|
p_product_name: string;
|
|
11037
11529
|
};
|
|
11038
11530
|
Returns: string;
|
|
11039
11531
|
};
|
|
11040
|
-
|
|
11532
|
+
resolve_stock_trade_item_key: {
|
|
11041
11533
|
Args: {
|
|
11042
|
-
|
|
11043
|
-
p_url: string;
|
|
11534
|
+
p_product_id: string;
|
|
11044
11535
|
};
|
|
11045
|
-
Returns:
|
|
11536
|
+
Returns: string;
|
|
11046
11537
|
};
|
|
11047
|
-
|
|
11538
|
+
reverse_production: {
|
|
11048
11539
|
Args: {
|
|
11049
|
-
|
|
11050
|
-
|
|
11540
|
+
p_connection_id?: string;
|
|
11541
|
+
p_parent_key: string;
|
|
11542
|
+
p_quantity: number;
|
|
11543
|
+
p_reason?: string;
|
|
11544
|
+
p_user_id?: string;
|
|
11051
11545
|
};
|
|
11052
|
-
Returns:
|
|
11546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11053
11547
|
};
|
|
11054
|
-
|
|
11548
|
+
schedule_floriday_additional_services_sync: {
|
|
11055
11549
|
Args: {
|
|
11056
11550
|
p_apikey: string;
|
|
11057
11551
|
p_url: string;
|