@erp-galoper/types 1.0.2191 → 1.0.2192

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.
Files changed (2) hide show
  1. package/openapi.ts +518 -352
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -2081,10 +2081,7 @@ export interface paths {
2081
2081
  path?: never;
2082
2082
  cookie?: never;
2083
2083
  };
2084
- /**
2085
- * List importable document types
2086
- * @description Returns each registered import handler the current user is allowed to run (permission-filtered).
2087
- */
2084
+ /** List importable document types */
2088
2085
  get: operations["common_data_import_views_list_data_import_document_types"];
2089
2086
  put?: never;
2090
2087
  post?: never;
@@ -2094,7 +2091,7 @@ export interface paths {
2094
2091
  patch?: never;
2095
2092
  trace?: never;
2096
2093
  };
2097
- "/api/v1/common/data-import/sessions/{session_id}/mapping/": {
2094
+ "/api/v1/common/data-import/{document_type}/configure/": {
2098
2095
  parameters: {
2099
2096
  query?: never;
2100
2097
  header?: never;
@@ -2102,23 +2099,16 @@ export interface paths {
2102
2099
  cookie?: never;
2103
2100
  };
2104
2101
  get?: never;
2105
- /**
2106
- * Save import session mapping
2107
- * @description Primary step-2 API: persist field mapping, defaults, enums, modes, categories, and variant sheet config.
2108
- */
2109
- put: operations["common_data_import_views_update_data_import_mapping"];
2110
- /**
2111
- * Save import session mapping (POST)
2112
- * @description Same as PUT mapping; provided for clients that only send POST.
2113
- */
2114
- post: operations["common_data_import_views_update_data_import_mapping_post"];
2102
+ put?: never;
2103
+ /** Configure import from file link */
2104
+ post: operations["common_data_import_views_configure_data_import_endpoint"];
2115
2105
  delete?: never;
2116
2106
  options?: never;
2117
2107
  head?: never;
2118
2108
  patch?: never;
2119
2109
  trace?: never;
2120
2110
  };
2121
- "/api/v1/common/data-import/sessions/{session_id}/category-setup/preview/": {
2111
+ "/api/v1/common/data-import/{document_type}/mapping/": {
2122
2112
  parameters: {
2123
2113
  query?: never;
2124
2114
  header?: never;
@@ -2127,18 +2117,15 @@ export interface paths {
2127
2117
  };
2128
2118
  get?: never;
2129
2119
  put?: never;
2130
- /**
2131
- * Preview category path mapping
2132
- * @description Scans mapped category column values and lists paths that need a Galoper category assignment.
2133
- */
2134
- post: operations["common_data_import_views_preview_data_import_category_setup"];
2120
+ /** Save column mapping */
2121
+ post: operations["common_data_import_views_update_data_import_mapping"];
2135
2122
  delete?: never;
2136
2123
  options?: never;
2137
2124
  head?: never;
2138
2125
  patch?: never;
2139
2126
  trace?: never;
2140
2127
  };
2141
- "/api/v1/common/data-import/sessions/{session_id}/enum-mapping/preview/": {
2128
+ "/api/v1/common/data-import/{document_type}/category-setup/preview/": {
2142
2129
  parameters: {
2143
2130
  query?: never;
2144
2131
  header?: never;
@@ -2147,38 +2134,32 @@ export interface paths {
2147
2134
  };
2148
2135
  get?: never;
2149
2136
  put?: never;
2150
- /**
2151
- * Preview enum value mapping
2152
- * @description Dry-run: which spreadsheet values still need mapping to Galoper enum options.
2153
- */
2154
- post: operations["common_data_import_views_preview_data_import_enum_mapping"];
2137
+ /** Preview category path mapping */
2138
+ post: operations["common_data_import_views_preview_data_import_category_setup"];
2155
2139
  delete?: never;
2156
2140
  options?: never;
2157
2141
  head?: never;
2158
2142
  patch?: never;
2159
2143
  trace?: never;
2160
2144
  };
2161
- "/api/v1/common/data-import/sessions/{session_id}/preview/": {
2145
+ "/api/v1/common/data-import/{document_type}/enum-mapping/preview/": {
2162
2146
  parameters: {
2163
2147
  query?: never;
2164
2148
  header?: never;
2165
2149
  path?: never;
2166
2150
  cookie?: never;
2167
2151
  };
2168
- /**
2169
- * Preview import validation
2170
- * @description Validates all rows using the saved session mapping; does not create or update records.
2171
- */
2172
- get: operations["common_data_import_views_preview_data_import"];
2152
+ get?: never;
2173
2153
  put?: never;
2174
- post?: never;
2154
+ /** Preview enum value mapping */
2155
+ post: operations["common_data_import_views_preview_data_import_enum_mapping"];
2175
2156
  delete?: never;
2176
2157
  options?: never;
2177
2158
  head?: never;
2178
2159
  patch?: never;
2179
2160
  trace?: never;
2180
2161
  };
2181
- "/api/v1/common/data-import/sessions/{session_id}/sheet/": {
2162
+ "/api/v1/common/data-import/{document_type}/preview/": {
2182
2163
  parameters: {
2183
2164
  query?: never;
2184
2165
  header?: never;
@@ -2187,18 +2168,15 @@ export interface paths {
2187
2168
  };
2188
2169
  get?: never;
2189
2170
  put?: never;
2190
- /**
2191
- * Select Excel worksheet
2192
- * @description Re-parse the uploaded workbook using a different sheet as the main import grid.
2193
- */
2194
- post: operations["common_data_import_views_select_data_import_sheet"];
2171
+ /** Preview import validation */
2172
+ post: operations["common_data_import_views_preview_data_import"];
2195
2173
  delete?: never;
2196
2174
  options?: never;
2197
2175
  head?: never;
2198
2176
  patch?: never;
2199
2177
  trace?: never;
2200
2178
  };
2201
- "/api/v1/common/data-import/sessions/{session_id}/import/": {
2179
+ "/api/v1/common/data-import/{document_type}/sheet/": {
2202
2180
  parameters: {
2203
2181
  query?: never;
2204
2182
  header?: never;
@@ -2207,49 +2185,40 @@ export interface paths {
2207
2185
  };
2208
2186
  get?: never;
2209
2187
  put?: never;
2210
- /**
2211
- * Execute import
2212
- * @description Creates or updates records for rows that passed preview; marks the session completed.
2213
- */
2214
- post: operations["common_data_import_views_execute_data_import"];
2188
+ /** Select Excel worksheet */
2189
+ post: operations["common_data_import_views_select_data_import_sheet"];
2215
2190
  delete?: never;
2216
2191
  options?: never;
2217
2192
  head?: never;
2218
2193
  patch?: never;
2219
2194
  trace?: never;
2220
2195
  };
2221
- "/api/v1/common/data-import/{document_type}/import-options/": {
2196
+ "/api/v1/common/data-import/{document_type}/import/": {
2222
2197
  parameters: {
2223
2198
  query?: never;
2224
2199
  header?: never;
2225
2200
  path?: never;
2226
2201
  cookie?: never;
2227
2202
  };
2228
- /**
2229
- * Import mode options
2230
- * @description Lists supported import modes and duplicate-match fields for a document type.
2231
- */
2232
- get: operations["common_data_import_views_list_data_import_options"];
2203
+ get?: never;
2233
2204
  put?: never;
2234
- post?: never;
2205
+ /** Execute import */
2206
+ post: operations["common_data_import_views_execute_data_import"];
2235
2207
  delete?: never;
2236
2208
  options?: never;
2237
2209
  head?: never;
2238
2210
  patch?: never;
2239
2211
  trace?: never;
2240
2212
  };
2241
- "/api/v1/common/data-import/{document_type}/fields/": {
2213
+ "/api/v1/common/data-import/{document_type}/import-options/": {
2242
2214
  parameters: {
2243
2215
  query?: never;
2244
2216
  header?: never;
2245
2217
  path?: never;
2246
2218
  cookie?: never;
2247
2219
  };
2248
- /**
2249
- * Import field definitions
2250
- * @description Galoper fields available for column mapping for the given document type.
2251
- */
2252
- get: operations["common_data_import_views_list_data_import_fields"];
2220
+ /** Import mode options */
2221
+ get: operations["common_data_import_views_list_data_import_options"];
2253
2222
  put?: never;
2254
2223
  post?: never;
2255
2224
  delete?: never;
@@ -2258,18 +2227,15 @@ export interface paths {
2258
2227
  patch?: never;
2259
2228
  trace?: never;
2260
2229
  };
2261
- "/api/v1/common/data-import/{document_type}/saved-mappings/": {
2230
+ "/api/v1/common/data-import/{document_type}/fields/": {
2262
2231
  parameters: {
2263
2232
  query?: never;
2264
2233
  header?: never;
2265
2234
  path?: never;
2266
2235
  cookie?: never;
2267
2236
  };
2268
- /**
2269
- * List saved import mappings
2270
- * @description Returns named mapping presets the user saved from a prior import session.
2271
- */
2272
- get: operations["common_data_import_views_list_data_import_saved_mappings"];
2237
+ /** Import field definitions */
2238
+ get: operations["common_data_import_views_list_data_import_fields"];
2273
2239
  put?: never;
2274
2240
  post?: never;
2275
2241
  delete?: never;
@@ -2278,20 +2244,17 @@ export interface paths {
2278
2244
  patch?: never;
2279
2245
  trace?: never;
2280
2246
  };
2281
- "/api/v1/common/data-import/{document_type}/configure/": {
2247
+ "/api/v1/common/data-import/{document_type}/saved-mappings/": {
2282
2248
  parameters: {
2283
2249
  query?: never;
2284
2250
  header?: never;
2285
2251
  path?: never;
2286
2252
  cookie?: never;
2287
2253
  };
2288
- get?: never;
2254
+ /** List saved import mappings */
2255
+ get: operations["common_data_import_views_list_data_import_saved_mappings"];
2289
2256
  put?: never;
2290
- /**
2291
- * Upload file and create import session
2292
- * @description Step 1: parse CSV/TSV/Excel, store session, return headers and suggested mapping.
2293
- */
2294
- post: operations["common_data_import_views_configure_data_import"];
2257
+ post?: never;
2295
2258
  delete?: never;
2296
2259
  options?: never;
2297
2260
  head?: never;
@@ -2442,6 +2405,7 @@ export interface paths {
2442
2405
  * @description Upload files to local storage or cloud. Returns full URL.
2443
2406
  * Dual-write to cloud is enabled only for item/category images when IS_CLOUD=false.
2444
2407
  * Image uploads are limited to 5MB.
2408
+ * type=dataImport accepts .csv, .tsv, .txt, and .xlsx for the data-import wizard (.xlsx up to 15 GB).
2445
2409
  */
2446
2410
  post: operations["common_views_upload_files"];
2447
2411
  delete?: never;
@@ -33941,42 +33905,101 @@ export interface components {
33941
33905
  */
33942
33906
  label: string;
33943
33907
  };
33944
- /** ImportCategorySetupSchema */
33945
- ImportCategorySetupSchema: {
33908
+ /** ConfigureImportResponse */
33909
+ ConfigureImportResponse: {
33946
33910
  /**
33947
- * Showcategorysetup
33948
- * @description True when flat category values need user-defined Galoper category paths.
33949
- * @default false
33911
+ * Fileurl
33912
+ * @description Normalized upload link; send on mapping, preview, and import requests.
33950
33913
  */
33951
- showCategorySetup: boolean;
33914
+ fileUrl: string;
33952
33915
  /**
33953
- * Categorycolumn
33954
- * @description Spreadsheet column header mapped to category (from fieldMapping.category).
33916
+ * Documenttype
33917
+ * @description Handler id for this import.
33955
33918
  */
33956
- categoryColumn?: string | null;
33919
+ documentType: string;
33957
33920
  /**
33958
- * Flatcategoryvalues
33959
- * @description Distinct category strings without path separators; each needs categoryPathMappings entry.
33921
+ * Filename
33922
+ * @description Original uploaded filename.
33960
33923
  */
33961
- flatCategoryValues?: string[];
33924
+ fileName: string;
33962
33925
  /**
33963
- * Pathcategoryvalues
33964
- * @description Values already using path syntax; may resolve without extra mapping.
33926
+ * Fileformat
33927
+ * @description Detected format: csv or excel; drives sheet selection behavior.
33965
33928
  */
33966
- pathCategoryValues?: string[];
33929
+ fileFormat: string;
33967
33930
  /**
33968
- * Categorypathmappings
33969
- * @description Known flat value → Galoper path; send full dict on mapping save.
33931
+ * Sheetnames
33932
+ * @description Excel workbook tabs; empty for CSV/TSV.
33970
33933
  */
33971
- categoryPathMappings?: {
33934
+ sheetNames?: string[];
33935
+ /**
33936
+ * Selectedsheet
33937
+ * @description Worksheet used for main import rows; change via POST data-import/{type}/sheet/ with fileUrl.
33938
+ */
33939
+ selectedSheet?: string | null;
33940
+ /**
33941
+ * Columnheaders
33942
+ * @description Header cells for the selected main sheet or text file row.
33943
+ */
33944
+ columnHeaders: string[];
33945
+ /**
33946
+ * Suggestedmapping
33947
+ * @description Auto-matched Galoper field → column header; edit and save via mapping endpoint.
33948
+ */
33949
+ suggestedMapping: {
33950
+ [key: string]: string | null;
33951
+ };
33952
+ /**
33953
+ * Suggesteddefaults
33954
+ * @description System defaults to seed fieldDefaults on first mapping save.
33955
+ */
33956
+ suggestedDefaults?: {
33972
33957
  [key: string]: string;
33973
33958
  };
33959
+ /** @description First-pass enum analysis; refresh after mapping via enum-mapping preview or mapping response. */
33960
+ enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
33974
33961
  /**
33975
- * Valuestruncated
33976
- * @description True when category distinct values were capped in analysis.
33977
- * @default false
33962
+ * Totalrows
33963
+ * @description Number of data rows on the main import grid.
33978
33964
  */
33979
- valuesTruncated: boolean;
33965
+ totalRows: number;
33966
+ /** @description Supported import modes and duplicate-match fields for this type. */
33967
+ importOptions?: components["schemas"]["ImportOptionsSchema"];
33968
+ /** @description Variant sheet metadata when supported (items). */
33969
+ variantImport?: components["schemas"]["ImportVariantImportSchema"];
33970
+ /**
33971
+ * Fields
33972
+ * @description Full Galoper field catalog for the mapping UI (includes image fieldType slots).
33973
+ */
33974
+ fields?: components["schemas"]["ImportFieldSchema"][];
33975
+ /**
33976
+ * Unmappedrequiredfields
33977
+ * @description Required keys still without a column or default after auto-mapping; prompt for column or default.
33978
+ */
33979
+ unmappedRequiredFields?: string[];
33980
+ /**
33981
+ * Unmappedrequiredfielddetails
33982
+ * @description Same as fields catalog entries for unmappedRequiredFields, including enumOptions for enum fields.
33983
+ */
33984
+ unmappedRequiredFieldDetails?: components["schemas"]["ImportFieldSchema"][];
33985
+ /**
33986
+ * Fieldsneedingdefault
33987
+ * @description No column mapped yet—user should set fieldDefaults (enums show enumOptions; e.g. paymentTerm).
33988
+ */
33989
+ fieldsNeedingDefault?: components["schemas"]["ImportFieldSchema"][];
33990
+ };
33991
+ /** ImportDuplicateMatchFieldSchema */
33992
+ ImportDuplicateMatchFieldSchema: {
33993
+ /**
33994
+ * Fieldkey
33995
+ * @description Galoper field used to find existing records in update/upsert mode.
33996
+ */
33997
+ fieldKey: string;
33998
+ /**
33999
+ * Label
34000
+ * @description Display name for the duplicate-match field selector.
34001
+ */
34002
+ label: string;
33980
34003
  };
33981
34004
  /** ImportEnumFieldMappingSchema */
33982
34005
  ImportEnumFieldMappingSchema: {
@@ -34014,6 +34037,11 @@ export interface components {
34014
34037
  * @default false
34015
34038
  */
34016
34039
  valuesTruncated: boolean;
34040
+ /**
34041
+ * Enumoptions
34042
+ * @description Galoper choices for this enum field (for value-mapping pickers in the UI).
34043
+ */
34044
+ enumOptions?: components["schemas"]["ImportEnumOptionSchema"][];
34017
34045
  };
34018
34046
  /** ImportEnumMappingsSchema */
34019
34047
  ImportEnumMappingsSchema: {
@@ -34025,7 +34053,7 @@ export interface components {
34025
34053
  requiresUserMapping: boolean;
34026
34054
  /**
34027
34055
  * Analyzedrows
34028
- * @description How many data rows were scanned to build enum suggestions.
34056
+ * @description Number of data rows in the import sheet (enum distinct values are taken from all rows).
34029
34057
  * @default 0
34030
34058
  */
34031
34059
  analyzedRows: number;
@@ -34110,6 +34138,123 @@ export interface components {
34110
34138
  */
34111
34139
  imageColumn: boolean;
34112
34140
  };
34141
+ /** ImportGuideSchema */
34142
+ ImportGuideSchema: {
34143
+ /**
34144
+ * Title
34145
+ * @description Panel heading for import behavior help.
34146
+ * @default How to import
34147
+ */
34148
+ title: string;
34149
+ /**
34150
+ * Bodyparagraphs
34151
+ * @description Mode-specific summary lines shown above match behavior.
34152
+ */
34153
+ bodyParagraphs?: string[];
34154
+ /**
34155
+ * Matchexistingtitle
34156
+ * @description Subheading above match hierarchy or picker.
34157
+ * @default Match existing records
34158
+ */
34159
+ matchExistingTitle: string;
34160
+ /**
34161
+ * Matchselection
34162
+ * @description user = client shows duplicateMatchField picker; server = fixed cascade from matchHierarchy.
34163
+ * @default user
34164
+ */
34165
+ matchSelection: string;
34166
+ /**
34167
+ * Matchhierarchy
34168
+ * @description Ordered match steps when matchSelection is server, or available keys when user.
34169
+ */
34170
+ matchHierarchy?: components["schemas"]["ImportMatchHierarchyStepSchema"][];
34171
+ /**
34172
+ * Matchbehavior
34173
+ * @description Short explanation of how matching works for this document type.
34174
+ * @default
34175
+ */
34176
+ matchBehavior: string;
34177
+ /**
34178
+ * Updatebehavior
34179
+ * @description How mapped vs unmapped columns apply on create/update.
34180
+ * @default
34181
+ */
34182
+ updateBehavior: string;
34183
+ /**
34184
+ * Matchfieldlabels
34185
+ * @description Legacy item UI: labels for duplicate-match dropdown.
34186
+ */
34187
+ matchFieldLabels?: string[];
34188
+ };
34189
+ /** ImportMatchHierarchyStepSchema */
34190
+ ImportMatchHierarchyStepSchema: {
34191
+ /**
34192
+ * Fieldkey
34193
+ * @description Match step id (server cascade or picker value).
34194
+ */
34195
+ fieldKey: string;
34196
+ /**
34197
+ * Label
34198
+ * @description User-facing label for this match step.
34199
+ */
34200
+ label: string;
34201
+ };
34202
+ /** ImportModeSchema */
34203
+ ImportModeSchema: {
34204
+ /**
34205
+ * Value
34206
+ * @description Mode id sent as importMode on mapping (e.g. create, upsert, update).
34207
+ */
34208
+ value: string;
34209
+ /**
34210
+ * Label
34211
+ * @description Short explanation shown in the import mode dropdown.
34212
+ */
34213
+ label: string;
34214
+ };
34215
+ /** ImportOptionsSchema */
34216
+ ImportOptionsSchema: {
34217
+ /**
34218
+ * Importmodes
34219
+ * @description Modes allowed for this document type; choose one when saving mapping.
34220
+ */
34221
+ importModes?: components["schemas"]["ImportModeSchema"][];
34222
+ /**
34223
+ * Duplicatematchfields
34224
+ * @description Fields available for duplicateMatchField when mode is update or upsert.
34225
+ */
34226
+ duplicateMatchFields?: components["schemas"]["ImportDuplicateMatchFieldSchema"][];
34227
+ /**
34228
+ * Defaultimportmode
34229
+ * @description Initial importMode on new sessions if the client does not override.
34230
+ * @default create
34231
+ */
34232
+ defaultImportMode: string;
34233
+ /**
34234
+ * Defaultduplicatematchfield
34235
+ * @description Initial duplicateMatchField when upsert/update is supported.
34236
+ */
34237
+ defaultDuplicateMatchField?: string | null;
34238
+ /**
34239
+ * Duplicatematchfieldrequired
34240
+ * @description False when the server applies a fixed match cascade (customer/supplier).
34241
+ * @default true
34242
+ */
34243
+ duplicateMatchFieldRequired: boolean;
34244
+ /**
34245
+ * Showduplicatematchfieldpicker
34246
+ * @description False when the UI should hide the match-field dropdown.
34247
+ * @default true
34248
+ */
34249
+ showDuplicateMatchFieldPicker: boolean;
34250
+ /** @description Server-authored copy for the How to import panel. */
34251
+ importGuide?: components["schemas"]["ImportGuideSchema"];
34252
+ /**
34253
+ * Fields
34254
+ * @description Same field catalog as configure.fields (includes imageColumn slots).
34255
+ */
34256
+ fields?: components["schemas"]["ImportFieldSchema"][];
34257
+ };
34113
34258
  /** ImportVariantImportSchema */
34114
34259
  ImportVariantImportSchema: {
34115
34260
  /**
@@ -34118,6 +34263,17 @@ export interface components {
34118
34263
  * @default false
34119
34264
  */
34120
34265
  supported: boolean;
34266
+ /**
34267
+ * Multiprofile
34268
+ * @description When true, use profiles for branches/contacts/etc. instead of a single variant sheet.
34269
+ * @default false
34270
+ */
34271
+ multiProfile: boolean;
34272
+ /**
34273
+ * Profiles
34274
+ * @description Per-worksheet variant import profiles (customers, suppliers).
34275
+ */
34276
+ profiles?: components["schemas"]["ImportVariantProfileSchema"][];
34121
34277
  /**
34122
34278
  * Availablevariantsheets
34123
34279
  * @description Worksheet names in the workbook suitable for variant rows (e.g. ItemVariations).
@@ -34152,6 +34308,131 @@ export interface components {
34152
34308
  */
34153
34309
  variantFields?: components["schemas"]["ImportFieldSchema"][];
34154
34310
  };
34311
+ /** ImportVariantProfileSchema */
34312
+ ImportVariantProfileSchema: {
34313
+ /** Profilekey */
34314
+ profileKey: string;
34315
+ /** Label */
34316
+ label: string;
34317
+ /**
34318
+ * Supported
34319
+ * @default false
34320
+ */
34321
+ supported: boolean;
34322
+ /** Availablevariantsheets */
34323
+ availableVariantSheets?: string[];
34324
+ /** Selectedvariantsheet */
34325
+ selectedVariantSheet?: string | null;
34326
+ /** Variantcolumnheaders */
34327
+ variantColumnHeaders?: string[];
34328
+ /** Suggestedvariantmapping */
34329
+ suggestedVariantMapping?: {
34330
+ [key: string]: string | null;
34331
+ };
34332
+ /**
34333
+ * Variantrowcount
34334
+ * @default 0
34335
+ */
34336
+ variantRowCount: number;
34337
+ /** Variantfields */
34338
+ variantFields?: components["schemas"]["ImportFieldSchema"][];
34339
+ };
34340
+ /** ConfigureImportSchema */
34341
+ ConfigureImportSchema: {
34342
+ /**
34343
+ * Fileurl
34344
+ * @description Link returned by POST /v1/common/upload with type dataImport. Domain-less /api/v1/media/... paths are accepted.
34345
+ */
34346
+ fileUrl: string;
34347
+ };
34348
+ /** ImportCategorySetupSchema */
34349
+ ImportCategorySetupSchema: {
34350
+ /**
34351
+ * Showcategorysetup
34352
+ * @description True when flat category values need user-defined Galoper category paths.
34353
+ * @default false
34354
+ */
34355
+ showCategorySetup: boolean;
34356
+ /**
34357
+ * Categorycolumn
34358
+ * @description Spreadsheet column header mapped to category (from fieldMapping.category).
34359
+ */
34360
+ categoryColumn?: string | null;
34361
+ /**
34362
+ * Flatcategoryvalues
34363
+ * @description Distinct category strings without path separators; each needs categoryPathMappings entry.
34364
+ */
34365
+ flatCategoryValues?: string[];
34366
+ /**
34367
+ * Pathcategoryvalues
34368
+ * @description Values already using path syntax; may resolve without extra mapping.
34369
+ */
34370
+ pathCategoryValues?: string[];
34371
+ /**
34372
+ * Categorypathmappings
34373
+ * @description Known flat value → Galoper path; send full dict on mapping save.
34374
+ */
34375
+ categoryPathMappings?: {
34376
+ [key: string]: string;
34377
+ };
34378
+ /**
34379
+ * Valuestruncated
34380
+ * @description True when category distinct values were capped in analysis.
34381
+ * @default false
34382
+ */
34383
+ valuesTruncated: boolean;
34384
+ };
34385
+ /** ImportFieldKeyLabelSchema */
34386
+ ImportFieldKeyLabelSchema: {
34387
+ /**
34388
+ * Key
34389
+ * @description Galoper field id.
34390
+ */
34391
+ key: string;
34392
+ /**
34393
+ * Label
34394
+ * @description Short label for gap chips in the mapping UI.
34395
+ */
34396
+ label: string;
34397
+ };
34398
+ /** ImportSupplementalSheetSchema */
34399
+ ImportSupplementalSheetSchema: {
34400
+ /** Profilekey */
34401
+ profileKey: string;
34402
+ /**
34403
+ * Label
34404
+ * @description UI section title for this supplemental worksheet.
34405
+ */
34406
+ label: string;
34407
+ /**
34408
+ * Sheetname
34409
+ * @description Selected workbook tab; keys in variantSheetsConfig.
34410
+ */
34411
+ sheetName?: string | null;
34412
+ /**
34413
+ * Headers
34414
+ * @description Column headers on the selected supplemental sheet.
34415
+ */
34416
+ headers?: string[];
34417
+ /**
34418
+ * Suggestedmapping
34419
+ * @description Galoper supplemental field key → column header (saved mapping overrides suggestions).
34420
+ */
34421
+ suggestedMapping?: {
34422
+ [key: string]: string | null;
34423
+ };
34424
+ /**
34425
+ * Rowcount
34426
+ * @description Data rows on the supplemental sheet.
34427
+ * @default 0
34428
+ */
34429
+ rowCount: number;
34430
+ /**
34431
+ * Parseerrors
34432
+ * @description Present when the supplemental sheet could not be parsed.
34433
+ */
34434
+ parseErrors?: Record<string, never>[];
34435
+ };
34155
34436
  /** UpdateImportMappingResponse */
34156
34437
  UpdateImportMappingResponse: {
34157
34438
  /**
@@ -34164,23 +34445,33 @@ export interface components {
34164
34445
  * @description Machine code such as importMappingSaved.
34165
34446
  */
34166
34447
  code: string;
34448
+ /**
34449
+ * Fileurl
34450
+ * @description Echo when mapping save was keyed by fileUrl.
34451
+ */
34452
+ fileUrl?: string | null;
34453
+ /**
34454
+ * Sheetnames
34455
+ * @description All Excel workbook tabs; pick supplemental sheets from this list (Excel only).
34456
+ */
34457
+ sheetNames?: string[];
34167
34458
  /**
34168
34459
  * Fieldmapping
34169
- * @description Normalized mapping stored on the session.
34460
+ * @description Mapped columns only (unmapped keys omitted). Full catalog is on configure.
34170
34461
  */
34171
- fieldMapping: {
34172
- [key: string]: string | null;
34462
+ fieldMapping?: {
34463
+ [key: string]: string;
34173
34464
  };
34174
34465
  /**
34175
34466
  * Fielddefaults
34176
- * @description Stored defaults after save.
34467
+ * @description Non-empty field defaults after save.
34177
34468
  */
34178
34469
  fieldDefaults?: {
34179
- [key: string]: string | null;
34470
+ [key: string]: string;
34180
34471
  };
34181
34472
  /**
34182
34473
  * Fieldvaluemappings
34183
- * @description Stored enum maps after save.
34474
+ * @description Spreadsheet enum text → Galoper values for mapped enum columns.
34184
34475
  */
34185
34476
  fieldValueMappings?: {
34186
34477
  [key: string]: {
@@ -34189,13 +34480,13 @@ export interface components {
34189
34480
  };
34190
34481
  /**
34191
34482
  * Importmode
34192
- * @description Effective import mode on the session.
34483
+ * @description Effective import mode after save.
34193
34484
  * @default create
34194
34485
  */
34195
34486
  importMode: string;
34196
34487
  /**
34197
34488
  * Duplicatematchfield
34198
- * @description Effective duplicate match field on the session.
34489
+ * @description Effective duplicate match field after save.
34199
34490
  */
34200
34491
  duplicateMatchField?: string | null;
34201
34492
  /**
@@ -34205,20 +34496,38 @@ export interface components {
34205
34496
  categoryPathMappings?: {
34206
34497
  [key: string]: string;
34207
34498
  };
34208
- /** @description Updated category analysis after save; use to finish category UI. */
34209
- categorySetup?: components["schemas"]["ImportCategorySetupSchema"];
34210
- /** @description Updated variant sheet state after save. */
34211
- variantImport?: components["schemas"]["ImportVariantImportSchema"];
34212
- /** @description Recomputed enum analysis for the current mapping. */
34499
+ /**
34500
+ * Variantsheetsconfig
34501
+ * @description Per supplemental profile: sheetName + fieldMapping (same payload as mapping save).
34502
+ */
34503
+ variantSheetsConfig?: Record<string, never>;
34504
+ /**
34505
+ * Supplementalsheets
34506
+ * @description Parsed supplemental worksheets (barcodes, UOMs, …) without repeating field definitions.
34507
+ */
34508
+ supplementalSheets?: components["schemas"]["ImportSupplementalSheetSchema"][];
34509
+ /** @description Present only when category mapping UI is needed. */
34510
+ categorySetup?: components["schemas"]["ImportCategorySetupSchema"] | null;
34511
+ /** @description Enum columns that need attention (no enumOptions; use configure fields catalog). */
34213
34512
  enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34214
34513
  /**
34215
- * Fields
34216
- * @description Galoper field catalog for the mapping UI (image columns use fieldType image).
34514
+ * Unmappedrequiredfields
34515
+ * @description Required keys still missing column or fieldDefaults entry after save.
34217
34516
  */
34218
- fields?: components["schemas"]["ImportFieldSchema"][];
34517
+ unmappedRequiredFields?: string[];
34518
+ /**
34519
+ * Fieldsneedingdefault
34520
+ * @description Defaults panel; send values back as fieldDefaults on mapping save.
34521
+ */
34522
+ fieldsNeedingDefault?: components["schemas"]["ImportFieldKeyLabelSchema"][];
34219
34523
  };
34220
- /** UpdateImportMappingSchema */
34221
- UpdateImportMappingSchema: {
34524
+ /** UpdateImportMappingWithFileSchema */
34525
+ UpdateImportMappingWithFileSchema: {
34526
+ /**
34527
+ * Fileurl
34528
+ * @description Link from POST /v1/common/upload (type dataImport); required on every wizard step after configure.
34529
+ */
34530
+ fileUrl: string;
34222
34531
  /**
34223
34532
  * Fieldmapping
34224
34533
  * @description Required. All Galoper field keys → column header or null if unmapped.
@@ -34255,7 +34564,7 @@ export interface components {
34255
34564
  mappingName?: string | null;
34256
34565
  /**
34257
34566
  * Importmode
34258
- * @description Omit to keep session value; must be one of importOptions.importModes.
34567
+ * @description Omit to keep stored workflow value; must be one of importOptions.importModes.
34259
34568
  */
34260
34569
  importMode?: string | null;
34261
34570
  /**
@@ -34282,9 +34591,19 @@ export interface components {
34282
34591
  variantFieldMapping?: {
34283
34592
  [key: string]: string | null;
34284
34593
  };
34594
+ /**
34595
+ * Variantsheetsconfig
34596
+ * @description Multi-profile variant sheets: profileKey → { sheetName, fieldMapping }.
34597
+ */
34598
+ variantSheetsConfig?: Record<string, never>;
34285
34599
  };
34286
- /** PreviewCategorySetupMappingSchema */
34287
- PreviewCategorySetupMappingSchema: {
34600
+ /** PreviewCategorySetupWithFileSchema */
34601
+ PreviewCategorySetupWithFileSchema: {
34602
+ /**
34603
+ * Fileurl
34604
+ * @description Link from POST /v1/common/upload (type dataImport); required on every wizard step after configure.
34605
+ */
34606
+ fileUrl: string;
34288
34607
  /**
34289
34608
  * Fieldmapping
34290
34609
  * @description Proposed fieldMapping (at least category); not persisted until mapping save.
@@ -34307,8 +34626,13 @@ export interface components {
34307
34626
  };
34308
34627
  };
34309
34628
  };
34310
- /** PreviewEnumMappingSchema */
34311
- PreviewEnumMappingSchema: {
34629
+ /** PreviewEnumMappingWithFileSchema */
34630
+ PreviewEnumMappingWithFileSchema: {
34631
+ /**
34632
+ * Fileurl
34633
+ * @description Link from POST /v1/common/upload (type dataImport); required on every wizard step after configure.
34634
+ */
34635
+ fileUrl: string;
34312
34636
  /**
34313
34637
  * Fieldmapping
34314
34638
  * @description Current column mapping used to read enum columns from the file.
@@ -34329,11 +34653,10 @@ export interface components {
34329
34653
  /** ImportPreviewResponse */
34330
34654
  ImportPreviewResponse: {
34331
34655
  /**
34332
- * Sessionid
34333
- * Format: uuid
34334
- * @description Session that was validated.
34656
+ * Fileurl
34657
+ * @description Upload link for this import workflow.
34335
34658
  */
34336
- sessionId: string;
34659
+ fileUrl?: string | null;
34337
34660
  /**
34338
34661
  * Readycount
34339
34662
  * @description Rows that would import successfully (create + update).
@@ -34393,13 +34716,30 @@ export interface components {
34393
34716
  * @description Required field keys still without column or default; rows are not ready until empty.
34394
34717
  */
34395
34718
  unmappedRequiredFields: string[];
34396
- /** @description Enum state at preview time. */
34719
+ /**
34720
+ * Unmappedrequiredfielddetails
34721
+ * @description Field metadata for unmapped required fields (labels, enumOptions, systemDefault).
34722
+ */
34723
+ unmappedRequiredFieldDetails?: components["schemas"]["ImportFieldSchema"][];
34724
+ /**
34725
+ * Fieldsneedingdefault
34726
+ * @description Fields still without a column—offer fieldDefaults controls (payment term, type, usage, etc.).
34727
+ */
34728
+ fieldsNeedingDefault?: components["schemas"]["ImportFieldSchema"][];
34729
+ /** @description Enum state at preview time; map unmappedValues via fieldValueMappings. */
34397
34730
  enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34731
+ /** @description How to import and match behavior for the active document type. */
34732
+ importGuide?: components["schemas"]["ImportGuideSchema"];
34398
34733
  /**
34399
34734
  * Errors
34400
34735
  * @description Row-level issues; fix mapping or file then preview again before import.
34401
34736
  */
34402
34737
  errors?: components["schemas"]["ImportPreviewRowError"][];
34738
+ /**
34739
+ * Warnings
34740
+ * @description Non-blocking row warnings (e.g. possible duplicate name).
34741
+ */
34742
+ warnings?: components["schemas"]["ImportPreviewRowError"][];
34403
34743
  };
34404
34744
  /** ImportPreviewRowError */
34405
34745
  ImportPreviewRowError: {
@@ -34424,11 +34764,24 @@ export interface components {
34424
34764
  */
34425
34765
  field?: string | null;
34426
34766
  };
34767
+ /** ImportPreviewFileRefSchema */
34768
+ ImportPreviewFileRefSchema: {
34769
+ /**
34770
+ * Fileurl
34771
+ * @description Link from POST /v1/common/upload (type dataImport); required on every wizard step after configure.
34772
+ */
34773
+ fileUrl: string;
34774
+ };
34427
34775
  /** SelectImportSheetResponse */
34428
34776
  SelectImportSheetResponse: {
34777
+ /**
34778
+ * Fileurl
34779
+ * @description Echo of the workbook link.
34780
+ */
34781
+ fileUrl?: string | null;
34429
34782
  /**
34430
34783
  * Selectedsheet
34431
- * @description Worksheet now stored on the session.
34784
+ * @description Worksheet used for main import rows.
34432
34785
  */
34433
34786
  selectedSheet: string;
34434
34787
  /**
@@ -34463,8 +34816,13 @@ export interface components {
34463
34816
  */
34464
34817
  totalRows: number;
34465
34818
  };
34466
- /** SelectImportSheetSchema */
34467
- SelectImportSheetSchema: {
34819
+ /** SelectImportSheetWithFileSchema */
34820
+ SelectImportSheetWithFileSchema: {
34821
+ /**
34822
+ * Fileurl
34823
+ * @description Link from POST /v1/common/upload (type dataImport); required on every wizard step after configure.
34824
+ */
34825
+ fileUrl: string;
34468
34826
  /**
34469
34827
  * Sheetname
34470
34828
  * @description Exact Excel worksheet name to use as the main import grid.
@@ -34500,6 +34858,11 @@ export interface components {
34500
34858
  * @description Per-row failures on an otherwise successful run; empty when all rows succeeded.
34501
34859
  */
34502
34860
  errors?: components["schemas"]["ImportPreviewRowError"][];
34861
+ /**
34862
+ * Warnings
34863
+ * @description Non-blocking warnings collected during import.
34864
+ */
34865
+ warnings?: components["schemas"]["ImportPreviewRowError"][];
34503
34866
  /**
34504
34867
  * Code
34505
34868
  * @description Success code such as itemsImported.
@@ -34511,61 +34874,6 @@ export interface components {
34511
34874
  */
34512
34875
  message: string;
34513
34876
  };
34514
- /** ImportDuplicateMatchFieldSchema */
34515
- ImportDuplicateMatchFieldSchema: {
34516
- /**
34517
- * Fieldkey
34518
- * @description Galoper field used to find existing records in update/upsert mode.
34519
- */
34520
- fieldKey: string;
34521
- /**
34522
- * Label
34523
- * @description Display name for the duplicate-match field selector.
34524
- */
34525
- label: string;
34526
- };
34527
- /** ImportModeSchema */
34528
- ImportModeSchema: {
34529
- /**
34530
- * Value
34531
- * @description Mode id sent as importMode on mapping (e.g. create, upsert, update).
34532
- */
34533
- value: string;
34534
- /**
34535
- * Label
34536
- * @description Short explanation shown in the import mode dropdown.
34537
- */
34538
- label: string;
34539
- };
34540
- /** ImportOptionsSchema */
34541
- ImportOptionsSchema: {
34542
- /**
34543
- * Importmodes
34544
- * @description Modes allowed for this document type; choose one when saving session mapping.
34545
- */
34546
- importModes?: components["schemas"]["ImportModeSchema"][];
34547
- /**
34548
- * Duplicatematchfields
34549
- * @description Fields available for duplicateMatchField when mode is update or upsert.
34550
- */
34551
- duplicateMatchFields?: components["schemas"]["ImportDuplicateMatchFieldSchema"][];
34552
- /**
34553
- * Defaultimportmode
34554
- * @description Initial importMode on new sessions if the client does not override.
34555
- * @default create
34556
- */
34557
- defaultImportMode: string;
34558
- /**
34559
- * Defaultduplicatematchfield
34560
- * @description Initial duplicateMatchField when upsert/update is supported.
34561
- */
34562
- defaultDuplicateMatchField?: string | null;
34563
- /**
34564
- * Fields
34565
- * @description Same field catalog as configure.fields (includes imageColumn slots).
34566
- */
34567
- fields?: components["schemas"]["ImportFieldSchema"][];
34568
- };
34569
34877
  /** SavedImportMappingSchema */
34570
34878
  SavedImportMappingSchema: {
34571
34879
  /**
@@ -34584,16 +34892,6 @@ export interface components {
34584
34892
  * @description Import handler this preset belongs to.
34585
34893
  */
34586
34894
  documentType: string;
34587
- /**
34588
- * Encoding
34589
- * @description Encoding stored with the preset; re-send on configure if reusing with CSV.
34590
- */
34591
- encoding?: string | null;
34592
- /**
34593
- * Delimiter
34594
- * @description Delimiter stored with the preset; re-send on configure if reusing with CSV.
34595
- */
34596
- delimiter?: string | null;
34597
34895
  /**
34598
34896
  * Fieldmapping
34599
34897
  * @description Galoper field key → spreadsheet column header; apply on PUT mapping after configure.
@@ -34635,85 +34933,6 @@ export interface components {
34635
34933
  [key: string]: string;
34636
34934
  };
34637
34935
  };
34638
- /** ConfigureImportResponse */
34639
- ConfigureImportResponse: {
34640
- /**
34641
- * Sessionid
34642
- * Format: uuid
34643
- * @description Use on all session routes (mapping, preview, import); expires after 24 hours.
34644
- */
34645
- sessionId: string;
34646
- /**
34647
- * Documenttype
34648
- * @description Handler id for this session.
34649
- */
34650
- documentType: string;
34651
- /**
34652
- * Filename
34653
- * @description Original uploaded filename.
34654
- */
34655
- fileName: string;
34656
- /**
34657
- * Fileformat
34658
- * @description Detected format: csv, tsv, or excel; drives sheet selection behavior.
34659
- */
34660
- fileFormat: string;
34661
- /**
34662
- * Encoding
34663
- * @description Encoding used to parse text files; echo on saved mappings if needed.
34664
- */
34665
- encoding: string;
34666
- /**
34667
- * Delimiter
34668
- * @description Delimiter key used for CSV/TSV.
34669
- */
34670
- delimiter: string;
34671
- /**
34672
- * Sheetnames
34673
- * @description Excel workbook tabs; empty for CSV/TSV.
34674
- */
34675
- sheetNames?: string[];
34676
- /**
34677
- * Selectedsheet
34678
- * @description Worksheet used for main import rows; change via POST sessions/{id}/sheet.
34679
- */
34680
- selectedSheet?: string | null;
34681
- /**
34682
- * Columnheaders
34683
- * @description Header cells for the selected main sheet or text file row.
34684
- */
34685
- columnHeaders: string[];
34686
- /**
34687
- * Suggestedmapping
34688
- * @description Auto-matched Galoper field → column header; edit and save via mapping endpoint.
34689
- */
34690
- suggestedMapping: {
34691
- [key: string]: string | null;
34692
- };
34693
- /**
34694
- * Suggesteddefaults
34695
- * @description System defaults to seed fieldDefaults on first mapping save.
34696
- */
34697
- suggestedDefaults?: {
34698
- [key: string]: string;
34699
- };
34700
- /** @description First-pass enum analysis; refresh after mapping via enum-mapping preview or mapping response. */
34701
- enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34702
- /**
34703
- * Totalrows
34704
- * @description Number of data rows on the main import grid.
34705
- */
34706
- totalRows: number;
34707
- /** @description Supported import modes and duplicate-match fields for this type. */
34708
- importOptions?: components["schemas"]["ImportOptionsSchema"];
34709
- /** @description Variant sheet metadata when supported (items). */
34710
- variantImport?: components["schemas"]["ImportVariantImportSchema"];
34711
- /**
34712
- * Fields
34713
- * @description Full Galoper field catalog for the mapping UI (includes image fieldType slots).
34714
- */
34715
- fields?: components["schemas"]["ImportFieldSchema"][];
34716
- };
34717
34936
  /** ListRegions */
34718
34937
  ListRegions: {
34719
34938
  info: components["schemas"]["PageInfoSchema"];
@@ -34777,7 +34996,7 @@ export interface components {
34777
34996
  * FileType
34778
34997
  * @enum {string}
34779
34998
  */
34780
- FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "goodsReceiptNote" | "goodsDeliveryNote" | "returnDocument" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate" | "repairOrder" | "collectionDeposit" | "billOfMaterials" | "routing" | "workCenter" | "productionVersion";
34999
+ FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "goodsReceiptNote" | "goodsDeliveryNote" | "returnDocument" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate" | "repairOrder" | "collectionDeposit" | "dataImport" | "billOfMaterials" | "routing" | "workCenter" | "productionVersion";
34781
35000
  /** currencyCodeOut */
34782
35001
  currencyCodeOut: {
34783
35002
  /** Currencycode */
@@ -80467,18 +80686,20 @@ export interface operations {
80467
80686
  };
80468
80687
  };
80469
80688
  };
80470
- common_data_import_views_update_data_import_mapping: {
80689
+ common_data_import_views_configure_data_import_endpoint: {
80471
80690
  parameters: {
80472
- query?: never;
80691
+ query?: {
80692
+ sheetName?: string | null;
80693
+ };
80473
80694
  header?: never;
80474
80695
  path: {
80475
- session_id: string;
80696
+ document_type: string;
80476
80697
  };
80477
80698
  cookie?: never;
80478
80699
  };
80479
80700
  requestBody: {
80480
80701
  content: {
80481
- "application/json": components["schemas"]["UpdateImportMappingSchema"];
80702
+ "application/json": components["schemas"]["ConfigureImportSchema"];
80482
80703
  };
80483
80704
  };
80484
80705
  responses: {
@@ -80488,7 +80709,7 @@ export interface operations {
80488
80709
  [name: string]: unknown;
80489
80710
  };
80490
80711
  content: {
80491
- "application/json": components["schemas"]["UpdateImportMappingResponse"];
80712
+ "application/json": components["schemas"]["ConfigureImportResponse"];
80492
80713
  };
80493
80714
  };
80494
80715
  /** @description Bad Request */
@@ -80520,18 +80741,18 @@ export interface operations {
80520
80741
  };
80521
80742
  };
80522
80743
  };
80523
- common_data_import_views_update_data_import_mapping_post: {
80744
+ common_data_import_views_update_data_import_mapping: {
80524
80745
  parameters: {
80525
80746
  query?: never;
80526
80747
  header?: never;
80527
80748
  path: {
80528
- session_id: string;
80749
+ document_type: string;
80529
80750
  };
80530
80751
  cookie?: never;
80531
80752
  };
80532
80753
  requestBody: {
80533
80754
  content: {
80534
- "application/json": components["schemas"]["UpdateImportMappingSchema"];
80755
+ "application/json": components["schemas"]["UpdateImportMappingWithFileSchema"];
80535
80756
  };
80536
80757
  };
80537
80758
  responses: {
@@ -80578,13 +80799,13 @@ export interface operations {
80578
80799
  query?: never;
80579
80800
  header?: never;
80580
80801
  path: {
80581
- session_id: string;
80802
+ document_type: string;
80582
80803
  };
80583
80804
  cookie?: never;
80584
80805
  };
80585
80806
  requestBody: {
80586
80807
  content: {
80587
- "application/json": components["schemas"]["PreviewCategorySetupMappingSchema"];
80808
+ "application/json": components["schemas"]["PreviewCategorySetupWithFileSchema"];
80588
80809
  };
80589
80810
  };
80590
80811
  responses: {
@@ -80631,13 +80852,13 @@ export interface operations {
80631
80852
  query?: never;
80632
80853
  header?: never;
80633
80854
  path: {
80634
- session_id: string;
80855
+ document_type: string;
80635
80856
  };
80636
80857
  cookie?: never;
80637
80858
  };
80638
80859
  requestBody: {
80639
80860
  content: {
80640
- "application/json": components["schemas"]["PreviewEnumMappingSchema"];
80861
+ "application/json": components["schemas"]["PreviewEnumMappingWithFileSchema"];
80641
80862
  };
80642
80863
  };
80643
80864
  responses: {
@@ -80684,11 +80905,15 @@ export interface operations {
80684
80905
  query?: never;
80685
80906
  header?: never;
80686
80907
  path: {
80687
- session_id: string;
80908
+ document_type: string;
80688
80909
  };
80689
80910
  cookie?: never;
80690
80911
  };
80691
- requestBody?: never;
80912
+ requestBody: {
80913
+ content: {
80914
+ "application/json": components["schemas"]["ImportPreviewFileRefSchema"];
80915
+ };
80916
+ };
80692
80917
  responses: {
80693
80918
  /** @description OK */
80694
80919
  200: {
@@ -80733,13 +80958,13 @@ export interface operations {
80733
80958
  query?: never;
80734
80959
  header?: never;
80735
80960
  path: {
80736
- session_id: string;
80961
+ document_type: string;
80737
80962
  };
80738
80963
  cookie?: never;
80739
80964
  };
80740
80965
  requestBody: {
80741
80966
  content: {
80742
- "application/json": components["schemas"]["SelectImportSheetSchema"];
80967
+ "application/json": components["schemas"]["SelectImportSheetWithFileSchema"];
80743
80968
  };
80744
80969
  };
80745
80970
  responses: {
@@ -80786,11 +81011,15 @@ export interface operations {
80786
81011
  query?: never;
80787
81012
  header?: never;
80788
81013
  path: {
80789
- session_id: string;
81014
+ document_type: string;
80790
81015
  };
80791
81016
  cookie?: never;
80792
81017
  };
80793
- requestBody?: never;
81018
+ requestBody: {
81019
+ content: {
81020
+ "application/json": components["schemas"]["ImportPreviewFileRefSchema"];
81021
+ };
81022
+ };
80794
81023
  responses: {
80795
81024
  /** @description OK */
80796
81025
  200: {
@@ -80950,69 +81179,6 @@ export interface operations {
80950
81179
  };
80951
81180
  };
80952
81181
  };
80953
- common_data_import_views_configure_data_import: {
80954
- parameters: {
80955
- query?: {
80956
- encoding?: string;
80957
- delimiter?: string;
80958
- sheetName?: string | null;
80959
- };
80960
- header?: never;
80961
- path: {
80962
- document_type: string;
80963
- };
80964
- cookie?: never;
80965
- };
80966
- requestBody: {
80967
- content: {
80968
- "multipart/form-data": {
80969
- /**
80970
- * File
80971
- * Format: binary
80972
- */
80973
- file: string;
80974
- };
80975
- };
80976
- };
80977
- responses: {
80978
- /** @description OK */
80979
- 200: {
80980
- headers: {
80981
- [name: string]: unknown;
80982
- };
80983
- content: {
80984
- "application/json": components["schemas"]["ConfigureImportResponse"];
80985
- };
80986
- };
80987
- /** @description Bad Request */
80988
- 400: {
80989
- headers: {
80990
- [name: string]: unknown;
80991
- };
80992
- content: {
80993
- "application/json": components["schemas"]["ErrorMessages"];
80994
- };
80995
- };
80996
- /** @description Forbidden */
80997
- 403: {
80998
- headers: {
80999
- [name: string]: unknown;
81000
- };
81001
- content: {
81002
- "application/json": components["schemas"]["MessageWithCode"];
81003
- };
81004
- };
81005
- /** @description Not Found */
81006
- 404: {
81007
- headers: {
81008
- [name: string]: unknown;
81009
- };
81010
- content: {
81011
- "application/json": components["schemas"]["MessageWithCode"];
81012
- };
81013
- };
81014
- };
81015
- };
81016
81182
  common_views_list_regions: {
81017
81183
  parameters: {
81018
81184
  query: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2191",
3
+ "version": "1.0.2192",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [