@flowselections/floriday-verkoop-module 1.0.16 → 1.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/CreateOrderPage.js +6 -8
- package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.js +2 -8
- package/dist-lib/index.js +2 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +208 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +208 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +208 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +217 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +208 -1
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +416 -2
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +1872 -9
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +624 -3
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +208 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +1456 -7
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1040 -5
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +624 -3
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +208 -1
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -241,6 +241,165 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
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;
|
|
@@ -3844,6 +4003,27 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
3844
4003
|
referencedColumns: ["id"];
|
|
3845
4004
|
}];
|
|
3846
4005
|
};
|
|
4006
|
+
floriday_continuous_stock_cache: {
|
|
4007
|
+
Row: {
|
|
4008
|
+
connection_id: string;
|
|
4009
|
+
fetched_at: string;
|
|
4010
|
+
number_of_pieces: number;
|
|
4011
|
+
trade_item_id: string;
|
|
4012
|
+
};
|
|
4013
|
+
Insert: {
|
|
4014
|
+
connection_id: string;
|
|
4015
|
+
fetched_at?: string;
|
|
4016
|
+
number_of_pieces?: number;
|
|
4017
|
+
trade_item_id: string;
|
|
4018
|
+
};
|
|
4019
|
+
Update: {
|
|
4020
|
+
connection_id?: string;
|
|
4021
|
+
fetched_at?: string;
|
|
4022
|
+
number_of_pieces?: number;
|
|
4023
|
+
trade_item_id?: string;
|
|
4024
|
+
};
|
|
4025
|
+
Relationships: [];
|
|
4026
|
+
};
|
|
3847
4027
|
floriday_continuous_stock_queue: {
|
|
3848
4028
|
Row: {
|
|
3849
4029
|
attempts: number;
|
|
@@ -5967,39 +6147,60 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
5967
6147
|
};
|
|
5968
6148
|
manufacture_products: {
|
|
5969
6149
|
Row: {
|
|
6150
|
+
aantal_te_produceren: number;
|
|
5970
6151
|
created_at: string;
|
|
5971
6152
|
description: string | null;
|
|
5972
6153
|
id: string;
|
|
5973
6154
|
is_active: boolean;
|
|
6155
|
+
location_id: string | null;
|
|
5974
6156
|
name: string;
|
|
6157
|
+
partij_nummer: string | null;
|
|
6158
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5975
6159
|
produced_stock: number;
|
|
5976
6160
|
product_code: string;
|
|
5977
6161
|
tenant_id: string;
|
|
6162
|
+
unit: string;
|
|
5978
6163
|
updated_at: string;
|
|
5979
6164
|
};
|
|
5980
6165
|
Insert: {
|
|
6166
|
+
aantal_te_produceren?: number;
|
|
5981
6167
|
created_at?: string;
|
|
5982
6168
|
description?: string | null;
|
|
5983
6169
|
id?: string;
|
|
5984
6170
|
is_active?: boolean;
|
|
6171
|
+
location_id?: string | null;
|
|
5985
6172
|
name: string;
|
|
6173
|
+
partij_nummer?: string | null;
|
|
6174
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5986
6175
|
produced_stock?: number;
|
|
5987
6176
|
product_code: string;
|
|
5988
6177
|
tenant_id: string;
|
|
6178
|
+
unit?: string;
|
|
5989
6179
|
updated_at?: string;
|
|
5990
6180
|
};
|
|
5991
6181
|
Update: {
|
|
6182
|
+
aantal_te_produceren?: number;
|
|
5992
6183
|
created_at?: string;
|
|
5993
6184
|
description?: string | null;
|
|
5994
6185
|
id?: string;
|
|
5995
6186
|
is_active?: boolean;
|
|
6187
|
+
location_id?: string | null;
|
|
5996
6188
|
name?: string;
|
|
6189
|
+
partij_nummer?: string | null;
|
|
6190
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5997
6191
|
produced_stock?: number;
|
|
5998
6192
|
product_code?: string;
|
|
5999
6193
|
tenant_id?: string;
|
|
6194
|
+
unit?: string;
|
|
6000
6195
|
updated_at?: string;
|
|
6001
6196
|
};
|
|
6002
|
-
Relationships: [
|
|
6197
|
+
Relationships: [{
|
|
6198
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6199
|
+
columns: ["location_id"];
|
|
6200
|
+
isOneToOne: false;
|
|
6201
|
+
referencedRelation: "locations";
|
|
6202
|
+
referencedColumns: ["id"];
|
|
6203
|
+
}];
|
|
6003
6204
|
};
|
|
6004
6205
|
monteurs: {
|
|
6005
6206
|
Row: {
|
|
@@ -10863,6 +11064,12 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
10863
11064
|
};
|
|
10864
11065
|
Returns: undefined;
|
|
10865
11066
|
};
|
|
11067
|
+
next_manufacture_partij: {
|
|
11068
|
+
Args: {
|
|
11069
|
+
_tenant_id: string;
|
|
11070
|
+
};
|
|
11071
|
+
Returns: string;
|
|
11072
|
+
};
|
|
10866
11073
|
next_order_number: {
|
|
10867
11074
|
Args: {
|
|
10868
11075
|
p_prefix: string;
|
|
@@ -11585,6 +11792,165 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
11585
11792
|
};
|
|
11586
11793
|
Relationships: [];
|
|
11587
11794
|
};
|
|
11795
|
+
ai_credentials: {
|
|
11796
|
+
Row: {
|
|
11797
|
+
active: boolean;
|
|
11798
|
+
api_key: string;
|
|
11799
|
+
created_at: string;
|
|
11800
|
+
created_by: string | null;
|
|
11801
|
+
id: string;
|
|
11802
|
+
label: string;
|
|
11803
|
+
provider_id: string;
|
|
11804
|
+
updated_at: string;
|
|
11805
|
+
};
|
|
11806
|
+
Insert: {
|
|
11807
|
+
active?: boolean;
|
|
11808
|
+
api_key: string;
|
|
11809
|
+
created_at?: string;
|
|
11810
|
+
created_by?: string | null;
|
|
11811
|
+
id?: string;
|
|
11812
|
+
label: string;
|
|
11813
|
+
provider_id: string;
|
|
11814
|
+
updated_at?: string;
|
|
11815
|
+
};
|
|
11816
|
+
Update: {
|
|
11817
|
+
active?: boolean;
|
|
11818
|
+
api_key?: string;
|
|
11819
|
+
created_at?: string;
|
|
11820
|
+
created_by?: string | null;
|
|
11821
|
+
id?: string;
|
|
11822
|
+
label?: string;
|
|
11823
|
+
provider_id?: string;
|
|
11824
|
+
updated_at?: string;
|
|
11825
|
+
};
|
|
11826
|
+
Relationships: [{
|
|
11827
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
11828
|
+
columns: ["provider_id"];
|
|
11829
|
+
isOneToOne: false;
|
|
11830
|
+
referencedRelation: "ai_providers";
|
|
11831
|
+
referencedColumns: ["id"];
|
|
11832
|
+
}];
|
|
11833
|
+
};
|
|
11834
|
+
ai_models: {
|
|
11835
|
+
Row: {
|
|
11836
|
+
active: boolean;
|
|
11837
|
+
context_window: number | null;
|
|
11838
|
+
created_at: string;
|
|
11839
|
+
display_name: string;
|
|
11840
|
+
id: string;
|
|
11841
|
+
is_default: boolean;
|
|
11842
|
+
modality: string;
|
|
11843
|
+
provider_id: string;
|
|
11844
|
+
slug: string;
|
|
11845
|
+
updated_at: string;
|
|
11846
|
+
};
|
|
11847
|
+
Insert: {
|
|
11848
|
+
active?: boolean;
|
|
11849
|
+
context_window?: number | null;
|
|
11850
|
+
created_at?: string;
|
|
11851
|
+
display_name: string;
|
|
11852
|
+
id?: string;
|
|
11853
|
+
is_default?: boolean;
|
|
11854
|
+
modality?: string;
|
|
11855
|
+
provider_id: string;
|
|
11856
|
+
slug: string;
|
|
11857
|
+
updated_at?: string;
|
|
11858
|
+
};
|
|
11859
|
+
Update: {
|
|
11860
|
+
active?: boolean;
|
|
11861
|
+
context_window?: number | null;
|
|
11862
|
+
created_at?: string;
|
|
11863
|
+
display_name?: string;
|
|
11864
|
+
id?: string;
|
|
11865
|
+
is_default?: boolean;
|
|
11866
|
+
modality?: string;
|
|
11867
|
+
provider_id?: string;
|
|
11868
|
+
slug?: string;
|
|
11869
|
+
updated_at?: string;
|
|
11870
|
+
};
|
|
11871
|
+
Relationships: [{
|
|
11872
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
11873
|
+
columns: ["provider_id"];
|
|
11874
|
+
isOneToOne: false;
|
|
11875
|
+
referencedRelation: "ai_providers";
|
|
11876
|
+
referencedColumns: ["id"];
|
|
11877
|
+
}];
|
|
11878
|
+
};
|
|
11879
|
+
ai_module_bindings: {
|
|
11880
|
+
Row: {
|
|
11881
|
+
consumer_module_id: string;
|
|
11882
|
+
created_at: string;
|
|
11883
|
+
credential_id: string;
|
|
11884
|
+
id: string;
|
|
11885
|
+
model_id: string;
|
|
11886
|
+
notes: string | null;
|
|
11887
|
+
updated_at: string;
|
|
11888
|
+
};
|
|
11889
|
+
Insert: {
|
|
11890
|
+
consumer_module_id: string;
|
|
11891
|
+
created_at?: string;
|
|
11892
|
+
credential_id: string;
|
|
11893
|
+
id?: string;
|
|
11894
|
+
model_id: string;
|
|
11895
|
+
notes?: string | null;
|
|
11896
|
+
updated_at?: string;
|
|
11897
|
+
};
|
|
11898
|
+
Update: {
|
|
11899
|
+
consumer_module_id?: string;
|
|
11900
|
+
created_at?: string;
|
|
11901
|
+
credential_id?: string;
|
|
11902
|
+
id?: string;
|
|
11903
|
+
model_id?: string;
|
|
11904
|
+
notes?: string | null;
|
|
11905
|
+
updated_at?: string;
|
|
11906
|
+
};
|
|
11907
|
+
Relationships: [{
|
|
11908
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
11909
|
+
columns: ["credential_id"];
|
|
11910
|
+
isOneToOne: false;
|
|
11911
|
+
referencedRelation: "ai_credentials";
|
|
11912
|
+
referencedColumns: ["id"];
|
|
11913
|
+
}, {
|
|
11914
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
11915
|
+
columns: ["model_id"];
|
|
11916
|
+
isOneToOne: false;
|
|
11917
|
+
referencedRelation: "ai_models";
|
|
11918
|
+
referencedColumns: ["id"];
|
|
11919
|
+
}];
|
|
11920
|
+
};
|
|
11921
|
+
ai_providers: {
|
|
11922
|
+
Row: {
|
|
11923
|
+
active: boolean;
|
|
11924
|
+
auth_type: string;
|
|
11925
|
+
base_url: string | null;
|
|
11926
|
+
created_at: string;
|
|
11927
|
+
id: string;
|
|
11928
|
+
name: string;
|
|
11929
|
+
slug: string;
|
|
11930
|
+
updated_at: string;
|
|
11931
|
+
};
|
|
11932
|
+
Insert: {
|
|
11933
|
+
active?: boolean;
|
|
11934
|
+
auth_type?: string;
|
|
11935
|
+
base_url?: string | null;
|
|
11936
|
+
created_at?: string;
|
|
11937
|
+
id?: string;
|
|
11938
|
+
name: string;
|
|
11939
|
+
slug: string;
|
|
11940
|
+
updated_at?: string;
|
|
11941
|
+
};
|
|
11942
|
+
Update: {
|
|
11943
|
+
active?: boolean;
|
|
11944
|
+
auth_type?: string;
|
|
11945
|
+
base_url?: string | null;
|
|
11946
|
+
created_at?: string;
|
|
11947
|
+
id?: string;
|
|
11948
|
+
name?: string;
|
|
11949
|
+
slug?: string;
|
|
11950
|
+
updated_at?: string;
|
|
11951
|
+
};
|
|
11952
|
+
Relationships: [];
|
|
11953
|
+
};
|
|
11588
11954
|
app_settings: {
|
|
11589
11955
|
Row: {
|
|
11590
11956
|
created_at: string;
|
|
@@ -15188,6 +15554,27 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
15188
15554
|
referencedColumns: ["id"];
|
|
15189
15555
|
}];
|
|
15190
15556
|
};
|
|
15557
|
+
floriday_continuous_stock_cache: {
|
|
15558
|
+
Row: {
|
|
15559
|
+
connection_id: string;
|
|
15560
|
+
fetched_at: string;
|
|
15561
|
+
number_of_pieces: number;
|
|
15562
|
+
trade_item_id: string;
|
|
15563
|
+
};
|
|
15564
|
+
Insert: {
|
|
15565
|
+
connection_id: string;
|
|
15566
|
+
fetched_at?: string;
|
|
15567
|
+
number_of_pieces?: number;
|
|
15568
|
+
trade_item_id: string;
|
|
15569
|
+
};
|
|
15570
|
+
Update: {
|
|
15571
|
+
connection_id?: string;
|
|
15572
|
+
fetched_at?: string;
|
|
15573
|
+
number_of_pieces?: number;
|
|
15574
|
+
trade_item_id?: string;
|
|
15575
|
+
};
|
|
15576
|
+
Relationships: [];
|
|
15577
|
+
};
|
|
15191
15578
|
floriday_continuous_stock_queue: {
|
|
15192
15579
|
Row: {
|
|
15193
15580
|
attempts: number;
|
|
@@ -17311,39 +17698,60 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
17311
17698
|
};
|
|
17312
17699
|
manufacture_products: {
|
|
17313
17700
|
Row: {
|
|
17701
|
+
aantal_te_produceren: number;
|
|
17314
17702
|
created_at: string;
|
|
17315
17703
|
description: string | null;
|
|
17316
17704
|
id: string;
|
|
17317
17705
|
is_active: boolean;
|
|
17706
|
+
location_id: string | null;
|
|
17318
17707
|
name: string;
|
|
17708
|
+
partij_nummer: string | null;
|
|
17709
|
+
photos: import("../integrations/supabase/types").Json;
|
|
17319
17710
|
produced_stock: number;
|
|
17320
17711
|
product_code: string;
|
|
17321
17712
|
tenant_id: string;
|
|
17713
|
+
unit: string;
|
|
17322
17714
|
updated_at: string;
|
|
17323
17715
|
};
|
|
17324
17716
|
Insert: {
|
|
17717
|
+
aantal_te_produceren?: number;
|
|
17325
17718
|
created_at?: string;
|
|
17326
17719
|
description?: string | null;
|
|
17327
17720
|
id?: string;
|
|
17328
17721
|
is_active?: boolean;
|
|
17722
|
+
location_id?: string | null;
|
|
17329
17723
|
name: string;
|
|
17724
|
+
partij_nummer?: string | null;
|
|
17725
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17330
17726
|
produced_stock?: number;
|
|
17331
17727
|
product_code: string;
|
|
17332
17728
|
tenant_id: string;
|
|
17729
|
+
unit?: string;
|
|
17333
17730
|
updated_at?: string;
|
|
17334
17731
|
};
|
|
17335
17732
|
Update: {
|
|
17733
|
+
aantal_te_produceren?: number;
|
|
17336
17734
|
created_at?: string;
|
|
17337
17735
|
description?: string | null;
|
|
17338
17736
|
id?: string;
|
|
17339
17737
|
is_active?: boolean;
|
|
17738
|
+
location_id?: string | null;
|
|
17340
17739
|
name?: string;
|
|
17740
|
+
partij_nummer?: string | null;
|
|
17741
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17341
17742
|
produced_stock?: number;
|
|
17342
17743
|
product_code?: string;
|
|
17343
17744
|
tenant_id?: string;
|
|
17745
|
+
unit?: string;
|
|
17344
17746
|
updated_at?: string;
|
|
17345
17747
|
};
|
|
17346
|
-
Relationships: [
|
|
17748
|
+
Relationships: [{
|
|
17749
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
17750
|
+
columns: ["location_id"];
|
|
17751
|
+
isOneToOne: false;
|
|
17752
|
+
referencedRelation: "locations";
|
|
17753
|
+
referencedColumns: ["id"];
|
|
17754
|
+
}];
|
|
17347
17755
|
};
|
|
17348
17756
|
monteurs: {
|
|
17349
17757
|
Row: {
|
|
@@ -22207,6 +22615,12 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
22207
22615
|
};
|
|
22208
22616
|
Returns: undefined;
|
|
22209
22617
|
};
|
|
22618
|
+
next_manufacture_partij: {
|
|
22619
|
+
Args: {
|
|
22620
|
+
_tenant_id: string;
|
|
22621
|
+
};
|
|
22622
|
+
Returns: string;
|
|
22623
|
+
};
|
|
22210
22624
|
next_order_number: {
|
|
22211
22625
|
Args: {
|
|
22212
22626
|
p_prefix: string;
|
|
@@ -22928,6 +23342,165 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
22928
23342
|
};
|
|
22929
23343
|
Relationships: [];
|
|
22930
23344
|
};
|
|
23345
|
+
ai_credentials: {
|
|
23346
|
+
Row: {
|
|
23347
|
+
active: boolean;
|
|
23348
|
+
api_key: string;
|
|
23349
|
+
created_at: string;
|
|
23350
|
+
created_by: string | null;
|
|
23351
|
+
id: string;
|
|
23352
|
+
label: string;
|
|
23353
|
+
provider_id: string;
|
|
23354
|
+
updated_at: string;
|
|
23355
|
+
};
|
|
23356
|
+
Insert: {
|
|
23357
|
+
active?: boolean;
|
|
23358
|
+
api_key: string;
|
|
23359
|
+
created_at?: string;
|
|
23360
|
+
created_by?: string | null;
|
|
23361
|
+
id?: string;
|
|
23362
|
+
label: string;
|
|
23363
|
+
provider_id: string;
|
|
23364
|
+
updated_at?: string;
|
|
23365
|
+
};
|
|
23366
|
+
Update: {
|
|
23367
|
+
active?: boolean;
|
|
23368
|
+
api_key?: string;
|
|
23369
|
+
created_at?: string;
|
|
23370
|
+
created_by?: string | null;
|
|
23371
|
+
id?: string;
|
|
23372
|
+
label?: string;
|
|
23373
|
+
provider_id?: string;
|
|
23374
|
+
updated_at?: string;
|
|
23375
|
+
};
|
|
23376
|
+
Relationships: [{
|
|
23377
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
23378
|
+
columns: ["provider_id"];
|
|
23379
|
+
isOneToOne: false;
|
|
23380
|
+
referencedRelation: "ai_providers";
|
|
23381
|
+
referencedColumns: ["id"];
|
|
23382
|
+
}];
|
|
23383
|
+
};
|
|
23384
|
+
ai_models: {
|
|
23385
|
+
Row: {
|
|
23386
|
+
active: boolean;
|
|
23387
|
+
context_window: number | null;
|
|
23388
|
+
created_at: string;
|
|
23389
|
+
display_name: string;
|
|
23390
|
+
id: string;
|
|
23391
|
+
is_default: boolean;
|
|
23392
|
+
modality: string;
|
|
23393
|
+
provider_id: string;
|
|
23394
|
+
slug: string;
|
|
23395
|
+
updated_at: string;
|
|
23396
|
+
};
|
|
23397
|
+
Insert: {
|
|
23398
|
+
active?: boolean;
|
|
23399
|
+
context_window?: number | null;
|
|
23400
|
+
created_at?: string;
|
|
23401
|
+
display_name: string;
|
|
23402
|
+
id?: string;
|
|
23403
|
+
is_default?: boolean;
|
|
23404
|
+
modality?: string;
|
|
23405
|
+
provider_id: string;
|
|
23406
|
+
slug: string;
|
|
23407
|
+
updated_at?: string;
|
|
23408
|
+
};
|
|
23409
|
+
Update: {
|
|
23410
|
+
active?: boolean;
|
|
23411
|
+
context_window?: number | null;
|
|
23412
|
+
created_at?: string;
|
|
23413
|
+
display_name?: string;
|
|
23414
|
+
id?: string;
|
|
23415
|
+
is_default?: boolean;
|
|
23416
|
+
modality?: string;
|
|
23417
|
+
provider_id?: string;
|
|
23418
|
+
slug?: string;
|
|
23419
|
+
updated_at?: string;
|
|
23420
|
+
};
|
|
23421
|
+
Relationships: [{
|
|
23422
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
23423
|
+
columns: ["provider_id"];
|
|
23424
|
+
isOneToOne: false;
|
|
23425
|
+
referencedRelation: "ai_providers";
|
|
23426
|
+
referencedColumns: ["id"];
|
|
23427
|
+
}];
|
|
23428
|
+
};
|
|
23429
|
+
ai_module_bindings: {
|
|
23430
|
+
Row: {
|
|
23431
|
+
consumer_module_id: string;
|
|
23432
|
+
created_at: string;
|
|
23433
|
+
credential_id: string;
|
|
23434
|
+
id: string;
|
|
23435
|
+
model_id: string;
|
|
23436
|
+
notes: string | null;
|
|
23437
|
+
updated_at: string;
|
|
23438
|
+
};
|
|
23439
|
+
Insert: {
|
|
23440
|
+
consumer_module_id: string;
|
|
23441
|
+
created_at?: string;
|
|
23442
|
+
credential_id: string;
|
|
23443
|
+
id?: string;
|
|
23444
|
+
model_id: string;
|
|
23445
|
+
notes?: string | null;
|
|
23446
|
+
updated_at?: string;
|
|
23447
|
+
};
|
|
23448
|
+
Update: {
|
|
23449
|
+
consumer_module_id?: string;
|
|
23450
|
+
created_at?: string;
|
|
23451
|
+
credential_id?: string;
|
|
23452
|
+
id?: string;
|
|
23453
|
+
model_id?: string;
|
|
23454
|
+
notes?: string | null;
|
|
23455
|
+
updated_at?: string;
|
|
23456
|
+
};
|
|
23457
|
+
Relationships: [{
|
|
23458
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
23459
|
+
columns: ["credential_id"];
|
|
23460
|
+
isOneToOne: false;
|
|
23461
|
+
referencedRelation: "ai_credentials";
|
|
23462
|
+
referencedColumns: ["id"];
|
|
23463
|
+
}, {
|
|
23464
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
23465
|
+
columns: ["model_id"];
|
|
23466
|
+
isOneToOne: false;
|
|
23467
|
+
referencedRelation: "ai_models";
|
|
23468
|
+
referencedColumns: ["id"];
|
|
23469
|
+
}];
|
|
23470
|
+
};
|
|
23471
|
+
ai_providers: {
|
|
23472
|
+
Row: {
|
|
23473
|
+
active: boolean;
|
|
23474
|
+
auth_type: string;
|
|
23475
|
+
base_url: string | null;
|
|
23476
|
+
created_at: string;
|
|
23477
|
+
id: string;
|
|
23478
|
+
name: string;
|
|
23479
|
+
slug: string;
|
|
23480
|
+
updated_at: string;
|
|
23481
|
+
};
|
|
23482
|
+
Insert: {
|
|
23483
|
+
active?: boolean;
|
|
23484
|
+
auth_type?: string;
|
|
23485
|
+
base_url?: string | null;
|
|
23486
|
+
created_at?: string;
|
|
23487
|
+
id?: string;
|
|
23488
|
+
name: string;
|
|
23489
|
+
slug: string;
|
|
23490
|
+
updated_at?: string;
|
|
23491
|
+
};
|
|
23492
|
+
Update: {
|
|
23493
|
+
active?: boolean;
|
|
23494
|
+
auth_type?: string;
|
|
23495
|
+
base_url?: string | null;
|
|
23496
|
+
created_at?: string;
|
|
23497
|
+
id?: string;
|
|
23498
|
+
name?: string;
|
|
23499
|
+
slug?: string;
|
|
23500
|
+
updated_at?: string;
|
|
23501
|
+
};
|
|
23502
|
+
Relationships: [];
|
|
23503
|
+
};
|
|
22931
23504
|
app_settings: {
|
|
22932
23505
|
Row: {
|
|
22933
23506
|
created_at: string;
|
|
@@ -26531,6 +27104,27 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
26531
27104
|
referencedColumns: ["id"];
|
|
26532
27105
|
}];
|
|
26533
27106
|
};
|
|
27107
|
+
floriday_continuous_stock_cache: {
|
|
27108
|
+
Row: {
|
|
27109
|
+
connection_id: string;
|
|
27110
|
+
fetched_at: string;
|
|
27111
|
+
number_of_pieces: number;
|
|
27112
|
+
trade_item_id: string;
|
|
27113
|
+
};
|
|
27114
|
+
Insert: {
|
|
27115
|
+
connection_id: string;
|
|
27116
|
+
fetched_at?: string;
|
|
27117
|
+
number_of_pieces?: number;
|
|
27118
|
+
trade_item_id: string;
|
|
27119
|
+
};
|
|
27120
|
+
Update: {
|
|
27121
|
+
connection_id?: string;
|
|
27122
|
+
fetched_at?: string;
|
|
27123
|
+
number_of_pieces?: number;
|
|
27124
|
+
trade_item_id?: string;
|
|
27125
|
+
};
|
|
27126
|
+
Relationships: [];
|
|
27127
|
+
};
|
|
26534
27128
|
floriday_continuous_stock_queue: {
|
|
26535
27129
|
Row: {
|
|
26536
27130
|
attempts: number;
|
|
@@ -28654,39 +29248,60 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
28654
29248
|
};
|
|
28655
29249
|
manufacture_products: {
|
|
28656
29250
|
Row: {
|
|
29251
|
+
aantal_te_produceren: number;
|
|
28657
29252
|
created_at: string;
|
|
28658
29253
|
description: string | null;
|
|
28659
29254
|
id: string;
|
|
28660
29255
|
is_active: boolean;
|
|
29256
|
+
location_id: string | null;
|
|
28661
29257
|
name: string;
|
|
29258
|
+
partij_nummer: string | null;
|
|
29259
|
+
photos: import("../integrations/supabase/types").Json;
|
|
28662
29260
|
produced_stock: number;
|
|
28663
29261
|
product_code: string;
|
|
28664
29262
|
tenant_id: string;
|
|
29263
|
+
unit: string;
|
|
28665
29264
|
updated_at: string;
|
|
28666
29265
|
};
|
|
28667
29266
|
Insert: {
|
|
29267
|
+
aantal_te_produceren?: number;
|
|
28668
29268
|
created_at?: string;
|
|
28669
29269
|
description?: string | null;
|
|
28670
29270
|
id?: string;
|
|
28671
29271
|
is_active?: boolean;
|
|
29272
|
+
location_id?: string | null;
|
|
28672
29273
|
name: string;
|
|
29274
|
+
partij_nummer?: string | null;
|
|
29275
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
28673
29276
|
produced_stock?: number;
|
|
28674
29277
|
product_code: string;
|
|
28675
29278
|
tenant_id: string;
|
|
29279
|
+
unit?: string;
|
|
28676
29280
|
updated_at?: string;
|
|
28677
29281
|
};
|
|
28678
29282
|
Update: {
|
|
29283
|
+
aantal_te_produceren?: number;
|
|
28679
29284
|
created_at?: string;
|
|
28680
29285
|
description?: string | null;
|
|
28681
29286
|
id?: string;
|
|
28682
29287
|
is_active?: boolean;
|
|
29288
|
+
location_id?: string | null;
|
|
28683
29289
|
name?: string;
|
|
29290
|
+
partij_nummer?: string | null;
|
|
29291
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
28684
29292
|
produced_stock?: number;
|
|
28685
29293
|
product_code?: string;
|
|
28686
29294
|
tenant_id?: string;
|
|
29295
|
+
unit?: string;
|
|
28687
29296
|
updated_at?: string;
|
|
28688
29297
|
};
|
|
28689
|
-
Relationships: [
|
|
29298
|
+
Relationships: [{
|
|
29299
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
29300
|
+
columns: ["location_id"];
|
|
29301
|
+
isOneToOne: false;
|
|
29302
|
+
referencedRelation: "locations";
|
|
29303
|
+
referencedColumns: ["id"];
|
|
29304
|
+
}];
|
|
28690
29305
|
};
|
|
28691
29306
|
monteurs: {
|
|
28692
29307
|
Row: {
|
|
@@ -33550,6 +34165,12 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
33550
34165
|
};
|
|
33551
34166
|
Returns: undefined;
|
|
33552
34167
|
};
|
|
34168
|
+
next_manufacture_partij: {
|
|
34169
|
+
Args: {
|
|
34170
|
+
_tenant_id: string;
|
|
34171
|
+
};
|
|
34172
|
+
Returns: string;
|
|
34173
|
+
};
|
|
33553
34174
|
next_order_number: {
|
|
33554
34175
|
Args: {
|
|
33555
34176
|
p_prefix: string;
|
|
@@ -34271,6 +34892,165 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
34271
34892
|
};
|
|
34272
34893
|
Relationships: [];
|
|
34273
34894
|
};
|
|
34895
|
+
ai_credentials: {
|
|
34896
|
+
Row: {
|
|
34897
|
+
active: boolean;
|
|
34898
|
+
api_key: string;
|
|
34899
|
+
created_at: string;
|
|
34900
|
+
created_by: string | null;
|
|
34901
|
+
id: string;
|
|
34902
|
+
label: string;
|
|
34903
|
+
provider_id: string;
|
|
34904
|
+
updated_at: string;
|
|
34905
|
+
};
|
|
34906
|
+
Insert: {
|
|
34907
|
+
active?: boolean;
|
|
34908
|
+
api_key: string;
|
|
34909
|
+
created_at?: string;
|
|
34910
|
+
created_by?: string | null;
|
|
34911
|
+
id?: string;
|
|
34912
|
+
label: string;
|
|
34913
|
+
provider_id: string;
|
|
34914
|
+
updated_at?: string;
|
|
34915
|
+
};
|
|
34916
|
+
Update: {
|
|
34917
|
+
active?: boolean;
|
|
34918
|
+
api_key?: string;
|
|
34919
|
+
created_at?: string;
|
|
34920
|
+
created_by?: string | null;
|
|
34921
|
+
id?: string;
|
|
34922
|
+
label?: string;
|
|
34923
|
+
provider_id?: string;
|
|
34924
|
+
updated_at?: string;
|
|
34925
|
+
};
|
|
34926
|
+
Relationships: [{
|
|
34927
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
34928
|
+
columns: ["provider_id"];
|
|
34929
|
+
isOneToOne: false;
|
|
34930
|
+
referencedRelation: "ai_providers";
|
|
34931
|
+
referencedColumns: ["id"];
|
|
34932
|
+
}];
|
|
34933
|
+
};
|
|
34934
|
+
ai_models: {
|
|
34935
|
+
Row: {
|
|
34936
|
+
active: boolean;
|
|
34937
|
+
context_window: number | null;
|
|
34938
|
+
created_at: string;
|
|
34939
|
+
display_name: string;
|
|
34940
|
+
id: string;
|
|
34941
|
+
is_default: boolean;
|
|
34942
|
+
modality: string;
|
|
34943
|
+
provider_id: string;
|
|
34944
|
+
slug: string;
|
|
34945
|
+
updated_at: string;
|
|
34946
|
+
};
|
|
34947
|
+
Insert: {
|
|
34948
|
+
active?: boolean;
|
|
34949
|
+
context_window?: number | null;
|
|
34950
|
+
created_at?: string;
|
|
34951
|
+
display_name: string;
|
|
34952
|
+
id?: string;
|
|
34953
|
+
is_default?: boolean;
|
|
34954
|
+
modality?: string;
|
|
34955
|
+
provider_id: string;
|
|
34956
|
+
slug: string;
|
|
34957
|
+
updated_at?: string;
|
|
34958
|
+
};
|
|
34959
|
+
Update: {
|
|
34960
|
+
active?: boolean;
|
|
34961
|
+
context_window?: number | null;
|
|
34962
|
+
created_at?: string;
|
|
34963
|
+
display_name?: string;
|
|
34964
|
+
id?: string;
|
|
34965
|
+
is_default?: boolean;
|
|
34966
|
+
modality?: string;
|
|
34967
|
+
provider_id?: string;
|
|
34968
|
+
slug?: string;
|
|
34969
|
+
updated_at?: string;
|
|
34970
|
+
};
|
|
34971
|
+
Relationships: [{
|
|
34972
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
34973
|
+
columns: ["provider_id"];
|
|
34974
|
+
isOneToOne: false;
|
|
34975
|
+
referencedRelation: "ai_providers";
|
|
34976
|
+
referencedColumns: ["id"];
|
|
34977
|
+
}];
|
|
34978
|
+
};
|
|
34979
|
+
ai_module_bindings: {
|
|
34980
|
+
Row: {
|
|
34981
|
+
consumer_module_id: string;
|
|
34982
|
+
created_at: string;
|
|
34983
|
+
credential_id: string;
|
|
34984
|
+
id: string;
|
|
34985
|
+
model_id: string;
|
|
34986
|
+
notes: string | null;
|
|
34987
|
+
updated_at: string;
|
|
34988
|
+
};
|
|
34989
|
+
Insert: {
|
|
34990
|
+
consumer_module_id: string;
|
|
34991
|
+
created_at?: string;
|
|
34992
|
+
credential_id: string;
|
|
34993
|
+
id?: string;
|
|
34994
|
+
model_id: string;
|
|
34995
|
+
notes?: string | null;
|
|
34996
|
+
updated_at?: string;
|
|
34997
|
+
};
|
|
34998
|
+
Update: {
|
|
34999
|
+
consumer_module_id?: string;
|
|
35000
|
+
created_at?: string;
|
|
35001
|
+
credential_id?: string;
|
|
35002
|
+
id?: string;
|
|
35003
|
+
model_id?: string;
|
|
35004
|
+
notes?: string | null;
|
|
35005
|
+
updated_at?: string;
|
|
35006
|
+
};
|
|
35007
|
+
Relationships: [{
|
|
35008
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
35009
|
+
columns: ["credential_id"];
|
|
35010
|
+
isOneToOne: false;
|
|
35011
|
+
referencedRelation: "ai_credentials";
|
|
35012
|
+
referencedColumns: ["id"];
|
|
35013
|
+
}, {
|
|
35014
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
35015
|
+
columns: ["model_id"];
|
|
35016
|
+
isOneToOne: false;
|
|
35017
|
+
referencedRelation: "ai_models";
|
|
35018
|
+
referencedColumns: ["id"];
|
|
35019
|
+
}];
|
|
35020
|
+
};
|
|
35021
|
+
ai_providers: {
|
|
35022
|
+
Row: {
|
|
35023
|
+
active: boolean;
|
|
35024
|
+
auth_type: string;
|
|
35025
|
+
base_url: string | null;
|
|
35026
|
+
created_at: string;
|
|
35027
|
+
id: string;
|
|
35028
|
+
name: string;
|
|
35029
|
+
slug: string;
|
|
35030
|
+
updated_at: string;
|
|
35031
|
+
};
|
|
35032
|
+
Insert: {
|
|
35033
|
+
active?: boolean;
|
|
35034
|
+
auth_type?: string;
|
|
35035
|
+
base_url?: string | null;
|
|
35036
|
+
created_at?: string;
|
|
35037
|
+
id?: string;
|
|
35038
|
+
name: string;
|
|
35039
|
+
slug: string;
|
|
35040
|
+
updated_at?: string;
|
|
35041
|
+
};
|
|
35042
|
+
Update: {
|
|
35043
|
+
active?: boolean;
|
|
35044
|
+
auth_type?: string;
|
|
35045
|
+
base_url?: string | null;
|
|
35046
|
+
created_at?: string;
|
|
35047
|
+
id?: string;
|
|
35048
|
+
name?: string;
|
|
35049
|
+
slug?: string;
|
|
35050
|
+
updated_at?: string;
|
|
35051
|
+
};
|
|
35052
|
+
Relationships: [];
|
|
35053
|
+
};
|
|
34274
35054
|
app_settings: {
|
|
34275
35055
|
Row: {
|
|
34276
35056
|
created_at: string;
|
|
@@ -37874,6 +38654,27 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
37874
38654
|
referencedColumns: ["id"];
|
|
37875
38655
|
}];
|
|
37876
38656
|
};
|
|
38657
|
+
floriday_continuous_stock_cache: {
|
|
38658
|
+
Row: {
|
|
38659
|
+
connection_id: string;
|
|
38660
|
+
fetched_at: string;
|
|
38661
|
+
number_of_pieces: number;
|
|
38662
|
+
trade_item_id: string;
|
|
38663
|
+
};
|
|
38664
|
+
Insert: {
|
|
38665
|
+
connection_id: string;
|
|
38666
|
+
fetched_at?: string;
|
|
38667
|
+
number_of_pieces?: number;
|
|
38668
|
+
trade_item_id: string;
|
|
38669
|
+
};
|
|
38670
|
+
Update: {
|
|
38671
|
+
connection_id?: string;
|
|
38672
|
+
fetched_at?: string;
|
|
38673
|
+
number_of_pieces?: number;
|
|
38674
|
+
trade_item_id?: string;
|
|
38675
|
+
};
|
|
38676
|
+
Relationships: [];
|
|
38677
|
+
};
|
|
37877
38678
|
floriday_continuous_stock_queue: {
|
|
37878
38679
|
Row: {
|
|
37879
38680
|
attempts: number;
|
|
@@ -39997,39 +40798,60 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
39997
40798
|
};
|
|
39998
40799
|
manufacture_products: {
|
|
39999
40800
|
Row: {
|
|
40801
|
+
aantal_te_produceren: number;
|
|
40000
40802
|
created_at: string;
|
|
40001
40803
|
description: string | null;
|
|
40002
40804
|
id: string;
|
|
40003
40805
|
is_active: boolean;
|
|
40806
|
+
location_id: string | null;
|
|
40004
40807
|
name: string;
|
|
40808
|
+
partij_nummer: string | null;
|
|
40809
|
+
photos: import("../integrations/supabase/types").Json;
|
|
40005
40810
|
produced_stock: number;
|
|
40006
40811
|
product_code: string;
|
|
40007
40812
|
tenant_id: string;
|
|
40813
|
+
unit: string;
|
|
40008
40814
|
updated_at: string;
|
|
40009
40815
|
};
|
|
40010
40816
|
Insert: {
|
|
40817
|
+
aantal_te_produceren?: number;
|
|
40011
40818
|
created_at?: string;
|
|
40012
40819
|
description?: string | null;
|
|
40013
40820
|
id?: string;
|
|
40014
40821
|
is_active?: boolean;
|
|
40822
|
+
location_id?: string | null;
|
|
40015
40823
|
name: string;
|
|
40824
|
+
partij_nummer?: string | null;
|
|
40825
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
40016
40826
|
produced_stock?: number;
|
|
40017
40827
|
product_code: string;
|
|
40018
40828
|
tenant_id: string;
|
|
40829
|
+
unit?: string;
|
|
40019
40830
|
updated_at?: string;
|
|
40020
40831
|
};
|
|
40021
40832
|
Update: {
|
|
40833
|
+
aantal_te_produceren?: number;
|
|
40022
40834
|
created_at?: string;
|
|
40023
40835
|
description?: string | null;
|
|
40024
40836
|
id?: string;
|
|
40025
40837
|
is_active?: boolean;
|
|
40838
|
+
location_id?: string | null;
|
|
40026
40839
|
name?: string;
|
|
40840
|
+
partij_nummer?: string | null;
|
|
40841
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
40027
40842
|
produced_stock?: number;
|
|
40028
40843
|
product_code?: string;
|
|
40029
40844
|
tenant_id?: string;
|
|
40845
|
+
unit?: string;
|
|
40030
40846
|
updated_at?: string;
|
|
40031
40847
|
};
|
|
40032
|
-
Relationships: [
|
|
40848
|
+
Relationships: [{
|
|
40849
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
40850
|
+
columns: ["location_id"];
|
|
40851
|
+
isOneToOne: false;
|
|
40852
|
+
referencedRelation: "locations";
|
|
40853
|
+
referencedColumns: ["id"];
|
|
40854
|
+
}];
|
|
40033
40855
|
};
|
|
40034
40856
|
monteurs: {
|
|
40035
40857
|
Row: {
|
|
@@ -44893,6 +45715,12 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
44893
45715
|
};
|
|
44894
45716
|
Returns: undefined;
|
|
44895
45717
|
};
|
|
45718
|
+
next_manufacture_partij: {
|
|
45719
|
+
Args: {
|
|
45720
|
+
_tenant_id: string;
|
|
45721
|
+
};
|
|
45722
|
+
Returns: string;
|
|
45723
|
+
};
|
|
44896
45724
|
next_order_number: {
|
|
44897
45725
|
Args: {
|
|
44898
45726
|
p_prefix: string;
|
|
@@ -45624,6 +46452,165 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
45624
46452
|
};
|
|
45625
46453
|
Relationships: [];
|
|
45626
46454
|
};
|
|
46455
|
+
ai_credentials: {
|
|
46456
|
+
Row: {
|
|
46457
|
+
active: boolean;
|
|
46458
|
+
api_key: string;
|
|
46459
|
+
created_at: string;
|
|
46460
|
+
created_by: string | null;
|
|
46461
|
+
id: string;
|
|
46462
|
+
label: string;
|
|
46463
|
+
provider_id: string;
|
|
46464
|
+
updated_at: string;
|
|
46465
|
+
};
|
|
46466
|
+
Insert: {
|
|
46467
|
+
active?: boolean;
|
|
46468
|
+
api_key: string;
|
|
46469
|
+
created_at?: string;
|
|
46470
|
+
created_by?: string | null;
|
|
46471
|
+
id?: string;
|
|
46472
|
+
label: string;
|
|
46473
|
+
provider_id: string;
|
|
46474
|
+
updated_at?: string;
|
|
46475
|
+
};
|
|
46476
|
+
Update: {
|
|
46477
|
+
active?: boolean;
|
|
46478
|
+
api_key?: string;
|
|
46479
|
+
created_at?: string;
|
|
46480
|
+
created_by?: string | null;
|
|
46481
|
+
id?: string;
|
|
46482
|
+
label?: string;
|
|
46483
|
+
provider_id?: string;
|
|
46484
|
+
updated_at?: string;
|
|
46485
|
+
};
|
|
46486
|
+
Relationships: [{
|
|
46487
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
46488
|
+
columns: ["provider_id"];
|
|
46489
|
+
isOneToOne: false;
|
|
46490
|
+
referencedRelation: "ai_providers";
|
|
46491
|
+
referencedColumns: ["id"];
|
|
46492
|
+
}];
|
|
46493
|
+
};
|
|
46494
|
+
ai_models: {
|
|
46495
|
+
Row: {
|
|
46496
|
+
active: boolean;
|
|
46497
|
+
context_window: number | null;
|
|
46498
|
+
created_at: string;
|
|
46499
|
+
display_name: string;
|
|
46500
|
+
id: string;
|
|
46501
|
+
is_default: boolean;
|
|
46502
|
+
modality: string;
|
|
46503
|
+
provider_id: string;
|
|
46504
|
+
slug: string;
|
|
46505
|
+
updated_at: string;
|
|
46506
|
+
};
|
|
46507
|
+
Insert: {
|
|
46508
|
+
active?: boolean;
|
|
46509
|
+
context_window?: number | null;
|
|
46510
|
+
created_at?: string;
|
|
46511
|
+
display_name: string;
|
|
46512
|
+
id?: string;
|
|
46513
|
+
is_default?: boolean;
|
|
46514
|
+
modality?: string;
|
|
46515
|
+
provider_id: string;
|
|
46516
|
+
slug: string;
|
|
46517
|
+
updated_at?: string;
|
|
46518
|
+
};
|
|
46519
|
+
Update: {
|
|
46520
|
+
active?: boolean;
|
|
46521
|
+
context_window?: number | null;
|
|
46522
|
+
created_at?: string;
|
|
46523
|
+
display_name?: string;
|
|
46524
|
+
id?: string;
|
|
46525
|
+
is_default?: boolean;
|
|
46526
|
+
modality?: string;
|
|
46527
|
+
provider_id?: string;
|
|
46528
|
+
slug?: string;
|
|
46529
|
+
updated_at?: string;
|
|
46530
|
+
};
|
|
46531
|
+
Relationships: [{
|
|
46532
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
46533
|
+
columns: ["provider_id"];
|
|
46534
|
+
isOneToOne: false;
|
|
46535
|
+
referencedRelation: "ai_providers";
|
|
46536
|
+
referencedColumns: ["id"];
|
|
46537
|
+
}];
|
|
46538
|
+
};
|
|
46539
|
+
ai_module_bindings: {
|
|
46540
|
+
Row: {
|
|
46541
|
+
consumer_module_id: string;
|
|
46542
|
+
created_at: string;
|
|
46543
|
+
credential_id: string;
|
|
46544
|
+
id: string;
|
|
46545
|
+
model_id: string;
|
|
46546
|
+
notes: string | null;
|
|
46547
|
+
updated_at: string;
|
|
46548
|
+
};
|
|
46549
|
+
Insert: {
|
|
46550
|
+
consumer_module_id: string;
|
|
46551
|
+
created_at?: string;
|
|
46552
|
+
credential_id: string;
|
|
46553
|
+
id?: string;
|
|
46554
|
+
model_id: string;
|
|
46555
|
+
notes?: string | null;
|
|
46556
|
+
updated_at?: string;
|
|
46557
|
+
};
|
|
46558
|
+
Update: {
|
|
46559
|
+
consumer_module_id?: string;
|
|
46560
|
+
created_at?: string;
|
|
46561
|
+
credential_id?: string;
|
|
46562
|
+
id?: string;
|
|
46563
|
+
model_id?: string;
|
|
46564
|
+
notes?: string | null;
|
|
46565
|
+
updated_at?: string;
|
|
46566
|
+
};
|
|
46567
|
+
Relationships: [{
|
|
46568
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
46569
|
+
columns: ["credential_id"];
|
|
46570
|
+
isOneToOne: false;
|
|
46571
|
+
referencedRelation: "ai_credentials";
|
|
46572
|
+
referencedColumns: ["id"];
|
|
46573
|
+
}, {
|
|
46574
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
46575
|
+
columns: ["model_id"];
|
|
46576
|
+
isOneToOne: false;
|
|
46577
|
+
referencedRelation: "ai_models";
|
|
46578
|
+
referencedColumns: ["id"];
|
|
46579
|
+
}];
|
|
46580
|
+
};
|
|
46581
|
+
ai_providers: {
|
|
46582
|
+
Row: {
|
|
46583
|
+
active: boolean;
|
|
46584
|
+
auth_type: string;
|
|
46585
|
+
base_url: string | null;
|
|
46586
|
+
created_at: string;
|
|
46587
|
+
id: string;
|
|
46588
|
+
name: string;
|
|
46589
|
+
slug: string;
|
|
46590
|
+
updated_at: string;
|
|
46591
|
+
};
|
|
46592
|
+
Insert: {
|
|
46593
|
+
active?: boolean;
|
|
46594
|
+
auth_type?: string;
|
|
46595
|
+
base_url?: string | null;
|
|
46596
|
+
created_at?: string;
|
|
46597
|
+
id?: string;
|
|
46598
|
+
name: string;
|
|
46599
|
+
slug: string;
|
|
46600
|
+
updated_at?: string;
|
|
46601
|
+
};
|
|
46602
|
+
Update: {
|
|
46603
|
+
active?: boolean;
|
|
46604
|
+
auth_type?: string;
|
|
46605
|
+
base_url?: string | null;
|
|
46606
|
+
created_at?: string;
|
|
46607
|
+
id?: string;
|
|
46608
|
+
name?: string;
|
|
46609
|
+
slug?: string;
|
|
46610
|
+
updated_at?: string;
|
|
46611
|
+
};
|
|
46612
|
+
Relationships: [];
|
|
46613
|
+
};
|
|
45627
46614
|
app_settings: {
|
|
45628
46615
|
Row: {
|
|
45629
46616
|
created_at: string;
|
|
@@ -49227,6 +50214,27 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
49227
50214
|
referencedColumns: ["id"];
|
|
49228
50215
|
}];
|
|
49229
50216
|
};
|
|
50217
|
+
floriday_continuous_stock_cache: {
|
|
50218
|
+
Row: {
|
|
50219
|
+
connection_id: string;
|
|
50220
|
+
fetched_at: string;
|
|
50221
|
+
number_of_pieces: number;
|
|
50222
|
+
trade_item_id: string;
|
|
50223
|
+
};
|
|
50224
|
+
Insert: {
|
|
50225
|
+
connection_id: string;
|
|
50226
|
+
fetched_at?: string;
|
|
50227
|
+
number_of_pieces?: number;
|
|
50228
|
+
trade_item_id: string;
|
|
50229
|
+
};
|
|
50230
|
+
Update: {
|
|
50231
|
+
connection_id?: string;
|
|
50232
|
+
fetched_at?: string;
|
|
50233
|
+
number_of_pieces?: number;
|
|
50234
|
+
trade_item_id?: string;
|
|
50235
|
+
};
|
|
50236
|
+
Relationships: [];
|
|
50237
|
+
};
|
|
49230
50238
|
floriday_continuous_stock_queue: {
|
|
49231
50239
|
Row: {
|
|
49232
50240
|
attempts: number;
|
|
@@ -51350,39 +52358,60 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
51350
52358
|
};
|
|
51351
52359
|
manufacture_products: {
|
|
51352
52360
|
Row: {
|
|
52361
|
+
aantal_te_produceren: number;
|
|
51353
52362
|
created_at: string;
|
|
51354
52363
|
description: string | null;
|
|
51355
52364
|
id: string;
|
|
51356
52365
|
is_active: boolean;
|
|
52366
|
+
location_id: string | null;
|
|
51357
52367
|
name: string;
|
|
52368
|
+
partij_nummer: string | null;
|
|
52369
|
+
photos: import("../integrations/supabase/types").Json;
|
|
51358
52370
|
produced_stock: number;
|
|
51359
52371
|
product_code: string;
|
|
51360
52372
|
tenant_id: string;
|
|
52373
|
+
unit: string;
|
|
51361
52374
|
updated_at: string;
|
|
51362
52375
|
};
|
|
51363
52376
|
Insert: {
|
|
52377
|
+
aantal_te_produceren?: number;
|
|
51364
52378
|
created_at?: string;
|
|
51365
52379
|
description?: string | null;
|
|
51366
52380
|
id?: string;
|
|
51367
52381
|
is_active?: boolean;
|
|
52382
|
+
location_id?: string | null;
|
|
51368
52383
|
name: string;
|
|
52384
|
+
partij_nummer?: string | null;
|
|
52385
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
51369
52386
|
produced_stock?: number;
|
|
51370
52387
|
product_code: string;
|
|
51371
52388
|
tenant_id: string;
|
|
52389
|
+
unit?: string;
|
|
51372
52390
|
updated_at?: string;
|
|
51373
52391
|
};
|
|
51374
52392
|
Update: {
|
|
52393
|
+
aantal_te_produceren?: number;
|
|
51375
52394
|
created_at?: string;
|
|
51376
52395
|
description?: string | null;
|
|
51377
52396
|
id?: string;
|
|
51378
52397
|
is_active?: boolean;
|
|
52398
|
+
location_id?: string | null;
|
|
51379
52399
|
name?: string;
|
|
52400
|
+
partij_nummer?: string | null;
|
|
52401
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
51380
52402
|
produced_stock?: number;
|
|
51381
52403
|
product_code?: string;
|
|
51382
52404
|
tenant_id?: string;
|
|
52405
|
+
unit?: string;
|
|
51383
52406
|
updated_at?: string;
|
|
51384
52407
|
};
|
|
51385
|
-
Relationships: [
|
|
52408
|
+
Relationships: [{
|
|
52409
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
52410
|
+
columns: ["location_id"];
|
|
52411
|
+
isOneToOne: false;
|
|
52412
|
+
referencedRelation: "locations";
|
|
52413
|
+
referencedColumns: ["id"];
|
|
52414
|
+
}];
|
|
51386
52415
|
};
|
|
51387
52416
|
monteurs: {
|
|
51388
52417
|
Row: {
|
|
@@ -56246,6 +57275,12 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
56246
57275
|
};
|
|
56247
57276
|
Returns: undefined;
|
|
56248
57277
|
};
|
|
57278
|
+
next_manufacture_partij: {
|
|
57279
|
+
Args: {
|
|
57280
|
+
_tenant_id: string;
|
|
57281
|
+
};
|
|
57282
|
+
Returns: string;
|
|
57283
|
+
};
|
|
56249
57284
|
next_order_number: {
|
|
56250
57285
|
Args: {
|
|
56251
57286
|
p_prefix: string;
|
|
@@ -56967,6 +58002,165 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
56967
58002
|
};
|
|
56968
58003
|
Relationships: [];
|
|
56969
58004
|
};
|
|
58005
|
+
ai_credentials: {
|
|
58006
|
+
Row: {
|
|
58007
|
+
active: boolean;
|
|
58008
|
+
api_key: string;
|
|
58009
|
+
created_at: string;
|
|
58010
|
+
created_by: string | null;
|
|
58011
|
+
id: string;
|
|
58012
|
+
label: string;
|
|
58013
|
+
provider_id: string;
|
|
58014
|
+
updated_at: string;
|
|
58015
|
+
};
|
|
58016
|
+
Insert: {
|
|
58017
|
+
active?: boolean;
|
|
58018
|
+
api_key: string;
|
|
58019
|
+
created_at?: string;
|
|
58020
|
+
created_by?: string | null;
|
|
58021
|
+
id?: string;
|
|
58022
|
+
label: string;
|
|
58023
|
+
provider_id: string;
|
|
58024
|
+
updated_at?: string;
|
|
58025
|
+
};
|
|
58026
|
+
Update: {
|
|
58027
|
+
active?: boolean;
|
|
58028
|
+
api_key?: string;
|
|
58029
|
+
created_at?: string;
|
|
58030
|
+
created_by?: string | null;
|
|
58031
|
+
id?: string;
|
|
58032
|
+
label?: string;
|
|
58033
|
+
provider_id?: string;
|
|
58034
|
+
updated_at?: string;
|
|
58035
|
+
};
|
|
58036
|
+
Relationships: [{
|
|
58037
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
58038
|
+
columns: ["provider_id"];
|
|
58039
|
+
isOneToOne: false;
|
|
58040
|
+
referencedRelation: "ai_providers";
|
|
58041
|
+
referencedColumns: ["id"];
|
|
58042
|
+
}];
|
|
58043
|
+
};
|
|
58044
|
+
ai_models: {
|
|
58045
|
+
Row: {
|
|
58046
|
+
active: boolean;
|
|
58047
|
+
context_window: number | null;
|
|
58048
|
+
created_at: string;
|
|
58049
|
+
display_name: string;
|
|
58050
|
+
id: string;
|
|
58051
|
+
is_default: boolean;
|
|
58052
|
+
modality: string;
|
|
58053
|
+
provider_id: string;
|
|
58054
|
+
slug: string;
|
|
58055
|
+
updated_at: string;
|
|
58056
|
+
};
|
|
58057
|
+
Insert: {
|
|
58058
|
+
active?: boolean;
|
|
58059
|
+
context_window?: number | null;
|
|
58060
|
+
created_at?: string;
|
|
58061
|
+
display_name: string;
|
|
58062
|
+
id?: string;
|
|
58063
|
+
is_default?: boolean;
|
|
58064
|
+
modality?: string;
|
|
58065
|
+
provider_id: string;
|
|
58066
|
+
slug: string;
|
|
58067
|
+
updated_at?: string;
|
|
58068
|
+
};
|
|
58069
|
+
Update: {
|
|
58070
|
+
active?: boolean;
|
|
58071
|
+
context_window?: number | null;
|
|
58072
|
+
created_at?: string;
|
|
58073
|
+
display_name?: string;
|
|
58074
|
+
id?: string;
|
|
58075
|
+
is_default?: boolean;
|
|
58076
|
+
modality?: string;
|
|
58077
|
+
provider_id?: string;
|
|
58078
|
+
slug?: string;
|
|
58079
|
+
updated_at?: string;
|
|
58080
|
+
};
|
|
58081
|
+
Relationships: [{
|
|
58082
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
58083
|
+
columns: ["provider_id"];
|
|
58084
|
+
isOneToOne: false;
|
|
58085
|
+
referencedRelation: "ai_providers";
|
|
58086
|
+
referencedColumns: ["id"];
|
|
58087
|
+
}];
|
|
58088
|
+
};
|
|
58089
|
+
ai_module_bindings: {
|
|
58090
|
+
Row: {
|
|
58091
|
+
consumer_module_id: string;
|
|
58092
|
+
created_at: string;
|
|
58093
|
+
credential_id: string;
|
|
58094
|
+
id: string;
|
|
58095
|
+
model_id: string;
|
|
58096
|
+
notes: string | null;
|
|
58097
|
+
updated_at: string;
|
|
58098
|
+
};
|
|
58099
|
+
Insert: {
|
|
58100
|
+
consumer_module_id: string;
|
|
58101
|
+
created_at?: string;
|
|
58102
|
+
credential_id: string;
|
|
58103
|
+
id?: string;
|
|
58104
|
+
model_id: string;
|
|
58105
|
+
notes?: string | null;
|
|
58106
|
+
updated_at?: string;
|
|
58107
|
+
};
|
|
58108
|
+
Update: {
|
|
58109
|
+
consumer_module_id?: string;
|
|
58110
|
+
created_at?: string;
|
|
58111
|
+
credential_id?: string;
|
|
58112
|
+
id?: string;
|
|
58113
|
+
model_id?: string;
|
|
58114
|
+
notes?: string | null;
|
|
58115
|
+
updated_at?: string;
|
|
58116
|
+
};
|
|
58117
|
+
Relationships: [{
|
|
58118
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
58119
|
+
columns: ["credential_id"];
|
|
58120
|
+
isOneToOne: false;
|
|
58121
|
+
referencedRelation: "ai_credentials";
|
|
58122
|
+
referencedColumns: ["id"];
|
|
58123
|
+
}, {
|
|
58124
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
58125
|
+
columns: ["model_id"];
|
|
58126
|
+
isOneToOne: false;
|
|
58127
|
+
referencedRelation: "ai_models";
|
|
58128
|
+
referencedColumns: ["id"];
|
|
58129
|
+
}];
|
|
58130
|
+
};
|
|
58131
|
+
ai_providers: {
|
|
58132
|
+
Row: {
|
|
58133
|
+
active: boolean;
|
|
58134
|
+
auth_type: string;
|
|
58135
|
+
base_url: string | null;
|
|
58136
|
+
created_at: string;
|
|
58137
|
+
id: string;
|
|
58138
|
+
name: string;
|
|
58139
|
+
slug: string;
|
|
58140
|
+
updated_at: string;
|
|
58141
|
+
};
|
|
58142
|
+
Insert: {
|
|
58143
|
+
active?: boolean;
|
|
58144
|
+
auth_type?: string;
|
|
58145
|
+
base_url?: string | null;
|
|
58146
|
+
created_at?: string;
|
|
58147
|
+
id?: string;
|
|
58148
|
+
name: string;
|
|
58149
|
+
slug: string;
|
|
58150
|
+
updated_at?: string;
|
|
58151
|
+
};
|
|
58152
|
+
Update: {
|
|
58153
|
+
active?: boolean;
|
|
58154
|
+
auth_type?: string;
|
|
58155
|
+
base_url?: string | null;
|
|
58156
|
+
created_at?: string;
|
|
58157
|
+
id?: string;
|
|
58158
|
+
name?: string;
|
|
58159
|
+
slug?: string;
|
|
58160
|
+
updated_at?: string;
|
|
58161
|
+
};
|
|
58162
|
+
Relationships: [];
|
|
58163
|
+
};
|
|
56970
58164
|
app_settings: {
|
|
56971
58165
|
Row: {
|
|
56972
58166
|
created_at: string;
|
|
@@ -60570,6 +61764,27 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
60570
61764
|
referencedColumns: ["id"];
|
|
60571
61765
|
}];
|
|
60572
61766
|
};
|
|
61767
|
+
floriday_continuous_stock_cache: {
|
|
61768
|
+
Row: {
|
|
61769
|
+
connection_id: string;
|
|
61770
|
+
fetched_at: string;
|
|
61771
|
+
number_of_pieces: number;
|
|
61772
|
+
trade_item_id: string;
|
|
61773
|
+
};
|
|
61774
|
+
Insert: {
|
|
61775
|
+
connection_id: string;
|
|
61776
|
+
fetched_at?: string;
|
|
61777
|
+
number_of_pieces?: number;
|
|
61778
|
+
trade_item_id: string;
|
|
61779
|
+
};
|
|
61780
|
+
Update: {
|
|
61781
|
+
connection_id?: string;
|
|
61782
|
+
fetched_at?: string;
|
|
61783
|
+
number_of_pieces?: number;
|
|
61784
|
+
trade_item_id?: string;
|
|
61785
|
+
};
|
|
61786
|
+
Relationships: [];
|
|
61787
|
+
};
|
|
60573
61788
|
floriday_continuous_stock_queue: {
|
|
60574
61789
|
Row: {
|
|
60575
61790
|
attempts: number;
|
|
@@ -62693,39 +63908,60 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
62693
63908
|
};
|
|
62694
63909
|
manufacture_products: {
|
|
62695
63910
|
Row: {
|
|
63911
|
+
aantal_te_produceren: number;
|
|
62696
63912
|
created_at: string;
|
|
62697
63913
|
description: string | null;
|
|
62698
63914
|
id: string;
|
|
62699
63915
|
is_active: boolean;
|
|
63916
|
+
location_id: string | null;
|
|
62700
63917
|
name: string;
|
|
63918
|
+
partij_nummer: string | null;
|
|
63919
|
+
photos: import("../integrations/supabase/types").Json;
|
|
62701
63920
|
produced_stock: number;
|
|
62702
63921
|
product_code: string;
|
|
62703
63922
|
tenant_id: string;
|
|
63923
|
+
unit: string;
|
|
62704
63924
|
updated_at: string;
|
|
62705
63925
|
};
|
|
62706
63926
|
Insert: {
|
|
63927
|
+
aantal_te_produceren?: number;
|
|
62707
63928
|
created_at?: string;
|
|
62708
63929
|
description?: string | null;
|
|
62709
63930
|
id?: string;
|
|
62710
63931
|
is_active?: boolean;
|
|
63932
|
+
location_id?: string | null;
|
|
62711
63933
|
name: string;
|
|
63934
|
+
partij_nummer?: string | null;
|
|
63935
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
62712
63936
|
produced_stock?: number;
|
|
62713
63937
|
product_code: string;
|
|
62714
63938
|
tenant_id: string;
|
|
63939
|
+
unit?: string;
|
|
62715
63940
|
updated_at?: string;
|
|
62716
63941
|
};
|
|
62717
63942
|
Update: {
|
|
63943
|
+
aantal_te_produceren?: number;
|
|
62718
63944
|
created_at?: string;
|
|
62719
63945
|
description?: string | null;
|
|
62720
63946
|
id?: string;
|
|
62721
63947
|
is_active?: boolean;
|
|
63948
|
+
location_id?: string | null;
|
|
62722
63949
|
name?: string;
|
|
63950
|
+
partij_nummer?: string | null;
|
|
63951
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
62723
63952
|
produced_stock?: number;
|
|
62724
63953
|
product_code?: string;
|
|
62725
63954
|
tenant_id?: string;
|
|
63955
|
+
unit?: string;
|
|
62726
63956
|
updated_at?: string;
|
|
62727
63957
|
};
|
|
62728
|
-
Relationships: [
|
|
63958
|
+
Relationships: [{
|
|
63959
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
63960
|
+
columns: ["location_id"];
|
|
63961
|
+
isOneToOne: false;
|
|
63962
|
+
referencedRelation: "locations";
|
|
63963
|
+
referencedColumns: ["id"];
|
|
63964
|
+
}];
|
|
62729
63965
|
};
|
|
62730
63966
|
monteurs: {
|
|
62731
63967
|
Row: {
|
|
@@ -67589,6 +68825,12 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
67589
68825
|
};
|
|
67590
68826
|
Returns: undefined;
|
|
67591
68827
|
};
|
|
68828
|
+
next_manufacture_partij: {
|
|
68829
|
+
Args: {
|
|
68830
|
+
_tenant_id: string;
|
|
68831
|
+
};
|
|
68832
|
+
Returns: string;
|
|
68833
|
+
};
|
|
67592
68834
|
next_order_number: {
|
|
67593
68835
|
Args: {
|
|
67594
68836
|
p_prefix: string;
|
|
@@ -68307,6 +69549,165 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
68307
69549
|
};
|
|
68308
69550
|
Relationships: [];
|
|
68309
69551
|
};
|
|
69552
|
+
ai_credentials: {
|
|
69553
|
+
Row: {
|
|
69554
|
+
active: boolean;
|
|
69555
|
+
api_key: string;
|
|
69556
|
+
created_at: string;
|
|
69557
|
+
created_by: string | null;
|
|
69558
|
+
id: string;
|
|
69559
|
+
label: string;
|
|
69560
|
+
provider_id: string;
|
|
69561
|
+
updated_at: string;
|
|
69562
|
+
};
|
|
69563
|
+
Insert: {
|
|
69564
|
+
active?: boolean;
|
|
69565
|
+
api_key: string;
|
|
69566
|
+
created_at?: string;
|
|
69567
|
+
created_by?: string | null;
|
|
69568
|
+
id?: string;
|
|
69569
|
+
label: string;
|
|
69570
|
+
provider_id: string;
|
|
69571
|
+
updated_at?: string;
|
|
69572
|
+
};
|
|
69573
|
+
Update: {
|
|
69574
|
+
active?: boolean;
|
|
69575
|
+
api_key?: string;
|
|
69576
|
+
created_at?: string;
|
|
69577
|
+
created_by?: string | null;
|
|
69578
|
+
id?: string;
|
|
69579
|
+
label?: string;
|
|
69580
|
+
provider_id?: string;
|
|
69581
|
+
updated_at?: string;
|
|
69582
|
+
};
|
|
69583
|
+
Relationships: [{
|
|
69584
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
69585
|
+
columns: ["provider_id"];
|
|
69586
|
+
isOneToOne: false;
|
|
69587
|
+
referencedRelation: "ai_providers";
|
|
69588
|
+
referencedColumns: ["id"];
|
|
69589
|
+
}];
|
|
69590
|
+
};
|
|
69591
|
+
ai_models: {
|
|
69592
|
+
Row: {
|
|
69593
|
+
active: boolean;
|
|
69594
|
+
context_window: number | null;
|
|
69595
|
+
created_at: string;
|
|
69596
|
+
display_name: string;
|
|
69597
|
+
id: string;
|
|
69598
|
+
is_default: boolean;
|
|
69599
|
+
modality: string;
|
|
69600
|
+
provider_id: string;
|
|
69601
|
+
slug: string;
|
|
69602
|
+
updated_at: string;
|
|
69603
|
+
};
|
|
69604
|
+
Insert: {
|
|
69605
|
+
active?: boolean;
|
|
69606
|
+
context_window?: number | null;
|
|
69607
|
+
created_at?: string;
|
|
69608
|
+
display_name: string;
|
|
69609
|
+
id?: string;
|
|
69610
|
+
is_default?: boolean;
|
|
69611
|
+
modality?: string;
|
|
69612
|
+
provider_id: string;
|
|
69613
|
+
slug: string;
|
|
69614
|
+
updated_at?: string;
|
|
69615
|
+
};
|
|
69616
|
+
Update: {
|
|
69617
|
+
active?: boolean;
|
|
69618
|
+
context_window?: number | null;
|
|
69619
|
+
created_at?: string;
|
|
69620
|
+
display_name?: string;
|
|
69621
|
+
id?: string;
|
|
69622
|
+
is_default?: boolean;
|
|
69623
|
+
modality?: string;
|
|
69624
|
+
provider_id?: string;
|
|
69625
|
+
slug?: string;
|
|
69626
|
+
updated_at?: string;
|
|
69627
|
+
};
|
|
69628
|
+
Relationships: [{
|
|
69629
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
69630
|
+
columns: ["provider_id"];
|
|
69631
|
+
isOneToOne: false;
|
|
69632
|
+
referencedRelation: "ai_providers";
|
|
69633
|
+
referencedColumns: ["id"];
|
|
69634
|
+
}];
|
|
69635
|
+
};
|
|
69636
|
+
ai_module_bindings: {
|
|
69637
|
+
Row: {
|
|
69638
|
+
consumer_module_id: string;
|
|
69639
|
+
created_at: string;
|
|
69640
|
+
credential_id: string;
|
|
69641
|
+
id: string;
|
|
69642
|
+
model_id: string;
|
|
69643
|
+
notes: string | null;
|
|
69644
|
+
updated_at: string;
|
|
69645
|
+
};
|
|
69646
|
+
Insert: {
|
|
69647
|
+
consumer_module_id: string;
|
|
69648
|
+
created_at?: string;
|
|
69649
|
+
credential_id: string;
|
|
69650
|
+
id?: string;
|
|
69651
|
+
model_id: string;
|
|
69652
|
+
notes?: string | null;
|
|
69653
|
+
updated_at?: string;
|
|
69654
|
+
};
|
|
69655
|
+
Update: {
|
|
69656
|
+
consumer_module_id?: string;
|
|
69657
|
+
created_at?: string;
|
|
69658
|
+
credential_id?: string;
|
|
69659
|
+
id?: string;
|
|
69660
|
+
model_id?: string;
|
|
69661
|
+
notes?: string | null;
|
|
69662
|
+
updated_at?: string;
|
|
69663
|
+
};
|
|
69664
|
+
Relationships: [{
|
|
69665
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
69666
|
+
columns: ["credential_id"];
|
|
69667
|
+
isOneToOne: false;
|
|
69668
|
+
referencedRelation: "ai_credentials";
|
|
69669
|
+
referencedColumns: ["id"];
|
|
69670
|
+
}, {
|
|
69671
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
69672
|
+
columns: ["model_id"];
|
|
69673
|
+
isOneToOne: false;
|
|
69674
|
+
referencedRelation: "ai_models";
|
|
69675
|
+
referencedColumns: ["id"];
|
|
69676
|
+
}];
|
|
69677
|
+
};
|
|
69678
|
+
ai_providers: {
|
|
69679
|
+
Row: {
|
|
69680
|
+
active: boolean;
|
|
69681
|
+
auth_type: string;
|
|
69682
|
+
base_url: string | null;
|
|
69683
|
+
created_at: string;
|
|
69684
|
+
id: string;
|
|
69685
|
+
name: string;
|
|
69686
|
+
slug: string;
|
|
69687
|
+
updated_at: string;
|
|
69688
|
+
};
|
|
69689
|
+
Insert: {
|
|
69690
|
+
active?: boolean;
|
|
69691
|
+
auth_type?: string;
|
|
69692
|
+
base_url?: string | null;
|
|
69693
|
+
created_at?: string;
|
|
69694
|
+
id?: string;
|
|
69695
|
+
name: string;
|
|
69696
|
+
slug: string;
|
|
69697
|
+
updated_at?: string;
|
|
69698
|
+
};
|
|
69699
|
+
Update: {
|
|
69700
|
+
active?: boolean;
|
|
69701
|
+
auth_type?: string;
|
|
69702
|
+
base_url?: string | null;
|
|
69703
|
+
created_at?: string;
|
|
69704
|
+
id?: string;
|
|
69705
|
+
name?: string;
|
|
69706
|
+
slug?: string;
|
|
69707
|
+
updated_at?: string;
|
|
69708
|
+
};
|
|
69709
|
+
Relationships: [];
|
|
69710
|
+
};
|
|
68310
69711
|
app_settings: {
|
|
68311
69712
|
Row: {
|
|
68312
69713
|
created_at: string;
|
|
@@ -71910,6 +73311,27 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
71910
73311
|
referencedColumns: ["id"];
|
|
71911
73312
|
}];
|
|
71912
73313
|
};
|
|
73314
|
+
floriday_continuous_stock_cache: {
|
|
73315
|
+
Row: {
|
|
73316
|
+
connection_id: string;
|
|
73317
|
+
fetched_at: string;
|
|
73318
|
+
number_of_pieces: number;
|
|
73319
|
+
trade_item_id: string;
|
|
73320
|
+
};
|
|
73321
|
+
Insert: {
|
|
73322
|
+
connection_id: string;
|
|
73323
|
+
fetched_at?: string;
|
|
73324
|
+
number_of_pieces?: number;
|
|
73325
|
+
trade_item_id: string;
|
|
73326
|
+
};
|
|
73327
|
+
Update: {
|
|
73328
|
+
connection_id?: string;
|
|
73329
|
+
fetched_at?: string;
|
|
73330
|
+
number_of_pieces?: number;
|
|
73331
|
+
trade_item_id?: string;
|
|
73332
|
+
};
|
|
73333
|
+
Relationships: [];
|
|
73334
|
+
};
|
|
71913
73335
|
floriday_continuous_stock_queue: {
|
|
71914
73336
|
Row: {
|
|
71915
73337
|
attempts: number;
|
|
@@ -74033,39 +75455,60 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
74033
75455
|
};
|
|
74034
75456
|
manufacture_products: {
|
|
74035
75457
|
Row: {
|
|
75458
|
+
aantal_te_produceren: number;
|
|
74036
75459
|
created_at: string;
|
|
74037
75460
|
description: string | null;
|
|
74038
75461
|
id: string;
|
|
74039
75462
|
is_active: boolean;
|
|
75463
|
+
location_id: string | null;
|
|
74040
75464
|
name: string;
|
|
75465
|
+
partij_nummer: string | null;
|
|
75466
|
+
photos: import("../integrations/supabase/types").Json;
|
|
74041
75467
|
produced_stock: number;
|
|
74042
75468
|
product_code: string;
|
|
74043
75469
|
tenant_id: string;
|
|
75470
|
+
unit: string;
|
|
74044
75471
|
updated_at: string;
|
|
74045
75472
|
};
|
|
74046
75473
|
Insert: {
|
|
75474
|
+
aantal_te_produceren?: number;
|
|
74047
75475
|
created_at?: string;
|
|
74048
75476
|
description?: string | null;
|
|
74049
75477
|
id?: string;
|
|
74050
75478
|
is_active?: boolean;
|
|
75479
|
+
location_id?: string | null;
|
|
74051
75480
|
name: string;
|
|
75481
|
+
partij_nummer?: string | null;
|
|
75482
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
74052
75483
|
produced_stock?: number;
|
|
74053
75484
|
product_code: string;
|
|
74054
75485
|
tenant_id: string;
|
|
75486
|
+
unit?: string;
|
|
74055
75487
|
updated_at?: string;
|
|
74056
75488
|
};
|
|
74057
75489
|
Update: {
|
|
75490
|
+
aantal_te_produceren?: number;
|
|
74058
75491
|
created_at?: string;
|
|
74059
75492
|
description?: string | null;
|
|
74060
75493
|
id?: string;
|
|
74061
75494
|
is_active?: boolean;
|
|
75495
|
+
location_id?: string | null;
|
|
74062
75496
|
name?: string;
|
|
75497
|
+
partij_nummer?: string | null;
|
|
75498
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
74063
75499
|
produced_stock?: number;
|
|
74064
75500
|
product_code?: string;
|
|
74065
75501
|
tenant_id?: string;
|
|
75502
|
+
unit?: string;
|
|
74066
75503
|
updated_at?: string;
|
|
74067
75504
|
};
|
|
74068
|
-
Relationships: [
|
|
75505
|
+
Relationships: [{
|
|
75506
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
75507
|
+
columns: ["location_id"];
|
|
75508
|
+
isOneToOne: false;
|
|
75509
|
+
referencedRelation: "locations";
|
|
75510
|
+
referencedColumns: ["id"];
|
|
75511
|
+
}];
|
|
74069
75512
|
};
|
|
74070
75513
|
monteurs: {
|
|
74071
75514
|
Row: {
|
|
@@ -78929,6 +80372,12 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
|
|
|
78929
80372
|
};
|
|
78930
80373
|
Returns: undefined;
|
|
78931
80374
|
};
|
|
80375
|
+
next_manufacture_partij: {
|
|
80376
|
+
Args: {
|
|
80377
|
+
_tenant_id: string;
|
|
80378
|
+
};
|
|
80379
|
+
Returns: string;
|
|
80380
|
+
};
|
|
78932
80381
|
next_order_number: {
|
|
78933
80382
|
Args: {
|
|
78934
80383
|
p_prefix: string;
|