@flowselections/floriday-voorraad 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +7 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ArtikelCompositionCard.js +196 -0
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +2 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +259 -26
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +28 -85
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +4 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -0
- package/dist-lib/components/voorraad/FloridayStatusBadge.js +8 -0
- package/dist-lib/components/voorraad/StockBulkButtons.js +7 -6
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +5 -0
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.js +26 -56
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +4 -0
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +14 -6
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.js +11 -0
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.js +5 -12
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts +13 -0
- package/dist-lib/hooks/useFloridayContinuousStock.d.ts.map +1 -0
- package/dist-lib/hooks/useFloridayContinuousStock.js +109 -0
- package/dist-lib/hooks/useFlorydayCustomers.d.ts +11 -4
- package/dist-lib/hooks/useFlorydayCustomers.d.ts.map +1 -1
- package/dist-lib/hooks/useFlorydayCustomers.js +85 -38
- package/dist-lib/hooks/useLocalTradeItems.d.ts +26 -2
- package/dist-lib/hooks/useLocalTradeItems.d.ts.map +1 -1
- package/dist-lib/hooks/useLocalTradeItems.js +119 -79
- package/dist-lib/hooks/useVoorraadData.d.ts +5 -5
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +127 -50
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +662 -168
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +662 -168
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +678 -163
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +662 -168
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.d.ts +29 -12
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.js +36 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +662 -168
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +3220 -750
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +3 -0
- package/dist-lib/lib/floriday-payload.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.js +32 -8
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1932 -450
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1333 -345
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/merge-products.d.ts +8 -0
- package/dist-lib/lib/merge-products.d.ts.map +1 -0
- package/dist-lib/lib/merge-products.js +17 -0
- package/package.json +3 -3
|
@@ -241,6 +241,165 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
241
241
|
};
|
|
242
242
|
Relationships: [];
|
|
243
243
|
};
|
|
244
|
+
ai_credentials: {
|
|
245
|
+
Row: {
|
|
246
|
+
active: boolean;
|
|
247
|
+
api_key: string;
|
|
248
|
+
created_at: string;
|
|
249
|
+
created_by: string | null;
|
|
250
|
+
id: string;
|
|
251
|
+
label: string;
|
|
252
|
+
provider_id: string;
|
|
253
|
+
updated_at: string;
|
|
254
|
+
};
|
|
255
|
+
Insert: {
|
|
256
|
+
active?: boolean;
|
|
257
|
+
api_key: string;
|
|
258
|
+
created_at?: string;
|
|
259
|
+
created_by?: string | null;
|
|
260
|
+
id?: string;
|
|
261
|
+
label: string;
|
|
262
|
+
provider_id: string;
|
|
263
|
+
updated_at?: string;
|
|
264
|
+
};
|
|
265
|
+
Update: {
|
|
266
|
+
active?: boolean;
|
|
267
|
+
api_key?: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
created_by?: string | null;
|
|
270
|
+
id?: string;
|
|
271
|
+
label?: string;
|
|
272
|
+
provider_id?: string;
|
|
273
|
+
updated_at?: string;
|
|
274
|
+
};
|
|
275
|
+
Relationships: [{
|
|
276
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
277
|
+
columns: ["provider_id"];
|
|
278
|
+
isOneToOne: false;
|
|
279
|
+
referencedRelation: "ai_providers";
|
|
280
|
+
referencedColumns: ["id"];
|
|
281
|
+
}];
|
|
282
|
+
};
|
|
283
|
+
ai_models: {
|
|
284
|
+
Row: {
|
|
285
|
+
active: boolean;
|
|
286
|
+
context_window: number | null;
|
|
287
|
+
created_at: string;
|
|
288
|
+
display_name: string;
|
|
289
|
+
id: string;
|
|
290
|
+
is_default: boolean;
|
|
291
|
+
modality: string;
|
|
292
|
+
provider_id: string;
|
|
293
|
+
slug: string;
|
|
294
|
+
updated_at: string;
|
|
295
|
+
};
|
|
296
|
+
Insert: {
|
|
297
|
+
active?: boolean;
|
|
298
|
+
context_window?: number | null;
|
|
299
|
+
created_at?: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id?: string;
|
|
302
|
+
is_default?: boolean;
|
|
303
|
+
modality?: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at?: string;
|
|
307
|
+
};
|
|
308
|
+
Update: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name?: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id?: string;
|
|
317
|
+
slug?: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Relationships: [{
|
|
321
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
322
|
+
columns: ["provider_id"];
|
|
323
|
+
isOneToOne: false;
|
|
324
|
+
referencedRelation: "ai_providers";
|
|
325
|
+
referencedColumns: ["id"];
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
ai_module_bindings: {
|
|
329
|
+
Row: {
|
|
330
|
+
consumer_module_id: string;
|
|
331
|
+
created_at: string;
|
|
332
|
+
credential_id: string;
|
|
333
|
+
id: string;
|
|
334
|
+
model_id: string;
|
|
335
|
+
notes: string | null;
|
|
336
|
+
updated_at: string;
|
|
337
|
+
};
|
|
338
|
+
Insert: {
|
|
339
|
+
consumer_module_id: string;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
credential_id: string;
|
|
342
|
+
id?: string;
|
|
343
|
+
model_id: string;
|
|
344
|
+
notes?: string | null;
|
|
345
|
+
updated_at?: string;
|
|
346
|
+
};
|
|
347
|
+
Update: {
|
|
348
|
+
consumer_module_id?: string;
|
|
349
|
+
created_at?: string;
|
|
350
|
+
credential_id?: string;
|
|
351
|
+
id?: string;
|
|
352
|
+
model_id?: string;
|
|
353
|
+
notes?: string | null;
|
|
354
|
+
updated_at?: string;
|
|
355
|
+
};
|
|
356
|
+
Relationships: [{
|
|
357
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
358
|
+
columns: ["credential_id"];
|
|
359
|
+
isOneToOne: false;
|
|
360
|
+
referencedRelation: "ai_credentials";
|
|
361
|
+
referencedColumns: ["id"];
|
|
362
|
+
}, {
|
|
363
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
364
|
+
columns: ["model_id"];
|
|
365
|
+
isOneToOne: false;
|
|
366
|
+
referencedRelation: "ai_models";
|
|
367
|
+
referencedColumns: ["id"];
|
|
368
|
+
}];
|
|
369
|
+
};
|
|
370
|
+
ai_providers: {
|
|
371
|
+
Row: {
|
|
372
|
+
active: boolean;
|
|
373
|
+
auth_type: string;
|
|
374
|
+
base_url: string | null;
|
|
375
|
+
created_at: string;
|
|
376
|
+
id: string;
|
|
377
|
+
name: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
updated_at: string;
|
|
380
|
+
};
|
|
381
|
+
Insert: {
|
|
382
|
+
active?: boolean;
|
|
383
|
+
auth_type?: string;
|
|
384
|
+
base_url?: string | null;
|
|
385
|
+
created_at?: string;
|
|
386
|
+
id?: string;
|
|
387
|
+
name: string;
|
|
388
|
+
slug: string;
|
|
389
|
+
updated_at?: string;
|
|
390
|
+
};
|
|
391
|
+
Update: {
|
|
392
|
+
active?: boolean;
|
|
393
|
+
auth_type?: string;
|
|
394
|
+
base_url?: string | null;
|
|
395
|
+
created_at?: string;
|
|
396
|
+
id?: string;
|
|
397
|
+
name?: string;
|
|
398
|
+
slug?: string;
|
|
399
|
+
updated_at?: string;
|
|
400
|
+
};
|
|
401
|
+
Relationships: [];
|
|
402
|
+
};
|
|
244
403
|
app_settings: {
|
|
245
404
|
Row: {
|
|
246
405
|
created_at: string;
|
|
@@ -3247,105 +3406,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3247
3406
|
referencedColumns: ["id"];
|
|
3248
3407
|
}];
|
|
3249
3408
|
};
|
|
3250
|
-
floriday_agreement_calloffs_cache: {
|
|
3251
|
-
Row: {
|
|
3252
|
-
agreement_id: string | null;
|
|
3253
|
-
connection_id: string;
|
|
3254
|
-
data: import("./types").Json;
|
|
3255
|
-
delivery_date: string | null;
|
|
3256
|
-
fetched_at: string;
|
|
3257
|
-
floriday_id: string;
|
|
3258
|
-
id: string;
|
|
3259
|
-
is_deleted: boolean;
|
|
3260
|
-
sequence_number: number;
|
|
3261
|
-
status: string | null;
|
|
3262
|
-
updated_at: string;
|
|
3263
|
-
};
|
|
3264
|
-
Insert: {
|
|
3265
|
-
agreement_id?: string | null;
|
|
3266
|
-
connection_id: string;
|
|
3267
|
-
data?: import("./types").Json;
|
|
3268
|
-
delivery_date?: string | null;
|
|
3269
|
-
fetched_at?: string;
|
|
3270
|
-
floriday_id: string;
|
|
3271
|
-
id?: string;
|
|
3272
|
-
is_deleted?: boolean;
|
|
3273
|
-
sequence_number?: number;
|
|
3274
|
-
status?: string | null;
|
|
3275
|
-
updated_at?: string;
|
|
3276
|
-
};
|
|
3277
|
-
Update: {
|
|
3278
|
-
agreement_id?: string | null;
|
|
3279
|
-
connection_id?: string;
|
|
3280
|
-
data?: import("./types").Json;
|
|
3281
|
-
delivery_date?: string | null;
|
|
3282
|
-
fetched_at?: string;
|
|
3283
|
-
floriday_id?: string;
|
|
3284
|
-
id?: string;
|
|
3285
|
-
is_deleted?: boolean;
|
|
3286
|
-
sequence_number?: number;
|
|
3287
|
-
status?: string | null;
|
|
3288
|
-
updated_at?: string;
|
|
3289
|
-
};
|
|
3290
|
-
Relationships: [{
|
|
3291
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3292
|
-
columns: ["connection_id"];
|
|
3293
|
-
isOneToOne: false;
|
|
3294
|
-
referencedRelation: "floriday_connections";
|
|
3295
|
-
referencedColumns: ["id"];
|
|
3296
|
-
}];
|
|
3297
|
-
};
|
|
3298
|
-
floriday_agreements_cache: {
|
|
3299
|
-
Row: {
|
|
3300
|
-
buyer_organization_id: string | null;
|
|
3301
|
-
connection_id: string;
|
|
3302
|
-
data: import("./types").Json;
|
|
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
|
-
valid_from: string | null;
|
|
3311
|
-
valid_until: string | null;
|
|
3312
|
-
};
|
|
3313
|
-
Insert: {
|
|
3314
|
-
buyer_organization_id?: string | null;
|
|
3315
|
-
connection_id: string;
|
|
3316
|
-
data?: import("./types").Json;
|
|
3317
|
-
fetched_at?: string;
|
|
3318
|
-
floriday_id: string;
|
|
3319
|
-
id?: string;
|
|
3320
|
-
is_deleted?: boolean;
|
|
3321
|
-
sequence_number?: number;
|
|
3322
|
-
status?: string | null;
|
|
3323
|
-
updated_at?: string;
|
|
3324
|
-
valid_from?: string | null;
|
|
3325
|
-
valid_until?: string | null;
|
|
3326
|
-
};
|
|
3327
|
-
Update: {
|
|
3328
|
-
buyer_organization_id?: string | null;
|
|
3329
|
-
connection_id?: string;
|
|
3330
|
-
data?: import("./types").Json;
|
|
3331
|
-
fetched_at?: string;
|
|
3332
|
-
floriday_id?: string;
|
|
3333
|
-
id?: string;
|
|
3334
|
-
is_deleted?: boolean;
|
|
3335
|
-
sequence_number?: number;
|
|
3336
|
-
status?: string | null;
|
|
3337
|
-
updated_at?: string;
|
|
3338
|
-
valid_from?: string | null;
|
|
3339
|
-
valid_until?: string | null;
|
|
3340
|
-
};
|
|
3341
|
-
Relationships: [{
|
|
3342
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3343
|
-
columns: ["connection_id"];
|
|
3344
|
-
isOneToOne: false;
|
|
3345
|
-
referencedRelation: "floriday_connections";
|
|
3346
|
-
referencedColumns: ["id"];
|
|
3347
|
-
}];
|
|
3348
|
-
};
|
|
3349
3409
|
floriday_auction_letters_cache: {
|
|
3350
3410
|
Row: {
|
|
3351
3411
|
auction_letter_code: string;
|
|
@@ -3844,6 +3904,27 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
3844
3904
|
referencedColumns: ["id"];
|
|
3845
3905
|
}];
|
|
3846
3906
|
};
|
|
3907
|
+
floriday_continuous_stock_cache: {
|
|
3908
|
+
Row: {
|
|
3909
|
+
connection_id: string;
|
|
3910
|
+
fetched_at: string;
|
|
3911
|
+
number_of_pieces: number;
|
|
3912
|
+
trade_item_id: string;
|
|
3913
|
+
};
|
|
3914
|
+
Insert: {
|
|
3915
|
+
connection_id: string;
|
|
3916
|
+
fetched_at?: string;
|
|
3917
|
+
number_of_pieces?: number;
|
|
3918
|
+
trade_item_id: string;
|
|
3919
|
+
};
|
|
3920
|
+
Update: {
|
|
3921
|
+
connection_id?: string;
|
|
3922
|
+
fetched_at?: string;
|
|
3923
|
+
number_of_pieces?: number;
|
|
3924
|
+
trade_item_id?: string;
|
|
3925
|
+
};
|
|
3926
|
+
Relationships: [];
|
|
3927
|
+
};
|
|
3847
3928
|
floriday_continuous_stock_queue: {
|
|
3848
3929
|
Row: {
|
|
3849
3930
|
attempts: number;
|
|
@@ -4822,9 +4903,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4822
4903
|
referencedColumns: ["id"];
|
|
4823
4904
|
}];
|
|
4824
4905
|
};
|
|
4825
|
-
|
|
4906
|
+
floriday_trade_settings_customers_cache: {
|
|
4826
4907
|
Row: {
|
|
4827
|
-
carrier_organization_id: string | null;
|
|
4828
4908
|
connection_id: string;
|
|
4829
4909
|
data: import("./types").Json;
|
|
4830
4910
|
fetched_at: string;
|
|
@@ -4832,25 +4912,19 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4832
4912
|
id: string;
|
|
4833
4913
|
is_deleted: boolean;
|
|
4834
4914
|
sequence_number: number;
|
|
4835
|
-
status: string | null;
|
|
4836
|
-
trip_date: string | null;
|
|
4837
4915
|
updated_at: string;
|
|
4838
4916
|
};
|
|
4839
4917
|
Insert: {
|
|
4840
|
-
carrier_organization_id?: string | null;
|
|
4841
4918
|
connection_id: string;
|
|
4842
|
-
data
|
|
4919
|
+
data: import("./types").Json;
|
|
4843
4920
|
fetched_at?: string;
|
|
4844
4921
|
floriday_id: string;
|
|
4845
4922
|
id?: string;
|
|
4846
4923
|
is_deleted?: boolean;
|
|
4847
4924
|
sequence_number?: number;
|
|
4848
|
-
status?: string | null;
|
|
4849
|
-
trip_date?: string | null;
|
|
4850
4925
|
updated_at?: string;
|
|
4851
4926
|
};
|
|
4852
4927
|
Update: {
|
|
4853
|
-
carrier_organization_id?: string | null;
|
|
4854
4928
|
connection_id?: string;
|
|
4855
4929
|
data?: import("./types").Json;
|
|
4856
4930
|
fetched_at?: string;
|
|
@@ -4858,31 +4932,77 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
4858
4932
|
id?: string;
|
|
4859
4933
|
is_deleted?: boolean;
|
|
4860
4934
|
sequence_number?: number;
|
|
4861
|
-
status?: string | null;
|
|
4862
|
-
trip_date?: string | null;
|
|
4863
4935
|
updated_at?: string;
|
|
4864
4936
|
};
|
|
4865
4937
|
Relationships: [{
|
|
4866
|
-
foreignKeyName: "
|
|
4938
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4867
4939
|
columns: ["connection_id"];
|
|
4868
4940
|
isOneToOne: false;
|
|
4869
4941
|
referencedRelation: "floriday_connections";
|
|
4870
4942
|
referencedColumns: ["id"];
|
|
4871
4943
|
}];
|
|
4872
4944
|
};
|
|
4873
|
-
|
|
4945
|
+
floriday_trips_cache: {
|
|
4874
4946
|
Row: {
|
|
4947
|
+
carrier_organization_id: string | null;
|
|
4875
4948
|
connection_id: string;
|
|
4876
4949
|
data: import("./types").Json;
|
|
4877
4950
|
fetched_at: string;
|
|
4878
4951
|
floriday_id: string;
|
|
4879
|
-
gln_code: string | null;
|
|
4880
4952
|
id: string;
|
|
4881
|
-
is_default: boolean;
|
|
4882
4953
|
is_deleted: boolean;
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4954
|
+
sequence_number: number;
|
|
4955
|
+
status: string | null;
|
|
4956
|
+
trip_date: string | null;
|
|
4957
|
+
updated_at: string;
|
|
4958
|
+
};
|
|
4959
|
+
Insert: {
|
|
4960
|
+
carrier_organization_id?: string | null;
|
|
4961
|
+
connection_id: string;
|
|
4962
|
+
data?: import("./types").Json;
|
|
4963
|
+
fetched_at?: string;
|
|
4964
|
+
floriday_id: string;
|
|
4965
|
+
id?: string;
|
|
4966
|
+
is_deleted?: boolean;
|
|
4967
|
+
sequence_number?: number;
|
|
4968
|
+
status?: string | null;
|
|
4969
|
+
trip_date?: string | null;
|
|
4970
|
+
updated_at?: string;
|
|
4971
|
+
};
|
|
4972
|
+
Update: {
|
|
4973
|
+
carrier_organization_id?: string | null;
|
|
4974
|
+
connection_id?: string;
|
|
4975
|
+
data?: import("./types").Json;
|
|
4976
|
+
fetched_at?: string;
|
|
4977
|
+
floriday_id?: string;
|
|
4978
|
+
id?: string;
|
|
4979
|
+
is_deleted?: boolean;
|
|
4980
|
+
sequence_number?: number;
|
|
4981
|
+
status?: string | null;
|
|
4982
|
+
trip_date?: string | null;
|
|
4983
|
+
updated_at?: string;
|
|
4984
|
+
};
|
|
4985
|
+
Relationships: [{
|
|
4986
|
+
foreignKeyName: "floriday_trips_cache_connection_id_fkey";
|
|
4987
|
+
columns: ["connection_id"];
|
|
4988
|
+
isOneToOne: false;
|
|
4989
|
+
referencedRelation: "floriday_connections";
|
|
4990
|
+
referencedColumns: ["id"];
|
|
4991
|
+
}];
|
|
4992
|
+
};
|
|
4993
|
+
floriday_warehouses_cache: {
|
|
4994
|
+
Row: {
|
|
4995
|
+
connection_id: string;
|
|
4996
|
+
data: import("./types").Json;
|
|
4997
|
+
fetched_at: string;
|
|
4998
|
+
floriday_id: string;
|
|
4999
|
+
gln_code: string | null;
|
|
5000
|
+
id: string;
|
|
5001
|
+
is_default: boolean;
|
|
5002
|
+
is_deleted: boolean;
|
|
5003
|
+
name: string | null;
|
|
5004
|
+
updated_at: string;
|
|
5005
|
+
};
|
|
4886
5006
|
Insert: {
|
|
4887
5007
|
connection_id: string;
|
|
4888
5008
|
data?: import("./types").Json;
|
|
@@ -5967,39 +6087,60 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
5967
6087
|
};
|
|
5968
6088
|
manufacture_products: {
|
|
5969
6089
|
Row: {
|
|
6090
|
+
aantal_te_produceren: number;
|
|
5970
6091
|
created_at: string;
|
|
5971
6092
|
description: string | null;
|
|
5972
6093
|
id: string;
|
|
5973
6094
|
is_active: boolean;
|
|
6095
|
+
location_id: string | null;
|
|
5974
6096
|
name: string;
|
|
6097
|
+
partij_nummer: string | null;
|
|
6098
|
+
photos: import("./types").Json;
|
|
5975
6099
|
produced_stock: number;
|
|
5976
6100
|
product_code: string;
|
|
5977
6101
|
tenant_id: string;
|
|
6102
|
+
unit: string;
|
|
5978
6103
|
updated_at: string;
|
|
5979
6104
|
};
|
|
5980
6105
|
Insert: {
|
|
6106
|
+
aantal_te_produceren?: number;
|
|
5981
6107
|
created_at?: string;
|
|
5982
6108
|
description?: string | null;
|
|
5983
6109
|
id?: string;
|
|
5984
6110
|
is_active?: boolean;
|
|
6111
|
+
location_id?: string | null;
|
|
5985
6112
|
name: string;
|
|
6113
|
+
partij_nummer?: string | null;
|
|
6114
|
+
photos?: import("./types").Json;
|
|
5986
6115
|
produced_stock?: number;
|
|
5987
6116
|
product_code: string;
|
|
5988
6117
|
tenant_id: string;
|
|
6118
|
+
unit?: string;
|
|
5989
6119
|
updated_at?: string;
|
|
5990
6120
|
};
|
|
5991
6121
|
Update: {
|
|
6122
|
+
aantal_te_produceren?: number;
|
|
5992
6123
|
created_at?: string;
|
|
5993
6124
|
description?: string | null;
|
|
5994
6125
|
id?: string;
|
|
5995
6126
|
is_active?: boolean;
|
|
6127
|
+
location_id?: string | null;
|
|
5996
6128
|
name?: string;
|
|
6129
|
+
partij_nummer?: string | null;
|
|
6130
|
+
photos?: import("./types").Json;
|
|
5997
6131
|
produced_stock?: number;
|
|
5998
6132
|
product_code?: string;
|
|
5999
6133
|
tenant_id?: string;
|
|
6134
|
+
unit?: string;
|
|
6000
6135
|
updated_at?: string;
|
|
6001
6136
|
};
|
|
6002
|
-
Relationships: [
|
|
6137
|
+
Relationships: [{
|
|
6138
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6139
|
+
columns: ["location_id"];
|
|
6140
|
+
isOneToOne: false;
|
|
6141
|
+
referencedRelation: "locations";
|
|
6142
|
+
referencedColumns: ["id"];
|
|
6143
|
+
}];
|
|
6003
6144
|
};
|
|
6004
6145
|
monteurs: {
|
|
6005
6146
|
Row: {
|
|
@@ -6973,6 +7114,105 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6973
7114
|
};
|
|
6974
7115
|
Relationships: [];
|
|
6975
7116
|
};
|
|
7117
|
+
order_shipment_items: {
|
|
7118
|
+
Row: {
|
|
7119
|
+
created_at: string;
|
|
7120
|
+
id: string;
|
|
7121
|
+
order_item_id: string;
|
|
7122
|
+
product_id: string | null;
|
|
7123
|
+
product_name: string;
|
|
7124
|
+
quantity: number;
|
|
7125
|
+
shipment_id: string;
|
|
7126
|
+
updated_at: string;
|
|
7127
|
+
};
|
|
7128
|
+
Insert: {
|
|
7129
|
+
created_at?: string;
|
|
7130
|
+
id?: string;
|
|
7131
|
+
order_item_id: string;
|
|
7132
|
+
product_id?: string | null;
|
|
7133
|
+
product_name: string;
|
|
7134
|
+
quantity: number;
|
|
7135
|
+
shipment_id: string;
|
|
7136
|
+
updated_at?: string;
|
|
7137
|
+
};
|
|
7138
|
+
Update: {
|
|
7139
|
+
created_at?: string;
|
|
7140
|
+
id?: string;
|
|
7141
|
+
order_item_id?: string;
|
|
7142
|
+
product_id?: string | null;
|
|
7143
|
+
product_name?: string;
|
|
7144
|
+
quantity?: number;
|
|
7145
|
+
shipment_id?: string;
|
|
7146
|
+
updated_at?: string;
|
|
7147
|
+
};
|
|
7148
|
+
Relationships: [{
|
|
7149
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7150
|
+
columns: ["order_item_id"];
|
|
7151
|
+
isOneToOne: false;
|
|
7152
|
+
referencedRelation: "order_items";
|
|
7153
|
+
referencedColumns: ["id"];
|
|
7154
|
+
}, {
|
|
7155
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7156
|
+
columns: ["shipment_id"];
|
|
7157
|
+
isOneToOne: false;
|
|
7158
|
+
referencedRelation: "order_shipments";
|
|
7159
|
+
referencedColumns: ["id"];
|
|
7160
|
+
}];
|
|
7161
|
+
};
|
|
7162
|
+
order_shipments: {
|
|
7163
|
+
Row: {
|
|
7164
|
+
carrier_id: string | null;
|
|
7165
|
+
created_at: string;
|
|
7166
|
+
delivery_date: string | null;
|
|
7167
|
+
delivery_location_id: string | null;
|
|
7168
|
+
id: string;
|
|
7169
|
+
notes: string | null;
|
|
7170
|
+
order_id: string;
|
|
7171
|
+
shipment_number: number;
|
|
7172
|
+
shipped_at: string | null;
|
|
7173
|
+
status: string;
|
|
7174
|
+
updated_at: string;
|
|
7175
|
+
};
|
|
7176
|
+
Insert: {
|
|
7177
|
+
carrier_id?: string | null;
|
|
7178
|
+
created_at?: string;
|
|
7179
|
+
delivery_date?: string | null;
|
|
7180
|
+
delivery_location_id?: string | null;
|
|
7181
|
+
id?: string;
|
|
7182
|
+
notes?: string | null;
|
|
7183
|
+
order_id: string;
|
|
7184
|
+
shipment_number: number;
|
|
7185
|
+
shipped_at?: string | null;
|
|
7186
|
+
status?: string;
|
|
7187
|
+
updated_at?: string;
|
|
7188
|
+
};
|
|
7189
|
+
Update: {
|
|
7190
|
+
carrier_id?: string | null;
|
|
7191
|
+
created_at?: string;
|
|
7192
|
+
delivery_date?: string | null;
|
|
7193
|
+
delivery_location_id?: string | null;
|
|
7194
|
+
id?: string;
|
|
7195
|
+
notes?: string | null;
|
|
7196
|
+
order_id?: string;
|
|
7197
|
+
shipment_number?: number;
|
|
7198
|
+
shipped_at?: string | null;
|
|
7199
|
+
status?: string;
|
|
7200
|
+
updated_at?: string;
|
|
7201
|
+
};
|
|
7202
|
+
Relationships: [{
|
|
7203
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7204
|
+
columns: ["carrier_id"];
|
|
7205
|
+
isOneToOne: false;
|
|
7206
|
+
referencedRelation: "carriers";
|
|
7207
|
+
referencedColumns: ["id"];
|
|
7208
|
+
}, {
|
|
7209
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7210
|
+
columns: ["order_id"];
|
|
7211
|
+
isOneToOne: false;
|
|
7212
|
+
referencedRelation: "orders";
|
|
7213
|
+
referencedColumns: ["id"];
|
|
7214
|
+
}];
|
|
7215
|
+
};
|
|
6976
7216
|
orders: {
|
|
6977
7217
|
Row: {
|
|
6978
7218
|
created_at: string;
|
|
@@ -6980,8 +7220,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6980
7220
|
customer_id: string | null;
|
|
6981
7221
|
customer_name: string;
|
|
6982
7222
|
deleted_at: string | null;
|
|
6983
|
-
delivery_date: string;
|
|
7223
|
+
delivery_date: string | null;
|
|
6984
7224
|
id: string;
|
|
7225
|
+
is_reservation: boolean;
|
|
6985
7226
|
notes: string | null;
|
|
6986
7227
|
order_date: string;
|
|
6987
7228
|
order_number: string;
|
|
@@ -6998,8 +7239,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
6998
7239
|
customer_id?: string | null;
|
|
6999
7240
|
customer_name?: string;
|
|
7000
7241
|
deleted_at?: string | null;
|
|
7001
|
-
delivery_date
|
|
7242
|
+
delivery_date?: string | null;
|
|
7002
7243
|
id?: string;
|
|
7244
|
+
is_reservation?: boolean;
|
|
7003
7245
|
notes?: string | null;
|
|
7004
7246
|
order_date?: string;
|
|
7005
7247
|
order_number: string;
|
|
@@ -7016,8 +7258,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7016
7258
|
customer_id?: string | null;
|
|
7017
7259
|
customer_name?: string;
|
|
7018
7260
|
deleted_at?: string | null;
|
|
7019
|
-
delivery_date?: string;
|
|
7261
|
+
delivery_date?: string | null;
|
|
7020
7262
|
id?: string;
|
|
7263
|
+
is_reservation?: boolean;
|
|
7021
7264
|
notes?: string | null;
|
|
7022
7265
|
order_date?: string;
|
|
7023
7266
|
order_number?: string;
|
|
@@ -7159,6 +7402,63 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7159
7402
|
};
|
|
7160
7403
|
Relationships: [];
|
|
7161
7404
|
};
|
|
7405
|
+
product_bom_items: {
|
|
7406
|
+
Row: {
|
|
7407
|
+
component_product_id: string | null;
|
|
7408
|
+
component_trade_item_floriday_id: string | null;
|
|
7409
|
+
created_at: string;
|
|
7410
|
+
id: string;
|
|
7411
|
+
notes: string | null;
|
|
7412
|
+
parent_product_id: string | null;
|
|
7413
|
+
parent_trade_item_floriday_id: string | null;
|
|
7414
|
+
quantity: number;
|
|
7415
|
+
sort_order: number;
|
|
7416
|
+
tenant_id: string;
|
|
7417
|
+
unit: string;
|
|
7418
|
+
updated_at: string;
|
|
7419
|
+
};
|
|
7420
|
+
Insert: {
|
|
7421
|
+
component_product_id?: string | null;
|
|
7422
|
+
component_trade_item_floriday_id?: string | null;
|
|
7423
|
+
created_at?: string;
|
|
7424
|
+
id?: string;
|
|
7425
|
+
notes?: string | null;
|
|
7426
|
+
parent_product_id?: string | null;
|
|
7427
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7428
|
+
quantity?: number;
|
|
7429
|
+
sort_order?: number;
|
|
7430
|
+
tenant_id: string;
|
|
7431
|
+
unit?: string;
|
|
7432
|
+
updated_at?: string;
|
|
7433
|
+
};
|
|
7434
|
+
Update: {
|
|
7435
|
+
component_product_id?: string | null;
|
|
7436
|
+
component_trade_item_floriday_id?: string | null;
|
|
7437
|
+
created_at?: string;
|
|
7438
|
+
id?: string;
|
|
7439
|
+
notes?: string | null;
|
|
7440
|
+
parent_product_id?: string | null;
|
|
7441
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7442
|
+
quantity?: number;
|
|
7443
|
+
sort_order?: number;
|
|
7444
|
+
tenant_id?: string;
|
|
7445
|
+
unit?: string;
|
|
7446
|
+
updated_at?: string;
|
|
7447
|
+
};
|
|
7448
|
+
Relationships: [{
|
|
7449
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7450
|
+
columns: ["component_product_id"];
|
|
7451
|
+
isOneToOne: false;
|
|
7452
|
+
referencedRelation: "products";
|
|
7453
|
+
referencedColumns: ["id"];
|
|
7454
|
+
}, {
|
|
7455
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7456
|
+
columns: ["parent_product_id"];
|
|
7457
|
+
isOneToOne: false;
|
|
7458
|
+
referencedRelation: "products";
|
|
7459
|
+
referencedColumns: ["id"];
|
|
7460
|
+
}];
|
|
7461
|
+
};
|
|
7162
7462
|
product_categories: {
|
|
7163
7463
|
Row: {
|
|
7164
7464
|
color: string;
|
|
@@ -7264,6 +7564,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7264
7564
|
id: string;
|
|
7265
7565
|
product_group_id: string;
|
|
7266
7566
|
quantity: number;
|
|
7567
|
+
sort_order: number;
|
|
7267
7568
|
trade_item_id: string;
|
|
7268
7569
|
};
|
|
7269
7570
|
Insert: {
|
|
@@ -7271,6 +7572,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7271
7572
|
id?: string;
|
|
7272
7573
|
product_group_id: string;
|
|
7273
7574
|
quantity?: number;
|
|
7575
|
+
sort_order?: number;
|
|
7274
7576
|
trade_item_id: string;
|
|
7275
7577
|
};
|
|
7276
7578
|
Update: {
|
|
@@ -7278,6 +7580,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7278
7580
|
id?: string;
|
|
7279
7581
|
product_group_id?: string;
|
|
7280
7582
|
quantity?: number;
|
|
7583
|
+
sort_order?: number;
|
|
7281
7584
|
trade_item_id?: string;
|
|
7282
7585
|
};
|
|
7283
7586
|
Relationships: [{
|
|
@@ -7292,6 +7595,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7292
7595
|
Row: {
|
|
7293
7596
|
created_at: string;
|
|
7294
7597
|
description: string | null;
|
|
7598
|
+
head_product_id: string | null;
|
|
7599
|
+
head_trade_item_floriday_id: string | null;
|
|
7295
7600
|
id: string;
|
|
7296
7601
|
is_active: boolean;
|
|
7297
7602
|
name: string;
|
|
@@ -7301,6 +7606,8 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7301
7606
|
Insert: {
|
|
7302
7607
|
created_at?: string;
|
|
7303
7608
|
description?: string | null;
|
|
7609
|
+
head_product_id?: string | null;
|
|
7610
|
+
head_trade_item_floriday_id?: string | null;
|
|
7304
7611
|
id?: string;
|
|
7305
7612
|
is_active?: boolean;
|
|
7306
7613
|
name: string;
|
|
@@ -7310,21 +7617,126 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7310
7617
|
Update: {
|
|
7311
7618
|
created_at?: string;
|
|
7312
7619
|
description?: string | null;
|
|
7620
|
+
head_product_id?: string | null;
|
|
7621
|
+
head_trade_item_floriday_id?: string | null;
|
|
7313
7622
|
id?: string;
|
|
7314
7623
|
is_active?: boolean;
|
|
7315
7624
|
name?: string;
|
|
7316
7625
|
tenant_id?: string;
|
|
7317
7626
|
updated_at?: string;
|
|
7318
7627
|
};
|
|
7628
|
+
Relationships: [{
|
|
7629
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7630
|
+
columns: ["head_product_id"];
|
|
7631
|
+
isOneToOne: false;
|
|
7632
|
+
referencedRelation: "products";
|
|
7633
|
+
referencedColumns: ["id"];
|
|
7634
|
+
}];
|
|
7635
|
+
};
|
|
7636
|
+
product_load_settings: {
|
|
7637
|
+
Row: {
|
|
7638
|
+
created_at: string;
|
|
7639
|
+
id: string;
|
|
7640
|
+
is_package: boolean;
|
|
7641
|
+
layers_per_load_carrier: number | null;
|
|
7642
|
+
load_carrier: string | null;
|
|
7643
|
+
package_id: string | null;
|
|
7644
|
+
package_label: string | null;
|
|
7645
|
+
packages_per_layer: number | null;
|
|
7646
|
+
product_id: string | null;
|
|
7647
|
+
tenant_id: string;
|
|
7648
|
+
trade_item_floriday_id: string | null;
|
|
7649
|
+
units_per_package: number | null;
|
|
7650
|
+
updated_at: string;
|
|
7651
|
+
};
|
|
7652
|
+
Insert: {
|
|
7653
|
+
created_at?: string;
|
|
7654
|
+
id?: string;
|
|
7655
|
+
is_package?: boolean;
|
|
7656
|
+
layers_per_load_carrier?: number | null;
|
|
7657
|
+
load_carrier?: string | null;
|
|
7658
|
+
package_id?: string | null;
|
|
7659
|
+
package_label?: string | null;
|
|
7660
|
+
packages_per_layer?: number | null;
|
|
7661
|
+
product_id?: string | null;
|
|
7662
|
+
tenant_id: string;
|
|
7663
|
+
trade_item_floriday_id?: string | null;
|
|
7664
|
+
units_per_package?: number | null;
|
|
7665
|
+
updated_at?: string;
|
|
7666
|
+
};
|
|
7667
|
+
Update: {
|
|
7668
|
+
created_at?: string;
|
|
7669
|
+
id?: string;
|
|
7670
|
+
is_package?: boolean;
|
|
7671
|
+
layers_per_load_carrier?: number | null;
|
|
7672
|
+
load_carrier?: string | null;
|
|
7673
|
+
package_id?: string | null;
|
|
7674
|
+
package_label?: string | null;
|
|
7675
|
+
packages_per_layer?: number | null;
|
|
7676
|
+
product_id?: string | null;
|
|
7677
|
+
tenant_id?: string;
|
|
7678
|
+
trade_item_floriday_id?: string | null;
|
|
7679
|
+
units_per_package?: number | null;
|
|
7680
|
+
updated_at?: string;
|
|
7681
|
+
};
|
|
7682
|
+
Relationships: [{
|
|
7683
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7684
|
+
columns: ["package_id"];
|
|
7685
|
+
isOneToOne: false;
|
|
7686
|
+
referencedRelation: "packages";
|
|
7687
|
+
referencedColumns: ["id"];
|
|
7688
|
+
}, {
|
|
7689
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7690
|
+
columns: ["product_id"];
|
|
7691
|
+
isOneToOne: false;
|
|
7692
|
+
referencedRelation: "products";
|
|
7693
|
+
referencedColumns: ["id"];
|
|
7694
|
+
}];
|
|
7695
|
+
};
|
|
7696
|
+
product_merge_log: {
|
|
7697
|
+
Row: {
|
|
7698
|
+
canonical_product_id: string | null;
|
|
7699
|
+
id: string;
|
|
7700
|
+
merged_at: string;
|
|
7701
|
+
merged_from_id: string;
|
|
7702
|
+
notes: string | null;
|
|
7703
|
+
snapshot: import("./types").Json;
|
|
7704
|
+
source_table: string;
|
|
7705
|
+
status: string;
|
|
7706
|
+
};
|
|
7707
|
+
Insert: {
|
|
7708
|
+
canonical_product_id?: string | null;
|
|
7709
|
+
id?: string;
|
|
7710
|
+
merged_at?: string;
|
|
7711
|
+
merged_from_id: string;
|
|
7712
|
+
notes?: string | null;
|
|
7713
|
+
snapshot?: import("./types").Json;
|
|
7714
|
+
source_table: string;
|
|
7715
|
+
status?: string;
|
|
7716
|
+
};
|
|
7717
|
+
Update: {
|
|
7718
|
+
canonical_product_id?: string | null;
|
|
7719
|
+
id?: string;
|
|
7720
|
+
merged_at?: string;
|
|
7721
|
+
merged_from_id?: string;
|
|
7722
|
+
notes?: string | null;
|
|
7723
|
+
snapshot?: import("./types").Json;
|
|
7724
|
+
source_table?: string;
|
|
7725
|
+
status?: string;
|
|
7726
|
+
};
|
|
7319
7727
|
Relationships: [];
|
|
7320
7728
|
};
|
|
7321
7729
|
products: {
|
|
7322
7730
|
Row: {
|
|
7731
|
+
article_number: string | null;
|
|
7323
7732
|
barcode: string | null;
|
|
7324
7733
|
batch: string;
|
|
7325
7734
|
crates_per_layer: number;
|
|
7326
7735
|
created_at: string;
|
|
7327
7736
|
custom_fields: import("./types").Json;
|
|
7737
|
+
floriday_active: boolean;
|
|
7738
|
+
floriday_payload: import("./types").Json;
|
|
7739
|
+
floriday_trade_item_id: string | null;
|
|
7328
7740
|
id: string;
|
|
7329
7741
|
image_url: string | null;
|
|
7330
7742
|
incoming_quantity: number;
|
|
@@ -7343,11 +7755,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7343
7755
|
weight: string | null;
|
|
7344
7756
|
};
|
|
7345
7757
|
Insert: {
|
|
7758
|
+
article_number?: string | null;
|
|
7346
7759
|
barcode?: string | null;
|
|
7347
7760
|
batch: string;
|
|
7348
7761
|
crates_per_layer?: number;
|
|
7349
7762
|
created_at?: string;
|
|
7350
7763
|
custom_fields?: import("./types").Json;
|
|
7764
|
+
floriday_active?: boolean;
|
|
7765
|
+
floriday_payload?: import("./types").Json;
|
|
7766
|
+
floriday_trade_item_id?: string | null;
|
|
7351
7767
|
id?: string;
|
|
7352
7768
|
image_url?: string | null;
|
|
7353
7769
|
incoming_quantity?: number;
|
|
@@ -7366,11 +7782,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
7366
7782
|
weight?: string | null;
|
|
7367
7783
|
};
|
|
7368
7784
|
Update: {
|
|
7785
|
+
article_number?: string | null;
|
|
7369
7786
|
barcode?: string | null;
|
|
7370
7787
|
batch?: string;
|
|
7371
7788
|
crates_per_layer?: number;
|
|
7372
7789
|
created_at?: string;
|
|
7373
7790
|
custom_fields?: import("./types").Json;
|
|
7791
|
+
floriday_active?: boolean;
|
|
7792
|
+
floriday_payload?: import("./types").Json;
|
|
7793
|
+
floriday_trade_item_id?: string | null;
|
|
7374
7794
|
id?: string;
|
|
7375
7795
|
image_url?: string | null;
|
|
7376
7796
|
incoming_quantity?: number;
|
|
@@ -8279,8 +8699,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8279
8699
|
order_id: string | null;
|
|
8280
8700
|
order_item_id: string | null;
|
|
8281
8701
|
order_source: string | null;
|
|
8702
|
+
parent_trade_item_key: string | null;
|
|
8282
8703
|
physical_after: number | null;
|
|
8283
8704
|
physical_before: number | null;
|
|
8705
|
+
production_batch_id: string | null;
|
|
8284
8706
|
qty_delta: number;
|
|
8285
8707
|
reason: string | null;
|
|
8286
8708
|
reserved_after: number | null;
|
|
@@ -8296,8 +8718,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8296
8718
|
order_id?: string | null;
|
|
8297
8719
|
order_item_id?: string | null;
|
|
8298
8720
|
order_source?: string | null;
|
|
8721
|
+
parent_trade_item_key?: string | null;
|
|
8299
8722
|
physical_after?: number | null;
|
|
8300
8723
|
physical_before?: number | null;
|
|
8724
|
+
production_batch_id?: string | null;
|
|
8301
8725
|
qty_delta: number;
|
|
8302
8726
|
reason?: string | null;
|
|
8303
8727
|
reserved_after?: number | null;
|
|
@@ -8313,8 +8737,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8313
8737
|
order_id?: string | null;
|
|
8314
8738
|
order_item_id?: string | null;
|
|
8315
8739
|
order_source?: string | null;
|
|
8740
|
+
parent_trade_item_key?: string | null;
|
|
8316
8741
|
physical_after?: number | null;
|
|
8317
8742
|
physical_before?: number | null;
|
|
8743
|
+
production_batch_id?: string | null;
|
|
8318
8744
|
qty_delta?: number;
|
|
8319
8745
|
reason?: string | null;
|
|
8320
8746
|
reserved_after?: number | null;
|
|
@@ -8773,7 +9199,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8773
9199
|
twinfield_connections: {
|
|
8774
9200
|
Row: {
|
|
8775
9201
|
access_token: string | null;
|
|
8776
|
-
client_id: string;
|
|
9202
|
+
client_id: string | null;
|
|
8777
9203
|
client_secret: string | null;
|
|
8778
9204
|
cluster_uri: string | null;
|
|
8779
9205
|
company_code: string | null;
|
|
@@ -8785,7 +9211,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8785
9211
|
is_active: boolean;
|
|
8786
9212
|
label: string | null;
|
|
8787
9213
|
office_code: string | null;
|
|
8788
|
-
redirect_uri: string;
|
|
9214
|
+
redirect_uri: string | null;
|
|
8789
9215
|
refresh_token: string | null;
|
|
8790
9216
|
token_expires_at: string | null;
|
|
8791
9217
|
updated_at: string;
|
|
@@ -8793,7 +9219,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8793
9219
|
};
|
|
8794
9220
|
Insert: {
|
|
8795
9221
|
access_token?: string | null;
|
|
8796
|
-
client_id
|
|
9222
|
+
client_id?: string | null;
|
|
8797
9223
|
client_secret?: string | null;
|
|
8798
9224
|
cluster_uri?: string | null;
|
|
8799
9225
|
company_code?: string | null;
|
|
@@ -8805,7 +9231,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8805
9231
|
is_active?: boolean;
|
|
8806
9232
|
label?: string | null;
|
|
8807
9233
|
office_code?: string | null;
|
|
8808
|
-
redirect_uri
|
|
9234
|
+
redirect_uri?: string | null;
|
|
8809
9235
|
refresh_token?: string | null;
|
|
8810
9236
|
token_expires_at?: string | null;
|
|
8811
9237
|
updated_at?: string;
|
|
@@ -8813,7 +9239,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8813
9239
|
};
|
|
8814
9240
|
Update: {
|
|
8815
9241
|
access_token?: string | null;
|
|
8816
|
-
client_id?: string;
|
|
9242
|
+
client_id?: string | null;
|
|
8817
9243
|
client_secret?: string | null;
|
|
8818
9244
|
cluster_uri?: string | null;
|
|
8819
9245
|
company_code?: string | null;
|
|
@@ -8825,7 +9251,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
8825
9251
|
is_active?: boolean;
|
|
8826
9252
|
label?: string | null;
|
|
8827
9253
|
office_code?: string | null;
|
|
8828
|
-
redirect_uri?: string;
|
|
9254
|
+
redirect_uri?: string | null;
|
|
8829
9255
|
refresh_token?: string | null;
|
|
8830
9256
|
token_expires_at?: string | null;
|
|
8831
9257
|
updated_at?: string;
|
|
@@ -10020,25 +10446,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10020
10446
|
};
|
|
10021
10447
|
Relationships: [];
|
|
10022
10448
|
};
|
|
10023
|
-
floriday_customer_discounts: {
|
|
10024
|
-
Row: {
|
|
10025
|
-
base_price: number | null;
|
|
10026
|
-
buyer_organization_id: string | null;
|
|
10027
|
-
currency: string | null;
|
|
10028
|
-
discount_type: string | null;
|
|
10029
|
-
discount_value: number | null;
|
|
10030
|
-
min_quantity: number | null;
|
|
10031
|
-
net_price: number | null;
|
|
10032
|
-
product_group_id: string | null;
|
|
10033
|
-
raw: import("./types").Json | null;
|
|
10034
|
-
source: string | null;
|
|
10035
|
-
source_id: string | null;
|
|
10036
|
-
trade_item_id: string | null;
|
|
10037
|
-
valid_from: string | null;
|
|
10038
|
-
valid_until: string | null;
|
|
10039
|
-
};
|
|
10040
|
-
Relationships: [];
|
|
10041
|
-
};
|
|
10042
10449
|
local_customer_discounts: {
|
|
10043
10450
|
Row: {
|
|
10044
10451
|
base_price: number | null;
|
|
@@ -10342,6 +10749,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10342
10749
|
};
|
|
10343
10750
|
Returns: number;
|
|
10344
10751
|
};
|
|
10752
|
+
_migrate_rewrite_stock_key: {
|
|
10753
|
+
Args: {
|
|
10754
|
+
_from_key: string;
|
|
10755
|
+
_to_key: string;
|
|
10756
|
+
};
|
|
10757
|
+
Returns: undefined;
|
|
10758
|
+
};
|
|
10345
10759
|
afh_city_code: {
|
|
10346
10760
|
Args: {
|
|
10347
10761
|
_city: string;
|
|
@@ -10457,6 +10871,28 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10457
10871
|
Args: never;
|
|
10458
10872
|
Returns: undefined;
|
|
10459
10873
|
};
|
|
10874
|
+
consume_bom_for_production: {
|
|
10875
|
+
Args: {
|
|
10876
|
+
p_connection_id: string;
|
|
10877
|
+
p_parent_id: string;
|
|
10878
|
+
p_parent_key: string;
|
|
10879
|
+
p_parent_kind: string;
|
|
10880
|
+
p_quantity: number;
|
|
10881
|
+
p_user_id: string;
|
|
10882
|
+
};
|
|
10883
|
+
Returns: import("./types").Json;
|
|
10884
|
+
} | {
|
|
10885
|
+
Args: {
|
|
10886
|
+
p_batch_id?: string;
|
|
10887
|
+
p_connection_id: string;
|
|
10888
|
+
p_parent_id: string;
|
|
10889
|
+
p_parent_key: string;
|
|
10890
|
+
p_parent_kind: string;
|
|
10891
|
+
p_quantity: number;
|
|
10892
|
+
p_user_id: string;
|
|
10893
|
+
};
|
|
10894
|
+
Returns: import("./types").Json;
|
|
10895
|
+
};
|
|
10460
10896
|
consume_floriday_rate_limit: {
|
|
10461
10897
|
Args: {
|
|
10462
10898
|
p_bucket: string;
|
|
@@ -10508,6 +10944,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10508
10944
|
table_name: string;
|
|
10509
10945
|
}[];
|
|
10510
10946
|
};
|
|
10947
|
+
delete_samenstelling: {
|
|
10948
|
+
Args: {
|
|
10949
|
+
p_parent_id: string;
|
|
10950
|
+
p_parent_kind: string;
|
|
10951
|
+
};
|
|
10952
|
+
Returns: import("./types").Json;
|
|
10953
|
+
};
|
|
10511
10954
|
dispatch_carrier_signups_sql: {
|
|
10512
10955
|
Args: {
|
|
10513
10956
|
_catchup?: string;
|
|
@@ -10668,19 +11111,6 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10668
11111
|
resource: string;
|
|
10669
11112
|
}[];
|
|
10670
11113
|
};
|
|
10671
|
-
get_floriday_agreements_active: {
|
|
10672
|
-
Args: {
|
|
10673
|
-
p_on_date?: string;
|
|
10674
|
-
};
|
|
10675
|
-
Returns: {
|
|
10676
|
-
buyer_organization_id: string;
|
|
10677
|
-
data: import("./types").Json;
|
|
10678
|
-
floriday_id: string;
|
|
10679
|
-
status: string;
|
|
10680
|
-
valid_from: string;
|
|
10681
|
-
valid_until: string;
|
|
10682
|
-
}[];
|
|
10683
|
-
};
|
|
10684
11114
|
get_floriday_clock_supplies_window: {
|
|
10685
11115
|
Args: {
|
|
10686
11116
|
p_from: string;
|
|
@@ -10753,6 +11183,21 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10753
11183
|
minutes_since_success: number;
|
|
10754
11184
|
}[];
|
|
10755
11185
|
};
|
|
11186
|
+
get_group_allocation_keys: {
|
|
11187
|
+
Args: {
|
|
11188
|
+
p_product_id: string;
|
|
11189
|
+
};
|
|
11190
|
+
Returns: {
|
|
11191
|
+
k: string;
|
|
11192
|
+
ord: number;
|
|
11193
|
+
}[];
|
|
11194
|
+
};
|
|
11195
|
+
get_group_head_key: {
|
|
11196
|
+
Args: {
|
|
11197
|
+
p_group_id: string;
|
|
11198
|
+
};
|
|
11199
|
+
Returns: string;
|
|
11200
|
+
};
|
|
10756
11201
|
get_offer_by_link_code: {
|
|
10757
11202
|
Args: {
|
|
10758
11203
|
p_code: string;
|
|
@@ -10863,6 +11308,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10863
11308
|
};
|
|
10864
11309
|
Returns: undefined;
|
|
10865
11310
|
};
|
|
11311
|
+
mark_shipment_shipped: {
|
|
11312
|
+
Args: {
|
|
11313
|
+
p_shipment_id: string;
|
|
11314
|
+
};
|
|
11315
|
+
Returns: undefined;
|
|
11316
|
+
};
|
|
11317
|
+
merge_products: {
|
|
11318
|
+
Args: {
|
|
11319
|
+
_canonical: string;
|
|
11320
|
+
_loser: string;
|
|
11321
|
+
};
|
|
11322
|
+
Returns: undefined;
|
|
11323
|
+
};
|
|
11324
|
+
next_manufacture_partij: {
|
|
11325
|
+
Args: {
|
|
11326
|
+
_tenant_id: string;
|
|
11327
|
+
};
|
|
11328
|
+
Returns: string;
|
|
11329
|
+
};
|
|
10866
11330
|
next_order_number: {
|
|
10867
11331
|
Args: {
|
|
10868
11332
|
p_prefix: string;
|
|
@@ -10941,6 +11405,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10941
11405
|
};
|
|
10942
11406
|
Returns: undefined;
|
|
10943
11407
|
};
|
|
11408
|
+
produce_designed_product: {
|
|
11409
|
+
Args: {
|
|
11410
|
+
p_parent_id: string;
|
|
11411
|
+
p_parent_kind: string;
|
|
11412
|
+
p_quantity: number;
|
|
11413
|
+
};
|
|
11414
|
+
Returns: import("./types").Json;
|
|
11415
|
+
};
|
|
10944
11416
|
promote_trade_item_key: {
|
|
10945
11417
|
Args: {
|
|
10946
11418
|
p_new: string;
|
|
@@ -10948,6 +11420,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10948
11420
|
};
|
|
10949
11421
|
Returns: undefined;
|
|
10950
11422
|
};
|
|
11423
|
+
recompute_all_reserved_stock: {
|
|
11424
|
+
Args: never;
|
|
11425
|
+
Returns: undefined;
|
|
11426
|
+
};
|
|
10951
11427
|
recompute_order_status: {
|
|
10952
11428
|
Args: {
|
|
10953
11429
|
p_order_id: string;
|
|
@@ -10997,27 +11473,45 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
10997
11473
|
};
|
|
10998
11474
|
Returns: undefined;
|
|
10999
11475
|
};
|
|
11476
|
+
resolve_group_allocation: {
|
|
11477
|
+
Args: {
|
|
11478
|
+
_needed: number;
|
|
11479
|
+
_product_group_id: string;
|
|
11480
|
+
};
|
|
11481
|
+
Returns: {
|
|
11482
|
+
allocated: number;
|
|
11483
|
+
trade_item_id: string;
|
|
11484
|
+
}[];
|
|
11485
|
+
};
|
|
11486
|
+
resolve_group_member_stock_key: {
|
|
11487
|
+
Args: {
|
|
11488
|
+
p_trade_item_id: string;
|
|
11489
|
+
};
|
|
11490
|
+
Returns: string;
|
|
11491
|
+
};
|
|
11000
11492
|
resolve_product_id_for_item: {
|
|
11001
11493
|
Args: {
|
|
11002
11494
|
p_product_name: string;
|
|
11003
11495
|
};
|
|
11004
11496
|
Returns: string;
|
|
11005
11497
|
};
|
|
11006
|
-
|
|
11498
|
+
resolve_stock_trade_item_key: {
|
|
11007
11499
|
Args: {
|
|
11008
|
-
|
|
11009
|
-
p_url: string;
|
|
11500
|
+
p_product_id: string;
|
|
11010
11501
|
};
|
|
11011
|
-
Returns:
|
|
11502
|
+
Returns: string;
|
|
11012
11503
|
};
|
|
11013
|
-
|
|
11504
|
+
reverse_production: {
|
|
11014
11505
|
Args: {
|
|
11015
|
-
|
|
11016
|
-
|
|
11506
|
+
p_connection_id?: string;
|
|
11507
|
+
p_parent_key: string;
|
|
11508
|
+
p_quantity: number;
|
|
11509
|
+
p_reason?: string;
|
|
11510
|
+
p_user_id?: string;
|
|
11017
11511
|
};
|
|
11018
|
-
Returns:
|
|
11512
|
+
Returns: import("./types").Json;
|
|
11019
11513
|
};
|
|
11020
|
-
|
|
11514
|
+
schedule_floriday_additional_services_sync: {
|
|
11021
11515
|
Args: {
|
|
11022
11516
|
p_apikey: string;
|
|
11023
11517
|
p_url: string;
|