@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
|
@@ -270,6 +270,165 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
270
270
|
};
|
|
271
271
|
Relationships: [];
|
|
272
272
|
};
|
|
273
|
+
ai_credentials: {
|
|
274
|
+
Row: {
|
|
275
|
+
active: boolean;
|
|
276
|
+
api_key: string;
|
|
277
|
+
created_at: string;
|
|
278
|
+
created_by: string | null;
|
|
279
|
+
id: string;
|
|
280
|
+
label: string;
|
|
281
|
+
provider_id: string;
|
|
282
|
+
updated_at: string;
|
|
283
|
+
};
|
|
284
|
+
Insert: {
|
|
285
|
+
active?: boolean;
|
|
286
|
+
api_key: string;
|
|
287
|
+
created_at?: string;
|
|
288
|
+
created_by?: string | null;
|
|
289
|
+
id?: string;
|
|
290
|
+
label: string;
|
|
291
|
+
provider_id: string;
|
|
292
|
+
updated_at?: string;
|
|
293
|
+
};
|
|
294
|
+
Update: {
|
|
295
|
+
active?: boolean;
|
|
296
|
+
api_key?: string;
|
|
297
|
+
created_at?: string;
|
|
298
|
+
created_by?: string | null;
|
|
299
|
+
id?: string;
|
|
300
|
+
label?: string;
|
|
301
|
+
provider_id?: string;
|
|
302
|
+
updated_at?: string;
|
|
303
|
+
};
|
|
304
|
+
Relationships: [{
|
|
305
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
306
|
+
columns: ["provider_id"];
|
|
307
|
+
isOneToOne: false;
|
|
308
|
+
referencedRelation: "ai_providers";
|
|
309
|
+
referencedColumns: ["id"];
|
|
310
|
+
}];
|
|
311
|
+
};
|
|
312
|
+
ai_models: {
|
|
313
|
+
Row: {
|
|
314
|
+
active: boolean;
|
|
315
|
+
context_window: number | null;
|
|
316
|
+
created_at: string;
|
|
317
|
+
display_name: string;
|
|
318
|
+
id: string;
|
|
319
|
+
is_default: boolean;
|
|
320
|
+
modality: string;
|
|
321
|
+
provider_id: string;
|
|
322
|
+
slug: string;
|
|
323
|
+
updated_at: string;
|
|
324
|
+
};
|
|
325
|
+
Insert: {
|
|
326
|
+
active?: boolean;
|
|
327
|
+
context_window?: number | null;
|
|
328
|
+
created_at?: string;
|
|
329
|
+
display_name: string;
|
|
330
|
+
id?: string;
|
|
331
|
+
is_default?: boolean;
|
|
332
|
+
modality?: string;
|
|
333
|
+
provider_id: string;
|
|
334
|
+
slug: string;
|
|
335
|
+
updated_at?: string;
|
|
336
|
+
};
|
|
337
|
+
Update: {
|
|
338
|
+
active?: boolean;
|
|
339
|
+
context_window?: number | null;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
display_name?: string;
|
|
342
|
+
id?: string;
|
|
343
|
+
is_default?: boolean;
|
|
344
|
+
modality?: string;
|
|
345
|
+
provider_id?: string;
|
|
346
|
+
slug?: string;
|
|
347
|
+
updated_at?: string;
|
|
348
|
+
};
|
|
349
|
+
Relationships: [{
|
|
350
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
351
|
+
columns: ["provider_id"];
|
|
352
|
+
isOneToOne: false;
|
|
353
|
+
referencedRelation: "ai_providers";
|
|
354
|
+
referencedColumns: ["id"];
|
|
355
|
+
}];
|
|
356
|
+
};
|
|
357
|
+
ai_module_bindings: {
|
|
358
|
+
Row: {
|
|
359
|
+
consumer_module_id: string;
|
|
360
|
+
created_at: string;
|
|
361
|
+
credential_id: string;
|
|
362
|
+
id: string;
|
|
363
|
+
model_id: string;
|
|
364
|
+
notes: string | null;
|
|
365
|
+
updated_at: string;
|
|
366
|
+
};
|
|
367
|
+
Insert: {
|
|
368
|
+
consumer_module_id: string;
|
|
369
|
+
created_at?: string;
|
|
370
|
+
credential_id: string;
|
|
371
|
+
id?: string;
|
|
372
|
+
model_id: string;
|
|
373
|
+
notes?: string | null;
|
|
374
|
+
updated_at?: string;
|
|
375
|
+
};
|
|
376
|
+
Update: {
|
|
377
|
+
consumer_module_id?: string;
|
|
378
|
+
created_at?: string;
|
|
379
|
+
credential_id?: string;
|
|
380
|
+
id?: string;
|
|
381
|
+
model_id?: string;
|
|
382
|
+
notes?: string | null;
|
|
383
|
+
updated_at?: string;
|
|
384
|
+
};
|
|
385
|
+
Relationships: [{
|
|
386
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
387
|
+
columns: ["credential_id"];
|
|
388
|
+
isOneToOne: false;
|
|
389
|
+
referencedRelation: "ai_credentials";
|
|
390
|
+
referencedColumns: ["id"];
|
|
391
|
+
}, {
|
|
392
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
393
|
+
columns: ["model_id"];
|
|
394
|
+
isOneToOne: false;
|
|
395
|
+
referencedRelation: "ai_models";
|
|
396
|
+
referencedColumns: ["id"];
|
|
397
|
+
}];
|
|
398
|
+
};
|
|
399
|
+
ai_providers: {
|
|
400
|
+
Row: {
|
|
401
|
+
active: boolean;
|
|
402
|
+
auth_type: string;
|
|
403
|
+
base_url: string | null;
|
|
404
|
+
created_at: string;
|
|
405
|
+
id: string;
|
|
406
|
+
name: string;
|
|
407
|
+
slug: string;
|
|
408
|
+
updated_at: string;
|
|
409
|
+
};
|
|
410
|
+
Insert: {
|
|
411
|
+
active?: boolean;
|
|
412
|
+
auth_type?: string;
|
|
413
|
+
base_url?: string | null;
|
|
414
|
+
created_at?: string;
|
|
415
|
+
id?: string;
|
|
416
|
+
name: string;
|
|
417
|
+
slug: string;
|
|
418
|
+
updated_at?: string;
|
|
419
|
+
};
|
|
420
|
+
Update: {
|
|
421
|
+
active?: boolean;
|
|
422
|
+
auth_type?: string;
|
|
423
|
+
base_url?: string | null;
|
|
424
|
+
created_at?: string;
|
|
425
|
+
id?: string;
|
|
426
|
+
name?: string;
|
|
427
|
+
slug?: string;
|
|
428
|
+
updated_at?: string;
|
|
429
|
+
};
|
|
430
|
+
Relationships: [];
|
|
431
|
+
};
|
|
273
432
|
app_settings: {
|
|
274
433
|
Row: {
|
|
275
434
|
created_at: string;
|
|
@@ -3276,105 +3435,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
3276
3435
|
referencedColumns: ["id"];
|
|
3277
3436
|
}];
|
|
3278
3437
|
};
|
|
3279
|
-
floriday_agreement_calloffs_cache: {
|
|
3280
|
-
Row: {
|
|
3281
|
-
agreement_id: string | null;
|
|
3282
|
-
connection_id: string;
|
|
3283
|
-
data: import("../integrations/supabase/types").Json;
|
|
3284
|
-
delivery_date: string | null;
|
|
3285
|
-
fetched_at: string;
|
|
3286
|
-
floriday_id: string;
|
|
3287
|
-
id: string;
|
|
3288
|
-
is_deleted: boolean;
|
|
3289
|
-
sequence_number: number;
|
|
3290
|
-
status: string | null;
|
|
3291
|
-
updated_at: string;
|
|
3292
|
-
};
|
|
3293
|
-
Insert: {
|
|
3294
|
-
agreement_id?: string | null;
|
|
3295
|
-
connection_id: string;
|
|
3296
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3297
|
-
delivery_date?: string | null;
|
|
3298
|
-
fetched_at?: string;
|
|
3299
|
-
floriday_id: string;
|
|
3300
|
-
id?: string;
|
|
3301
|
-
is_deleted?: boolean;
|
|
3302
|
-
sequence_number?: number;
|
|
3303
|
-
status?: string | null;
|
|
3304
|
-
updated_at?: string;
|
|
3305
|
-
};
|
|
3306
|
-
Update: {
|
|
3307
|
-
agreement_id?: string | null;
|
|
3308
|
-
connection_id?: string;
|
|
3309
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3310
|
-
delivery_date?: string | null;
|
|
3311
|
-
fetched_at?: string;
|
|
3312
|
-
floriday_id?: string;
|
|
3313
|
-
id?: string;
|
|
3314
|
-
is_deleted?: boolean;
|
|
3315
|
-
sequence_number?: number;
|
|
3316
|
-
status?: string | null;
|
|
3317
|
-
updated_at?: string;
|
|
3318
|
-
};
|
|
3319
|
-
Relationships: [{
|
|
3320
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3321
|
-
columns: ["connection_id"];
|
|
3322
|
-
isOneToOne: false;
|
|
3323
|
-
referencedRelation: "floriday_connections";
|
|
3324
|
-
referencedColumns: ["id"];
|
|
3325
|
-
}];
|
|
3326
|
-
};
|
|
3327
|
-
floriday_agreements_cache: {
|
|
3328
|
-
Row: {
|
|
3329
|
-
buyer_organization_id: string | null;
|
|
3330
|
-
connection_id: string;
|
|
3331
|
-
data: import("../integrations/supabase/types").Json;
|
|
3332
|
-
fetched_at: string;
|
|
3333
|
-
floriday_id: string;
|
|
3334
|
-
id: string;
|
|
3335
|
-
is_deleted: boolean;
|
|
3336
|
-
sequence_number: number;
|
|
3337
|
-
status: string | null;
|
|
3338
|
-
updated_at: string;
|
|
3339
|
-
valid_from: string | null;
|
|
3340
|
-
valid_until: string | null;
|
|
3341
|
-
};
|
|
3342
|
-
Insert: {
|
|
3343
|
-
buyer_organization_id?: string | null;
|
|
3344
|
-
connection_id: string;
|
|
3345
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3346
|
-
fetched_at?: string;
|
|
3347
|
-
floriday_id: string;
|
|
3348
|
-
id?: string;
|
|
3349
|
-
is_deleted?: boolean;
|
|
3350
|
-
sequence_number?: number;
|
|
3351
|
-
status?: string | null;
|
|
3352
|
-
updated_at?: string;
|
|
3353
|
-
valid_from?: string | null;
|
|
3354
|
-
valid_until?: string | null;
|
|
3355
|
-
};
|
|
3356
|
-
Update: {
|
|
3357
|
-
buyer_organization_id?: string | null;
|
|
3358
|
-
connection_id?: string;
|
|
3359
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3360
|
-
fetched_at?: string;
|
|
3361
|
-
floriday_id?: string;
|
|
3362
|
-
id?: string;
|
|
3363
|
-
is_deleted?: boolean;
|
|
3364
|
-
sequence_number?: number;
|
|
3365
|
-
status?: string | null;
|
|
3366
|
-
updated_at?: string;
|
|
3367
|
-
valid_from?: string | null;
|
|
3368
|
-
valid_until?: string | null;
|
|
3369
|
-
};
|
|
3370
|
-
Relationships: [{
|
|
3371
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3372
|
-
columns: ["connection_id"];
|
|
3373
|
-
isOneToOne: false;
|
|
3374
|
-
referencedRelation: "floriday_connections";
|
|
3375
|
-
referencedColumns: ["id"];
|
|
3376
|
-
}];
|
|
3377
|
-
};
|
|
3378
3438
|
floriday_auction_letters_cache: {
|
|
3379
3439
|
Row: {
|
|
3380
3440
|
auction_letter_code: string;
|
|
@@ -3873,6 +3933,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
3873
3933
|
referencedColumns: ["id"];
|
|
3874
3934
|
}];
|
|
3875
3935
|
};
|
|
3936
|
+
floriday_continuous_stock_cache: {
|
|
3937
|
+
Row: {
|
|
3938
|
+
connection_id: string;
|
|
3939
|
+
fetched_at: string;
|
|
3940
|
+
number_of_pieces: number;
|
|
3941
|
+
trade_item_id: string;
|
|
3942
|
+
};
|
|
3943
|
+
Insert: {
|
|
3944
|
+
connection_id: string;
|
|
3945
|
+
fetched_at?: string;
|
|
3946
|
+
number_of_pieces?: number;
|
|
3947
|
+
trade_item_id: string;
|
|
3948
|
+
};
|
|
3949
|
+
Update: {
|
|
3950
|
+
connection_id?: string;
|
|
3951
|
+
fetched_at?: string;
|
|
3952
|
+
number_of_pieces?: number;
|
|
3953
|
+
trade_item_id?: string;
|
|
3954
|
+
};
|
|
3955
|
+
Relationships: [];
|
|
3956
|
+
};
|
|
3876
3957
|
floriday_continuous_stock_queue: {
|
|
3877
3958
|
Row: {
|
|
3878
3959
|
attempts: number;
|
|
@@ -4851,9 +4932,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
4851
4932
|
referencedColumns: ["id"];
|
|
4852
4933
|
}];
|
|
4853
4934
|
};
|
|
4854
|
-
|
|
4935
|
+
floriday_trade_settings_customers_cache: {
|
|
4855
4936
|
Row: {
|
|
4856
|
-
carrier_organization_id: string | null;
|
|
4857
4937
|
connection_id: string;
|
|
4858
4938
|
data: import("../integrations/supabase/types").Json;
|
|
4859
4939
|
fetched_at: string;
|
|
@@ -4861,25 +4941,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
4861
4941
|
id: string;
|
|
4862
4942
|
is_deleted: boolean;
|
|
4863
4943
|
sequence_number: number;
|
|
4864
|
-
status: string | null;
|
|
4865
|
-
trip_date: string | null;
|
|
4866
4944
|
updated_at: string;
|
|
4867
4945
|
};
|
|
4868
4946
|
Insert: {
|
|
4869
|
-
carrier_organization_id?: string | null;
|
|
4870
4947
|
connection_id: string;
|
|
4871
|
-
data
|
|
4948
|
+
data: import("../integrations/supabase/types").Json;
|
|
4872
4949
|
fetched_at?: string;
|
|
4873
4950
|
floriday_id: string;
|
|
4874
4951
|
id?: string;
|
|
4875
4952
|
is_deleted?: boolean;
|
|
4876
4953
|
sequence_number?: number;
|
|
4877
|
-
status?: string | null;
|
|
4878
|
-
trip_date?: string | null;
|
|
4879
4954
|
updated_at?: string;
|
|
4880
4955
|
};
|
|
4881
4956
|
Update: {
|
|
4882
|
-
carrier_organization_id?: string | null;
|
|
4883
4957
|
connection_id?: string;
|
|
4884
4958
|
data?: import("../integrations/supabase/types").Json;
|
|
4885
4959
|
fetched_at?: string;
|
|
@@ -4887,31 +4961,77 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
4887
4961
|
id?: string;
|
|
4888
4962
|
is_deleted?: boolean;
|
|
4889
4963
|
sequence_number?: number;
|
|
4890
|
-
status?: string | null;
|
|
4891
|
-
trip_date?: string | null;
|
|
4892
4964
|
updated_at?: string;
|
|
4893
4965
|
};
|
|
4894
4966
|
Relationships: [{
|
|
4895
|
-
foreignKeyName: "
|
|
4967
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4896
4968
|
columns: ["connection_id"];
|
|
4897
4969
|
isOneToOne: false;
|
|
4898
4970
|
referencedRelation: "floriday_connections";
|
|
4899
4971
|
referencedColumns: ["id"];
|
|
4900
4972
|
}];
|
|
4901
4973
|
};
|
|
4902
|
-
|
|
4974
|
+
floriday_trips_cache: {
|
|
4903
4975
|
Row: {
|
|
4976
|
+
carrier_organization_id: string | null;
|
|
4904
4977
|
connection_id: string;
|
|
4905
4978
|
data: import("../integrations/supabase/types").Json;
|
|
4906
4979
|
fetched_at: string;
|
|
4907
4980
|
floriday_id: string;
|
|
4908
|
-
gln_code: string | null;
|
|
4909
4981
|
id: string;
|
|
4910
|
-
is_default: boolean;
|
|
4911
4982
|
is_deleted: boolean;
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4983
|
+
sequence_number: number;
|
|
4984
|
+
status: string | null;
|
|
4985
|
+
trip_date: string | null;
|
|
4986
|
+
updated_at: string;
|
|
4987
|
+
};
|
|
4988
|
+
Insert: {
|
|
4989
|
+
carrier_organization_id?: string | null;
|
|
4990
|
+
connection_id: string;
|
|
4991
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4992
|
+
fetched_at?: string;
|
|
4993
|
+
floriday_id: string;
|
|
4994
|
+
id?: string;
|
|
4995
|
+
is_deleted?: boolean;
|
|
4996
|
+
sequence_number?: number;
|
|
4997
|
+
status?: string | null;
|
|
4998
|
+
trip_date?: string | null;
|
|
4999
|
+
updated_at?: string;
|
|
5000
|
+
};
|
|
5001
|
+
Update: {
|
|
5002
|
+
carrier_organization_id?: string | null;
|
|
5003
|
+
connection_id?: string;
|
|
5004
|
+
data?: import("../integrations/supabase/types").Json;
|
|
5005
|
+
fetched_at?: string;
|
|
5006
|
+
floriday_id?: string;
|
|
5007
|
+
id?: string;
|
|
5008
|
+
is_deleted?: boolean;
|
|
5009
|
+
sequence_number?: number;
|
|
5010
|
+
status?: string | null;
|
|
5011
|
+
trip_date?: string | null;
|
|
5012
|
+
updated_at?: string;
|
|
5013
|
+
};
|
|
5014
|
+
Relationships: [{
|
|
5015
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
5016
|
+
columns: ["connection_id"];
|
|
5017
|
+
isOneToOne: false;
|
|
5018
|
+
referencedRelation: "floriday_connections";
|
|
5019
|
+
referencedColumns: ["id"];
|
|
5020
|
+
}];
|
|
5021
|
+
};
|
|
5022
|
+
floriday_warehouses_cache: {
|
|
5023
|
+
Row: {
|
|
5024
|
+
connection_id: string;
|
|
5025
|
+
data: import("../integrations/supabase/types").Json;
|
|
5026
|
+
fetched_at: string;
|
|
5027
|
+
floriday_id: string;
|
|
5028
|
+
gln_code: string | null;
|
|
5029
|
+
id: string;
|
|
5030
|
+
is_default: boolean;
|
|
5031
|
+
is_deleted: boolean;
|
|
5032
|
+
name: string | null;
|
|
5033
|
+
updated_at: string;
|
|
5034
|
+
};
|
|
4915
5035
|
Insert: {
|
|
4916
5036
|
connection_id: string;
|
|
4917
5037
|
data?: import("../integrations/supabase/types").Json;
|
|
@@ -5996,39 +6116,60 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5996
6116
|
};
|
|
5997
6117
|
manufacture_products: {
|
|
5998
6118
|
Row: {
|
|
6119
|
+
aantal_te_produceren: number;
|
|
5999
6120
|
created_at: string;
|
|
6000
6121
|
description: string | null;
|
|
6001
6122
|
id: string;
|
|
6002
6123
|
is_active: boolean;
|
|
6124
|
+
location_id: string | null;
|
|
6003
6125
|
name: string;
|
|
6126
|
+
partij_nummer: string | null;
|
|
6127
|
+
photos: import("../integrations/supabase/types").Json;
|
|
6004
6128
|
produced_stock: number;
|
|
6005
6129
|
product_code: string;
|
|
6006
6130
|
tenant_id: string;
|
|
6131
|
+
unit: string;
|
|
6007
6132
|
updated_at: string;
|
|
6008
6133
|
};
|
|
6009
6134
|
Insert: {
|
|
6135
|
+
aantal_te_produceren?: number;
|
|
6010
6136
|
created_at?: string;
|
|
6011
6137
|
description?: string | null;
|
|
6012
6138
|
id?: string;
|
|
6013
6139
|
is_active?: boolean;
|
|
6140
|
+
location_id?: string | null;
|
|
6014
6141
|
name: string;
|
|
6142
|
+
partij_nummer?: string | null;
|
|
6143
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6015
6144
|
produced_stock?: number;
|
|
6016
6145
|
product_code: string;
|
|
6017
6146
|
tenant_id: string;
|
|
6147
|
+
unit?: string;
|
|
6018
6148
|
updated_at?: string;
|
|
6019
6149
|
};
|
|
6020
6150
|
Update: {
|
|
6151
|
+
aantal_te_produceren?: number;
|
|
6021
6152
|
created_at?: string;
|
|
6022
6153
|
description?: string | null;
|
|
6023
6154
|
id?: string;
|
|
6024
6155
|
is_active?: boolean;
|
|
6156
|
+
location_id?: string | null;
|
|
6025
6157
|
name?: string;
|
|
6158
|
+
partij_nummer?: string | null;
|
|
6159
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
6026
6160
|
produced_stock?: number;
|
|
6027
6161
|
product_code?: string;
|
|
6028
6162
|
tenant_id?: string;
|
|
6163
|
+
unit?: string;
|
|
6029
6164
|
updated_at?: string;
|
|
6030
6165
|
};
|
|
6031
|
-
Relationships: [
|
|
6166
|
+
Relationships: [{
|
|
6167
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6168
|
+
columns: ["location_id"];
|
|
6169
|
+
isOneToOne: false;
|
|
6170
|
+
referencedRelation: "locations";
|
|
6171
|
+
referencedColumns: ["id"];
|
|
6172
|
+
}];
|
|
6032
6173
|
};
|
|
6033
6174
|
monteurs: {
|
|
6034
6175
|
Row: {
|
|
@@ -7002,6 +7143,105 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7002
7143
|
};
|
|
7003
7144
|
Relationships: [];
|
|
7004
7145
|
};
|
|
7146
|
+
order_shipment_items: {
|
|
7147
|
+
Row: {
|
|
7148
|
+
created_at: string;
|
|
7149
|
+
id: string;
|
|
7150
|
+
order_item_id: string;
|
|
7151
|
+
product_id: string | null;
|
|
7152
|
+
product_name: string;
|
|
7153
|
+
quantity: number;
|
|
7154
|
+
shipment_id: string;
|
|
7155
|
+
updated_at: string;
|
|
7156
|
+
};
|
|
7157
|
+
Insert: {
|
|
7158
|
+
created_at?: string;
|
|
7159
|
+
id?: string;
|
|
7160
|
+
order_item_id: string;
|
|
7161
|
+
product_id?: string | null;
|
|
7162
|
+
product_name: string;
|
|
7163
|
+
quantity: number;
|
|
7164
|
+
shipment_id: string;
|
|
7165
|
+
updated_at?: string;
|
|
7166
|
+
};
|
|
7167
|
+
Update: {
|
|
7168
|
+
created_at?: string;
|
|
7169
|
+
id?: string;
|
|
7170
|
+
order_item_id?: string;
|
|
7171
|
+
product_id?: string | null;
|
|
7172
|
+
product_name?: string;
|
|
7173
|
+
quantity?: number;
|
|
7174
|
+
shipment_id?: string;
|
|
7175
|
+
updated_at?: string;
|
|
7176
|
+
};
|
|
7177
|
+
Relationships: [{
|
|
7178
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7179
|
+
columns: ["order_item_id"];
|
|
7180
|
+
isOneToOne: false;
|
|
7181
|
+
referencedRelation: "order_items";
|
|
7182
|
+
referencedColumns: ["id"];
|
|
7183
|
+
}, {
|
|
7184
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7185
|
+
columns: ["shipment_id"];
|
|
7186
|
+
isOneToOne: false;
|
|
7187
|
+
referencedRelation: "order_shipments";
|
|
7188
|
+
referencedColumns: ["id"];
|
|
7189
|
+
}];
|
|
7190
|
+
};
|
|
7191
|
+
order_shipments: {
|
|
7192
|
+
Row: {
|
|
7193
|
+
carrier_id: string | null;
|
|
7194
|
+
created_at: string;
|
|
7195
|
+
delivery_date: string | null;
|
|
7196
|
+
delivery_location_id: string | null;
|
|
7197
|
+
id: string;
|
|
7198
|
+
notes: string | null;
|
|
7199
|
+
order_id: string;
|
|
7200
|
+
shipment_number: number;
|
|
7201
|
+
shipped_at: string | null;
|
|
7202
|
+
status: string;
|
|
7203
|
+
updated_at: string;
|
|
7204
|
+
};
|
|
7205
|
+
Insert: {
|
|
7206
|
+
carrier_id?: string | null;
|
|
7207
|
+
created_at?: string;
|
|
7208
|
+
delivery_date?: string | null;
|
|
7209
|
+
delivery_location_id?: string | null;
|
|
7210
|
+
id?: string;
|
|
7211
|
+
notes?: string | null;
|
|
7212
|
+
order_id: string;
|
|
7213
|
+
shipment_number: number;
|
|
7214
|
+
shipped_at?: string | null;
|
|
7215
|
+
status?: string;
|
|
7216
|
+
updated_at?: string;
|
|
7217
|
+
};
|
|
7218
|
+
Update: {
|
|
7219
|
+
carrier_id?: string | null;
|
|
7220
|
+
created_at?: string;
|
|
7221
|
+
delivery_date?: string | null;
|
|
7222
|
+
delivery_location_id?: string | null;
|
|
7223
|
+
id?: string;
|
|
7224
|
+
notes?: string | null;
|
|
7225
|
+
order_id?: string;
|
|
7226
|
+
shipment_number?: number;
|
|
7227
|
+
shipped_at?: string | null;
|
|
7228
|
+
status?: string;
|
|
7229
|
+
updated_at?: string;
|
|
7230
|
+
};
|
|
7231
|
+
Relationships: [{
|
|
7232
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7233
|
+
columns: ["carrier_id"];
|
|
7234
|
+
isOneToOne: false;
|
|
7235
|
+
referencedRelation: "carriers";
|
|
7236
|
+
referencedColumns: ["id"];
|
|
7237
|
+
}, {
|
|
7238
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7239
|
+
columns: ["order_id"];
|
|
7240
|
+
isOneToOne: false;
|
|
7241
|
+
referencedRelation: "orders";
|
|
7242
|
+
referencedColumns: ["id"];
|
|
7243
|
+
}];
|
|
7244
|
+
};
|
|
7005
7245
|
orders: {
|
|
7006
7246
|
Row: {
|
|
7007
7247
|
created_at: string;
|
|
@@ -7009,8 +7249,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7009
7249
|
customer_id: string | null;
|
|
7010
7250
|
customer_name: string;
|
|
7011
7251
|
deleted_at: string | null;
|
|
7012
|
-
delivery_date: string;
|
|
7252
|
+
delivery_date: string | null;
|
|
7013
7253
|
id: string;
|
|
7254
|
+
is_reservation: boolean;
|
|
7014
7255
|
notes: string | null;
|
|
7015
7256
|
order_date: string;
|
|
7016
7257
|
order_number: string;
|
|
@@ -7027,8 +7268,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7027
7268
|
customer_id?: string | null;
|
|
7028
7269
|
customer_name?: string;
|
|
7029
7270
|
deleted_at?: string | null;
|
|
7030
|
-
delivery_date
|
|
7271
|
+
delivery_date?: string | null;
|
|
7031
7272
|
id?: string;
|
|
7273
|
+
is_reservation?: boolean;
|
|
7032
7274
|
notes?: string | null;
|
|
7033
7275
|
order_date?: string;
|
|
7034
7276
|
order_number: string;
|
|
@@ -7045,8 +7287,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7045
7287
|
customer_id?: string | null;
|
|
7046
7288
|
customer_name?: string;
|
|
7047
7289
|
deleted_at?: string | null;
|
|
7048
|
-
delivery_date?: string;
|
|
7290
|
+
delivery_date?: string | null;
|
|
7049
7291
|
id?: string;
|
|
7292
|
+
is_reservation?: boolean;
|
|
7050
7293
|
notes?: string | null;
|
|
7051
7294
|
order_date?: string;
|
|
7052
7295
|
order_number?: string;
|
|
@@ -7188,6 +7431,63 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7188
7431
|
};
|
|
7189
7432
|
Relationships: [];
|
|
7190
7433
|
};
|
|
7434
|
+
product_bom_items: {
|
|
7435
|
+
Row: {
|
|
7436
|
+
component_product_id: string | null;
|
|
7437
|
+
component_trade_item_floriday_id: string | null;
|
|
7438
|
+
created_at: string;
|
|
7439
|
+
id: string;
|
|
7440
|
+
notes: string | null;
|
|
7441
|
+
parent_product_id: string | null;
|
|
7442
|
+
parent_trade_item_floriday_id: string | null;
|
|
7443
|
+
quantity: number;
|
|
7444
|
+
sort_order: number;
|
|
7445
|
+
tenant_id: string;
|
|
7446
|
+
unit: string;
|
|
7447
|
+
updated_at: string;
|
|
7448
|
+
};
|
|
7449
|
+
Insert: {
|
|
7450
|
+
component_product_id?: string | null;
|
|
7451
|
+
component_trade_item_floriday_id?: string | null;
|
|
7452
|
+
created_at?: string;
|
|
7453
|
+
id?: string;
|
|
7454
|
+
notes?: string | null;
|
|
7455
|
+
parent_product_id?: string | null;
|
|
7456
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7457
|
+
quantity?: number;
|
|
7458
|
+
sort_order?: number;
|
|
7459
|
+
tenant_id: string;
|
|
7460
|
+
unit?: string;
|
|
7461
|
+
updated_at?: string;
|
|
7462
|
+
};
|
|
7463
|
+
Update: {
|
|
7464
|
+
component_product_id?: string | null;
|
|
7465
|
+
component_trade_item_floriday_id?: string | null;
|
|
7466
|
+
created_at?: string;
|
|
7467
|
+
id?: string;
|
|
7468
|
+
notes?: string | null;
|
|
7469
|
+
parent_product_id?: string | null;
|
|
7470
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7471
|
+
quantity?: number;
|
|
7472
|
+
sort_order?: number;
|
|
7473
|
+
tenant_id?: string;
|
|
7474
|
+
unit?: string;
|
|
7475
|
+
updated_at?: string;
|
|
7476
|
+
};
|
|
7477
|
+
Relationships: [{
|
|
7478
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7479
|
+
columns: ["component_product_id"];
|
|
7480
|
+
isOneToOne: false;
|
|
7481
|
+
referencedRelation: "products";
|
|
7482
|
+
referencedColumns: ["id"];
|
|
7483
|
+
}, {
|
|
7484
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7485
|
+
columns: ["parent_product_id"];
|
|
7486
|
+
isOneToOne: false;
|
|
7487
|
+
referencedRelation: "products";
|
|
7488
|
+
referencedColumns: ["id"];
|
|
7489
|
+
}];
|
|
7490
|
+
};
|
|
7191
7491
|
product_categories: {
|
|
7192
7492
|
Row: {
|
|
7193
7493
|
color: string;
|
|
@@ -7293,6 +7593,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7293
7593
|
id: string;
|
|
7294
7594
|
product_group_id: string;
|
|
7295
7595
|
quantity: number;
|
|
7596
|
+
sort_order: number;
|
|
7296
7597
|
trade_item_id: string;
|
|
7297
7598
|
};
|
|
7298
7599
|
Insert: {
|
|
@@ -7300,6 +7601,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7300
7601
|
id?: string;
|
|
7301
7602
|
product_group_id: string;
|
|
7302
7603
|
quantity?: number;
|
|
7604
|
+
sort_order?: number;
|
|
7303
7605
|
trade_item_id: string;
|
|
7304
7606
|
};
|
|
7305
7607
|
Update: {
|
|
@@ -7307,6 +7609,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7307
7609
|
id?: string;
|
|
7308
7610
|
product_group_id?: string;
|
|
7309
7611
|
quantity?: number;
|
|
7612
|
+
sort_order?: number;
|
|
7310
7613
|
trade_item_id?: string;
|
|
7311
7614
|
};
|
|
7312
7615
|
Relationships: [{
|
|
@@ -7321,6 +7624,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7321
7624
|
Row: {
|
|
7322
7625
|
created_at: string;
|
|
7323
7626
|
description: string | null;
|
|
7627
|
+
head_product_id: string | null;
|
|
7628
|
+
head_trade_item_floriday_id: string | null;
|
|
7324
7629
|
id: string;
|
|
7325
7630
|
is_active: boolean;
|
|
7326
7631
|
name: string;
|
|
@@ -7330,6 +7635,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7330
7635
|
Insert: {
|
|
7331
7636
|
created_at?: string;
|
|
7332
7637
|
description?: string | null;
|
|
7638
|
+
head_product_id?: string | null;
|
|
7639
|
+
head_trade_item_floriday_id?: string | null;
|
|
7333
7640
|
id?: string;
|
|
7334
7641
|
is_active?: boolean;
|
|
7335
7642
|
name: string;
|
|
@@ -7339,21 +7646,126 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7339
7646
|
Update: {
|
|
7340
7647
|
created_at?: string;
|
|
7341
7648
|
description?: string | null;
|
|
7649
|
+
head_product_id?: string | null;
|
|
7650
|
+
head_trade_item_floriday_id?: string | null;
|
|
7342
7651
|
id?: string;
|
|
7343
7652
|
is_active?: boolean;
|
|
7344
7653
|
name?: string;
|
|
7345
7654
|
tenant_id?: string;
|
|
7346
7655
|
updated_at?: string;
|
|
7347
7656
|
};
|
|
7657
|
+
Relationships: [{
|
|
7658
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7659
|
+
columns: ["head_product_id"];
|
|
7660
|
+
isOneToOne: false;
|
|
7661
|
+
referencedRelation: "products";
|
|
7662
|
+
referencedColumns: ["id"];
|
|
7663
|
+
}];
|
|
7664
|
+
};
|
|
7665
|
+
product_load_settings: {
|
|
7666
|
+
Row: {
|
|
7667
|
+
created_at: string;
|
|
7668
|
+
id: string;
|
|
7669
|
+
is_package: boolean;
|
|
7670
|
+
layers_per_load_carrier: number | null;
|
|
7671
|
+
load_carrier: string | null;
|
|
7672
|
+
package_id: string | null;
|
|
7673
|
+
package_label: string | null;
|
|
7674
|
+
packages_per_layer: number | null;
|
|
7675
|
+
product_id: string | null;
|
|
7676
|
+
tenant_id: string;
|
|
7677
|
+
trade_item_floriday_id: string | null;
|
|
7678
|
+
units_per_package: number | null;
|
|
7679
|
+
updated_at: string;
|
|
7680
|
+
};
|
|
7681
|
+
Insert: {
|
|
7682
|
+
created_at?: string;
|
|
7683
|
+
id?: string;
|
|
7684
|
+
is_package?: boolean;
|
|
7685
|
+
layers_per_load_carrier?: number | null;
|
|
7686
|
+
load_carrier?: string | null;
|
|
7687
|
+
package_id?: string | null;
|
|
7688
|
+
package_label?: string | null;
|
|
7689
|
+
packages_per_layer?: number | null;
|
|
7690
|
+
product_id?: string | null;
|
|
7691
|
+
tenant_id: string;
|
|
7692
|
+
trade_item_floriday_id?: string | null;
|
|
7693
|
+
units_per_package?: number | null;
|
|
7694
|
+
updated_at?: string;
|
|
7695
|
+
};
|
|
7696
|
+
Update: {
|
|
7697
|
+
created_at?: string;
|
|
7698
|
+
id?: string;
|
|
7699
|
+
is_package?: boolean;
|
|
7700
|
+
layers_per_load_carrier?: number | null;
|
|
7701
|
+
load_carrier?: string | null;
|
|
7702
|
+
package_id?: string | null;
|
|
7703
|
+
package_label?: string | null;
|
|
7704
|
+
packages_per_layer?: number | null;
|
|
7705
|
+
product_id?: string | null;
|
|
7706
|
+
tenant_id?: string;
|
|
7707
|
+
trade_item_floriday_id?: string | null;
|
|
7708
|
+
units_per_package?: number | null;
|
|
7709
|
+
updated_at?: string;
|
|
7710
|
+
};
|
|
7711
|
+
Relationships: [{
|
|
7712
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7713
|
+
columns: ["package_id"];
|
|
7714
|
+
isOneToOne: false;
|
|
7715
|
+
referencedRelation: "packages";
|
|
7716
|
+
referencedColumns: ["id"];
|
|
7717
|
+
}, {
|
|
7718
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7719
|
+
columns: ["product_id"];
|
|
7720
|
+
isOneToOne: false;
|
|
7721
|
+
referencedRelation: "products";
|
|
7722
|
+
referencedColumns: ["id"];
|
|
7723
|
+
}];
|
|
7724
|
+
};
|
|
7725
|
+
product_merge_log: {
|
|
7726
|
+
Row: {
|
|
7727
|
+
canonical_product_id: string | null;
|
|
7728
|
+
id: string;
|
|
7729
|
+
merged_at: string;
|
|
7730
|
+
merged_from_id: string;
|
|
7731
|
+
notes: string | null;
|
|
7732
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7733
|
+
source_table: string;
|
|
7734
|
+
status: string;
|
|
7735
|
+
};
|
|
7736
|
+
Insert: {
|
|
7737
|
+
canonical_product_id?: string | null;
|
|
7738
|
+
id?: string;
|
|
7739
|
+
merged_at?: string;
|
|
7740
|
+
merged_from_id: string;
|
|
7741
|
+
notes?: string | null;
|
|
7742
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7743
|
+
source_table: string;
|
|
7744
|
+
status?: string;
|
|
7745
|
+
};
|
|
7746
|
+
Update: {
|
|
7747
|
+
canonical_product_id?: string | null;
|
|
7748
|
+
id?: string;
|
|
7749
|
+
merged_at?: string;
|
|
7750
|
+
merged_from_id?: string;
|
|
7751
|
+
notes?: string | null;
|
|
7752
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7753
|
+
source_table?: string;
|
|
7754
|
+
status?: string;
|
|
7755
|
+
};
|
|
7348
7756
|
Relationships: [];
|
|
7349
7757
|
};
|
|
7350
7758
|
products: {
|
|
7351
7759
|
Row: {
|
|
7760
|
+
article_number: string | null;
|
|
7352
7761
|
barcode: string | null;
|
|
7353
7762
|
batch: string;
|
|
7354
7763
|
crates_per_layer: number;
|
|
7355
7764
|
created_at: string;
|
|
7356
7765
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7766
|
+
floriday_active: boolean;
|
|
7767
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7768
|
+
floriday_trade_item_id: string | null;
|
|
7357
7769
|
id: string;
|
|
7358
7770
|
image_url: string | null;
|
|
7359
7771
|
incoming_quantity: number;
|
|
@@ -7372,11 +7784,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7372
7784
|
weight: string | null;
|
|
7373
7785
|
};
|
|
7374
7786
|
Insert: {
|
|
7787
|
+
article_number?: string | null;
|
|
7375
7788
|
barcode?: string | null;
|
|
7376
7789
|
batch: string;
|
|
7377
7790
|
crates_per_layer?: number;
|
|
7378
7791
|
created_at?: string;
|
|
7379
7792
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7793
|
+
floriday_active?: boolean;
|
|
7794
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7795
|
+
floriday_trade_item_id?: string | null;
|
|
7380
7796
|
id?: string;
|
|
7381
7797
|
image_url?: string | null;
|
|
7382
7798
|
incoming_quantity?: number;
|
|
@@ -7395,11 +7811,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
7395
7811
|
weight?: string | null;
|
|
7396
7812
|
};
|
|
7397
7813
|
Update: {
|
|
7814
|
+
article_number?: string | null;
|
|
7398
7815
|
barcode?: string | null;
|
|
7399
7816
|
batch?: string;
|
|
7400
7817
|
crates_per_layer?: number;
|
|
7401
7818
|
created_at?: string;
|
|
7402
7819
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7820
|
+
floriday_active?: boolean;
|
|
7821
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
7822
|
+
floriday_trade_item_id?: string | null;
|
|
7403
7823
|
id?: string;
|
|
7404
7824
|
image_url?: string | null;
|
|
7405
7825
|
incoming_quantity?: number;
|
|
@@ -8308,8 +8728,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8308
8728
|
order_id: string | null;
|
|
8309
8729
|
order_item_id: string | null;
|
|
8310
8730
|
order_source: string | null;
|
|
8731
|
+
parent_trade_item_key: string | null;
|
|
8311
8732
|
physical_after: number | null;
|
|
8312
8733
|
physical_before: number | null;
|
|
8734
|
+
production_batch_id: string | null;
|
|
8313
8735
|
qty_delta: number;
|
|
8314
8736
|
reason: string | null;
|
|
8315
8737
|
reserved_after: number | null;
|
|
@@ -8325,8 +8747,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8325
8747
|
order_id?: string | null;
|
|
8326
8748
|
order_item_id?: string | null;
|
|
8327
8749
|
order_source?: string | null;
|
|
8750
|
+
parent_trade_item_key?: string | null;
|
|
8328
8751
|
physical_after?: number | null;
|
|
8329
8752
|
physical_before?: number | null;
|
|
8753
|
+
production_batch_id?: string | null;
|
|
8330
8754
|
qty_delta: number;
|
|
8331
8755
|
reason?: string | null;
|
|
8332
8756
|
reserved_after?: number | null;
|
|
@@ -8342,8 +8766,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8342
8766
|
order_id?: string | null;
|
|
8343
8767
|
order_item_id?: string | null;
|
|
8344
8768
|
order_source?: string | null;
|
|
8769
|
+
parent_trade_item_key?: string | null;
|
|
8345
8770
|
physical_after?: number | null;
|
|
8346
8771
|
physical_before?: number | null;
|
|
8772
|
+
production_batch_id?: string | null;
|
|
8347
8773
|
qty_delta?: number;
|
|
8348
8774
|
reason?: string | null;
|
|
8349
8775
|
reserved_after?: number | null;
|
|
@@ -8802,7 +9228,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8802
9228
|
twinfield_connections: {
|
|
8803
9229
|
Row: {
|
|
8804
9230
|
access_token: string | null;
|
|
8805
|
-
client_id: string;
|
|
9231
|
+
client_id: string | null;
|
|
8806
9232
|
client_secret: string | null;
|
|
8807
9233
|
cluster_uri: string | null;
|
|
8808
9234
|
company_code: string | null;
|
|
@@ -8814,7 +9240,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8814
9240
|
is_active: boolean;
|
|
8815
9241
|
label: string | null;
|
|
8816
9242
|
office_code: string | null;
|
|
8817
|
-
redirect_uri: string;
|
|
9243
|
+
redirect_uri: string | null;
|
|
8818
9244
|
refresh_token: string | null;
|
|
8819
9245
|
token_expires_at: string | null;
|
|
8820
9246
|
updated_at: string;
|
|
@@ -8822,7 +9248,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8822
9248
|
};
|
|
8823
9249
|
Insert: {
|
|
8824
9250
|
access_token?: string | null;
|
|
8825
|
-
client_id
|
|
9251
|
+
client_id?: string | null;
|
|
8826
9252
|
client_secret?: string | null;
|
|
8827
9253
|
cluster_uri?: string | null;
|
|
8828
9254
|
company_code?: string | null;
|
|
@@ -8834,7 +9260,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8834
9260
|
is_active?: boolean;
|
|
8835
9261
|
label?: string | null;
|
|
8836
9262
|
office_code?: string | null;
|
|
8837
|
-
redirect_uri
|
|
9263
|
+
redirect_uri?: string | null;
|
|
8838
9264
|
refresh_token?: string | null;
|
|
8839
9265
|
token_expires_at?: string | null;
|
|
8840
9266
|
updated_at?: string;
|
|
@@ -8842,7 +9268,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8842
9268
|
};
|
|
8843
9269
|
Update: {
|
|
8844
9270
|
access_token?: string | null;
|
|
8845
|
-
client_id?: string;
|
|
9271
|
+
client_id?: string | null;
|
|
8846
9272
|
client_secret?: string | null;
|
|
8847
9273
|
cluster_uri?: string | null;
|
|
8848
9274
|
company_code?: string | null;
|
|
@@ -8854,7 +9280,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
8854
9280
|
is_active?: boolean;
|
|
8855
9281
|
label?: string | null;
|
|
8856
9282
|
office_code?: string | null;
|
|
8857
|
-
redirect_uri?: string;
|
|
9283
|
+
redirect_uri?: string | null;
|
|
8858
9284
|
refresh_token?: string | null;
|
|
8859
9285
|
token_expires_at?: string | null;
|
|
8860
9286
|
updated_at?: string;
|
|
@@ -10049,25 +10475,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10049
10475
|
};
|
|
10050
10476
|
Relationships: [];
|
|
10051
10477
|
};
|
|
10052
|
-
floriday_customer_discounts: {
|
|
10053
|
-
Row: {
|
|
10054
|
-
base_price: number | null;
|
|
10055
|
-
buyer_organization_id: string | null;
|
|
10056
|
-
currency: string | null;
|
|
10057
|
-
discount_type: string | null;
|
|
10058
|
-
discount_value: number | null;
|
|
10059
|
-
min_quantity: number | null;
|
|
10060
|
-
net_price: number | null;
|
|
10061
|
-
product_group_id: string | null;
|
|
10062
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
10063
|
-
source: string | null;
|
|
10064
|
-
source_id: string | null;
|
|
10065
|
-
trade_item_id: string | null;
|
|
10066
|
-
valid_from: string | null;
|
|
10067
|
-
valid_until: string | null;
|
|
10068
|
-
};
|
|
10069
|
-
Relationships: [];
|
|
10070
|
-
};
|
|
10071
10478
|
local_customer_discounts: {
|
|
10072
10479
|
Row: {
|
|
10073
10480
|
base_price: number | null;
|
|
@@ -10371,6 +10778,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10371
10778
|
};
|
|
10372
10779
|
Returns: number;
|
|
10373
10780
|
};
|
|
10781
|
+
_migrate_rewrite_stock_key: {
|
|
10782
|
+
Args: {
|
|
10783
|
+
_from_key: string;
|
|
10784
|
+
_to_key: string;
|
|
10785
|
+
};
|
|
10786
|
+
Returns: undefined;
|
|
10787
|
+
};
|
|
10374
10788
|
afh_city_code: {
|
|
10375
10789
|
Args: {
|
|
10376
10790
|
_city: string;
|
|
@@ -10486,6 +10900,28 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10486
10900
|
Args: never;
|
|
10487
10901
|
Returns: undefined;
|
|
10488
10902
|
};
|
|
10903
|
+
consume_bom_for_production: {
|
|
10904
|
+
Args: {
|
|
10905
|
+
p_connection_id: string;
|
|
10906
|
+
p_parent_id: string;
|
|
10907
|
+
p_parent_key: string;
|
|
10908
|
+
p_parent_kind: string;
|
|
10909
|
+
p_quantity: number;
|
|
10910
|
+
p_user_id: string;
|
|
10911
|
+
};
|
|
10912
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10913
|
+
} | {
|
|
10914
|
+
Args: {
|
|
10915
|
+
p_batch_id?: string;
|
|
10916
|
+
p_connection_id: string;
|
|
10917
|
+
p_parent_id: string;
|
|
10918
|
+
p_parent_key: string;
|
|
10919
|
+
p_parent_kind: string;
|
|
10920
|
+
p_quantity: number;
|
|
10921
|
+
p_user_id: string;
|
|
10922
|
+
};
|
|
10923
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10924
|
+
};
|
|
10489
10925
|
consume_floriday_rate_limit: {
|
|
10490
10926
|
Args: {
|
|
10491
10927
|
p_bucket: string;
|
|
@@ -10537,6 +10973,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10537
10973
|
table_name: string;
|
|
10538
10974
|
}[];
|
|
10539
10975
|
};
|
|
10976
|
+
delete_samenstelling: {
|
|
10977
|
+
Args: {
|
|
10978
|
+
p_parent_id: string;
|
|
10979
|
+
p_parent_kind: string;
|
|
10980
|
+
};
|
|
10981
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10982
|
+
};
|
|
10540
10983
|
dispatch_carrier_signups_sql: {
|
|
10541
10984
|
Args: {
|
|
10542
10985
|
_catchup?: string;
|
|
@@ -10697,19 +11140,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10697
11140
|
resource: string;
|
|
10698
11141
|
}[];
|
|
10699
11142
|
};
|
|
10700
|
-
get_floriday_agreements_active: {
|
|
10701
|
-
Args: {
|
|
10702
|
-
p_on_date?: string;
|
|
10703
|
-
};
|
|
10704
|
-
Returns: {
|
|
10705
|
-
buyer_organization_id: string;
|
|
10706
|
-
data: import("../integrations/supabase/types").Json;
|
|
10707
|
-
floriday_id: string;
|
|
10708
|
-
status: string;
|
|
10709
|
-
valid_from: string;
|
|
10710
|
-
valid_until: string;
|
|
10711
|
-
}[];
|
|
10712
|
-
};
|
|
10713
11143
|
get_floriday_clock_supplies_window: {
|
|
10714
11144
|
Args: {
|
|
10715
11145
|
p_from: string;
|
|
@@ -10782,6 +11212,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10782
11212
|
minutes_since_success: number;
|
|
10783
11213
|
}[];
|
|
10784
11214
|
};
|
|
11215
|
+
get_group_allocation_keys: {
|
|
11216
|
+
Args: {
|
|
11217
|
+
p_product_id: string;
|
|
11218
|
+
};
|
|
11219
|
+
Returns: {
|
|
11220
|
+
k: string;
|
|
11221
|
+
ord: number;
|
|
11222
|
+
}[];
|
|
11223
|
+
};
|
|
11224
|
+
get_group_head_key: {
|
|
11225
|
+
Args: {
|
|
11226
|
+
p_group_id: string;
|
|
11227
|
+
};
|
|
11228
|
+
Returns: string;
|
|
11229
|
+
};
|
|
10785
11230
|
get_offer_by_link_code: {
|
|
10786
11231
|
Args: {
|
|
10787
11232
|
p_code: string;
|
|
@@ -10892,6 +11337,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10892
11337
|
};
|
|
10893
11338
|
Returns: undefined;
|
|
10894
11339
|
};
|
|
11340
|
+
mark_shipment_shipped: {
|
|
11341
|
+
Args: {
|
|
11342
|
+
p_shipment_id: string;
|
|
11343
|
+
};
|
|
11344
|
+
Returns: undefined;
|
|
11345
|
+
};
|
|
11346
|
+
merge_products: {
|
|
11347
|
+
Args: {
|
|
11348
|
+
_canonical: string;
|
|
11349
|
+
_loser: string;
|
|
11350
|
+
};
|
|
11351
|
+
Returns: undefined;
|
|
11352
|
+
};
|
|
11353
|
+
next_manufacture_partij: {
|
|
11354
|
+
Args: {
|
|
11355
|
+
_tenant_id: string;
|
|
11356
|
+
};
|
|
11357
|
+
Returns: string;
|
|
11358
|
+
};
|
|
10895
11359
|
next_order_number: {
|
|
10896
11360
|
Args: {
|
|
10897
11361
|
p_prefix: string;
|
|
@@ -10970,6 +11434,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10970
11434
|
};
|
|
10971
11435
|
Returns: undefined;
|
|
10972
11436
|
};
|
|
11437
|
+
produce_designed_product: {
|
|
11438
|
+
Args: {
|
|
11439
|
+
p_parent_id: string;
|
|
11440
|
+
p_parent_kind: string;
|
|
11441
|
+
p_quantity: number;
|
|
11442
|
+
};
|
|
11443
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11444
|
+
};
|
|
10973
11445
|
promote_trade_item_key: {
|
|
10974
11446
|
Args: {
|
|
10975
11447
|
p_new: string;
|
|
@@ -10977,6 +11449,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10977
11449
|
};
|
|
10978
11450
|
Returns: undefined;
|
|
10979
11451
|
};
|
|
11452
|
+
recompute_all_reserved_stock: {
|
|
11453
|
+
Args: never;
|
|
11454
|
+
Returns: undefined;
|
|
11455
|
+
};
|
|
10980
11456
|
recompute_order_status: {
|
|
10981
11457
|
Args: {
|
|
10982
11458
|
p_order_id: string;
|
|
@@ -11026,27 +11502,45 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11026
11502
|
};
|
|
11027
11503
|
Returns: undefined;
|
|
11028
11504
|
};
|
|
11505
|
+
resolve_group_allocation: {
|
|
11506
|
+
Args: {
|
|
11507
|
+
_needed: number;
|
|
11508
|
+
_product_group_id: string;
|
|
11509
|
+
};
|
|
11510
|
+
Returns: {
|
|
11511
|
+
allocated: number;
|
|
11512
|
+
trade_item_id: string;
|
|
11513
|
+
}[];
|
|
11514
|
+
};
|
|
11515
|
+
resolve_group_member_stock_key: {
|
|
11516
|
+
Args: {
|
|
11517
|
+
p_trade_item_id: string;
|
|
11518
|
+
};
|
|
11519
|
+
Returns: string;
|
|
11520
|
+
};
|
|
11029
11521
|
resolve_product_id_for_item: {
|
|
11030
11522
|
Args: {
|
|
11031
11523
|
p_product_name: string;
|
|
11032
11524
|
};
|
|
11033
11525
|
Returns: string;
|
|
11034
11526
|
};
|
|
11035
|
-
|
|
11527
|
+
resolve_stock_trade_item_key: {
|
|
11036
11528
|
Args: {
|
|
11037
|
-
|
|
11038
|
-
p_url: string;
|
|
11529
|
+
p_product_id: string;
|
|
11039
11530
|
};
|
|
11040
|
-
Returns:
|
|
11531
|
+
Returns: string;
|
|
11041
11532
|
};
|
|
11042
|
-
|
|
11533
|
+
reverse_production: {
|
|
11043
11534
|
Args: {
|
|
11044
|
-
|
|
11045
|
-
|
|
11535
|
+
p_connection_id?: string;
|
|
11536
|
+
p_parent_key: string;
|
|
11537
|
+
p_quantity: number;
|
|
11538
|
+
p_reason?: string;
|
|
11539
|
+
p_user_id?: string;
|
|
11046
11540
|
};
|
|
11047
|
-
Returns:
|
|
11541
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11048
11542
|
};
|
|
11049
|
-
|
|
11543
|
+
schedule_floriday_additional_services_sync: {
|
|
11050
11544
|
Args: {
|
|
11051
11545
|
p_apikey: string;
|
|
11052
11546
|
p_url: string;
|