@flowselections/floriday-voorraad 1.0.15 → 1.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +48 -7
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts +2 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.js +24 -5
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts +13 -0
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/ProductLinkCard.js +159 -0
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.js +88 -7
- package/dist-lib/hooks/useTradeItemSpec.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemSpec.js +4 -1
- package/dist-lib/hooks/useVoorraadData.d.ts +5 -4
- package/dist-lib/hooks/useVoorraadData.d.ts.map +1 -1
- package/dist-lib/hooks/useVoorraadData.js +40 -6
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +743 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +743 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +743 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +763 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/ensure-article-codes.d.ts +8 -0
- package/dist-lib/lib/ensure-article-codes.d.ts.map +1 -0
- package/dist-lib/lib/ensure-article-codes.js +78 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts +743 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-client.d.ts +6 -0
- package/dist-lib/lib/floriday-client.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2972 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.d.ts +19 -5
- package/dist-lib/lib/floriday-payload.d.ts.map +1 -1
- package/dist-lib/lib/floriday-payload.js +106 -33
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +32228 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -0
- package/dist-lib/lib/floriday-warehouse.functions.js +98 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts +1616 -130
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.js +34 -6
- package/package.json +1 -1
|
@@ -3650,6 +3650,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3650
3650
|
referencedColumns: ["id"];
|
|
3651
3651
|
}];
|
|
3652
3652
|
};
|
|
3653
|
+
floriday_continuous_stock_queue: {
|
|
3654
|
+
Row: {
|
|
3655
|
+
attempts: number;
|
|
3656
|
+
connection_id: string;
|
|
3657
|
+
created_at: string;
|
|
3658
|
+
gateway_attempt_id: string | null;
|
|
3659
|
+
id: string;
|
|
3660
|
+
last_error: string | null;
|
|
3661
|
+
number_of_pieces: number;
|
|
3662
|
+
sent_at: string | null;
|
|
3663
|
+
status: string;
|
|
3664
|
+
trade_item_id: string;
|
|
3665
|
+
updated_at: string;
|
|
3666
|
+
user_id: string;
|
|
3667
|
+
};
|
|
3668
|
+
Insert: {
|
|
3669
|
+
attempts?: number;
|
|
3670
|
+
connection_id: string;
|
|
3671
|
+
created_at?: string;
|
|
3672
|
+
gateway_attempt_id?: string | null;
|
|
3673
|
+
id?: string;
|
|
3674
|
+
last_error?: string | null;
|
|
3675
|
+
number_of_pieces?: number;
|
|
3676
|
+
sent_at?: string | null;
|
|
3677
|
+
status?: string;
|
|
3678
|
+
trade_item_id: string;
|
|
3679
|
+
updated_at?: string;
|
|
3680
|
+
user_id: string;
|
|
3681
|
+
};
|
|
3682
|
+
Update: {
|
|
3683
|
+
attempts?: number;
|
|
3684
|
+
connection_id?: string;
|
|
3685
|
+
created_at?: string;
|
|
3686
|
+
gateway_attempt_id?: string | null;
|
|
3687
|
+
id?: string;
|
|
3688
|
+
last_error?: string | null;
|
|
3689
|
+
number_of_pieces?: number;
|
|
3690
|
+
sent_at?: string | null;
|
|
3691
|
+
status?: string;
|
|
3692
|
+
trade_item_id?: string;
|
|
3693
|
+
updated_at?: string;
|
|
3694
|
+
user_id?: string;
|
|
3695
|
+
};
|
|
3696
|
+
Relationships: [];
|
|
3697
|
+
};
|
|
3653
3698
|
floriday_contract_trade_item_groups_cache: {
|
|
3654
3699
|
Row: {
|
|
3655
3700
|
connection_id: string;
|
|
@@ -5039,6 +5084,204 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
5039
5084
|
};
|
|
5040
5085
|
Relationships: [];
|
|
5041
5086
|
};
|
|
5087
|
+
local_customer_agreements: {
|
|
5088
|
+
Row: {
|
|
5089
|
+
base_price: number | null;
|
|
5090
|
+
created_at: string;
|
|
5091
|
+
currency: string;
|
|
5092
|
+
customer_id: string;
|
|
5093
|
+
id: string;
|
|
5094
|
+
min_quantity: number;
|
|
5095
|
+
net_price: number;
|
|
5096
|
+
notes: string | null;
|
|
5097
|
+
product_category_id: string | null;
|
|
5098
|
+
product_id: string | null;
|
|
5099
|
+
updated_at: string;
|
|
5100
|
+
valid_from: string | null;
|
|
5101
|
+
valid_until: string | null;
|
|
5102
|
+
};
|
|
5103
|
+
Insert: {
|
|
5104
|
+
base_price?: number | null;
|
|
5105
|
+
created_at?: string;
|
|
5106
|
+
currency?: string;
|
|
5107
|
+
customer_id: string;
|
|
5108
|
+
id?: string;
|
|
5109
|
+
min_quantity?: number;
|
|
5110
|
+
net_price: number;
|
|
5111
|
+
notes?: string | null;
|
|
5112
|
+
product_category_id?: string | null;
|
|
5113
|
+
product_id?: string | null;
|
|
5114
|
+
updated_at?: string;
|
|
5115
|
+
valid_from?: string | null;
|
|
5116
|
+
valid_until?: string | null;
|
|
5117
|
+
};
|
|
5118
|
+
Update: {
|
|
5119
|
+
base_price?: number | null;
|
|
5120
|
+
created_at?: string;
|
|
5121
|
+
currency?: string;
|
|
5122
|
+
customer_id?: string;
|
|
5123
|
+
id?: string;
|
|
5124
|
+
min_quantity?: number;
|
|
5125
|
+
net_price?: number;
|
|
5126
|
+
notes?: string | null;
|
|
5127
|
+
product_category_id?: string | null;
|
|
5128
|
+
product_id?: string | null;
|
|
5129
|
+
updated_at?: string;
|
|
5130
|
+
valid_from?: string | null;
|
|
5131
|
+
valid_until?: string | null;
|
|
5132
|
+
};
|
|
5133
|
+
Relationships: [{
|
|
5134
|
+
foreignKeyName: "local_customer_agreements_customer_id_fkey";
|
|
5135
|
+
columns: ["customer_id"];
|
|
5136
|
+
isOneToOne: false;
|
|
5137
|
+
referencedRelation: "customers";
|
|
5138
|
+
referencedColumns: ["id"];
|
|
5139
|
+
}, {
|
|
5140
|
+
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
5141
|
+
columns: ["product_category_id"];
|
|
5142
|
+
isOneToOne: false;
|
|
5143
|
+
referencedRelation: "product_categories";
|
|
5144
|
+
referencedColumns: ["id"];
|
|
5145
|
+
}, {
|
|
5146
|
+
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
5147
|
+
columns: ["product_id"];
|
|
5148
|
+
isOneToOne: false;
|
|
5149
|
+
referencedRelation: "products";
|
|
5150
|
+
referencedColumns: ["id"];
|
|
5151
|
+
}];
|
|
5152
|
+
};
|
|
5153
|
+
local_customer_price_groups: {
|
|
5154
|
+
Row: {
|
|
5155
|
+
created_at: string;
|
|
5156
|
+
currency: string;
|
|
5157
|
+
customer_id: string;
|
|
5158
|
+
discount_type: string;
|
|
5159
|
+
discount_value: number;
|
|
5160
|
+
id: string;
|
|
5161
|
+
min_quantity: number;
|
|
5162
|
+
notes: string | null;
|
|
5163
|
+
product_category_id: string | null;
|
|
5164
|
+
product_id: string | null;
|
|
5165
|
+
updated_at: string;
|
|
5166
|
+
valid_from: string | null;
|
|
5167
|
+
valid_until: string | null;
|
|
5168
|
+
};
|
|
5169
|
+
Insert: {
|
|
5170
|
+
created_at?: string;
|
|
5171
|
+
currency?: string;
|
|
5172
|
+
customer_id: string;
|
|
5173
|
+
discount_type: string;
|
|
5174
|
+
discount_value: number;
|
|
5175
|
+
id?: string;
|
|
5176
|
+
min_quantity?: number;
|
|
5177
|
+
notes?: string | null;
|
|
5178
|
+
product_category_id?: string | null;
|
|
5179
|
+
product_id?: string | null;
|
|
5180
|
+
updated_at?: string;
|
|
5181
|
+
valid_from?: string | null;
|
|
5182
|
+
valid_until?: string | null;
|
|
5183
|
+
};
|
|
5184
|
+
Update: {
|
|
5185
|
+
created_at?: string;
|
|
5186
|
+
currency?: string;
|
|
5187
|
+
customer_id?: string;
|
|
5188
|
+
discount_type?: string;
|
|
5189
|
+
discount_value?: number;
|
|
5190
|
+
id?: string;
|
|
5191
|
+
min_quantity?: number;
|
|
5192
|
+
notes?: string | null;
|
|
5193
|
+
product_category_id?: string | null;
|
|
5194
|
+
product_id?: string | null;
|
|
5195
|
+
updated_at?: string;
|
|
5196
|
+
valid_from?: string | null;
|
|
5197
|
+
valid_until?: string | null;
|
|
5198
|
+
};
|
|
5199
|
+
Relationships: [{
|
|
5200
|
+
foreignKeyName: "local_customer_price_groups_customer_id_fkey";
|
|
5201
|
+
columns: ["customer_id"];
|
|
5202
|
+
isOneToOne: false;
|
|
5203
|
+
referencedRelation: "customers";
|
|
5204
|
+
referencedColumns: ["id"];
|
|
5205
|
+
}, {
|
|
5206
|
+
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
5207
|
+
columns: ["product_category_id"];
|
|
5208
|
+
isOneToOne: false;
|
|
5209
|
+
referencedRelation: "product_categories";
|
|
5210
|
+
referencedColumns: ["id"];
|
|
5211
|
+
}, {
|
|
5212
|
+
foreignKeyName: "local_customer_price_groups_product_id_fkey";
|
|
5213
|
+
columns: ["product_id"];
|
|
5214
|
+
isOneToOne: false;
|
|
5215
|
+
referencedRelation: "products";
|
|
5216
|
+
referencedColumns: ["id"];
|
|
5217
|
+
}];
|
|
5218
|
+
};
|
|
5219
|
+
local_customer_sales_strategies: {
|
|
5220
|
+
Row: {
|
|
5221
|
+
created_at: string;
|
|
5222
|
+
currency: string;
|
|
5223
|
+
customer_id: string;
|
|
5224
|
+
discount_type: string;
|
|
5225
|
+
discount_value: number;
|
|
5226
|
+
id: string;
|
|
5227
|
+
min_quantity: number;
|
|
5228
|
+
notes: string | null;
|
|
5229
|
+
product_category_id: string | null;
|
|
5230
|
+
product_id: string | null;
|
|
5231
|
+
updated_at: string;
|
|
5232
|
+
valid_from: string | null;
|
|
5233
|
+
valid_until: string | null;
|
|
5234
|
+
};
|
|
5235
|
+
Insert: {
|
|
5236
|
+
created_at?: string;
|
|
5237
|
+
currency?: string;
|
|
5238
|
+
customer_id: string;
|
|
5239
|
+
discount_type: string;
|
|
5240
|
+
discount_value: number;
|
|
5241
|
+
id?: string;
|
|
5242
|
+
min_quantity?: number;
|
|
5243
|
+
notes?: string | null;
|
|
5244
|
+
product_category_id?: string | null;
|
|
5245
|
+
product_id?: string | null;
|
|
5246
|
+
updated_at?: string;
|
|
5247
|
+
valid_from?: string | null;
|
|
5248
|
+
valid_until?: string | null;
|
|
5249
|
+
};
|
|
5250
|
+
Update: {
|
|
5251
|
+
created_at?: string;
|
|
5252
|
+
currency?: string;
|
|
5253
|
+
customer_id?: string;
|
|
5254
|
+
discount_type?: string;
|
|
5255
|
+
discount_value?: number;
|
|
5256
|
+
id?: string;
|
|
5257
|
+
min_quantity?: number;
|
|
5258
|
+
notes?: string | null;
|
|
5259
|
+
product_category_id?: string | null;
|
|
5260
|
+
product_id?: string | null;
|
|
5261
|
+
updated_at?: string;
|
|
5262
|
+
valid_from?: string | null;
|
|
5263
|
+
valid_until?: string | null;
|
|
5264
|
+
};
|
|
5265
|
+
Relationships: [{
|
|
5266
|
+
foreignKeyName: "local_customer_sales_strategies_customer_id_fkey";
|
|
5267
|
+
columns: ["customer_id"];
|
|
5268
|
+
isOneToOne: false;
|
|
5269
|
+
referencedRelation: "customers";
|
|
5270
|
+
referencedColumns: ["id"];
|
|
5271
|
+
}, {
|
|
5272
|
+
foreignKeyName: "local_customer_sales_strategies_product_category_id_fkey";
|
|
5273
|
+
columns: ["product_category_id"];
|
|
5274
|
+
isOneToOne: false;
|
|
5275
|
+
referencedRelation: "product_categories";
|
|
5276
|
+
referencedColumns: ["id"];
|
|
5277
|
+
}, {
|
|
5278
|
+
foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
|
|
5279
|
+
columns: ["product_id"];
|
|
5280
|
+
isOneToOne: false;
|
|
5281
|
+
referencedRelation: "products";
|
|
5282
|
+
referencedColumns: ["id"];
|
|
5283
|
+
}];
|
|
5284
|
+
};
|
|
5042
5285
|
locations: {
|
|
5043
5286
|
Row: {
|
|
5044
5287
|
created_at: string;
|
|
@@ -5546,6 +5789,273 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
5546
5789
|
referencedColumns: ["id"];
|
|
5547
5790
|
}];
|
|
5548
5791
|
};
|
|
5792
|
+
nmbrs_component_mapping: {
|
|
5793
|
+
Row: {
|
|
5794
|
+
created_at: string;
|
|
5795
|
+
id: string;
|
|
5796
|
+
source_kind: string;
|
|
5797
|
+
source_value: string | null;
|
|
5798
|
+
updated_at: string;
|
|
5799
|
+
wage_code: string;
|
|
5800
|
+
};
|
|
5801
|
+
Insert: {
|
|
5802
|
+
created_at?: string;
|
|
5803
|
+
id?: string;
|
|
5804
|
+
source_kind: string;
|
|
5805
|
+
source_value?: string | null;
|
|
5806
|
+
updated_at?: string;
|
|
5807
|
+
wage_code: string;
|
|
5808
|
+
};
|
|
5809
|
+
Update: {
|
|
5810
|
+
created_at?: string;
|
|
5811
|
+
id?: string;
|
|
5812
|
+
source_kind?: string;
|
|
5813
|
+
source_value?: string | null;
|
|
5814
|
+
updated_at?: string;
|
|
5815
|
+
wage_code?: string;
|
|
5816
|
+
};
|
|
5817
|
+
Relationships: [{
|
|
5818
|
+
foreignKeyName: "nmbrs_component_mapping_wage_code_fkey";
|
|
5819
|
+
columns: ["wage_code"];
|
|
5820
|
+
isOneToOne: false;
|
|
5821
|
+
referencedRelation: "nmbrs_wage_components";
|
|
5822
|
+
referencedColumns: ["code"];
|
|
5823
|
+
}];
|
|
5824
|
+
};
|
|
5825
|
+
nmbrs_employee_mapping: {
|
|
5826
|
+
Row: {
|
|
5827
|
+
active_from: string | null;
|
|
5828
|
+
active_to: string | null;
|
|
5829
|
+
contract_hours_per_week: number | null;
|
|
5830
|
+
created_at: string;
|
|
5831
|
+
hourly_wage: number | null;
|
|
5832
|
+
id: string;
|
|
5833
|
+
monteur_id: string;
|
|
5834
|
+
nmbrs_company_code: string | null;
|
|
5835
|
+
nmbrs_employee_number: string;
|
|
5836
|
+
updated_at: string;
|
|
5837
|
+
};
|
|
5838
|
+
Insert: {
|
|
5839
|
+
active_from?: string | null;
|
|
5840
|
+
active_to?: string | null;
|
|
5841
|
+
contract_hours_per_week?: number | null;
|
|
5842
|
+
created_at?: string;
|
|
5843
|
+
hourly_wage?: number | null;
|
|
5844
|
+
id?: string;
|
|
5845
|
+
monteur_id: string;
|
|
5846
|
+
nmbrs_company_code?: string | null;
|
|
5847
|
+
nmbrs_employee_number: string;
|
|
5848
|
+
updated_at?: string;
|
|
5849
|
+
};
|
|
5850
|
+
Update: {
|
|
5851
|
+
active_from?: string | null;
|
|
5852
|
+
active_to?: string | null;
|
|
5853
|
+
contract_hours_per_week?: number | null;
|
|
5854
|
+
created_at?: string;
|
|
5855
|
+
hourly_wage?: number | null;
|
|
5856
|
+
id?: string;
|
|
5857
|
+
monteur_id?: string;
|
|
5858
|
+
nmbrs_company_code?: string | null;
|
|
5859
|
+
nmbrs_employee_number?: string;
|
|
5860
|
+
updated_at?: string;
|
|
5861
|
+
};
|
|
5862
|
+
Relationships: [{
|
|
5863
|
+
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
5864
|
+
columns: ["monteur_id"];
|
|
5865
|
+
isOneToOne: true;
|
|
5866
|
+
referencedRelation: "monteurs";
|
|
5867
|
+
referencedColumns: ["id"];
|
|
5868
|
+
}];
|
|
5869
|
+
};
|
|
5870
|
+
nmbrs_export_lines: {
|
|
5871
|
+
Row: {
|
|
5872
|
+
amount: number;
|
|
5873
|
+
created_at: string;
|
|
5874
|
+
entry_date: string;
|
|
5875
|
+
hours: number;
|
|
5876
|
+
id: string;
|
|
5877
|
+
monteur_id: string;
|
|
5878
|
+
nmbrs_employee_number: string | null;
|
|
5879
|
+
notes: string | null;
|
|
5880
|
+
run_id: string;
|
|
5881
|
+
source_kind: string | null;
|
|
5882
|
+
source_ref_id: string | null;
|
|
5883
|
+
updated_at: string;
|
|
5884
|
+
wage_code: string;
|
|
5885
|
+
};
|
|
5886
|
+
Insert: {
|
|
5887
|
+
amount?: number;
|
|
5888
|
+
created_at?: string;
|
|
5889
|
+
entry_date: string;
|
|
5890
|
+
hours?: number;
|
|
5891
|
+
id?: string;
|
|
5892
|
+
monteur_id: string;
|
|
5893
|
+
nmbrs_employee_number?: string | null;
|
|
5894
|
+
notes?: string | null;
|
|
5895
|
+
run_id: string;
|
|
5896
|
+
source_kind?: string | null;
|
|
5897
|
+
source_ref_id?: string | null;
|
|
5898
|
+
updated_at?: string;
|
|
5899
|
+
wage_code: string;
|
|
5900
|
+
};
|
|
5901
|
+
Update: {
|
|
5902
|
+
amount?: number;
|
|
5903
|
+
created_at?: string;
|
|
5904
|
+
entry_date?: string;
|
|
5905
|
+
hours?: number;
|
|
5906
|
+
id?: string;
|
|
5907
|
+
monteur_id?: string;
|
|
5908
|
+
nmbrs_employee_number?: string | null;
|
|
5909
|
+
notes?: string | null;
|
|
5910
|
+
run_id?: string;
|
|
5911
|
+
source_kind?: string | null;
|
|
5912
|
+
source_ref_id?: string | null;
|
|
5913
|
+
updated_at?: string;
|
|
5914
|
+
wage_code?: string;
|
|
5915
|
+
};
|
|
5916
|
+
Relationships: [{
|
|
5917
|
+
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
5918
|
+
columns: ["monteur_id"];
|
|
5919
|
+
isOneToOne: false;
|
|
5920
|
+
referencedRelation: "monteurs";
|
|
5921
|
+
referencedColumns: ["id"];
|
|
5922
|
+
}, {
|
|
5923
|
+
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
5924
|
+
columns: ["run_id"];
|
|
5925
|
+
isOneToOne: false;
|
|
5926
|
+
referencedRelation: "nmbrs_export_runs";
|
|
5927
|
+
referencedColumns: ["id"];
|
|
5928
|
+
}, {
|
|
5929
|
+
foreignKeyName: "nmbrs_export_lines_wage_code_fkey";
|
|
5930
|
+
columns: ["wage_code"];
|
|
5931
|
+
isOneToOne: false;
|
|
5932
|
+
referencedRelation: "nmbrs_wage_components";
|
|
5933
|
+
referencedColumns: ["code"];
|
|
5934
|
+
}];
|
|
5935
|
+
};
|
|
5936
|
+
nmbrs_export_runs: {
|
|
5937
|
+
Row: {
|
|
5938
|
+
created_at: string;
|
|
5939
|
+
file_name: string | null;
|
|
5940
|
+
generated_at: string;
|
|
5941
|
+
generated_by: string | null;
|
|
5942
|
+
id: string;
|
|
5943
|
+
notes: string | null;
|
|
5944
|
+
period_end: string;
|
|
5945
|
+
period_label: string;
|
|
5946
|
+
period_start: string;
|
|
5947
|
+
status: string;
|
|
5948
|
+
total_hours: number;
|
|
5949
|
+
total_lines: number;
|
|
5950
|
+
updated_at: string;
|
|
5951
|
+
};
|
|
5952
|
+
Insert: {
|
|
5953
|
+
created_at?: string;
|
|
5954
|
+
file_name?: string | null;
|
|
5955
|
+
generated_at?: string;
|
|
5956
|
+
generated_by?: string | null;
|
|
5957
|
+
id?: string;
|
|
5958
|
+
notes?: string | null;
|
|
5959
|
+
period_end: string;
|
|
5960
|
+
period_label: string;
|
|
5961
|
+
period_start: string;
|
|
5962
|
+
status?: string;
|
|
5963
|
+
total_hours?: number;
|
|
5964
|
+
total_lines?: number;
|
|
5965
|
+
updated_at?: string;
|
|
5966
|
+
};
|
|
5967
|
+
Update: {
|
|
5968
|
+
created_at?: string;
|
|
5969
|
+
file_name?: string | null;
|
|
5970
|
+
generated_at?: string;
|
|
5971
|
+
generated_by?: string | null;
|
|
5972
|
+
id?: string;
|
|
5973
|
+
notes?: string | null;
|
|
5974
|
+
period_end?: string;
|
|
5975
|
+
period_label?: string;
|
|
5976
|
+
period_start?: string;
|
|
5977
|
+
status?: string;
|
|
5978
|
+
total_hours?: number;
|
|
5979
|
+
total_lines?: number;
|
|
5980
|
+
updated_at?: string;
|
|
5981
|
+
};
|
|
5982
|
+
Relationships: [];
|
|
5983
|
+
};
|
|
5984
|
+
nmbrs_settings: {
|
|
5985
|
+
Row: {
|
|
5986
|
+
created_at: string;
|
|
5987
|
+
default_company_code: string | null;
|
|
5988
|
+
id: boolean;
|
|
5989
|
+
include_travel: boolean;
|
|
5990
|
+
overtime_threshold_daily: number;
|
|
5991
|
+
overtime_threshold_weekly: number;
|
|
5992
|
+
period_type: string;
|
|
5993
|
+
updated_at: string;
|
|
5994
|
+
updated_by: string | null;
|
|
5995
|
+
week_start_day: number;
|
|
5996
|
+
};
|
|
5997
|
+
Insert: {
|
|
5998
|
+
created_at?: string;
|
|
5999
|
+
default_company_code?: string | null;
|
|
6000
|
+
id?: boolean;
|
|
6001
|
+
include_travel?: boolean;
|
|
6002
|
+
overtime_threshold_daily?: number;
|
|
6003
|
+
overtime_threshold_weekly?: number;
|
|
6004
|
+
period_type?: string;
|
|
6005
|
+
updated_at?: string;
|
|
6006
|
+
updated_by?: string | null;
|
|
6007
|
+
week_start_day?: number;
|
|
6008
|
+
};
|
|
6009
|
+
Update: {
|
|
6010
|
+
created_at?: string;
|
|
6011
|
+
default_company_code?: string | null;
|
|
6012
|
+
id?: boolean;
|
|
6013
|
+
include_travel?: boolean;
|
|
6014
|
+
overtime_threshold_daily?: number;
|
|
6015
|
+
overtime_threshold_weekly?: number;
|
|
6016
|
+
period_type?: string;
|
|
6017
|
+
updated_at?: string;
|
|
6018
|
+
updated_by?: string | null;
|
|
6019
|
+
week_start_day?: number;
|
|
6020
|
+
};
|
|
6021
|
+
Relationships: [];
|
|
6022
|
+
};
|
|
6023
|
+
nmbrs_wage_components: {
|
|
6024
|
+
Row: {
|
|
6025
|
+
category: string;
|
|
6026
|
+
code: string;
|
|
6027
|
+
created_at: string;
|
|
6028
|
+
id: string;
|
|
6029
|
+
is_active: boolean;
|
|
6030
|
+
label: string;
|
|
6031
|
+
sort_order: number;
|
|
6032
|
+
unit: string;
|
|
6033
|
+
updated_at: string;
|
|
6034
|
+
};
|
|
6035
|
+
Insert: {
|
|
6036
|
+
category: string;
|
|
6037
|
+
code: string;
|
|
6038
|
+
created_at?: string;
|
|
6039
|
+
id?: string;
|
|
6040
|
+
is_active?: boolean;
|
|
6041
|
+
label: string;
|
|
6042
|
+
sort_order?: number;
|
|
6043
|
+
unit: string;
|
|
6044
|
+
updated_at?: string;
|
|
6045
|
+
};
|
|
6046
|
+
Update: {
|
|
6047
|
+
category?: string;
|
|
6048
|
+
code?: string;
|
|
6049
|
+
created_at?: string;
|
|
6050
|
+
id?: string;
|
|
6051
|
+
is_active?: boolean;
|
|
6052
|
+
label?: string;
|
|
6053
|
+
sort_order?: number;
|
|
6054
|
+
unit?: string;
|
|
6055
|
+
updated_at?: string;
|
|
6056
|
+
};
|
|
6057
|
+
Relationships: [];
|
|
6058
|
+
};
|
|
5549
6059
|
notifications: {
|
|
5550
6060
|
Row: {
|
|
5551
6061
|
created_at: string;
|
|
@@ -7394,6 +7904,48 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
7394
7904
|
};
|
|
7395
7905
|
Relationships: [];
|
|
7396
7906
|
};
|
|
7907
|
+
stock_import_runs: {
|
|
7908
|
+
Row: {
|
|
7909
|
+
connection_id: string | null;
|
|
7910
|
+
created_at: string;
|
|
7911
|
+
created_rows: number;
|
|
7912
|
+
errors: import("../integrations/supabase/types").Json;
|
|
7913
|
+
filename: string | null;
|
|
7914
|
+
id: string;
|
|
7915
|
+
mutations: import("../integrations/supabase/types").Json;
|
|
7916
|
+
skipped_rows: number;
|
|
7917
|
+
total_rows: number;
|
|
7918
|
+
updated_rows: number;
|
|
7919
|
+
user_id: string;
|
|
7920
|
+
};
|
|
7921
|
+
Insert: {
|
|
7922
|
+
connection_id?: string | null;
|
|
7923
|
+
created_at?: string;
|
|
7924
|
+
created_rows?: number;
|
|
7925
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
7926
|
+
filename?: string | null;
|
|
7927
|
+
id?: string;
|
|
7928
|
+
mutations?: import("../integrations/supabase/types").Json;
|
|
7929
|
+
skipped_rows?: number;
|
|
7930
|
+
total_rows?: number;
|
|
7931
|
+
updated_rows?: number;
|
|
7932
|
+
user_id: string;
|
|
7933
|
+
};
|
|
7934
|
+
Update: {
|
|
7935
|
+
connection_id?: string | null;
|
|
7936
|
+
created_at?: string;
|
|
7937
|
+
created_rows?: number;
|
|
7938
|
+
errors?: import("../integrations/supabase/types").Json;
|
|
7939
|
+
filename?: string | null;
|
|
7940
|
+
id?: string;
|
|
7941
|
+
mutations?: import("../integrations/supabase/types").Json;
|
|
7942
|
+
skipped_rows?: number;
|
|
7943
|
+
total_rows?: number;
|
|
7944
|
+
updated_rows?: number;
|
|
7945
|
+
user_id?: string;
|
|
7946
|
+
};
|
|
7947
|
+
Relationships: [];
|
|
7948
|
+
};
|
|
7397
7949
|
stock_mutation_log: {
|
|
7398
7950
|
Row: {
|
|
7399
7951
|
connection_id: string | null;
|
|
@@ -9025,6 +9577,44 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9025
9577
|
};
|
|
9026
9578
|
Relationships: [];
|
|
9027
9579
|
};
|
|
9580
|
+
floriday_customer_discounts: {
|
|
9581
|
+
Row: {
|
|
9582
|
+
base_price: number | null;
|
|
9583
|
+
buyer_organization_id: string | null;
|
|
9584
|
+
currency: string | null;
|
|
9585
|
+
discount_type: string | null;
|
|
9586
|
+
discount_value: number | null;
|
|
9587
|
+
min_quantity: number | null;
|
|
9588
|
+
net_price: number | null;
|
|
9589
|
+
product_group_id: string | null;
|
|
9590
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
9591
|
+
source: string | null;
|
|
9592
|
+
source_id: string | null;
|
|
9593
|
+
trade_item_id: string | null;
|
|
9594
|
+
valid_from: string | null;
|
|
9595
|
+
valid_until: string | null;
|
|
9596
|
+
};
|
|
9597
|
+
Relationships: [];
|
|
9598
|
+
};
|
|
9599
|
+
local_customer_discounts: {
|
|
9600
|
+
Row: {
|
|
9601
|
+
base_price: number | null;
|
|
9602
|
+
currency: string | null;
|
|
9603
|
+
customer_id: string | null;
|
|
9604
|
+
discount_type: string | null;
|
|
9605
|
+
discount_value: number | null;
|
|
9606
|
+
min_quantity: number | null;
|
|
9607
|
+
net_price: number | null;
|
|
9608
|
+
product_category_id: string | null;
|
|
9609
|
+
product_id: string | null;
|
|
9610
|
+
product_name: string | null;
|
|
9611
|
+
source: string | null;
|
|
9612
|
+
source_id: string | null;
|
|
9613
|
+
valid_from: string | null;
|
|
9614
|
+
valid_until: string | null;
|
|
9615
|
+
};
|
|
9616
|
+
Relationships: [];
|
|
9617
|
+
};
|
|
9028
9618
|
manufacture_product_possible_stock_view: {
|
|
9029
9619
|
Row: {
|
|
9030
9620
|
component_count: number | null;
|
|
@@ -9309,6 +9899,32 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9309
9899
|
};
|
|
9310
9900
|
Returns: number;
|
|
9311
9901
|
};
|
|
9902
|
+
afh_city_code: {
|
|
9903
|
+
Args: {
|
|
9904
|
+
_city: string;
|
|
9905
|
+
_country: string;
|
|
9906
|
+
};
|
|
9907
|
+
Returns: string;
|
|
9908
|
+
};
|
|
9909
|
+
afh_normalize_country: {
|
|
9910
|
+
Args: {
|
|
9911
|
+
_raw: string;
|
|
9912
|
+
};
|
|
9913
|
+
Returns: string;
|
|
9914
|
+
};
|
|
9915
|
+
afh_normalize_nl_province: {
|
|
9916
|
+
Args: {
|
|
9917
|
+
_raw: string;
|
|
9918
|
+
};
|
|
9919
|
+
Returns: string;
|
|
9920
|
+
};
|
|
9921
|
+
afh_subtract_workdays: {
|
|
9922
|
+
Args: {
|
|
9923
|
+
_date: string;
|
|
9924
|
+
_days: number;
|
|
9925
|
+
};
|
|
9926
|
+
Returns: string;
|
|
9927
|
+
};
|
|
9312
9928
|
apply_stock_consumption: {
|
|
9313
9929
|
Args: {
|
|
9314
9930
|
p_order_id: string;
|
|
@@ -9354,12 +9970,40 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9354
9970
|
order_number: string;
|
|
9355
9971
|
}[];
|
|
9356
9972
|
};
|
|
9973
|
+
backfill_open_order_reservations: {
|
|
9974
|
+
Args: never;
|
|
9975
|
+
Returns: {
|
|
9976
|
+
processed_items: number;
|
|
9977
|
+
}[];
|
|
9978
|
+
};
|
|
9357
9979
|
call_exact_route: {
|
|
9358
9980
|
Args: {
|
|
9359
9981
|
path: string;
|
|
9360
9982
|
};
|
|
9361
9983
|
Returns: number;
|
|
9362
9984
|
};
|
|
9985
|
+
check_offer_product_available_stock: {
|
|
9986
|
+
Args: {
|
|
9987
|
+
p_campaign_product_id: string;
|
|
9988
|
+
p_code: string;
|
|
9989
|
+
p_needed_qty?: number;
|
|
9990
|
+
p_product_name?: string;
|
|
9991
|
+
};
|
|
9992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
9993
|
+
};
|
|
9994
|
+
check_trade_item_available_stock: {
|
|
9995
|
+
Args: {
|
|
9996
|
+
p_connection_id?: string;
|
|
9997
|
+
p_context?: string;
|
|
9998
|
+
p_needed_qty?: number;
|
|
9999
|
+
p_order_id?: string;
|
|
10000
|
+
p_order_item_id?: string;
|
|
10001
|
+
p_owner_id?: string;
|
|
10002
|
+
p_product_name?: string;
|
|
10003
|
+
p_trade_item_key: string;
|
|
10004
|
+
};
|
|
10005
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10006
|
+
};
|
|
9363
10007
|
cleanup_old_bookings: {
|
|
9364
10008
|
Args: never;
|
|
9365
10009
|
Returns: number;
|
|
@@ -9403,6 +10047,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9403
10047
|
table_name: string;
|
|
9404
10048
|
}[];
|
|
9405
10049
|
};
|
|
10050
|
+
dispatch_carrier_signups_sql: {
|
|
10051
|
+
Args: {
|
|
10052
|
+
_catchup?: string;
|
|
10053
|
+
};
|
|
10054
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10055
|
+
};
|
|
9406
10056
|
email_auth_decrypt: {
|
|
9407
10057
|
Args: {
|
|
9408
10058
|
cipher: string;
|
|
@@ -9438,6 +10088,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9438
10088
|
status: string;
|
|
9439
10089
|
}[];
|
|
9440
10090
|
};
|
|
10091
|
+
ensure_trade_item_stock_row: {
|
|
10092
|
+
Args: {
|
|
10093
|
+
p_key: string;
|
|
10094
|
+
};
|
|
10095
|
+
Returns: undefined;
|
|
10096
|
+
};
|
|
9441
10097
|
ensure_user_tenant: {
|
|
9442
10098
|
Args: never;
|
|
9443
10099
|
Returns: string;
|
|
@@ -9475,6 +10131,31 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9475
10131
|
};
|
|
9476
10132
|
Returns: boolean;
|
|
9477
10133
|
};
|
|
10134
|
+
find_trade_item_key: {
|
|
10135
|
+
Args: {
|
|
10136
|
+
p_barcode: string;
|
|
10137
|
+
p_name: string;
|
|
10138
|
+
p_product_id: string;
|
|
10139
|
+
};
|
|
10140
|
+
Returns: string;
|
|
10141
|
+
};
|
|
10142
|
+
floriday_effective_price: {
|
|
10143
|
+
Args: {
|
|
10144
|
+
_buyer_id: string;
|
|
10145
|
+
_on_date?: string;
|
|
10146
|
+
_quantity?: number;
|
|
10147
|
+
_trade_item_id: string;
|
|
10148
|
+
};
|
|
10149
|
+
Returns: {
|
|
10150
|
+
base_price: number;
|
|
10151
|
+
currency: string;
|
|
10152
|
+
discount_type: string;
|
|
10153
|
+
discount_value: number;
|
|
10154
|
+
net_price: number;
|
|
10155
|
+
source: string;
|
|
10156
|
+
source_id: string;
|
|
10157
|
+
}[];
|
|
10158
|
+
};
|
|
9478
10159
|
format_cart_number: {
|
|
9479
10160
|
Args: {
|
|
9480
10161
|
p_pick_date: string;
|
|
@@ -9495,6 +10176,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9495
10176
|
preferred_warehouse_name: string;
|
|
9496
10177
|
}[];
|
|
9497
10178
|
};
|
|
10179
|
+
get_active_floriday_context: {
|
|
10180
|
+
Args: never;
|
|
10181
|
+
Returns: {
|
|
10182
|
+
connection_id: string;
|
|
10183
|
+
user_id: string;
|
|
10184
|
+
}[];
|
|
10185
|
+
};
|
|
9498
10186
|
get_active_twinfield_public: {
|
|
9499
10187
|
Args: never;
|
|
9500
10188
|
Returns: {
|
|
@@ -9597,6 +10285,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9597
10285
|
};
|
|
9598
10286
|
Returns: import("../integrations/supabase/types").Json;
|
|
9599
10287
|
};
|
|
10288
|
+
get_offer_recipient_by_code: {
|
|
10289
|
+
Args: {
|
|
10290
|
+
p_code: string;
|
|
10291
|
+
};
|
|
10292
|
+
Returns: {
|
|
10293
|
+
campaign_id: string;
|
|
10294
|
+
clicked_at: string;
|
|
10295
|
+
customer_id: string;
|
|
10296
|
+
id: string;
|
|
10297
|
+
ordered_at: string;
|
|
10298
|
+
}[];
|
|
10299
|
+
};
|
|
9600
10300
|
get_or_assign_floriday_order_number: {
|
|
9601
10301
|
Args: {
|
|
9602
10302
|
p_floriday_id: string;
|
|
@@ -9649,6 +10349,34 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9649
10349
|
Args: never;
|
|
9650
10350
|
Returns: boolean;
|
|
9651
10351
|
};
|
|
10352
|
+
local_effective_price: {
|
|
10353
|
+
Args: {
|
|
10354
|
+
_customer_id: string;
|
|
10355
|
+
_on_date?: string;
|
|
10356
|
+
_product_id: string;
|
|
10357
|
+
_quantity?: number;
|
|
10358
|
+
};
|
|
10359
|
+
Returns: {
|
|
10360
|
+
currency: string;
|
|
10361
|
+
discount_type: string;
|
|
10362
|
+
discount_value: number;
|
|
10363
|
+
net_price: number;
|
|
10364
|
+
source: string;
|
|
10365
|
+
source_id: string;
|
|
10366
|
+
}[];
|
|
10367
|
+
};
|
|
10368
|
+
mark_offer_clicked: {
|
|
10369
|
+
Args: {
|
|
10370
|
+
p_code: string;
|
|
10371
|
+
};
|
|
10372
|
+
Returns: undefined;
|
|
10373
|
+
};
|
|
10374
|
+
mark_offer_ordered: {
|
|
10375
|
+
Args: {
|
|
10376
|
+
p_code: string;
|
|
10377
|
+
};
|
|
10378
|
+
Returns: undefined;
|
|
10379
|
+
};
|
|
9652
10380
|
next_order_number: {
|
|
9653
10381
|
Args: {
|
|
9654
10382
|
p_prefix: string;
|
|
@@ -9668,6 +10396,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9668
10396
|
};
|
|
9669
10397
|
Returns: string;
|
|
9670
10398
|
};
|
|
10399
|
+
offer_recipient_matches: {
|
|
10400
|
+
Args: {
|
|
10401
|
+
_campaign_id: string;
|
|
10402
|
+
_customer_id: string;
|
|
10403
|
+
_recipient_id: string;
|
|
10404
|
+
};
|
|
10405
|
+
Returns: boolean;
|
|
10406
|
+
};
|
|
9671
10407
|
pickstation_get_orders_raw: {
|
|
9672
10408
|
Args: never;
|
|
9673
10409
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -9695,6 +10431,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9695
10431
|
};
|
|
9696
10432
|
Returns: undefined;
|
|
9697
10433
|
};
|
|
10434
|
+
promote_trade_item_key: {
|
|
10435
|
+
Args: {
|
|
10436
|
+
p_new: string;
|
|
10437
|
+
p_old: string;
|
|
10438
|
+
};
|
|
10439
|
+
Returns: undefined;
|
|
10440
|
+
};
|
|
9698
10441
|
refresh_floricode_derived_code_lists: {
|
|
9699
10442
|
Args: never;
|
|
9700
10443
|
Returns: {
|