@flowselections/floriday-verkoop-module 1.0.15 → 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 +40 -28
- package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SalesOrdersFilters.js +2 -8
- package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -0
- package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
- package/dist-lib/components/verkoop/SearchableSelect.js +1 -1
- 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 +1882 -11
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +102 -19
- 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 getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
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 getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
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 getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
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 getPreferredWarehouseStatus: import("@tanstack/start-client
|
|
|
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;
|
|
@@ -11581,6 +11788,165 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
11581
11788
|
};
|
|
11582
11789
|
Relationships: [];
|
|
11583
11790
|
};
|
|
11791
|
+
ai_credentials: {
|
|
11792
|
+
Row: {
|
|
11793
|
+
active: boolean;
|
|
11794
|
+
api_key: string;
|
|
11795
|
+
created_at: string;
|
|
11796
|
+
created_by: string | null;
|
|
11797
|
+
id: string;
|
|
11798
|
+
label: string;
|
|
11799
|
+
provider_id: string;
|
|
11800
|
+
updated_at: string;
|
|
11801
|
+
};
|
|
11802
|
+
Insert: {
|
|
11803
|
+
active?: boolean;
|
|
11804
|
+
api_key: string;
|
|
11805
|
+
created_at?: string;
|
|
11806
|
+
created_by?: string | null;
|
|
11807
|
+
id?: string;
|
|
11808
|
+
label: string;
|
|
11809
|
+
provider_id: string;
|
|
11810
|
+
updated_at?: string;
|
|
11811
|
+
};
|
|
11812
|
+
Update: {
|
|
11813
|
+
active?: boolean;
|
|
11814
|
+
api_key?: string;
|
|
11815
|
+
created_at?: string;
|
|
11816
|
+
created_by?: string | null;
|
|
11817
|
+
id?: string;
|
|
11818
|
+
label?: string;
|
|
11819
|
+
provider_id?: string;
|
|
11820
|
+
updated_at?: string;
|
|
11821
|
+
};
|
|
11822
|
+
Relationships: [{
|
|
11823
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
11824
|
+
columns: ["provider_id"];
|
|
11825
|
+
isOneToOne: false;
|
|
11826
|
+
referencedRelation: "ai_providers";
|
|
11827
|
+
referencedColumns: ["id"];
|
|
11828
|
+
}];
|
|
11829
|
+
};
|
|
11830
|
+
ai_models: {
|
|
11831
|
+
Row: {
|
|
11832
|
+
active: boolean;
|
|
11833
|
+
context_window: number | null;
|
|
11834
|
+
created_at: string;
|
|
11835
|
+
display_name: string;
|
|
11836
|
+
id: string;
|
|
11837
|
+
is_default: boolean;
|
|
11838
|
+
modality: string;
|
|
11839
|
+
provider_id: string;
|
|
11840
|
+
slug: string;
|
|
11841
|
+
updated_at: string;
|
|
11842
|
+
};
|
|
11843
|
+
Insert: {
|
|
11844
|
+
active?: boolean;
|
|
11845
|
+
context_window?: number | null;
|
|
11846
|
+
created_at?: string;
|
|
11847
|
+
display_name: string;
|
|
11848
|
+
id?: string;
|
|
11849
|
+
is_default?: boolean;
|
|
11850
|
+
modality?: string;
|
|
11851
|
+
provider_id: string;
|
|
11852
|
+
slug: string;
|
|
11853
|
+
updated_at?: string;
|
|
11854
|
+
};
|
|
11855
|
+
Update: {
|
|
11856
|
+
active?: boolean;
|
|
11857
|
+
context_window?: number | null;
|
|
11858
|
+
created_at?: string;
|
|
11859
|
+
display_name?: string;
|
|
11860
|
+
id?: string;
|
|
11861
|
+
is_default?: boolean;
|
|
11862
|
+
modality?: string;
|
|
11863
|
+
provider_id?: string;
|
|
11864
|
+
slug?: string;
|
|
11865
|
+
updated_at?: string;
|
|
11866
|
+
};
|
|
11867
|
+
Relationships: [{
|
|
11868
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
11869
|
+
columns: ["provider_id"];
|
|
11870
|
+
isOneToOne: false;
|
|
11871
|
+
referencedRelation: "ai_providers";
|
|
11872
|
+
referencedColumns: ["id"];
|
|
11873
|
+
}];
|
|
11874
|
+
};
|
|
11875
|
+
ai_module_bindings: {
|
|
11876
|
+
Row: {
|
|
11877
|
+
consumer_module_id: string;
|
|
11878
|
+
created_at: string;
|
|
11879
|
+
credential_id: string;
|
|
11880
|
+
id: string;
|
|
11881
|
+
model_id: string;
|
|
11882
|
+
notes: string | null;
|
|
11883
|
+
updated_at: string;
|
|
11884
|
+
};
|
|
11885
|
+
Insert: {
|
|
11886
|
+
consumer_module_id: string;
|
|
11887
|
+
created_at?: string;
|
|
11888
|
+
credential_id: string;
|
|
11889
|
+
id?: string;
|
|
11890
|
+
model_id: string;
|
|
11891
|
+
notes?: string | null;
|
|
11892
|
+
updated_at?: string;
|
|
11893
|
+
};
|
|
11894
|
+
Update: {
|
|
11895
|
+
consumer_module_id?: string;
|
|
11896
|
+
created_at?: string;
|
|
11897
|
+
credential_id?: string;
|
|
11898
|
+
id?: string;
|
|
11899
|
+
model_id?: string;
|
|
11900
|
+
notes?: string | null;
|
|
11901
|
+
updated_at?: string;
|
|
11902
|
+
};
|
|
11903
|
+
Relationships: [{
|
|
11904
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
11905
|
+
columns: ["credential_id"];
|
|
11906
|
+
isOneToOne: false;
|
|
11907
|
+
referencedRelation: "ai_credentials";
|
|
11908
|
+
referencedColumns: ["id"];
|
|
11909
|
+
}, {
|
|
11910
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
11911
|
+
columns: ["model_id"];
|
|
11912
|
+
isOneToOne: false;
|
|
11913
|
+
referencedRelation: "ai_models";
|
|
11914
|
+
referencedColumns: ["id"];
|
|
11915
|
+
}];
|
|
11916
|
+
};
|
|
11917
|
+
ai_providers: {
|
|
11918
|
+
Row: {
|
|
11919
|
+
active: boolean;
|
|
11920
|
+
auth_type: string;
|
|
11921
|
+
base_url: string | null;
|
|
11922
|
+
created_at: string;
|
|
11923
|
+
id: string;
|
|
11924
|
+
name: string;
|
|
11925
|
+
slug: string;
|
|
11926
|
+
updated_at: string;
|
|
11927
|
+
};
|
|
11928
|
+
Insert: {
|
|
11929
|
+
active?: boolean;
|
|
11930
|
+
auth_type?: string;
|
|
11931
|
+
base_url?: string | null;
|
|
11932
|
+
created_at?: string;
|
|
11933
|
+
id?: string;
|
|
11934
|
+
name: string;
|
|
11935
|
+
slug: string;
|
|
11936
|
+
updated_at?: string;
|
|
11937
|
+
};
|
|
11938
|
+
Update: {
|
|
11939
|
+
active?: boolean;
|
|
11940
|
+
auth_type?: string;
|
|
11941
|
+
base_url?: string | null;
|
|
11942
|
+
created_at?: string;
|
|
11943
|
+
id?: string;
|
|
11944
|
+
name?: string;
|
|
11945
|
+
slug?: string;
|
|
11946
|
+
updated_at?: string;
|
|
11947
|
+
};
|
|
11948
|
+
Relationships: [];
|
|
11949
|
+
};
|
|
11584
11950
|
app_settings: {
|
|
11585
11951
|
Row: {
|
|
11586
11952
|
created_at: string;
|
|
@@ -15184,6 +15550,27 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
15184
15550
|
referencedColumns: ["id"];
|
|
15185
15551
|
}];
|
|
15186
15552
|
};
|
|
15553
|
+
floriday_continuous_stock_cache: {
|
|
15554
|
+
Row: {
|
|
15555
|
+
connection_id: string;
|
|
15556
|
+
fetched_at: string;
|
|
15557
|
+
number_of_pieces: number;
|
|
15558
|
+
trade_item_id: string;
|
|
15559
|
+
};
|
|
15560
|
+
Insert: {
|
|
15561
|
+
connection_id: string;
|
|
15562
|
+
fetched_at?: string;
|
|
15563
|
+
number_of_pieces?: number;
|
|
15564
|
+
trade_item_id: string;
|
|
15565
|
+
};
|
|
15566
|
+
Update: {
|
|
15567
|
+
connection_id?: string;
|
|
15568
|
+
fetched_at?: string;
|
|
15569
|
+
number_of_pieces?: number;
|
|
15570
|
+
trade_item_id?: string;
|
|
15571
|
+
};
|
|
15572
|
+
Relationships: [];
|
|
15573
|
+
};
|
|
15187
15574
|
floriday_continuous_stock_queue: {
|
|
15188
15575
|
Row: {
|
|
15189
15576
|
attempts: number;
|
|
@@ -17307,39 +17694,60 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
17307
17694
|
};
|
|
17308
17695
|
manufacture_products: {
|
|
17309
17696
|
Row: {
|
|
17697
|
+
aantal_te_produceren: number;
|
|
17310
17698
|
created_at: string;
|
|
17311
17699
|
description: string | null;
|
|
17312
17700
|
id: string;
|
|
17313
17701
|
is_active: boolean;
|
|
17702
|
+
location_id: string | null;
|
|
17314
17703
|
name: string;
|
|
17704
|
+
partij_nummer: string | null;
|
|
17705
|
+
photos: import("../integrations/supabase/types").Json;
|
|
17315
17706
|
produced_stock: number;
|
|
17316
17707
|
product_code: string;
|
|
17317
17708
|
tenant_id: string;
|
|
17709
|
+
unit: string;
|
|
17318
17710
|
updated_at: string;
|
|
17319
17711
|
};
|
|
17320
17712
|
Insert: {
|
|
17713
|
+
aantal_te_produceren?: number;
|
|
17321
17714
|
created_at?: string;
|
|
17322
17715
|
description?: string | null;
|
|
17323
17716
|
id?: string;
|
|
17324
17717
|
is_active?: boolean;
|
|
17718
|
+
location_id?: string | null;
|
|
17325
17719
|
name: string;
|
|
17720
|
+
partij_nummer?: string | null;
|
|
17721
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17326
17722
|
produced_stock?: number;
|
|
17327
17723
|
product_code: string;
|
|
17328
17724
|
tenant_id: string;
|
|
17725
|
+
unit?: string;
|
|
17329
17726
|
updated_at?: string;
|
|
17330
17727
|
};
|
|
17331
17728
|
Update: {
|
|
17729
|
+
aantal_te_produceren?: number;
|
|
17332
17730
|
created_at?: string;
|
|
17333
17731
|
description?: string | null;
|
|
17334
17732
|
id?: string;
|
|
17335
17733
|
is_active?: boolean;
|
|
17734
|
+
location_id?: string | null;
|
|
17336
17735
|
name?: string;
|
|
17736
|
+
partij_nummer?: string | null;
|
|
17737
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
17337
17738
|
produced_stock?: number;
|
|
17338
17739
|
product_code?: string;
|
|
17339
17740
|
tenant_id?: string;
|
|
17741
|
+
unit?: string;
|
|
17340
17742
|
updated_at?: string;
|
|
17341
17743
|
};
|
|
17342
|
-
Relationships: [
|
|
17744
|
+
Relationships: [{
|
|
17745
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
17746
|
+
columns: ["location_id"];
|
|
17747
|
+
isOneToOne: false;
|
|
17748
|
+
referencedRelation: "locations";
|
|
17749
|
+
referencedColumns: ["id"];
|
|
17750
|
+
}];
|
|
17343
17751
|
};
|
|
17344
17752
|
monteurs: {
|
|
17345
17753
|
Row: {
|
|
@@ -22203,6 +22611,12 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
|
|
|
22203
22611
|
};
|
|
22204
22612
|
Returns: undefined;
|
|
22205
22613
|
};
|
|
22614
|
+
next_manufacture_partij: {
|
|
22615
|
+
Args: {
|
|
22616
|
+
_tenant_id: string;
|
|
22617
|
+
};
|
|
22618
|
+
Returns: string;
|
|
22619
|
+
};
|
|
22206
22620
|
next_order_number: {
|
|
22207
22621
|
Args: {
|
|
22208
22622
|
p_prefix: string;
|
|
@@ -22930,6 +23344,165 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
22930
23344
|
};
|
|
22931
23345
|
Relationships: [];
|
|
22932
23346
|
};
|
|
23347
|
+
ai_credentials: {
|
|
23348
|
+
Row: {
|
|
23349
|
+
active: boolean;
|
|
23350
|
+
api_key: string;
|
|
23351
|
+
created_at: string;
|
|
23352
|
+
created_by: string | null;
|
|
23353
|
+
id: string;
|
|
23354
|
+
label: string;
|
|
23355
|
+
provider_id: string;
|
|
23356
|
+
updated_at: string;
|
|
23357
|
+
};
|
|
23358
|
+
Insert: {
|
|
23359
|
+
active?: boolean;
|
|
23360
|
+
api_key: string;
|
|
23361
|
+
created_at?: string;
|
|
23362
|
+
created_by?: string | null;
|
|
23363
|
+
id?: string;
|
|
23364
|
+
label: string;
|
|
23365
|
+
provider_id: string;
|
|
23366
|
+
updated_at?: string;
|
|
23367
|
+
};
|
|
23368
|
+
Update: {
|
|
23369
|
+
active?: boolean;
|
|
23370
|
+
api_key?: string;
|
|
23371
|
+
created_at?: string;
|
|
23372
|
+
created_by?: string | null;
|
|
23373
|
+
id?: string;
|
|
23374
|
+
label?: string;
|
|
23375
|
+
provider_id?: string;
|
|
23376
|
+
updated_at?: string;
|
|
23377
|
+
};
|
|
23378
|
+
Relationships: [{
|
|
23379
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
23380
|
+
columns: ["provider_id"];
|
|
23381
|
+
isOneToOne: false;
|
|
23382
|
+
referencedRelation: "ai_providers";
|
|
23383
|
+
referencedColumns: ["id"];
|
|
23384
|
+
}];
|
|
23385
|
+
};
|
|
23386
|
+
ai_models: {
|
|
23387
|
+
Row: {
|
|
23388
|
+
active: boolean;
|
|
23389
|
+
context_window: number | null;
|
|
23390
|
+
created_at: string;
|
|
23391
|
+
display_name: string;
|
|
23392
|
+
id: string;
|
|
23393
|
+
is_default: boolean;
|
|
23394
|
+
modality: string;
|
|
23395
|
+
provider_id: string;
|
|
23396
|
+
slug: string;
|
|
23397
|
+
updated_at: string;
|
|
23398
|
+
};
|
|
23399
|
+
Insert: {
|
|
23400
|
+
active?: boolean;
|
|
23401
|
+
context_window?: number | null;
|
|
23402
|
+
created_at?: string;
|
|
23403
|
+
display_name: string;
|
|
23404
|
+
id?: string;
|
|
23405
|
+
is_default?: boolean;
|
|
23406
|
+
modality?: string;
|
|
23407
|
+
provider_id: string;
|
|
23408
|
+
slug: string;
|
|
23409
|
+
updated_at?: string;
|
|
23410
|
+
};
|
|
23411
|
+
Update: {
|
|
23412
|
+
active?: boolean;
|
|
23413
|
+
context_window?: number | null;
|
|
23414
|
+
created_at?: string;
|
|
23415
|
+
display_name?: string;
|
|
23416
|
+
id?: string;
|
|
23417
|
+
is_default?: boolean;
|
|
23418
|
+
modality?: string;
|
|
23419
|
+
provider_id?: string;
|
|
23420
|
+
slug?: string;
|
|
23421
|
+
updated_at?: string;
|
|
23422
|
+
};
|
|
23423
|
+
Relationships: [{
|
|
23424
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
23425
|
+
columns: ["provider_id"];
|
|
23426
|
+
isOneToOne: false;
|
|
23427
|
+
referencedRelation: "ai_providers";
|
|
23428
|
+
referencedColumns: ["id"];
|
|
23429
|
+
}];
|
|
23430
|
+
};
|
|
23431
|
+
ai_module_bindings: {
|
|
23432
|
+
Row: {
|
|
23433
|
+
consumer_module_id: string;
|
|
23434
|
+
created_at: string;
|
|
23435
|
+
credential_id: string;
|
|
23436
|
+
id: string;
|
|
23437
|
+
model_id: string;
|
|
23438
|
+
notes: string | null;
|
|
23439
|
+
updated_at: string;
|
|
23440
|
+
};
|
|
23441
|
+
Insert: {
|
|
23442
|
+
consumer_module_id: string;
|
|
23443
|
+
created_at?: string;
|
|
23444
|
+
credential_id: string;
|
|
23445
|
+
id?: string;
|
|
23446
|
+
model_id: string;
|
|
23447
|
+
notes?: string | null;
|
|
23448
|
+
updated_at?: string;
|
|
23449
|
+
};
|
|
23450
|
+
Update: {
|
|
23451
|
+
consumer_module_id?: string;
|
|
23452
|
+
created_at?: string;
|
|
23453
|
+
credential_id?: string;
|
|
23454
|
+
id?: string;
|
|
23455
|
+
model_id?: string;
|
|
23456
|
+
notes?: string | null;
|
|
23457
|
+
updated_at?: string;
|
|
23458
|
+
};
|
|
23459
|
+
Relationships: [{
|
|
23460
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
23461
|
+
columns: ["credential_id"];
|
|
23462
|
+
isOneToOne: false;
|
|
23463
|
+
referencedRelation: "ai_credentials";
|
|
23464
|
+
referencedColumns: ["id"];
|
|
23465
|
+
}, {
|
|
23466
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
23467
|
+
columns: ["model_id"];
|
|
23468
|
+
isOneToOne: false;
|
|
23469
|
+
referencedRelation: "ai_models";
|
|
23470
|
+
referencedColumns: ["id"];
|
|
23471
|
+
}];
|
|
23472
|
+
};
|
|
23473
|
+
ai_providers: {
|
|
23474
|
+
Row: {
|
|
23475
|
+
active: boolean;
|
|
23476
|
+
auth_type: string;
|
|
23477
|
+
base_url: string | null;
|
|
23478
|
+
created_at: string;
|
|
23479
|
+
id: string;
|
|
23480
|
+
name: string;
|
|
23481
|
+
slug: string;
|
|
23482
|
+
updated_at: string;
|
|
23483
|
+
};
|
|
23484
|
+
Insert: {
|
|
23485
|
+
active?: boolean;
|
|
23486
|
+
auth_type?: string;
|
|
23487
|
+
base_url?: string | null;
|
|
23488
|
+
created_at?: string;
|
|
23489
|
+
id?: string;
|
|
23490
|
+
name: string;
|
|
23491
|
+
slug: string;
|
|
23492
|
+
updated_at?: string;
|
|
23493
|
+
};
|
|
23494
|
+
Update: {
|
|
23495
|
+
active?: boolean;
|
|
23496
|
+
auth_type?: string;
|
|
23497
|
+
base_url?: string | null;
|
|
23498
|
+
created_at?: string;
|
|
23499
|
+
id?: string;
|
|
23500
|
+
name?: string;
|
|
23501
|
+
slug?: string;
|
|
23502
|
+
updated_at?: string;
|
|
23503
|
+
};
|
|
23504
|
+
Relationships: [];
|
|
23505
|
+
};
|
|
22933
23506
|
app_settings: {
|
|
22934
23507
|
Row: {
|
|
22935
23508
|
created_at: string;
|
|
@@ -26533,6 +27106,27 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
26533
27106
|
referencedColumns: ["id"];
|
|
26534
27107
|
}];
|
|
26535
27108
|
};
|
|
27109
|
+
floriday_continuous_stock_cache: {
|
|
27110
|
+
Row: {
|
|
27111
|
+
connection_id: string;
|
|
27112
|
+
fetched_at: string;
|
|
27113
|
+
number_of_pieces: number;
|
|
27114
|
+
trade_item_id: string;
|
|
27115
|
+
};
|
|
27116
|
+
Insert: {
|
|
27117
|
+
connection_id: string;
|
|
27118
|
+
fetched_at?: string;
|
|
27119
|
+
number_of_pieces?: number;
|
|
27120
|
+
trade_item_id: string;
|
|
27121
|
+
};
|
|
27122
|
+
Update: {
|
|
27123
|
+
connection_id?: string;
|
|
27124
|
+
fetched_at?: string;
|
|
27125
|
+
number_of_pieces?: number;
|
|
27126
|
+
trade_item_id?: string;
|
|
27127
|
+
};
|
|
27128
|
+
Relationships: [];
|
|
27129
|
+
};
|
|
26536
27130
|
floriday_continuous_stock_queue: {
|
|
26537
27131
|
Row: {
|
|
26538
27132
|
attempts: number;
|
|
@@ -28656,39 +29250,60 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
28656
29250
|
};
|
|
28657
29251
|
manufacture_products: {
|
|
28658
29252
|
Row: {
|
|
29253
|
+
aantal_te_produceren: number;
|
|
28659
29254
|
created_at: string;
|
|
28660
29255
|
description: string | null;
|
|
28661
29256
|
id: string;
|
|
28662
29257
|
is_active: boolean;
|
|
29258
|
+
location_id: string | null;
|
|
28663
29259
|
name: string;
|
|
29260
|
+
partij_nummer: string | null;
|
|
29261
|
+
photos: import("../integrations/supabase/types").Json;
|
|
28664
29262
|
produced_stock: number;
|
|
28665
29263
|
product_code: string;
|
|
28666
29264
|
tenant_id: string;
|
|
29265
|
+
unit: string;
|
|
28667
29266
|
updated_at: string;
|
|
28668
29267
|
};
|
|
28669
29268
|
Insert: {
|
|
29269
|
+
aantal_te_produceren?: number;
|
|
28670
29270
|
created_at?: string;
|
|
28671
29271
|
description?: string | null;
|
|
28672
29272
|
id?: string;
|
|
28673
29273
|
is_active?: boolean;
|
|
29274
|
+
location_id?: string | null;
|
|
28674
29275
|
name: string;
|
|
29276
|
+
partij_nummer?: string | null;
|
|
29277
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
28675
29278
|
produced_stock?: number;
|
|
28676
29279
|
product_code: string;
|
|
28677
29280
|
tenant_id: string;
|
|
29281
|
+
unit?: string;
|
|
28678
29282
|
updated_at?: string;
|
|
28679
29283
|
};
|
|
28680
29284
|
Update: {
|
|
29285
|
+
aantal_te_produceren?: number;
|
|
28681
29286
|
created_at?: string;
|
|
28682
29287
|
description?: string | null;
|
|
28683
29288
|
id?: string;
|
|
28684
29289
|
is_active?: boolean;
|
|
29290
|
+
location_id?: string | null;
|
|
28685
29291
|
name?: string;
|
|
29292
|
+
partij_nummer?: string | null;
|
|
29293
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
28686
29294
|
produced_stock?: number;
|
|
28687
29295
|
product_code?: string;
|
|
28688
29296
|
tenant_id?: string;
|
|
29297
|
+
unit?: string;
|
|
28689
29298
|
updated_at?: string;
|
|
28690
29299
|
};
|
|
28691
|
-
Relationships: [
|
|
29300
|
+
Relationships: [{
|
|
29301
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
29302
|
+
columns: ["location_id"];
|
|
29303
|
+
isOneToOne: false;
|
|
29304
|
+
referencedRelation: "locations";
|
|
29305
|
+
referencedColumns: ["id"];
|
|
29306
|
+
}];
|
|
28692
29307
|
};
|
|
28693
29308
|
monteurs: {
|
|
28694
29309
|
Row: {
|
|
@@ -33552,6 +34167,12 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
|
|
|
33552
34167
|
};
|
|
33553
34168
|
Returns: undefined;
|
|
33554
34169
|
};
|
|
34170
|
+
next_manufacture_partij: {
|
|
34171
|
+
Args: {
|
|
34172
|
+
_tenant_id: string;
|
|
34173
|
+
};
|
|
34174
|
+
Returns: string;
|
|
34175
|
+
};
|
|
33555
34176
|
next_order_number: {
|
|
33556
34177
|
Args: {
|
|
33557
34178
|
p_prefix: string;
|