@flowselections/floriday-authenticatie-module 1.0.14 → 1.0.15
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/integrations/supabase/auth-middleware.d.ts +231 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +231 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +231 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +239 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-product-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-product-features.js +59 -5
- package/dist-lib/lib/floricode-regulatory-features.d.ts +15 -0
- package/dist-lib/lib/floricode-regulatory-features.d.ts.map +1 -1
- package/dist-lib/lib/floricode-regulatory-features.js +77 -21
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +231 -0
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +231 -0
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +1386 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +231 -0
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +7161 -0
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1386 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +4158 -0
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2749,6 +2749,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
2749
2749
|
};
|
|
2750
2750
|
floricode_sync_state: {
|
|
2751
2751
|
Row: {
|
|
2752
|
+
cursor_skip: number;
|
|
2752
2753
|
error_message: string | null;
|
|
2753
2754
|
last_change_date_time: string | null;
|
|
2754
2755
|
last_sequence_number: number;
|
|
@@ -2758,6 +2759,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
2758
2759
|
updated_at: string;
|
|
2759
2760
|
};
|
|
2760
2761
|
Insert: {
|
|
2762
|
+
cursor_skip?: number;
|
|
2761
2763
|
error_message?: string | null;
|
|
2762
2764
|
last_change_date_time?: string | null;
|
|
2763
2765
|
last_sequence_number?: number;
|
|
@@ -2767,6 +2769,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
2767
2769
|
updated_at?: string;
|
|
2768
2770
|
};
|
|
2769
2771
|
Update: {
|
|
2772
|
+
cursor_skip?: number;
|
|
2770
2773
|
error_message?: string | null;
|
|
2771
2774
|
last_change_date_time?: string | null;
|
|
2772
2775
|
last_sequence_number?: number;
|
|
@@ -5114,6 +5117,93 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
5114
5117
|
};
|
|
5115
5118
|
Relationships: [];
|
|
5116
5119
|
};
|
|
5120
|
+
manufacture_product_components: {
|
|
5121
|
+
Row: {
|
|
5122
|
+
component_type: string;
|
|
5123
|
+
created_at: string;
|
|
5124
|
+
id: string;
|
|
5125
|
+
manufacture_product_id: string;
|
|
5126
|
+
product_group_id: string | null;
|
|
5127
|
+
quantity: number;
|
|
5128
|
+
trade_item_id: string | null;
|
|
5129
|
+
unit: string;
|
|
5130
|
+
};
|
|
5131
|
+
Insert: {
|
|
5132
|
+
component_type: string;
|
|
5133
|
+
created_at?: string;
|
|
5134
|
+
id?: string;
|
|
5135
|
+
manufacture_product_id: string;
|
|
5136
|
+
product_group_id?: string | null;
|
|
5137
|
+
quantity?: number;
|
|
5138
|
+
trade_item_id?: string | null;
|
|
5139
|
+
unit?: string;
|
|
5140
|
+
};
|
|
5141
|
+
Update: {
|
|
5142
|
+
component_type?: string;
|
|
5143
|
+
created_at?: string;
|
|
5144
|
+
id?: string;
|
|
5145
|
+
manufacture_product_id?: string;
|
|
5146
|
+
product_group_id?: string | null;
|
|
5147
|
+
quantity?: number;
|
|
5148
|
+
trade_item_id?: string | null;
|
|
5149
|
+
unit?: string;
|
|
5150
|
+
};
|
|
5151
|
+
Relationships: [{
|
|
5152
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5153
|
+
columns: ["manufacture_product_id"];
|
|
5154
|
+
isOneToOne: false;
|
|
5155
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
5156
|
+
referencedColumns: ["manufacture_product_id"];
|
|
5157
|
+
}, {
|
|
5158
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
5159
|
+
columns: ["manufacture_product_id"];
|
|
5160
|
+
isOneToOne: false;
|
|
5161
|
+
referencedRelation: "manufacture_products";
|
|
5162
|
+
referencedColumns: ["id"];
|
|
5163
|
+
}, {
|
|
5164
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
5165
|
+
columns: ["product_group_id"];
|
|
5166
|
+
isOneToOne: false;
|
|
5167
|
+
referencedRelation: "product_groups";
|
|
5168
|
+
referencedColumns: ["id"];
|
|
5169
|
+
}];
|
|
5170
|
+
};
|
|
5171
|
+
manufacture_products: {
|
|
5172
|
+
Row: {
|
|
5173
|
+
created_at: string;
|
|
5174
|
+
description: string | null;
|
|
5175
|
+
id: string;
|
|
5176
|
+
is_active: boolean;
|
|
5177
|
+
name: string;
|
|
5178
|
+
produced_stock: number;
|
|
5179
|
+
product_code: string;
|
|
5180
|
+
tenant_id: string;
|
|
5181
|
+
updated_at: string;
|
|
5182
|
+
};
|
|
5183
|
+
Insert: {
|
|
5184
|
+
created_at?: string;
|
|
5185
|
+
description?: string | null;
|
|
5186
|
+
id?: string;
|
|
5187
|
+
is_active?: boolean;
|
|
5188
|
+
name: string;
|
|
5189
|
+
produced_stock?: number;
|
|
5190
|
+
product_code: string;
|
|
5191
|
+
tenant_id: string;
|
|
5192
|
+
updated_at?: string;
|
|
5193
|
+
};
|
|
5194
|
+
Update: {
|
|
5195
|
+
created_at?: string;
|
|
5196
|
+
description?: string | null;
|
|
5197
|
+
id?: string;
|
|
5198
|
+
is_active?: boolean;
|
|
5199
|
+
name?: string;
|
|
5200
|
+
produced_stock?: number;
|
|
5201
|
+
product_code?: string;
|
|
5202
|
+
tenant_id?: string;
|
|
5203
|
+
updated_at?: string;
|
|
5204
|
+
};
|
|
5205
|
+
Relationships: [];
|
|
5206
|
+
};
|
|
5117
5207
|
monteurs: {
|
|
5118
5208
|
Row: {
|
|
5119
5209
|
avatar_url: string | null;
|
|
@@ -6074,6 +6164,66 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
6074
6164
|
};
|
|
6075
6165
|
Relationships: [];
|
|
6076
6166
|
};
|
|
6167
|
+
product_group_items: {
|
|
6168
|
+
Row: {
|
|
6169
|
+
created_at: string;
|
|
6170
|
+
id: string;
|
|
6171
|
+
product_group_id: string;
|
|
6172
|
+
quantity: number;
|
|
6173
|
+
trade_item_id: string;
|
|
6174
|
+
};
|
|
6175
|
+
Insert: {
|
|
6176
|
+
created_at?: string;
|
|
6177
|
+
id?: string;
|
|
6178
|
+
product_group_id: string;
|
|
6179
|
+
quantity?: number;
|
|
6180
|
+
trade_item_id: string;
|
|
6181
|
+
};
|
|
6182
|
+
Update: {
|
|
6183
|
+
created_at?: string;
|
|
6184
|
+
id?: string;
|
|
6185
|
+
product_group_id?: string;
|
|
6186
|
+
quantity?: number;
|
|
6187
|
+
trade_item_id?: string;
|
|
6188
|
+
};
|
|
6189
|
+
Relationships: [{
|
|
6190
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
6191
|
+
columns: ["product_group_id"];
|
|
6192
|
+
isOneToOne: false;
|
|
6193
|
+
referencedRelation: "product_groups";
|
|
6194
|
+
referencedColumns: ["id"];
|
|
6195
|
+
}];
|
|
6196
|
+
};
|
|
6197
|
+
product_groups: {
|
|
6198
|
+
Row: {
|
|
6199
|
+
created_at: string;
|
|
6200
|
+
description: string | null;
|
|
6201
|
+
id: string;
|
|
6202
|
+
is_active: boolean;
|
|
6203
|
+
name: string;
|
|
6204
|
+
tenant_id: string;
|
|
6205
|
+
updated_at: string;
|
|
6206
|
+
};
|
|
6207
|
+
Insert: {
|
|
6208
|
+
created_at?: string;
|
|
6209
|
+
description?: string | null;
|
|
6210
|
+
id?: string;
|
|
6211
|
+
is_active?: boolean;
|
|
6212
|
+
name: string;
|
|
6213
|
+
tenant_id: string;
|
|
6214
|
+
updated_at?: string;
|
|
6215
|
+
};
|
|
6216
|
+
Update: {
|
|
6217
|
+
created_at?: string;
|
|
6218
|
+
description?: string | null;
|
|
6219
|
+
id?: string;
|
|
6220
|
+
is_active?: boolean;
|
|
6221
|
+
name?: string;
|
|
6222
|
+
tenant_id?: string;
|
|
6223
|
+
updated_at?: string;
|
|
6224
|
+
};
|
|
6225
|
+
Relationships: [];
|
|
6226
|
+
};
|
|
6077
6227
|
products: {
|
|
6078
6228
|
Row: {
|
|
6079
6229
|
barcode: string | null;
|
|
@@ -7235,6 +7385,48 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
7235
7385
|
};
|
|
7236
7386
|
Relationships: [];
|
|
7237
7387
|
};
|
|
7388
|
+
trade_item_stock: {
|
|
7389
|
+
Row: {
|
|
7390
|
+
connection_id: string;
|
|
7391
|
+
created_at: string;
|
|
7392
|
+
id: string;
|
|
7393
|
+
incoming_stock: number;
|
|
7394
|
+
minimum_stock: number;
|
|
7395
|
+
notes: string | null;
|
|
7396
|
+
physical_stock: number;
|
|
7397
|
+
reserved_stock: number;
|
|
7398
|
+
trade_item_key: string;
|
|
7399
|
+
updated_at: string;
|
|
7400
|
+
user_id: string;
|
|
7401
|
+
};
|
|
7402
|
+
Insert: {
|
|
7403
|
+
connection_id: string;
|
|
7404
|
+
created_at?: string;
|
|
7405
|
+
id?: string;
|
|
7406
|
+
incoming_stock?: number;
|
|
7407
|
+
minimum_stock?: number;
|
|
7408
|
+
notes?: string | null;
|
|
7409
|
+
physical_stock?: number;
|
|
7410
|
+
reserved_stock?: number;
|
|
7411
|
+
trade_item_key: string;
|
|
7412
|
+
updated_at?: string;
|
|
7413
|
+
user_id: string;
|
|
7414
|
+
};
|
|
7415
|
+
Update: {
|
|
7416
|
+
connection_id?: string;
|
|
7417
|
+
created_at?: string;
|
|
7418
|
+
id?: string;
|
|
7419
|
+
incoming_stock?: number;
|
|
7420
|
+
minimum_stock?: number;
|
|
7421
|
+
notes?: string | null;
|
|
7422
|
+
physical_stock?: number;
|
|
7423
|
+
reserved_stock?: number;
|
|
7424
|
+
trade_item_key?: string;
|
|
7425
|
+
updated_at?: string;
|
|
7426
|
+
user_id?: string;
|
|
7427
|
+
};
|
|
7428
|
+
Relationships: [];
|
|
7429
|
+
};
|
|
7238
7430
|
twinfield_connections: {
|
|
7239
7431
|
Row: {
|
|
7240
7432
|
access_token: string | null;
|
|
@@ -8419,6 +8611,35 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
8419
8611
|
};
|
|
8420
8612
|
Relationships: [];
|
|
8421
8613
|
};
|
|
8614
|
+
manufacture_product_possible_stock_view: {
|
|
8615
|
+
Row: {
|
|
8616
|
+
component_count: number | null;
|
|
8617
|
+
manufacture_product_id: string | null;
|
|
8618
|
+
possible_stock: number | null;
|
|
8619
|
+
};
|
|
8620
|
+
Relationships: [];
|
|
8621
|
+
};
|
|
8622
|
+
product_group_stock_view: {
|
|
8623
|
+
Row: {
|
|
8624
|
+
item_count: number | null;
|
|
8625
|
+
product_group_id: string | null;
|
|
8626
|
+
total_stock: number | null;
|
|
8627
|
+
};
|
|
8628
|
+
Relationships: [{
|
|
8629
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
8630
|
+
columns: ["product_group_id"];
|
|
8631
|
+
isOneToOne: false;
|
|
8632
|
+
referencedRelation: "product_groups";
|
|
8633
|
+
referencedColumns: ["id"];
|
|
8634
|
+
}];
|
|
8635
|
+
};
|
|
8636
|
+
trade_item_stock_view: {
|
|
8637
|
+
Row: {
|
|
8638
|
+
stock: number | null;
|
|
8639
|
+
trade_item_id: string | null;
|
|
8640
|
+
};
|
|
8641
|
+
Relationships: [];
|
|
8642
|
+
};
|
|
8422
8643
|
v_external_customers_exact: {
|
|
8423
8644
|
Row: {
|
|
8424
8645
|
account_number: string | null;
|
|
@@ -8693,6 +8914,10 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
8693
8914
|
Args: never;
|
|
8694
8915
|
Returns: number;
|
|
8695
8916
|
};
|
|
8917
|
+
count_distinct_regulatory_products: {
|
|
8918
|
+
Args: never;
|
|
8919
|
+
Returns: number;
|
|
8920
|
+
};
|
|
8696
8921
|
current_monteur_id: {
|
|
8697
8922
|
Args: never;
|
|
8698
8923
|
Returns: string;
|
|
@@ -8989,6 +9214,12 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
|
|
|
8989
9214
|
row_count: number;
|
|
8990
9215
|
}[];
|
|
8991
9216
|
};
|
|
9217
|
+
refresh_floricode_derived_for_product: {
|
|
9218
|
+
Args: {
|
|
9219
|
+
p_product_code: string;
|
|
9220
|
+
};
|
|
9221
|
+
Returns: number;
|
|
9222
|
+
};
|
|
8992
9223
|
reset_floriday_sync_cursor: {
|
|
8993
9224
|
Args: {
|
|
8994
9225
|
p_connection_id: string;
|
|
@@ -12060,6 +12291,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
12060
12291
|
};
|
|
12061
12292
|
floricode_sync_state: {
|
|
12062
12293
|
Row: {
|
|
12294
|
+
cursor_skip: number;
|
|
12063
12295
|
error_message: string | null;
|
|
12064
12296
|
last_change_date_time: string | null;
|
|
12065
12297
|
last_sequence_number: number;
|
|
@@ -12069,6 +12301,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
12069
12301
|
updated_at: string;
|
|
12070
12302
|
};
|
|
12071
12303
|
Insert: {
|
|
12304
|
+
cursor_skip?: number;
|
|
12072
12305
|
error_message?: string | null;
|
|
12073
12306
|
last_change_date_time?: string | null;
|
|
12074
12307
|
last_sequence_number?: number;
|
|
@@ -12078,6 +12311,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
12078
12311
|
updated_at?: string;
|
|
12079
12312
|
};
|
|
12080
12313
|
Update: {
|
|
12314
|
+
cursor_skip?: number;
|
|
12081
12315
|
error_message?: string | null;
|
|
12082
12316
|
last_change_date_time?: string | null;
|
|
12083
12317
|
last_sequence_number?: number;
|
|
@@ -14425,6 +14659,93 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
14425
14659
|
};
|
|
14426
14660
|
Relationships: [];
|
|
14427
14661
|
};
|
|
14662
|
+
manufacture_product_components: {
|
|
14663
|
+
Row: {
|
|
14664
|
+
component_type: string;
|
|
14665
|
+
created_at: string;
|
|
14666
|
+
id: string;
|
|
14667
|
+
manufacture_product_id: string;
|
|
14668
|
+
product_group_id: string | null;
|
|
14669
|
+
quantity: number;
|
|
14670
|
+
trade_item_id: string | null;
|
|
14671
|
+
unit: string;
|
|
14672
|
+
};
|
|
14673
|
+
Insert: {
|
|
14674
|
+
component_type: string;
|
|
14675
|
+
created_at?: string;
|
|
14676
|
+
id?: string;
|
|
14677
|
+
manufacture_product_id: string;
|
|
14678
|
+
product_group_id?: string | null;
|
|
14679
|
+
quantity?: number;
|
|
14680
|
+
trade_item_id?: string | null;
|
|
14681
|
+
unit?: string;
|
|
14682
|
+
};
|
|
14683
|
+
Update: {
|
|
14684
|
+
component_type?: string;
|
|
14685
|
+
created_at?: string;
|
|
14686
|
+
id?: string;
|
|
14687
|
+
manufacture_product_id?: string;
|
|
14688
|
+
product_group_id?: string | null;
|
|
14689
|
+
quantity?: number;
|
|
14690
|
+
trade_item_id?: string | null;
|
|
14691
|
+
unit?: string;
|
|
14692
|
+
};
|
|
14693
|
+
Relationships: [{
|
|
14694
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
14695
|
+
columns: ["manufacture_product_id"];
|
|
14696
|
+
isOneToOne: false;
|
|
14697
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
14698
|
+
referencedColumns: ["manufacture_product_id"];
|
|
14699
|
+
}, {
|
|
14700
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
14701
|
+
columns: ["manufacture_product_id"];
|
|
14702
|
+
isOneToOne: false;
|
|
14703
|
+
referencedRelation: "manufacture_products";
|
|
14704
|
+
referencedColumns: ["id"];
|
|
14705
|
+
}, {
|
|
14706
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
14707
|
+
columns: ["product_group_id"];
|
|
14708
|
+
isOneToOne: false;
|
|
14709
|
+
referencedRelation: "product_groups";
|
|
14710
|
+
referencedColumns: ["id"];
|
|
14711
|
+
}];
|
|
14712
|
+
};
|
|
14713
|
+
manufacture_products: {
|
|
14714
|
+
Row: {
|
|
14715
|
+
created_at: string;
|
|
14716
|
+
description: string | null;
|
|
14717
|
+
id: string;
|
|
14718
|
+
is_active: boolean;
|
|
14719
|
+
name: string;
|
|
14720
|
+
produced_stock: number;
|
|
14721
|
+
product_code: string;
|
|
14722
|
+
tenant_id: string;
|
|
14723
|
+
updated_at: string;
|
|
14724
|
+
};
|
|
14725
|
+
Insert: {
|
|
14726
|
+
created_at?: string;
|
|
14727
|
+
description?: string | null;
|
|
14728
|
+
id?: string;
|
|
14729
|
+
is_active?: boolean;
|
|
14730
|
+
name: string;
|
|
14731
|
+
produced_stock?: number;
|
|
14732
|
+
product_code: string;
|
|
14733
|
+
tenant_id: string;
|
|
14734
|
+
updated_at?: string;
|
|
14735
|
+
};
|
|
14736
|
+
Update: {
|
|
14737
|
+
created_at?: string;
|
|
14738
|
+
description?: string | null;
|
|
14739
|
+
id?: string;
|
|
14740
|
+
is_active?: boolean;
|
|
14741
|
+
name?: string;
|
|
14742
|
+
produced_stock?: number;
|
|
14743
|
+
product_code?: string;
|
|
14744
|
+
tenant_id?: string;
|
|
14745
|
+
updated_at?: string;
|
|
14746
|
+
};
|
|
14747
|
+
Relationships: [];
|
|
14748
|
+
};
|
|
14428
14749
|
monteurs: {
|
|
14429
14750
|
Row: {
|
|
14430
14751
|
avatar_url: string | null;
|
|
@@ -15385,6 +15706,66 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
15385
15706
|
};
|
|
15386
15707
|
Relationships: [];
|
|
15387
15708
|
};
|
|
15709
|
+
product_group_items: {
|
|
15710
|
+
Row: {
|
|
15711
|
+
created_at: string;
|
|
15712
|
+
id: string;
|
|
15713
|
+
product_group_id: string;
|
|
15714
|
+
quantity: number;
|
|
15715
|
+
trade_item_id: string;
|
|
15716
|
+
};
|
|
15717
|
+
Insert: {
|
|
15718
|
+
created_at?: string;
|
|
15719
|
+
id?: string;
|
|
15720
|
+
product_group_id: string;
|
|
15721
|
+
quantity?: number;
|
|
15722
|
+
trade_item_id: string;
|
|
15723
|
+
};
|
|
15724
|
+
Update: {
|
|
15725
|
+
created_at?: string;
|
|
15726
|
+
id?: string;
|
|
15727
|
+
product_group_id?: string;
|
|
15728
|
+
quantity?: number;
|
|
15729
|
+
trade_item_id?: string;
|
|
15730
|
+
};
|
|
15731
|
+
Relationships: [{
|
|
15732
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
15733
|
+
columns: ["product_group_id"];
|
|
15734
|
+
isOneToOne: false;
|
|
15735
|
+
referencedRelation: "product_groups";
|
|
15736
|
+
referencedColumns: ["id"];
|
|
15737
|
+
}];
|
|
15738
|
+
};
|
|
15739
|
+
product_groups: {
|
|
15740
|
+
Row: {
|
|
15741
|
+
created_at: string;
|
|
15742
|
+
description: string | null;
|
|
15743
|
+
id: string;
|
|
15744
|
+
is_active: boolean;
|
|
15745
|
+
name: string;
|
|
15746
|
+
tenant_id: string;
|
|
15747
|
+
updated_at: string;
|
|
15748
|
+
};
|
|
15749
|
+
Insert: {
|
|
15750
|
+
created_at?: string;
|
|
15751
|
+
description?: string | null;
|
|
15752
|
+
id?: string;
|
|
15753
|
+
is_active?: boolean;
|
|
15754
|
+
name: string;
|
|
15755
|
+
tenant_id: string;
|
|
15756
|
+
updated_at?: string;
|
|
15757
|
+
};
|
|
15758
|
+
Update: {
|
|
15759
|
+
created_at?: string;
|
|
15760
|
+
description?: string | null;
|
|
15761
|
+
id?: string;
|
|
15762
|
+
is_active?: boolean;
|
|
15763
|
+
name?: string;
|
|
15764
|
+
tenant_id?: string;
|
|
15765
|
+
updated_at?: string;
|
|
15766
|
+
};
|
|
15767
|
+
Relationships: [];
|
|
15768
|
+
};
|
|
15388
15769
|
products: {
|
|
15389
15770
|
Row: {
|
|
15390
15771
|
barcode: string | null;
|
|
@@ -16546,6 +16927,48 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
16546
16927
|
};
|
|
16547
16928
|
Relationships: [];
|
|
16548
16929
|
};
|
|
16930
|
+
trade_item_stock: {
|
|
16931
|
+
Row: {
|
|
16932
|
+
connection_id: string;
|
|
16933
|
+
created_at: string;
|
|
16934
|
+
id: string;
|
|
16935
|
+
incoming_stock: number;
|
|
16936
|
+
minimum_stock: number;
|
|
16937
|
+
notes: string | null;
|
|
16938
|
+
physical_stock: number;
|
|
16939
|
+
reserved_stock: number;
|
|
16940
|
+
trade_item_key: string;
|
|
16941
|
+
updated_at: string;
|
|
16942
|
+
user_id: string;
|
|
16943
|
+
};
|
|
16944
|
+
Insert: {
|
|
16945
|
+
connection_id: string;
|
|
16946
|
+
created_at?: string;
|
|
16947
|
+
id?: string;
|
|
16948
|
+
incoming_stock?: number;
|
|
16949
|
+
minimum_stock?: number;
|
|
16950
|
+
notes?: string | null;
|
|
16951
|
+
physical_stock?: number;
|
|
16952
|
+
reserved_stock?: number;
|
|
16953
|
+
trade_item_key: string;
|
|
16954
|
+
updated_at?: string;
|
|
16955
|
+
user_id: string;
|
|
16956
|
+
};
|
|
16957
|
+
Update: {
|
|
16958
|
+
connection_id?: string;
|
|
16959
|
+
created_at?: string;
|
|
16960
|
+
id?: string;
|
|
16961
|
+
incoming_stock?: number;
|
|
16962
|
+
minimum_stock?: number;
|
|
16963
|
+
notes?: string | null;
|
|
16964
|
+
physical_stock?: number;
|
|
16965
|
+
reserved_stock?: number;
|
|
16966
|
+
trade_item_key?: string;
|
|
16967
|
+
updated_at?: string;
|
|
16968
|
+
user_id?: string;
|
|
16969
|
+
};
|
|
16970
|
+
Relationships: [];
|
|
16971
|
+
};
|
|
16549
16972
|
twinfield_connections: {
|
|
16550
16973
|
Row: {
|
|
16551
16974
|
access_token: string | null;
|
|
@@ -17730,6 +18153,35 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
17730
18153
|
};
|
|
17731
18154
|
Relationships: [];
|
|
17732
18155
|
};
|
|
18156
|
+
manufacture_product_possible_stock_view: {
|
|
18157
|
+
Row: {
|
|
18158
|
+
component_count: number | null;
|
|
18159
|
+
manufacture_product_id: string | null;
|
|
18160
|
+
possible_stock: number | null;
|
|
18161
|
+
};
|
|
18162
|
+
Relationships: [];
|
|
18163
|
+
};
|
|
18164
|
+
product_group_stock_view: {
|
|
18165
|
+
Row: {
|
|
18166
|
+
item_count: number | null;
|
|
18167
|
+
product_group_id: string | null;
|
|
18168
|
+
total_stock: number | null;
|
|
18169
|
+
};
|
|
18170
|
+
Relationships: [{
|
|
18171
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
18172
|
+
columns: ["product_group_id"];
|
|
18173
|
+
isOneToOne: false;
|
|
18174
|
+
referencedRelation: "product_groups";
|
|
18175
|
+
referencedColumns: ["id"];
|
|
18176
|
+
}];
|
|
18177
|
+
};
|
|
18178
|
+
trade_item_stock_view: {
|
|
18179
|
+
Row: {
|
|
18180
|
+
stock: number | null;
|
|
18181
|
+
trade_item_id: string | null;
|
|
18182
|
+
};
|
|
18183
|
+
Relationships: [];
|
|
18184
|
+
};
|
|
17733
18185
|
v_external_customers_exact: {
|
|
17734
18186
|
Row: {
|
|
17735
18187
|
account_number: string | null;
|
|
@@ -18004,6 +18456,10 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
18004
18456
|
Args: never;
|
|
18005
18457
|
Returns: number;
|
|
18006
18458
|
};
|
|
18459
|
+
count_distinct_regulatory_products: {
|
|
18460
|
+
Args: never;
|
|
18461
|
+
Returns: number;
|
|
18462
|
+
};
|
|
18007
18463
|
current_monteur_id: {
|
|
18008
18464
|
Args: never;
|
|
18009
18465
|
Returns: string;
|
|
@@ -18300,6 +18756,12 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
|
|
|
18300
18756
|
row_count: number;
|
|
18301
18757
|
}[];
|
|
18302
18758
|
};
|
|
18759
|
+
refresh_floricode_derived_for_product: {
|
|
18760
|
+
Args: {
|
|
18761
|
+
p_product_code: string;
|
|
18762
|
+
};
|
|
18763
|
+
Returns: number;
|
|
18764
|
+
};
|
|
18303
18765
|
reset_floriday_sync_cursor: {
|
|
18304
18766
|
Args: {
|
|
18305
18767
|
p_connection_id: string;
|
|
@@ -21369,6 +21831,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
21369
21831
|
};
|
|
21370
21832
|
floricode_sync_state: {
|
|
21371
21833
|
Row: {
|
|
21834
|
+
cursor_skip: number;
|
|
21372
21835
|
error_message: string | null;
|
|
21373
21836
|
last_change_date_time: string | null;
|
|
21374
21837
|
last_sequence_number: number;
|
|
@@ -21378,6 +21841,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
21378
21841
|
updated_at: string;
|
|
21379
21842
|
};
|
|
21380
21843
|
Insert: {
|
|
21844
|
+
cursor_skip?: number;
|
|
21381
21845
|
error_message?: string | null;
|
|
21382
21846
|
last_change_date_time?: string | null;
|
|
21383
21847
|
last_sequence_number?: number;
|
|
@@ -21387,6 +21851,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
21387
21851
|
updated_at?: string;
|
|
21388
21852
|
};
|
|
21389
21853
|
Update: {
|
|
21854
|
+
cursor_skip?: number;
|
|
21390
21855
|
error_message?: string | null;
|
|
21391
21856
|
last_change_date_time?: string | null;
|
|
21392
21857
|
last_sequence_number?: number;
|
|
@@ -23734,6 +24199,93 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
23734
24199
|
};
|
|
23735
24200
|
Relationships: [];
|
|
23736
24201
|
};
|
|
24202
|
+
manufacture_product_components: {
|
|
24203
|
+
Row: {
|
|
24204
|
+
component_type: string;
|
|
24205
|
+
created_at: string;
|
|
24206
|
+
id: string;
|
|
24207
|
+
manufacture_product_id: string;
|
|
24208
|
+
product_group_id: string | null;
|
|
24209
|
+
quantity: number;
|
|
24210
|
+
trade_item_id: string | null;
|
|
24211
|
+
unit: string;
|
|
24212
|
+
};
|
|
24213
|
+
Insert: {
|
|
24214
|
+
component_type: string;
|
|
24215
|
+
created_at?: string;
|
|
24216
|
+
id?: string;
|
|
24217
|
+
manufacture_product_id: string;
|
|
24218
|
+
product_group_id?: string | null;
|
|
24219
|
+
quantity?: number;
|
|
24220
|
+
trade_item_id?: string | null;
|
|
24221
|
+
unit?: string;
|
|
24222
|
+
};
|
|
24223
|
+
Update: {
|
|
24224
|
+
component_type?: string;
|
|
24225
|
+
created_at?: string;
|
|
24226
|
+
id?: string;
|
|
24227
|
+
manufacture_product_id?: string;
|
|
24228
|
+
product_group_id?: string | null;
|
|
24229
|
+
quantity?: number;
|
|
24230
|
+
trade_item_id?: string | null;
|
|
24231
|
+
unit?: string;
|
|
24232
|
+
};
|
|
24233
|
+
Relationships: [{
|
|
24234
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
24235
|
+
columns: ["manufacture_product_id"];
|
|
24236
|
+
isOneToOne: false;
|
|
24237
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
24238
|
+
referencedColumns: ["manufacture_product_id"];
|
|
24239
|
+
}, {
|
|
24240
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
24241
|
+
columns: ["manufacture_product_id"];
|
|
24242
|
+
isOneToOne: false;
|
|
24243
|
+
referencedRelation: "manufacture_products";
|
|
24244
|
+
referencedColumns: ["id"];
|
|
24245
|
+
}, {
|
|
24246
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
24247
|
+
columns: ["product_group_id"];
|
|
24248
|
+
isOneToOne: false;
|
|
24249
|
+
referencedRelation: "product_groups";
|
|
24250
|
+
referencedColumns: ["id"];
|
|
24251
|
+
}];
|
|
24252
|
+
};
|
|
24253
|
+
manufacture_products: {
|
|
24254
|
+
Row: {
|
|
24255
|
+
created_at: string;
|
|
24256
|
+
description: string | null;
|
|
24257
|
+
id: string;
|
|
24258
|
+
is_active: boolean;
|
|
24259
|
+
name: string;
|
|
24260
|
+
produced_stock: number;
|
|
24261
|
+
product_code: string;
|
|
24262
|
+
tenant_id: string;
|
|
24263
|
+
updated_at: string;
|
|
24264
|
+
};
|
|
24265
|
+
Insert: {
|
|
24266
|
+
created_at?: string;
|
|
24267
|
+
description?: string | null;
|
|
24268
|
+
id?: string;
|
|
24269
|
+
is_active?: boolean;
|
|
24270
|
+
name: string;
|
|
24271
|
+
produced_stock?: number;
|
|
24272
|
+
product_code: string;
|
|
24273
|
+
tenant_id: string;
|
|
24274
|
+
updated_at?: string;
|
|
24275
|
+
};
|
|
24276
|
+
Update: {
|
|
24277
|
+
created_at?: string;
|
|
24278
|
+
description?: string | null;
|
|
24279
|
+
id?: string;
|
|
24280
|
+
is_active?: boolean;
|
|
24281
|
+
name?: string;
|
|
24282
|
+
produced_stock?: number;
|
|
24283
|
+
product_code?: string;
|
|
24284
|
+
tenant_id?: string;
|
|
24285
|
+
updated_at?: string;
|
|
24286
|
+
};
|
|
24287
|
+
Relationships: [];
|
|
24288
|
+
};
|
|
23737
24289
|
monteurs: {
|
|
23738
24290
|
Row: {
|
|
23739
24291
|
avatar_url: string | null;
|
|
@@ -24694,6 +25246,66 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
24694
25246
|
};
|
|
24695
25247
|
Relationships: [];
|
|
24696
25248
|
};
|
|
25249
|
+
product_group_items: {
|
|
25250
|
+
Row: {
|
|
25251
|
+
created_at: string;
|
|
25252
|
+
id: string;
|
|
25253
|
+
product_group_id: string;
|
|
25254
|
+
quantity: number;
|
|
25255
|
+
trade_item_id: string;
|
|
25256
|
+
};
|
|
25257
|
+
Insert: {
|
|
25258
|
+
created_at?: string;
|
|
25259
|
+
id?: string;
|
|
25260
|
+
product_group_id: string;
|
|
25261
|
+
quantity?: number;
|
|
25262
|
+
trade_item_id: string;
|
|
25263
|
+
};
|
|
25264
|
+
Update: {
|
|
25265
|
+
created_at?: string;
|
|
25266
|
+
id?: string;
|
|
25267
|
+
product_group_id?: string;
|
|
25268
|
+
quantity?: number;
|
|
25269
|
+
trade_item_id?: string;
|
|
25270
|
+
};
|
|
25271
|
+
Relationships: [{
|
|
25272
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
25273
|
+
columns: ["product_group_id"];
|
|
25274
|
+
isOneToOne: false;
|
|
25275
|
+
referencedRelation: "product_groups";
|
|
25276
|
+
referencedColumns: ["id"];
|
|
25277
|
+
}];
|
|
25278
|
+
};
|
|
25279
|
+
product_groups: {
|
|
25280
|
+
Row: {
|
|
25281
|
+
created_at: string;
|
|
25282
|
+
description: string | null;
|
|
25283
|
+
id: string;
|
|
25284
|
+
is_active: boolean;
|
|
25285
|
+
name: string;
|
|
25286
|
+
tenant_id: string;
|
|
25287
|
+
updated_at: string;
|
|
25288
|
+
};
|
|
25289
|
+
Insert: {
|
|
25290
|
+
created_at?: string;
|
|
25291
|
+
description?: string | null;
|
|
25292
|
+
id?: string;
|
|
25293
|
+
is_active?: boolean;
|
|
25294
|
+
name: string;
|
|
25295
|
+
tenant_id: string;
|
|
25296
|
+
updated_at?: string;
|
|
25297
|
+
};
|
|
25298
|
+
Update: {
|
|
25299
|
+
created_at?: string;
|
|
25300
|
+
description?: string | null;
|
|
25301
|
+
id?: string;
|
|
25302
|
+
is_active?: boolean;
|
|
25303
|
+
name?: string;
|
|
25304
|
+
tenant_id?: string;
|
|
25305
|
+
updated_at?: string;
|
|
25306
|
+
};
|
|
25307
|
+
Relationships: [];
|
|
25308
|
+
};
|
|
24697
25309
|
products: {
|
|
24698
25310
|
Row: {
|
|
24699
25311
|
barcode: string | null;
|
|
@@ -25855,6 +26467,48 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
25855
26467
|
};
|
|
25856
26468
|
Relationships: [];
|
|
25857
26469
|
};
|
|
26470
|
+
trade_item_stock: {
|
|
26471
|
+
Row: {
|
|
26472
|
+
connection_id: string;
|
|
26473
|
+
created_at: string;
|
|
26474
|
+
id: string;
|
|
26475
|
+
incoming_stock: number;
|
|
26476
|
+
minimum_stock: number;
|
|
26477
|
+
notes: string | null;
|
|
26478
|
+
physical_stock: number;
|
|
26479
|
+
reserved_stock: number;
|
|
26480
|
+
trade_item_key: string;
|
|
26481
|
+
updated_at: string;
|
|
26482
|
+
user_id: string;
|
|
26483
|
+
};
|
|
26484
|
+
Insert: {
|
|
26485
|
+
connection_id: string;
|
|
26486
|
+
created_at?: string;
|
|
26487
|
+
id?: string;
|
|
26488
|
+
incoming_stock?: number;
|
|
26489
|
+
minimum_stock?: number;
|
|
26490
|
+
notes?: string | null;
|
|
26491
|
+
physical_stock?: number;
|
|
26492
|
+
reserved_stock?: number;
|
|
26493
|
+
trade_item_key: string;
|
|
26494
|
+
updated_at?: string;
|
|
26495
|
+
user_id: string;
|
|
26496
|
+
};
|
|
26497
|
+
Update: {
|
|
26498
|
+
connection_id?: string;
|
|
26499
|
+
created_at?: string;
|
|
26500
|
+
id?: string;
|
|
26501
|
+
incoming_stock?: number;
|
|
26502
|
+
minimum_stock?: number;
|
|
26503
|
+
notes?: string | null;
|
|
26504
|
+
physical_stock?: number;
|
|
26505
|
+
reserved_stock?: number;
|
|
26506
|
+
trade_item_key?: string;
|
|
26507
|
+
updated_at?: string;
|
|
26508
|
+
user_id?: string;
|
|
26509
|
+
};
|
|
26510
|
+
Relationships: [];
|
|
26511
|
+
};
|
|
25858
26512
|
twinfield_connections: {
|
|
25859
26513
|
Row: {
|
|
25860
26514
|
access_token: string | null;
|
|
@@ -27039,6 +27693,35 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
27039
27693
|
};
|
|
27040
27694
|
Relationships: [];
|
|
27041
27695
|
};
|
|
27696
|
+
manufacture_product_possible_stock_view: {
|
|
27697
|
+
Row: {
|
|
27698
|
+
component_count: number | null;
|
|
27699
|
+
manufacture_product_id: string | null;
|
|
27700
|
+
possible_stock: number | null;
|
|
27701
|
+
};
|
|
27702
|
+
Relationships: [];
|
|
27703
|
+
};
|
|
27704
|
+
product_group_stock_view: {
|
|
27705
|
+
Row: {
|
|
27706
|
+
item_count: number | null;
|
|
27707
|
+
product_group_id: string | null;
|
|
27708
|
+
total_stock: number | null;
|
|
27709
|
+
};
|
|
27710
|
+
Relationships: [{
|
|
27711
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
27712
|
+
columns: ["product_group_id"];
|
|
27713
|
+
isOneToOne: false;
|
|
27714
|
+
referencedRelation: "product_groups";
|
|
27715
|
+
referencedColumns: ["id"];
|
|
27716
|
+
}];
|
|
27717
|
+
};
|
|
27718
|
+
trade_item_stock_view: {
|
|
27719
|
+
Row: {
|
|
27720
|
+
stock: number | null;
|
|
27721
|
+
trade_item_id: string | null;
|
|
27722
|
+
};
|
|
27723
|
+
Relationships: [];
|
|
27724
|
+
};
|
|
27042
27725
|
v_external_customers_exact: {
|
|
27043
27726
|
Row: {
|
|
27044
27727
|
account_number: string | null;
|
|
@@ -27313,6 +27996,10 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
27313
27996
|
Args: never;
|
|
27314
27997
|
Returns: number;
|
|
27315
27998
|
};
|
|
27999
|
+
count_distinct_regulatory_products: {
|
|
28000
|
+
Args: never;
|
|
28001
|
+
Returns: number;
|
|
28002
|
+
};
|
|
27316
28003
|
current_monteur_id: {
|
|
27317
28004
|
Args: never;
|
|
27318
28005
|
Returns: string;
|
|
@@ -27609,6 +28296,12 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
|
|
|
27609
28296
|
row_count: number;
|
|
27610
28297
|
}[];
|
|
27611
28298
|
};
|
|
28299
|
+
refresh_floricode_derived_for_product: {
|
|
28300
|
+
Args: {
|
|
28301
|
+
p_product_code: string;
|
|
28302
|
+
};
|
|
28303
|
+
Returns: number;
|
|
28304
|
+
};
|
|
27612
28305
|
reset_floriday_sync_cursor: {
|
|
27613
28306
|
Args: {
|
|
27614
28307
|
p_connection_id: string;
|
|
@@ -30682,6 +31375,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
30682
31375
|
};
|
|
30683
31376
|
floricode_sync_state: {
|
|
30684
31377
|
Row: {
|
|
31378
|
+
cursor_skip: number;
|
|
30685
31379
|
error_message: string | null;
|
|
30686
31380
|
last_change_date_time: string | null;
|
|
30687
31381
|
last_sequence_number: number;
|
|
@@ -30691,6 +31385,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
30691
31385
|
updated_at: string;
|
|
30692
31386
|
};
|
|
30693
31387
|
Insert: {
|
|
31388
|
+
cursor_skip?: number;
|
|
30694
31389
|
error_message?: string | null;
|
|
30695
31390
|
last_change_date_time?: string | null;
|
|
30696
31391
|
last_sequence_number?: number;
|
|
@@ -30700,6 +31395,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
30700
31395
|
updated_at?: string;
|
|
30701
31396
|
};
|
|
30702
31397
|
Update: {
|
|
31398
|
+
cursor_skip?: number;
|
|
30703
31399
|
error_message?: string | null;
|
|
30704
31400
|
last_change_date_time?: string | null;
|
|
30705
31401
|
last_sequence_number?: number;
|
|
@@ -33047,6 +33743,93 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
33047
33743
|
};
|
|
33048
33744
|
Relationships: [];
|
|
33049
33745
|
};
|
|
33746
|
+
manufacture_product_components: {
|
|
33747
|
+
Row: {
|
|
33748
|
+
component_type: string;
|
|
33749
|
+
created_at: string;
|
|
33750
|
+
id: string;
|
|
33751
|
+
manufacture_product_id: string;
|
|
33752
|
+
product_group_id: string | null;
|
|
33753
|
+
quantity: number;
|
|
33754
|
+
trade_item_id: string | null;
|
|
33755
|
+
unit: string;
|
|
33756
|
+
};
|
|
33757
|
+
Insert: {
|
|
33758
|
+
component_type: string;
|
|
33759
|
+
created_at?: string;
|
|
33760
|
+
id?: string;
|
|
33761
|
+
manufacture_product_id: string;
|
|
33762
|
+
product_group_id?: string | null;
|
|
33763
|
+
quantity?: number;
|
|
33764
|
+
trade_item_id?: string | null;
|
|
33765
|
+
unit?: string;
|
|
33766
|
+
};
|
|
33767
|
+
Update: {
|
|
33768
|
+
component_type?: string;
|
|
33769
|
+
created_at?: string;
|
|
33770
|
+
id?: string;
|
|
33771
|
+
manufacture_product_id?: string;
|
|
33772
|
+
product_group_id?: string | null;
|
|
33773
|
+
quantity?: number;
|
|
33774
|
+
trade_item_id?: string | null;
|
|
33775
|
+
unit?: string;
|
|
33776
|
+
};
|
|
33777
|
+
Relationships: [{
|
|
33778
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
33779
|
+
columns: ["manufacture_product_id"];
|
|
33780
|
+
isOneToOne: false;
|
|
33781
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
33782
|
+
referencedColumns: ["manufacture_product_id"];
|
|
33783
|
+
}, {
|
|
33784
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
33785
|
+
columns: ["manufacture_product_id"];
|
|
33786
|
+
isOneToOne: false;
|
|
33787
|
+
referencedRelation: "manufacture_products";
|
|
33788
|
+
referencedColumns: ["id"];
|
|
33789
|
+
}, {
|
|
33790
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
33791
|
+
columns: ["product_group_id"];
|
|
33792
|
+
isOneToOne: false;
|
|
33793
|
+
referencedRelation: "product_groups";
|
|
33794
|
+
referencedColumns: ["id"];
|
|
33795
|
+
}];
|
|
33796
|
+
};
|
|
33797
|
+
manufacture_products: {
|
|
33798
|
+
Row: {
|
|
33799
|
+
created_at: string;
|
|
33800
|
+
description: string | null;
|
|
33801
|
+
id: string;
|
|
33802
|
+
is_active: boolean;
|
|
33803
|
+
name: string;
|
|
33804
|
+
produced_stock: number;
|
|
33805
|
+
product_code: string;
|
|
33806
|
+
tenant_id: string;
|
|
33807
|
+
updated_at: string;
|
|
33808
|
+
};
|
|
33809
|
+
Insert: {
|
|
33810
|
+
created_at?: string;
|
|
33811
|
+
description?: string | null;
|
|
33812
|
+
id?: string;
|
|
33813
|
+
is_active?: boolean;
|
|
33814
|
+
name: string;
|
|
33815
|
+
produced_stock?: number;
|
|
33816
|
+
product_code: string;
|
|
33817
|
+
tenant_id: string;
|
|
33818
|
+
updated_at?: string;
|
|
33819
|
+
};
|
|
33820
|
+
Update: {
|
|
33821
|
+
created_at?: string;
|
|
33822
|
+
description?: string | null;
|
|
33823
|
+
id?: string;
|
|
33824
|
+
is_active?: boolean;
|
|
33825
|
+
name?: string;
|
|
33826
|
+
produced_stock?: number;
|
|
33827
|
+
product_code?: string;
|
|
33828
|
+
tenant_id?: string;
|
|
33829
|
+
updated_at?: string;
|
|
33830
|
+
};
|
|
33831
|
+
Relationships: [];
|
|
33832
|
+
};
|
|
33050
33833
|
monteurs: {
|
|
33051
33834
|
Row: {
|
|
33052
33835
|
avatar_url: string | null;
|
|
@@ -34007,6 +34790,66 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
34007
34790
|
};
|
|
34008
34791
|
Relationships: [];
|
|
34009
34792
|
};
|
|
34793
|
+
product_group_items: {
|
|
34794
|
+
Row: {
|
|
34795
|
+
created_at: string;
|
|
34796
|
+
id: string;
|
|
34797
|
+
product_group_id: string;
|
|
34798
|
+
quantity: number;
|
|
34799
|
+
trade_item_id: string;
|
|
34800
|
+
};
|
|
34801
|
+
Insert: {
|
|
34802
|
+
created_at?: string;
|
|
34803
|
+
id?: string;
|
|
34804
|
+
product_group_id: string;
|
|
34805
|
+
quantity?: number;
|
|
34806
|
+
trade_item_id: string;
|
|
34807
|
+
};
|
|
34808
|
+
Update: {
|
|
34809
|
+
created_at?: string;
|
|
34810
|
+
id?: string;
|
|
34811
|
+
product_group_id?: string;
|
|
34812
|
+
quantity?: number;
|
|
34813
|
+
trade_item_id?: string;
|
|
34814
|
+
};
|
|
34815
|
+
Relationships: [{
|
|
34816
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
34817
|
+
columns: ["product_group_id"];
|
|
34818
|
+
isOneToOne: false;
|
|
34819
|
+
referencedRelation: "product_groups";
|
|
34820
|
+
referencedColumns: ["id"];
|
|
34821
|
+
}];
|
|
34822
|
+
};
|
|
34823
|
+
product_groups: {
|
|
34824
|
+
Row: {
|
|
34825
|
+
created_at: string;
|
|
34826
|
+
description: string | null;
|
|
34827
|
+
id: string;
|
|
34828
|
+
is_active: boolean;
|
|
34829
|
+
name: string;
|
|
34830
|
+
tenant_id: string;
|
|
34831
|
+
updated_at: string;
|
|
34832
|
+
};
|
|
34833
|
+
Insert: {
|
|
34834
|
+
created_at?: string;
|
|
34835
|
+
description?: string | null;
|
|
34836
|
+
id?: string;
|
|
34837
|
+
is_active?: boolean;
|
|
34838
|
+
name: string;
|
|
34839
|
+
tenant_id: string;
|
|
34840
|
+
updated_at?: string;
|
|
34841
|
+
};
|
|
34842
|
+
Update: {
|
|
34843
|
+
created_at?: string;
|
|
34844
|
+
description?: string | null;
|
|
34845
|
+
id?: string;
|
|
34846
|
+
is_active?: boolean;
|
|
34847
|
+
name?: string;
|
|
34848
|
+
tenant_id?: string;
|
|
34849
|
+
updated_at?: string;
|
|
34850
|
+
};
|
|
34851
|
+
Relationships: [];
|
|
34852
|
+
};
|
|
34010
34853
|
products: {
|
|
34011
34854
|
Row: {
|
|
34012
34855
|
barcode: string | null;
|
|
@@ -35168,6 +36011,48 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
35168
36011
|
};
|
|
35169
36012
|
Relationships: [];
|
|
35170
36013
|
};
|
|
36014
|
+
trade_item_stock: {
|
|
36015
|
+
Row: {
|
|
36016
|
+
connection_id: string;
|
|
36017
|
+
created_at: string;
|
|
36018
|
+
id: string;
|
|
36019
|
+
incoming_stock: number;
|
|
36020
|
+
minimum_stock: number;
|
|
36021
|
+
notes: string | null;
|
|
36022
|
+
physical_stock: number;
|
|
36023
|
+
reserved_stock: number;
|
|
36024
|
+
trade_item_key: string;
|
|
36025
|
+
updated_at: string;
|
|
36026
|
+
user_id: string;
|
|
36027
|
+
};
|
|
36028
|
+
Insert: {
|
|
36029
|
+
connection_id: string;
|
|
36030
|
+
created_at?: string;
|
|
36031
|
+
id?: string;
|
|
36032
|
+
incoming_stock?: number;
|
|
36033
|
+
minimum_stock?: number;
|
|
36034
|
+
notes?: string | null;
|
|
36035
|
+
physical_stock?: number;
|
|
36036
|
+
reserved_stock?: number;
|
|
36037
|
+
trade_item_key: string;
|
|
36038
|
+
updated_at?: string;
|
|
36039
|
+
user_id: string;
|
|
36040
|
+
};
|
|
36041
|
+
Update: {
|
|
36042
|
+
connection_id?: string;
|
|
36043
|
+
created_at?: string;
|
|
36044
|
+
id?: string;
|
|
36045
|
+
incoming_stock?: number;
|
|
36046
|
+
minimum_stock?: number;
|
|
36047
|
+
notes?: string | null;
|
|
36048
|
+
physical_stock?: number;
|
|
36049
|
+
reserved_stock?: number;
|
|
36050
|
+
trade_item_key?: string;
|
|
36051
|
+
updated_at?: string;
|
|
36052
|
+
user_id?: string;
|
|
36053
|
+
};
|
|
36054
|
+
Relationships: [];
|
|
36055
|
+
};
|
|
35171
36056
|
twinfield_connections: {
|
|
35172
36057
|
Row: {
|
|
35173
36058
|
access_token: string | null;
|
|
@@ -36352,6 +37237,35 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
36352
37237
|
};
|
|
36353
37238
|
Relationships: [];
|
|
36354
37239
|
};
|
|
37240
|
+
manufacture_product_possible_stock_view: {
|
|
37241
|
+
Row: {
|
|
37242
|
+
component_count: number | null;
|
|
37243
|
+
manufacture_product_id: string | null;
|
|
37244
|
+
possible_stock: number | null;
|
|
37245
|
+
};
|
|
37246
|
+
Relationships: [];
|
|
37247
|
+
};
|
|
37248
|
+
product_group_stock_view: {
|
|
37249
|
+
Row: {
|
|
37250
|
+
item_count: number | null;
|
|
37251
|
+
product_group_id: string | null;
|
|
37252
|
+
total_stock: number | null;
|
|
37253
|
+
};
|
|
37254
|
+
Relationships: [{
|
|
37255
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
37256
|
+
columns: ["product_group_id"];
|
|
37257
|
+
isOneToOne: false;
|
|
37258
|
+
referencedRelation: "product_groups";
|
|
37259
|
+
referencedColumns: ["id"];
|
|
37260
|
+
}];
|
|
37261
|
+
};
|
|
37262
|
+
trade_item_stock_view: {
|
|
37263
|
+
Row: {
|
|
37264
|
+
stock: number | null;
|
|
37265
|
+
trade_item_id: string | null;
|
|
37266
|
+
};
|
|
37267
|
+
Relationships: [];
|
|
37268
|
+
};
|
|
36355
37269
|
v_external_customers_exact: {
|
|
36356
37270
|
Row: {
|
|
36357
37271
|
account_number: string | null;
|
|
@@ -36626,6 +37540,10 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
36626
37540
|
Args: never;
|
|
36627
37541
|
Returns: number;
|
|
36628
37542
|
};
|
|
37543
|
+
count_distinct_regulatory_products: {
|
|
37544
|
+
Args: never;
|
|
37545
|
+
Returns: number;
|
|
37546
|
+
};
|
|
36629
37547
|
current_monteur_id: {
|
|
36630
37548
|
Args: never;
|
|
36631
37549
|
Returns: string;
|
|
@@ -36922,6 +37840,12 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
|
|
|
36922
37840
|
row_count: number;
|
|
36923
37841
|
}[];
|
|
36924
37842
|
};
|
|
37843
|
+
refresh_floricode_derived_for_product: {
|
|
37844
|
+
Args: {
|
|
37845
|
+
p_product_code: string;
|
|
37846
|
+
};
|
|
37847
|
+
Returns: number;
|
|
37848
|
+
};
|
|
36925
37849
|
reset_floriday_sync_cursor: {
|
|
36926
37850
|
Args: {
|
|
36927
37851
|
p_connection_id: string;
|
|
@@ -39997,6 +40921,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
39997
40921
|
};
|
|
39998
40922
|
floricode_sync_state: {
|
|
39999
40923
|
Row: {
|
|
40924
|
+
cursor_skip: number;
|
|
40000
40925
|
error_message: string | null;
|
|
40001
40926
|
last_change_date_time: string | null;
|
|
40002
40927
|
last_sequence_number: number;
|
|
@@ -40006,6 +40931,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
40006
40931
|
updated_at: string;
|
|
40007
40932
|
};
|
|
40008
40933
|
Insert: {
|
|
40934
|
+
cursor_skip?: number;
|
|
40009
40935
|
error_message?: string | null;
|
|
40010
40936
|
last_change_date_time?: string | null;
|
|
40011
40937
|
last_sequence_number?: number;
|
|
@@ -40015,6 +40941,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
40015
40941
|
updated_at?: string;
|
|
40016
40942
|
};
|
|
40017
40943
|
Update: {
|
|
40944
|
+
cursor_skip?: number;
|
|
40018
40945
|
error_message?: string | null;
|
|
40019
40946
|
last_change_date_time?: string | null;
|
|
40020
40947
|
last_sequence_number?: number;
|
|
@@ -42362,6 +43289,93 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
42362
43289
|
};
|
|
42363
43290
|
Relationships: [];
|
|
42364
43291
|
};
|
|
43292
|
+
manufacture_product_components: {
|
|
43293
|
+
Row: {
|
|
43294
|
+
component_type: string;
|
|
43295
|
+
created_at: string;
|
|
43296
|
+
id: string;
|
|
43297
|
+
manufacture_product_id: string;
|
|
43298
|
+
product_group_id: string | null;
|
|
43299
|
+
quantity: number;
|
|
43300
|
+
trade_item_id: string | null;
|
|
43301
|
+
unit: string;
|
|
43302
|
+
};
|
|
43303
|
+
Insert: {
|
|
43304
|
+
component_type: string;
|
|
43305
|
+
created_at?: string;
|
|
43306
|
+
id?: string;
|
|
43307
|
+
manufacture_product_id: string;
|
|
43308
|
+
product_group_id?: string | null;
|
|
43309
|
+
quantity?: number;
|
|
43310
|
+
trade_item_id?: string | null;
|
|
43311
|
+
unit?: string;
|
|
43312
|
+
};
|
|
43313
|
+
Update: {
|
|
43314
|
+
component_type?: string;
|
|
43315
|
+
created_at?: string;
|
|
43316
|
+
id?: string;
|
|
43317
|
+
manufacture_product_id?: string;
|
|
43318
|
+
product_group_id?: string | null;
|
|
43319
|
+
quantity?: number;
|
|
43320
|
+
trade_item_id?: string | null;
|
|
43321
|
+
unit?: string;
|
|
43322
|
+
};
|
|
43323
|
+
Relationships: [{
|
|
43324
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
43325
|
+
columns: ["manufacture_product_id"];
|
|
43326
|
+
isOneToOne: false;
|
|
43327
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
43328
|
+
referencedColumns: ["manufacture_product_id"];
|
|
43329
|
+
}, {
|
|
43330
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
43331
|
+
columns: ["manufacture_product_id"];
|
|
43332
|
+
isOneToOne: false;
|
|
43333
|
+
referencedRelation: "manufacture_products";
|
|
43334
|
+
referencedColumns: ["id"];
|
|
43335
|
+
}, {
|
|
43336
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
43337
|
+
columns: ["product_group_id"];
|
|
43338
|
+
isOneToOne: false;
|
|
43339
|
+
referencedRelation: "product_groups";
|
|
43340
|
+
referencedColumns: ["id"];
|
|
43341
|
+
}];
|
|
43342
|
+
};
|
|
43343
|
+
manufacture_products: {
|
|
43344
|
+
Row: {
|
|
43345
|
+
created_at: string;
|
|
43346
|
+
description: string | null;
|
|
43347
|
+
id: string;
|
|
43348
|
+
is_active: boolean;
|
|
43349
|
+
name: string;
|
|
43350
|
+
produced_stock: number;
|
|
43351
|
+
product_code: string;
|
|
43352
|
+
tenant_id: string;
|
|
43353
|
+
updated_at: string;
|
|
43354
|
+
};
|
|
43355
|
+
Insert: {
|
|
43356
|
+
created_at?: string;
|
|
43357
|
+
description?: string | null;
|
|
43358
|
+
id?: string;
|
|
43359
|
+
is_active?: boolean;
|
|
43360
|
+
name: string;
|
|
43361
|
+
produced_stock?: number;
|
|
43362
|
+
product_code: string;
|
|
43363
|
+
tenant_id: string;
|
|
43364
|
+
updated_at?: string;
|
|
43365
|
+
};
|
|
43366
|
+
Update: {
|
|
43367
|
+
created_at?: string;
|
|
43368
|
+
description?: string | null;
|
|
43369
|
+
id?: string;
|
|
43370
|
+
is_active?: boolean;
|
|
43371
|
+
name?: string;
|
|
43372
|
+
produced_stock?: number;
|
|
43373
|
+
product_code?: string;
|
|
43374
|
+
tenant_id?: string;
|
|
43375
|
+
updated_at?: string;
|
|
43376
|
+
};
|
|
43377
|
+
Relationships: [];
|
|
43378
|
+
};
|
|
42365
43379
|
monteurs: {
|
|
42366
43380
|
Row: {
|
|
42367
43381
|
avatar_url: string | null;
|
|
@@ -43322,6 +44336,66 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
43322
44336
|
};
|
|
43323
44337
|
Relationships: [];
|
|
43324
44338
|
};
|
|
44339
|
+
product_group_items: {
|
|
44340
|
+
Row: {
|
|
44341
|
+
created_at: string;
|
|
44342
|
+
id: string;
|
|
44343
|
+
product_group_id: string;
|
|
44344
|
+
quantity: number;
|
|
44345
|
+
trade_item_id: string;
|
|
44346
|
+
};
|
|
44347
|
+
Insert: {
|
|
44348
|
+
created_at?: string;
|
|
44349
|
+
id?: string;
|
|
44350
|
+
product_group_id: string;
|
|
44351
|
+
quantity?: number;
|
|
44352
|
+
trade_item_id: string;
|
|
44353
|
+
};
|
|
44354
|
+
Update: {
|
|
44355
|
+
created_at?: string;
|
|
44356
|
+
id?: string;
|
|
44357
|
+
product_group_id?: string;
|
|
44358
|
+
quantity?: number;
|
|
44359
|
+
trade_item_id?: string;
|
|
44360
|
+
};
|
|
44361
|
+
Relationships: [{
|
|
44362
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
44363
|
+
columns: ["product_group_id"];
|
|
44364
|
+
isOneToOne: false;
|
|
44365
|
+
referencedRelation: "product_groups";
|
|
44366
|
+
referencedColumns: ["id"];
|
|
44367
|
+
}];
|
|
44368
|
+
};
|
|
44369
|
+
product_groups: {
|
|
44370
|
+
Row: {
|
|
44371
|
+
created_at: string;
|
|
44372
|
+
description: string | null;
|
|
44373
|
+
id: string;
|
|
44374
|
+
is_active: boolean;
|
|
44375
|
+
name: string;
|
|
44376
|
+
tenant_id: string;
|
|
44377
|
+
updated_at: string;
|
|
44378
|
+
};
|
|
44379
|
+
Insert: {
|
|
44380
|
+
created_at?: string;
|
|
44381
|
+
description?: string | null;
|
|
44382
|
+
id?: string;
|
|
44383
|
+
is_active?: boolean;
|
|
44384
|
+
name: string;
|
|
44385
|
+
tenant_id: string;
|
|
44386
|
+
updated_at?: string;
|
|
44387
|
+
};
|
|
44388
|
+
Update: {
|
|
44389
|
+
created_at?: string;
|
|
44390
|
+
description?: string | null;
|
|
44391
|
+
id?: string;
|
|
44392
|
+
is_active?: boolean;
|
|
44393
|
+
name?: string;
|
|
44394
|
+
tenant_id?: string;
|
|
44395
|
+
updated_at?: string;
|
|
44396
|
+
};
|
|
44397
|
+
Relationships: [];
|
|
44398
|
+
};
|
|
43325
44399
|
products: {
|
|
43326
44400
|
Row: {
|
|
43327
44401
|
barcode: string | null;
|
|
@@ -44483,6 +45557,48 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
44483
45557
|
};
|
|
44484
45558
|
Relationships: [];
|
|
44485
45559
|
};
|
|
45560
|
+
trade_item_stock: {
|
|
45561
|
+
Row: {
|
|
45562
|
+
connection_id: string;
|
|
45563
|
+
created_at: string;
|
|
45564
|
+
id: string;
|
|
45565
|
+
incoming_stock: number;
|
|
45566
|
+
minimum_stock: number;
|
|
45567
|
+
notes: string | null;
|
|
45568
|
+
physical_stock: number;
|
|
45569
|
+
reserved_stock: number;
|
|
45570
|
+
trade_item_key: string;
|
|
45571
|
+
updated_at: string;
|
|
45572
|
+
user_id: string;
|
|
45573
|
+
};
|
|
45574
|
+
Insert: {
|
|
45575
|
+
connection_id: string;
|
|
45576
|
+
created_at?: string;
|
|
45577
|
+
id?: string;
|
|
45578
|
+
incoming_stock?: number;
|
|
45579
|
+
minimum_stock?: number;
|
|
45580
|
+
notes?: string | null;
|
|
45581
|
+
physical_stock?: number;
|
|
45582
|
+
reserved_stock?: number;
|
|
45583
|
+
trade_item_key: string;
|
|
45584
|
+
updated_at?: string;
|
|
45585
|
+
user_id: string;
|
|
45586
|
+
};
|
|
45587
|
+
Update: {
|
|
45588
|
+
connection_id?: string;
|
|
45589
|
+
created_at?: string;
|
|
45590
|
+
id?: string;
|
|
45591
|
+
incoming_stock?: number;
|
|
45592
|
+
minimum_stock?: number;
|
|
45593
|
+
notes?: string | null;
|
|
45594
|
+
physical_stock?: number;
|
|
45595
|
+
reserved_stock?: number;
|
|
45596
|
+
trade_item_key?: string;
|
|
45597
|
+
updated_at?: string;
|
|
45598
|
+
user_id?: string;
|
|
45599
|
+
};
|
|
45600
|
+
Relationships: [];
|
|
45601
|
+
};
|
|
44486
45602
|
twinfield_connections: {
|
|
44487
45603
|
Row: {
|
|
44488
45604
|
access_token: string | null;
|
|
@@ -45667,6 +46783,35 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
45667
46783
|
};
|
|
45668
46784
|
Relationships: [];
|
|
45669
46785
|
};
|
|
46786
|
+
manufacture_product_possible_stock_view: {
|
|
46787
|
+
Row: {
|
|
46788
|
+
component_count: number | null;
|
|
46789
|
+
manufacture_product_id: string | null;
|
|
46790
|
+
possible_stock: number | null;
|
|
46791
|
+
};
|
|
46792
|
+
Relationships: [];
|
|
46793
|
+
};
|
|
46794
|
+
product_group_stock_view: {
|
|
46795
|
+
Row: {
|
|
46796
|
+
item_count: number | null;
|
|
46797
|
+
product_group_id: string | null;
|
|
46798
|
+
total_stock: number | null;
|
|
46799
|
+
};
|
|
46800
|
+
Relationships: [{
|
|
46801
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
46802
|
+
columns: ["product_group_id"];
|
|
46803
|
+
isOneToOne: false;
|
|
46804
|
+
referencedRelation: "product_groups";
|
|
46805
|
+
referencedColumns: ["id"];
|
|
46806
|
+
}];
|
|
46807
|
+
};
|
|
46808
|
+
trade_item_stock_view: {
|
|
46809
|
+
Row: {
|
|
46810
|
+
stock: number | null;
|
|
46811
|
+
trade_item_id: string | null;
|
|
46812
|
+
};
|
|
46813
|
+
Relationships: [];
|
|
46814
|
+
};
|
|
45670
46815
|
v_external_customers_exact: {
|
|
45671
46816
|
Row: {
|
|
45672
46817
|
account_number: string | null;
|
|
@@ -45941,6 +47086,10 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
45941
47086
|
Args: never;
|
|
45942
47087
|
Returns: number;
|
|
45943
47088
|
};
|
|
47089
|
+
count_distinct_regulatory_products: {
|
|
47090
|
+
Args: never;
|
|
47091
|
+
Returns: number;
|
|
47092
|
+
};
|
|
45944
47093
|
current_monteur_id: {
|
|
45945
47094
|
Args: never;
|
|
45946
47095
|
Returns: string;
|
|
@@ -46237,6 +47386,12 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
|
|
|
46237
47386
|
row_count: number;
|
|
46238
47387
|
}[];
|
|
46239
47388
|
};
|
|
47389
|
+
refresh_floricode_derived_for_product: {
|
|
47390
|
+
Args: {
|
|
47391
|
+
p_product_code: string;
|
|
47392
|
+
};
|
|
47393
|
+
Returns: number;
|
|
47394
|
+
};
|
|
46240
47395
|
reset_floriday_sync_cursor: {
|
|
46241
47396
|
Args: {
|
|
46242
47397
|
p_connection_id: string;
|
|
@@ -49301,6 +50456,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
49301
50456
|
};
|
|
49302
50457
|
floricode_sync_state: {
|
|
49303
50458
|
Row: {
|
|
50459
|
+
cursor_skip: number;
|
|
49304
50460
|
error_message: string | null;
|
|
49305
50461
|
last_change_date_time: string | null;
|
|
49306
50462
|
last_sequence_number: number;
|
|
@@ -49310,6 +50466,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
49310
50466
|
updated_at: string;
|
|
49311
50467
|
};
|
|
49312
50468
|
Insert: {
|
|
50469
|
+
cursor_skip?: number;
|
|
49313
50470
|
error_message?: string | null;
|
|
49314
50471
|
last_change_date_time?: string | null;
|
|
49315
50472
|
last_sequence_number?: number;
|
|
@@ -49319,6 +50476,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
49319
50476
|
updated_at?: string;
|
|
49320
50477
|
};
|
|
49321
50478
|
Update: {
|
|
50479
|
+
cursor_skip?: number;
|
|
49322
50480
|
error_message?: string | null;
|
|
49323
50481
|
last_change_date_time?: string | null;
|
|
49324
50482
|
last_sequence_number?: number;
|
|
@@ -51666,6 +52824,93 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
51666
52824
|
};
|
|
51667
52825
|
Relationships: [];
|
|
51668
52826
|
};
|
|
52827
|
+
manufacture_product_components: {
|
|
52828
|
+
Row: {
|
|
52829
|
+
component_type: string;
|
|
52830
|
+
created_at: string;
|
|
52831
|
+
id: string;
|
|
52832
|
+
manufacture_product_id: string;
|
|
52833
|
+
product_group_id: string | null;
|
|
52834
|
+
quantity: number;
|
|
52835
|
+
trade_item_id: string | null;
|
|
52836
|
+
unit: string;
|
|
52837
|
+
};
|
|
52838
|
+
Insert: {
|
|
52839
|
+
component_type: string;
|
|
52840
|
+
created_at?: string;
|
|
52841
|
+
id?: string;
|
|
52842
|
+
manufacture_product_id: string;
|
|
52843
|
+
product_group_id?: string | null;
|
|
52844
|
+
quantity?: number;
|
|
52845
|
+
trade_item_id?: string | null;
|
|
52846
|
+
unit?: string;
|
|
52847
|
+
};
|
|
52848
|
+
Update: {
|
|
52849
|
+
component_type?: string;
|
|
52850
|
+
created_at?: string;
|
|
52851
|
+
id?: string;
|
|
52852
|
+
manufacture_product_id?: string;
|
|
52853
|
+
product_group_id?: string | null;
|
|
52854
|
+
quantity?: number;
|
|
52855
|
+
trade_item_id?: string | null;
|
|
52856
|
+
unit?: string;
|
|
52857
|
+
};
|
|
52858
|
+
Relationships: [{
|
|
52859
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
52860
|
+
columns: ["manufacture_product_id"];
|
|
52861
|
+
isOneToOne: false;
|
|
52862
|
+
referencedRelation: "manufacture_product_possible_stock_view";
|
|
52863
|
+
referencedColumns: ["manufacture_product_id"];
|
|
52864
|
+
}, {
|
|
52865
|
+
foreignKeyName: "manufacture_product_components_manufacture_product_id_fkey";
|
|
52866
|
+
columns: ["manufacture_product_id"];
|
|
52867
|
+
isOneToOne: false;
|
|
52868
|
+
referencedRelation: "manufacture_products";
|
|
52869
|
+
referencedColumns: ["id"];
|
|
52870
|
+
}, {
|
|
52871
|
+
foreignKeyName: "manufacture_product_components_product_group_id_fkey";
|
|
52872
|
+
columns: ["product_group_id"];
|
|
52873
|
+
isOneToOne: false;
|
|
52874
|
+
referencedRelation: "product_groups";
|
|
52875
|
+
referencedColumns: ["id"];
|
|
52876
|
+
}];
|
|
52877
|
+
};
|
|
52878
|
+
manufacture_products: {
|
|
52879
|
+
Row: {
|
|
52880
|
+
created_at: string;
|
|
52881
|
+
description: string | null;
|
|
52882
|
+
id: string;
|
|
52883
|
+
is_active: boolean;
|
|
52884
|
+
name: string;
|
|
52885
|
+
produced_stock: number;
|
|
52886
|
+
product_code: string;
|
|
52887
|
+
tenant_id: string;
|
|
52888
|
+
updated_at: string;
|
|
52889
|
+
};
|
|
52890
|
+
Insert: {
|
|
52891
|
+
created_at?: string;
|
|
52892
|
+
description?: string | null;
|
|
52893
|
+
id?: string;
|
|
52894
|
+
is_active?: boolean;
|
|
52895
|
+
name: string;
|
|
52896
|
+
produced_stock?: number;
|
|
52897
|
+
product_code: string;
|
|
52898
|
+
tenant_id: string;
|
|
52899
|
+
updated_at?: string;
|
|
52900
|
+
};
|
|
52901
|
+
Update: {
|
|
52902
|
+
created_at?: string;
|
|
52903
|
+
description?: string | null;
|
|
52904
|
+
id?: string;
|
|
52905
|
+
is_active?: boolean;
|
|
52906
|
+
name?: string;
|
|
52907
|
+
produced_stock?: number;
|
|
52908
|
+
product_code?: string;
|
|
52909
|
+
tenant_id?: string;
|
|
52910
|
+
updated_at?: string;
|
|
52911
|
+
};
|
|
52912
|
+
Relationships: [];
|
|
52913
|
+
};
|
|
51669
52914
|
monteurs: {
|
|
51670
52915
|
Row: {
|
|
51671
52916
|
avatar_url: string | null;
|
|
@@ -52626,6 +53871,66 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
52626
53871
|
};
|
|
52627
53872
|
Relationships: [];
|
|
52628
53873
|
};
|
|
53874
|
+
product_group_items: {
|
|
53875
|
+
Row: {
|
|
53876
|
+
created_at: string;
|
|
53877
|
+
id: string;
|
|
53878
|
+
product_group_id: string;
|
|
53879
|
+
quantity: number;
|
|
53880
|
+
trade_item_id: string;
|
|
53881
|
+
};
|
|
53882
|
+
Insert: {
|
|
53883
|
+
created_at?: string;
|
|
53884
|
+
id?: string;
|
|
53885
|
+
product_group_id: string;
|
|
53886
|
+
quantity?: number;
|
|
53887
|
+
trade_item_id: string;
|
|
53888
|
+
};
|
|
53889
|
+
Update: {
|
|
53890
|
+
created_at?: string;
|
|
53891
|
+
id?: string;
|
|
53892
|
+
product_group_id?: string;
|
|
53893
|
+
quantity?: number;
|
|
53894
|
+
trade_item_id?: string;
|
|
53895
|
+
};
|
|
53896
|
+
Relationships: [{
|
|
53897
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
53898
|
+
columns: ["product_group_id"];
|
|
53899
|
+
isOneToOne: false;
|
|
53900
|
+
referencedRelation: "product_groups";
|
|
53901
|
+
referencedColumns: ["id"];
|
|
53902
|
+
}];
|
|
53903
|
+
};
|
|
53904
|
+
product_groups: {
|
|
53905
|
+
Row: {
|
|
53906
|
+
created_at: string;
|
|
53907
|
+
description: string | null;
|
|
53908
|
+
id: string;
|
|
53909
|
+
is_active: boolean;
|
|
53910
|
+
name: string;
|
|
53911
|
+
tenant_id: string;
|
|
53912
|
+
updated_at: string;
|
|
53913
|
+
};
|
|
53914
|
+
Insert: {
|
|
53915
|
+
created_at?: string;
|
|
53916
|
+
description?: string | null;
|
|
53917
|
+
id?: string;
|
|
53918
|
+
is_active?: boolean;
|
|
53919
|
+
name: string;
|
|
53920
|
+
tenant_id: string;
|
|
53921
|
+
updated_at?: string;
|
|
53922
|
+
};
|
|
53923
|
+
Update: {
|
|
53924
|
+
created_at?: string;
|
|
53925
|
+
description?: string | null;
|
|
53926
|
+
id?: string;
|
|
53927
|
+
is_active?: boolean;
|
|
53928
|
+
name?: string;
|
|
53929
|
+
tenant_id?: string;
|
|
53930
|
+
updated_at?: string;
|
|
53931
|
+
};
|
|
53932
|
+
Relationships: [];
|
|
53933
|
+
};
|
|
52629
53934
|
products: {
|
|
52630
53935
|
Row: {
|
|
52631
53936
|
barcode: string | null;
|
|
@@ -53787,6 +55092,48 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
53787
55092
|
};
|
|
53788
55093
|
Relationships: [];
|
|
53789
55094
|
};
|
|
55095
|
+
trade_item_stock: {
|
|
55096
|
+
Row: {
|
|
55097
|
+
connection_id: string;
|
|
55098
|
+
created_at: string;
|
|
55099
|
+
id: string;
|
|
55100
|
+
incoming_stock: number;
|
|
55101
|
+
minimum_stock: number;
|
|
55102
|
+
notes: string | null;
|
|
55103
|
+
physical_stock: number;
|
|
55104
|
+
reserved_stock: number;
|
|
55105
|
+
trade_item_key: string;
|
|
55106
|
+
updated_at: string;
|
|
55107
|
+
user_id: string;
|
|
55108
|
+
};
|
|
55109
|
+
Insert: {
|
|
55110
|
+
connection_id: string;
|
|
55111
|
+
created_at?: string;
|
|
55112
|
+
id?: string;
|
|
55113
|
+
incoming_stock?: number;
|
|
55114
|
+
minimum_stock?: number;
|
|
55115
|
+
notes?: string | null;
|
|
55116
|
+
physical_stock?: number;
|
|
55117
|
+
reserved_stock?: number;
|
|
55118
|
+
trade_item_key: string;
|
|
55119
|
+
updated_at?: string;
|
|
55120
|
+
user_id: string;
|
|
55121
|
+
};
|
|
55122
|
+
Update: {
|
|
55123
|
+
connection_id?: string;
|
|
55124
|
+
created_at?: string;
|
|
55125
|
+
id?: string;
|
|
55126
|
+
incoming_stock?: number;
|
|
55127
|
+
minimum_stock?: number;
|
|
55128
|
+
notes?: string | null;
|
|
55129
|
+
physical_stock?: number;
|
|
55130
|
+
reserved_stock?: number;
|
|
55131
|
+
trade_item_key?: string;
|
|
55132
|
+
updated_at?: string;
|
|
55133
|
+
user_id?: string;
|
|
55134
|
+
};
|
|
55135
|
+
Relationships: [];
|
|
55136
|
+
};
|
|
53790
55137
|
twinfield_connections: {
|
|
53791
55138
|
Row: {
|
|
53792
55139
|
access_token: string | null;
|
|
@@ -54971,6 +56318,35 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
54971
56318
|
};
|
|
54972
56319
|
Relationships: [];
|
|
54973
56320
|
};
|
|
56321
|
+
manufacture_product_possible_stock_view: {
|
|
56322
|
+
Row: {
|
|
56323
|
+
component_count: number | null;
|
|
56324
|
+
manufacture_product_id: string | null;
|
|
56325
|
+
possible_stock: number | null;
|
|
56326
|
+
};
|
|
56327
|
+
Relationships: [];
|
|
56328
|
+
};
|
|
56329
|
+
product_group_stock_view: {
|
|
56330
|
+
Row: {
|
|
56331
|
+
item_count: number | null;
|
|
56332
|
+
product_group_id: string | null;
|
|
56333
|
+
total_stock: number | null;
|
|
56334
|
+
};
|
|
56335
|
+
Relationships: [{
|
|
56336
|
+
foreignKeyName: "product_group_items_product_group_id_fkey";
|
|
56337
|
+
columns: ["product_group_id"];
|
|
56338
|
+
isOneToOne: false;
|
|
56339
|
+
referencedRelation: "product_groups";
|
|
56340
|
+
referencedColumns: ["id"];
|
|
56341
|
+
}];
|
|
56342
|
+
};
|
|
56343
|
+
trade_item_stock_view: {
|
|
56344
|
+
Row: {
|
|
56345
|
+
stock: number | null;
|
|
56346
|
+
trade_item_id: string | null;
|
|
56347
|
+
};
|
|
56348
|
+
Relationships: [];
|
|
56349
|
+
};
|
|
54974
56350
|
v_external_customers_exact: {
|
|
54975
56351
|
Row: {
|
|
54976
56352
|
account_number: string | null;
|
|
@@ -55245,6 +56621,10 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
55245
56621
|
Args: never;
|
|
55246
56622
|
Returns: number;
|
|
55247
56623
|
};
|
|
56624
|
+
count_distinct_regulatory_products: {
|
|
56625
|
+
Args: never;
|
|
56626
|
+
Returns: number;
|
|
56627
|
+
};
|
|
55248
56628
|
current_monteur_id: {
|
|
55249
56629
|
Args: never;
|
|
55250
56630
|
Returns: string;
|
|
@@ -55541,6 +56921,12 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
|
|
|
55541
56921
|
row_count: number;
|
|
55542
56922
|
}[];
|
|
55543
56923
|
};
|
|
56924
|
+
refresh_floricode_derived_for_product: {
|
|
56925
|
+
Args: {
|
|
56926
|
+
p_product_code: string;
|
|
56927
|
+
};
|
|
56928
|
+
Returns: number;
|
|
56929
|
+
};
|
|
55544
56930
|
reset_floriday_sync_cursor: {
|
|
55545
56931
|
Args: {
|
|
55546
56932
|
p_connection_id: string;
|