@erp-galoper/types 1.0.2190 → 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 +1076 -458
  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;
@@ -13478,8 +13442,9 @@ export interface paths {
13478
13442
  * **Route:** `POST /api/v1/production/production-orders/`
13479
13443
  *
13480
13444
  * **Body:** `CreateProductionOrderSchema`. Omit `productionVersion` to auto-select lowest-priority active version
13481
- * valid on `orderDate` and matching planned quantity lot size. Pegged-supply BOM lines become `peggedDemands` with
13482
- * child POs created in the same request (versions auto-selected per child).
13445
+ * valid on `orderDate` and matching planned quantity lot size. Supply `phantomProductionVersions` for every phantom
13446
+ * BOM input line in the explosion tree. Pegged-supply lines become `peggedDemands` with child POs (versions
13447
+ * auto-selected per child).
13483
13448
  *
13484
13449
  * **Response:** `201` + full detail in `data`.
13485
13450
  *
@@ -13494,6 +13459,30 @@ export interface paths {
13494
13459
  patch?: never;
13495
13460
  trace?: never;
13496
13461
  };
13462
+ "/api/v1/production/production-orders/explosion-preview/": {
13463
+ parameters: {
13464
+ query?: never;
13465
+ header?: never;
13466
+ path?: never;
13467
+ cookie?: never;
13468
+ };
13469
+ /** Preview BOM explosion (query params) */
13470
+ get: operations["production_production_orders_views_preview_production_order_explosion_get"];
13471
+ put?: never;
13472
+ /**
13473
+ * Preview BOM explosion
13474
+ * @description **Route:** `POST /api/v1/production/production-orders/explosion-preview/`
13475
+ *
13476
+ * Same header fields as create. Returns exploded material `lines` and pegged `peggedDemands` with nested
13477
+ * `subProductions` (child POs created when the parent order is saved).
13478
+ */
13479
+ post: operations["production_production_orders_views_preview_production_order_explosion_view"];
13480
+ delete?: never;
13481
+ options?: never;
13482
+ head?: never;
13483
+ patch?: never;
13484
+ trace?: never;
13485
+ };
13497
13486
  "/api/v1/production/production-orders/{id}/": {
13498
13487
  parameters: {
13499
13488
  query?: never;
@@ -13550,14 +13539,14 @@ export interface paths {
13550
13539
  get?: never;
13551
13540
  put?: never;
13552
13541
  /**
13553
- * Estimate production order costs
13542
+ * Mark production order estimated
13554
13543
  * @description **UI:** “Estimate” action on detail.
13555
13544
  *
13556
13545
  * **Route:** `POST /api/v1/production/production-orders/{id}/estimate/`
13557
13546
  *
13558
13547
  * **Precondition:** Status `created`; order has material lines.
13559
13548
  *
13560
- * **Effect:** Status → `estimated`; rolls up `estimatedCost` from materials and routing.
13549
+ * **Effect:** Status → `estimated` (planning gate; cost roll-up not active yet).
13561
13550
  *
13562
13551
  * **Permission:** `production_orders.estimate_productionorder`
13563
13552
  */
@@ -13723,6 +13712,32 @@ export interface paths {
13723
13712
  patch?: never;
13724
13713
  trace?: never;
13725
13714
  };
13715
+ "/api/v1/production/production-orders/{id}/operations/{operation_id}/output-lines/{output_line_id}/report/": {
13716
+ parameters: {
13717
+ query?: never;
13718
+ header?: never;
13719
+ path?: never;
13720
+ cookie?: never;
13721
+ };
13722
+ get?: never;
13723
+ put?: never;
13724
+ /**
13725
+ * Report operation output quantities
13726
+ * @description **UI:** Shop-floor output row — good quantity and optional scrap for one BOM output at the active operation.
13727
+ *
13728
+ * **Route:** `POST /api/v1/production/production-orders/{id}/operations/{operationId}/output-lines/{outputLineId}/report/`
13729
+ *
13730
+ * **Precondition:** Order `started`; operation `in_progress`; output line `pending`.
13731
+ *
13732
+ * **Permission:** `production_orders.change_productionorder`
13733
+ */
13734
+ post: operations["production_production_orders_views_report_production_order_operation_output_line_view"];
13735
+ delete?: never;
13736
+ options?: never;
13737
+ head?: never;
13738
+ patch?: never;
13739
+ trace?: never;
13740
+ };
13726
13741
  "/api/v1/production/production-orders/{id}/lines/{line_id}/consume-production-material/": {
13727
13742
  parameters: {
13728
13743
  query?: never;
@@ -13774,7 +13789,7 @@ export interface paths {
13774
13789
  * **Body:** `ReportAsFinishedProductionOrderSchema` — `actualQuantity` and/or `outputQuantities` per output line.
13775
13790
  * Batch-tracked outputs require `outputQuantities` with `tracking` (`batch` or new `number`). Backflush scales from primary output.
13776
13791
  *
13777
- * **Effect:** Status → `raf`; receives outputs into stock (including batch lots) and backflushes materials.
13792
+ * **Effect:** Status → `raf`; receives outputs into stock (including new/existing batches) and backflushes materials.
13778
13793
  *
13779
13794
  * **Permission:** `production_orders.change_productionorder`
13780
13795
  */
@@ -30179,7 +30194,7 @@ export interface components {
30179
30194
  * ItemUsage
30180
30195
  * @enum {string}
30181
30196
  */
30182
- ItemUsage: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
30197
+ ItemUsage: "goods" | "raw_material" | "works" | "service" | "semi_finished" | "co_product" | "by_product" | "waste";
30183
30198
  /** ItemWithChildrenSchema */
30184
30199
  ItemWithChildrenSchema: {
30185
30200
  /**
@@ -31245,7 +31260,8 @@ export interface components {
31245
31260
  /**
31246
31261
  * @description - when type is service usage should be disabled and set its value to service
31247
31262
  * - when type is product usage should be either goods, raw_material, or works
31248
- * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
31263
+ * - semi_finished, co_product, by_product, and waste are only available when production is enabled in Galoper settings
31264
+ * - In-order intermediate outputs are defined on BOM output lines (`outputType: intermediate`), not as item usage
31249
31265
  * - Get default value from inventory settings (/api/v1/settings/inventory/)
31250
31266
  * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
31251
31267
  */
@@ -31825,7 +31841,8 @@ export interface components {
31825
31841
  /**
31826
31842
  * @description - when type is service usage should be disabled and set its value to service
31827
31843
  * - when type is product usage should be either goods, raw_material, or works
31828
- * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
31844
+ * - semi_finished, co_product, by_product, and waste are only available when production is enabled in Galoper settings
31845
+ * - In-order intermediate outputs are defined on BOM output lines (`outputType: intermediate`), not as item usage
31829
31846
  * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
31830
31847
  */
31831
31848
  usage?: components["schemas"]["ItemUsage"] | null;
@@ -32169,7 +32186,8 @@ export interface components {
32169
32186
  /**
32170
32187
  * @description - when type is service usage should be disabled and set its value to service
32171
32188
  * - when type is product usage should be either goods, raw_material, or works
32172
- * - wip, co_product, by_product, and waste are only available when production is enabled in Galoper settings
32189
+ * - semi_finished, co_product, by_product, and waste are only available when production is enabled in Galoper settings
32190
+ * - In-order intermediate outputs are defined on BOM output lines (`outputType: intermediate`), not as item usage
32173
32191
  * Only visible when the production module is enabled in Galoper settings (/api/v1/admin_panel/).
32174
32192
  */
32175
32193
  usage?: components["schemas"]["ItemUsage"] | null;
@@ -33887,42 +33905,101 @@ export interface components {
33887
33905
  */
33888
33906
  label: string;
33889
33907
  };
33890
- /** ImportCategorySetupSchema */
33891
- ImportCategorySetupSchema: {
33908
+ /** ConfigureImportResponse */
33909
+ ConfigureImportResponse: {
33892
33910
  /**
33893
- * Showcategorysetup
33894
- * @description True when flat category values need user-defined Galoper category paths.
33895
- * @default false
33911
+ * Fileurl
33912
+ * @description Normalized upload link; send on mapping, preview, and import requests.
33896
33913
  */
33897
- showCategorySetup: boolean;
33914
+ fileUrl: string;
33898
33915
  /**
33899
- * Categorycolumn
33900
- * @description Spreadsheet column header mapped to category (from fieldMapping.category).
33916
+ * Documenttype
33917
+ * @description Handler id for this import.
33901
33918
  */
33902
- categoryColumn?: string | null;
33919
+ documentType: string;
33903
33920
  /**
33904
- * Flatcategoryvalues
33905
- * @description Distinct category strings without path separators; each needs categoryPathMappings entry.
33921
+ * Filename
33922
+ * @description Original uploaded filename.
33906
33923
  */
33907
- flatCategoryValues?: string[];
33924
+ fileName: string;
33908
33925
  /**
33909
- * Pathcategoryvalues
33910
- * @description Values already using path syntax; may resolve without extra mapping.
33926
+ * Fileformat
33927
+ * @description Detected format: csv or excel; drives sheet selection behavior.
33911
33928
  */
33912
- pathCategoryValues?: string[];
33929
+ fileFormat: string;
33913
33930
  /**
33914
- * Categorypathmappings
33915
- * @description Known flat value → Galoper path; send full dict on mapping save.
33931
+ * Sheetnames
33932
+ * @description Excel workbook tabs; empty for CSV/TSV.
33916
33933
  */
33917
- 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?: {
33918
33957
  [key: string]: string;
33919
33958
  };
33959
+ /** @description First-pass enum analysis; refresh after mapping via enum-mapping preview or mapping response. */
33960
+ enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
33920
33961
  /**
33921
- * Valuestruncated
33922
- * @description True when category distinct values were capped in analysis.
33923
- * @default false
33962
+ * Totalrows
33963
+ * @description Number of data rows on the main import grid.
33924
33964
  */
33925
- 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;
33926
34003
  };
33927
34004
  /** ImportEnumFieldMappingSchema */
33928
34005
  ImportEnumFieldMappingSchema: {
@@ -33960,6 +34037,11 @@ export interface components {
33960
34037
  * @default false
33961
34038
  */
33962
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"][];
33963
34045
  };
33964
34046
  /** ImportEnumMappingsSchema */
33965
34047
  ImportEnumMappingsSchema: {
@@ -33971,7 +34053,7 @@ export interface components {
33971
34053
  requiresUserMapping: boolean;
33972
34054
  /**
33973
34055
  * Analyzedrows
33974
- * @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).
33975
34057
  * @default 0
33976
34058
  */
33977
34059
  analyzedRows: number;
@@ -34056,6 +34138,123 @@ export interface components {
34056
34138
  */
34057
34139
  imageColumn: boolean;
34058
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
+ };
34059
34258
  /** ImportVariantImportSchema */
34060
34259
  ImportVariantImportSchema: {
34061
34260
  /**
@@ -34064,6 +34263,17 @@ export interface components {
34064
34263
  * @default false
34065
34264
  */
34066
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"][];
34067
34277
  /**
34068
34278
  * Availablevariantsheets
34069
34279
  * @description Worksheet names in the workbook suitable for variant rows (e.g. ItemVariations).
@@ -34098,6 +34308,131 @@ export interface components {
34098
34308
  */
34099
34309
  variantFields?: components["schemas"]["ImportFieldSchema"][];
34100
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
+ };
34101
34436
  /** UpdateImportMappingResponse */
34102
34437
  UpdateImportMappingResponse: {
34103
34438
  /**
@@ -34110,23 +34445,33 @@ export interface components {
34110
34445
  * @description Machine code such as importMappingSaved.
34111
34446
  */
34112
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[];
34113
34458
  /**
34114
34459
  * Fieldmapping
34115
- * @description Normalized mapping stored on the session.
34460
+ * @description Mapped columns only (unmapped keys omitted). Full catalog is on configure.
34116
34461
  */
34117
- fieldMapping: {
34118
- [key: string]: string | null;
34462
+ fieldMapping?: {
34463
+ [key: string]: string;
34119
34464
  };
34120
34465
  /**
34121
34466
  * Fielddefaults
34122
- * @description Stored defaults after save.
34467
+ * @description Non-empty field defaults after save.
34123
34468
  */
34124
34469
  fieldDefaults?: {
34125
- [key: string]: string | null;
34470
+ [key: string]: string;
34126
34471
  };
34127
34472
  /**
34128
34473
  * Fieldvaluemappings
34129
- * @description Stored enum maps after save.
34474
+ * @description Spreadsheet enum text → Galoper values for mapped enum columns.
34130
34475
  */
34131
34476
  fieldValueMappings?: {
34132
34477
  [key: string]: {
@@ -34135,13 +34480,13 @@ export interface components {
34135
34480
  };
34136
34481
  /**
34137
34482
  * Importmode
34138
- * @description Effective import mode on the session.
34483
+ * @description Effective import mode after save.
34139
34484
  * @default create
34140
34485
  */
34141
34486
  importMode: string;
34142
34487
  /**
34143
34488
  * Duplicatematchfield
34144
- * @description Effective duplicate match field on the session.
34489
+ * @description Effective duplicate match field after save.
34145
34490
  */
34146
34491
  duplicateMatchField?: string | null;
34147
34492
  /**
@@ -34151,20 +34496,38 @@ export interface components {
34151
34496
  categoryPathMappings?: {
34152
34497
  [key: string]: string;
34153
34498
  };
34154
- /** @description Updated category analysis after save; use to finish category UI. */
34155
- categorySetup?: components["schemas"]["ImportCategorySetupSchema"];
34156
- /** @description Updated variant sheet state after save. */
34157
- variantImport?: components["schemas"]["ImportVariantImportSchema"];
34158
- /** @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). */
34159
34512
  enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34160
34513
  /**
34161
- * Fields
34162
- * @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.
34163
34516
  */
34164
- 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"][];
34165
34523
  };
34166
- /** UpdateImportMappingSchema */
34167
- 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;
34168
34531
  /**
34169
34532
  * Fieldmapping
34170
34533
  * @description Required. All Galoper field keys → column header or null if unmapped.
@@ -34201,7 +34564,7 @@ export interface components {
34201
34564
  mappingName?: string | null;
34202
34565
  /**
34203
34566
  * Importmode
34204
- * @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.
34205
34568
  */
34206
34569
  importMode?: string | null;
34207
34570
  /**
@@ -34228,9 +34591,19 @@ export interface components {
34228
34591
  variantFieldMapping?: {
34229
34592
  [key: string]: string | null;
34230
34593
  };
34594
+ /**
34595
+ * Variantsheetsconfig
34596
+ * @description Multi-profile variant sheets: profileKey → { sheetName, fieldMapping }.
34597
+ */
34598
+ variantSheetsConfig?: Record<string, never>;
34231
34599
  };
34232
- /** PreviewCategorySetupMappingSchema */
34233
- 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;
34234
34607
  /**
34235
34608
  * Fieldmapping
34236
34609
  * @description Proposed fieldMapping (at least category); not persisted until mapping save.
@@ -34253,8 +34626,13 @@ export interface components {
34253
34626
  };
34254
34627
  };
34255
34628
  };
34256
- /** PreviewEnumMappingSchema */
34257
- 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;
34258
34636
  /**
34259
34637
  * Fieldmapping
34260
34638
  * @description Current column mapping used to read enum columns from the file.
@@ -34275,11 +34653,10 @@ export interface components {
34275
34653
  /** ImportPreviewResponse */
34276
34654
  ImportPreviewResponse: {
34277
34655
  /**
34278
- * Sessionid
34279
- * Format: uuid
34280
- * @description Session that was validated.
34656
+ * Fileurl
34657
+ * @description Upload link for this import workflow.
34281
34658
  */
34282
- sessionId: string;
34659
+ fileUrl?: string | null;
34283
34660
  /**
34284
34661
  * Readycount
34285
34662
  * @description Rows that would import successfully (create + update).
@@ -34339,13 +34716,30 @@ export interface components {
34339
34716
  * @description Required field keys still without column or default; rows are not ready until empty.
34340
34717
  */
34341
34718
  unmappedRequiredFields: string[];
34342
- /** @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. */
34343
34730
  enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34731
+ /** @description How to import and match behavior for the active document type. */
34732
+ importGuide?: components["schemas"]["ImportGuideSchema"];
34344
34733
  /**
34345
34734
  * Errors
34346
34735
  * @description Row-level issues; fix mapping or file then preview again before import.
34347
34736
  */
34348
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"][];
34349
34743
  };
34350
34744
  /** ImportPreviewRowError */
34351
34745
  ImportPreviewRowError: {
@@ -34370,11 +34764,24 @@ export interface components {
34370
34764
  */
34371
34765
  field?: string | null;
34372
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
+ };
34373
34775
  /** SelectImportSheetResponse */
34374
34776
  SelectImportSheetResponse: {
34777
+ /**
34778
+ * Fileurl
34779
+ * @description Echo of the workbook link.
34780
+ */
34781
+ fileUrl?: string | null;
34375
34782
  /**
34376
34783
  * Selectedsheet
34377
- * @description Worksheet now stored on the session.
34784
+ * @description Worksheet used for main import rows.
34378
34785
  */
34379
34786
  selectedSheet: string;
34380
34787
  /**
@@ -34409,8 +34816,13 @@ export interface components {
34409
34816
  */
34410
34817
  totalRows: number;
34411
34818
  };
34412
- /** SelectImportSheetSchema */
34413
- 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;
34414
34826
  /**
34415
34827
  * Sheetname
34416
34828
  * @description Exact Excel worksheet name to use as the main import grid.
@@ -34446,6 +34858,11 @@ export interface components {
34446
34858
  * @description Per-row failures on an otherwise successful run; empty when all rows succeeded.
34447
34859
  */
34448
34860
  errors?: components["schemas"]["ImportPreviewRowError"][];
34861
+ /**
34862
+ * Warnings
34863
+ * @description Non-blocking warnings collected during import.
34864
+ */
34865
+ warnings?: components["schemas"]["ImportPreviewRowError"][];
34449
34866
  /**
34450
34867
  * Code
34451
34868
  * @description Success code such as itemsImported.
@@ -34457,61 +34874,6 @@ export interface components {
34457
34874
  */
34458
34875
  message: string;
34459
34876
  };
34460
- /** ImportDuplicateMatchFieldSchema */
34461
- ImportDuplicateMatchFieldSchema: {
34462
- /**
34463
- * Fieldkey
34464
- * @description Galoper field used to find existing records in update/upsert mode.
34465
- */
34466
- fieldKey: string;
34467
- /**
34468
- * Label
34469
- * @description Display name for the duplicate-match field selector.
34470
- */
34471
- label: string;
34472
- };
34473
- /** ImportModeSchema */
34474
- ImportModeSchema: {
34475
- /**
34476
- * Value
34477
- * @description Mode id sent as importMode on mapping (e.g. create, upsert, update).
34478
- */
34479
- value: string;
34480
- /**
34481
- * Label
34482
- * @description Short explanation shown in the import mode dropdown.
34483
- */
34484
- label: string;
34485
- };
34486
- /** ImportOptionsSchema */
34487
- ImportOptionsSchema: {
34488
- /**
34489
- * Importmodes
34490
- * @description Modes allowed for this document type; choose one when saving session mapping.
34491
- */
34492
- importModes?: components["schemas"]["ImportModeSchema"][];
34493
- /**
34494
- * Duplicatematchfields
34495
- * @description Fields available for duplicateMatchField when mode is update or upsert.
34496
- */
34497
- duplicateMatchFields?: components["schemas"]["ImportDuplicateMatchFieldSchema"][];
34498
- /**
34499
- * Defaultimportmode
34500
- * @description Initial importMode on new sessions if the client does not override.
34501
- * @default create
34502
- */
34503
- defaultImportMode: string;
34504
- /**
34505
- * Defaultduplicatematchfield
34506
- * @description Initial duplicateMatchField when upsert/update is supported.
34507
- */
34508
- defaultDuplicateMatchField?: string | null;
34509
- /**
34510
- * Fields
34511
- * @description Same field catalog as configure.fields (includes imageColumn slots).
34512
- */
34513
- fields?: components["schemas"]["ImportFieldSchema"][];
34514
- };
34515
34877
  /** SavedImportMappingSchema */
34516
34878
  SavedImportMappingSchema: {
34517
34879
  /**
@@ -34530,16 +34892,6 @@ export interface components {
34530
34892
  * @description Import handler this preset belongs to.
34531
34893
  */
34532
34894
  documentType: string;
34533
- /**
34534
- * Encoding
34535
- * @description Encoding stored with the preset; re-send on configure if reusing with CSV.
34536
- */
34537
- encoding?: string | null;
34538
- /**
34539
- * Delimiter
34540
- * @description Delimiter stored with the preset; re-send on configure if reusing with CSV.
34541
- */
34542
- delimiter?: string | null;
34543
34895
  /**
34544
34896
  * Fieldmapping
34545
34897
  * @description Galoper field key → spreadsheet column header; apply on PUT mapping after configure.
@@ -34581,85 +34933,6 @@ export interface components {
34581
34933
  [key: string]: string;
34582
34934
  };
34583
34935
  };
34584
- /** ConfigureImportResponse */
34585
- ConfigureImportResponse: {
34586
- /**
34587
- * Sessionid
34588
- * Format: uuid
34589
- * @description Use on all session routes (mapping, preview, import); expires after 24 hours.
34590
- */
34591
- sessionId: string;
34592
- /**
34593
- * Documenttype
34594
- * @description Handler id for this session.
34595
- */
34596
- documentType: string;
34597
- /**
34598
- * Filename
34599
- * @description Original uploaded filename.
34600
- */
34601
- fileName: string;
34602
- /**
34603
- * Fileformat
34604
- * @description Detected format: csv, tsv, or excel; drives sheet selection behavior.
34605
- */
34606
- fileFormat: string;
34607
- /**
34608
- * Encoding
34609
- * @description Encoding used to parse text files; echo on saved mappings if needed.
34610
- */
34611
- encoding: string;
34612
- /**
34613
- * Delimiter
34614
- * @description Delimiter key used for CSV/TSV.
34615
- */
34616
- delimiter: string;
34617
- /**
34618
- * Sheetnames
34619
- * @description Excel workbook tabs; empty for CSV/TSV.
34620
- */
34621
- sheetNames?: string[];
34622
- /**
34623
- * Selectedsheet
34624
- * @description Worksheet used for main import rows; change via POST sessions/{id}/sheet.
34625
- */
34626
- selectedSheet?: string | null;
34627
- /**
34628
- * Columnheaders
34629
- * @description Header cells for the selected main sheet or text file row.
34630
- */
34631
- columnHeaders: string[];
34632
- /**
34633
- * Suggestedmapping
34634
- * @description Auto-matched Galoper field → column header; edit and save via mapping endpoint.
34635
- */
34636
- suggestedMapping: {
34637
- [key: string]: string | null;
34638
- };
34639
- /**
34640
- * Suggesteddefaults
34641
- * @description System defaults to seed fieldDefaults on first mapping save.
34642
- */
34643
- suggestedDefaults?: {
34644
- [key: string]: string;
34645
- };
34646
- /** @description First-pass enum analysis; refresh after mapping via enum-mapping preview or mapping response. */
34647
- enumMappings?: components["schemas"]["ImportEnumMappingsSchema"];
34648
- /**
34649
- * Totalrows
34650
- * @description Number of data rows on the main import grid.
34651
- */
34652
- totalRows: number;
34653
- /** @description Supported import modes and duplicate-match fields for this type. */
34654
- importOptions?: components["schemas"]["ImportOptionsSchema"];
34655
- /** @description Variant sheet metadata when supported (items). */
34656
- variantImport?: components["schemas"]["ImportVariantImportSchema"];
34657
- /**
34658
- * Fields
34659
- * @description Full Galoper field catalog for the mapping UI (includes image fieldType slots).
34660
- */
34661
- fields?: components["schemas"]["ImportFieldSchema"][];
34662
- };
34663
34936
  /** ListRegions */
34664
34937
  ListRegions: {
34665
34938
  info: components["schemas"]["PageInfoSchema"];
@@ -34723,7 +34996,7 @@ export interface components {
34723
34996
  * FileType
34724
34997
  * @enum {string}
34725
34998
  */
34726
- 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";
34727
35000
  /** currencyCodeOut */
34728
35001
  currencyCodeOut: {
34729
35002
  /** Currencycode */
@@ -51231,7 +51504,7 @@ export interface components {
51231
51504
  quantity: number | string;
51232
51505
  /** @description UOM for `quantity`; must be reachable from the item's UOM conversions. */
51233
51506
  unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
51234
- /** @description **Item** (`item`): a normal material — consume/issue this item's `quantity` from inventory (subject to WIP and other production rules). **Phantom** (`phantom`): a sub-assembly placeholder — this line does **not** consume stock for the selected item as a single component. When the BOM is used in production, the system **explodes** the line into the inputs (and structure) of that item's **certified** BOM. Use phantoms for manufactured sub-assemblies that have their own BOM instead of listing every raw material on the parent. Requirements: the phantom item must already have a certified BOM; batch/serial-tracked items cannot be phantoms; certify fails on circular phantom references (A → B → A). **Pegged supply** (`pegged_supply`): manufactured component demand — the line quantity is **not** issued from stock on the parent order. Production creates an **upstream order** for this item (pegged to the parent demand) and explodes that item's **certified** BOM. Same certify rules as phantoms (certified BOM required, no lot/serial SKU, no circular references). */
51507
+ /** @description **Item** (`item`): a normal material — consume/issue this item's `quantity` from inventory (subject to semi-finished and other production rules). **Phantom** (`phantom`): a sub-assembly placeholder — this line does **not** consume stock for the selected item as a single component. When the BOM is used in production, the system **explodes** the line into the inputs (and structure) of that item's **certified** BOM (and optionally merges routing from auto-selected production version when available). Use phantoms for manufactured sub-assemblies that have their own BOM instead of listing every raw material on the parent. Requirements: the phantom item must already have a certified BOM; batch/serial-tracked items cannot be phantoms; certify fails on circular phantom references (A → B → A). **Pegged supply** (`pegged_supply`): manufactured component demand — the line quantity is **not** issued from stock on the parent order. Production creates an **upstream order** for this item (pegged to the parent demand) and explodes that item's **certified** BOM. Same certify rules as phantoms (certified BOM required, no batch/serial SKU, no circular references). */
51235
51508
  lineType: components["schemas"]["BOMInputLineTypeEnum"];
51236
51509
  scalingType: components["schemas"]["BOMScalingTypeEnum"];
51237
51510
  /**
@@ -51290,13 +51563,23 @@ export interface components {
51290
51563
  * @description Display order; unique among output lines on this BOM.
51291
51564
  */
51292
51565
  sequence: number;
51566
+ /**
51567
+ * Routingoperationcode
51568
+ * @default
51569
+ */
51570
+ routingOperationCode: string;
51571
+ /**
51572
+ * Consumingoperationcode
51573
+ * @default
51574
+ */
51575
+ consumingOperationCode: string;
51293
51576
  };
51294
51577
  /**
51295
51578
  * BOMOutputTypeEnum
51296
51579
  * @description Exactly one `main` line per BOM. `by_product` / `waste` lines must use items with matching `usage`.
51297
51580
  * @enum {string}
51298
51581
  */
51299
- BOMOutputTypeEnum: "main" | "co_product" | "by_product" | "waste";
51582
+ BOMOutputTypeEnum: "main" | "co_product" | "by_product" | "waste" | "intermediate";
51300
51583
  /**
51301
51584
  * BOMScalingTypeEnum
51302
51585
  * @description How input quantity scales when production quantity differs from BOM header `quantity`.
@@ -51425,7 +51708,7 @@ export interface components {
51425
51708
  */
51426
51709
  unitOfMeasure: string;
51427
51710
  /**
51428
- * @description Default `item`. **Item** (`item`): a normal material — consume/issue this item's `quantity` from inventory (subject to WIP and other production rules). **Phantom** (`phantom`): a sub-assembly placeholder — this line does **not** consume stock for the selected item as a single component. When the BOM is used in production, the system **explodes** the line into the inputs (and structure) of that item's **certified** BOM. Use phantoms for manufactured sub-assemblies that have their own BOM instead of listing every raw material on the parent. Requirements: the phantom item must already have a certified BOM; batch/serial-tracked items cannot be phantoms; certify fails on circular phantom references (A → B → A). **Pegged supply** (`pegged_supply`): manufactured component demand — the line quantity is **not** issued from stock on the parent order. Production creates an **upstream order** for this item (pegged to the parent demand) and explodes that item's **certified** BOM. Same certify rules as phantoms (certified BOM required, no lot/serial SKU, no circular references).
51711
+ * @description Default `item`. **Item** (`item`): a normal material — consume/issue this item's `quantity` from inventory (subject to semi-finished and other production rules). **Phantom** (`phantom`): a sub-assembly placeholder — this line does **not** consume stock for the selected item as a single component. When the BOM is used in production, the system **explodes** the line into the inputs (and structure) of that item's **certified** BOM (and optionally merges routing from auto-selected production version when available). Use phantoms for manufactured sub-assemblies that have their own BOM instead of listing every raw material on the parent. Requirements: the phantom item must already have a certified BOM; batch/serial-tracked items cannot be phantoms; certify fails on circular phantom references (A → B → A). **Pegged supply** (`pegged_supply`): manufactured component demand — the line quantity is **not** issued from stock on the parent order. Production creates an **upstream order** for this item (pegged to the parent demand) and explodes that item's **certified** BOM. Same certify rules as phantoms (certified BOM required, no batch/serial SKU, no circular references).
51429
51712
  * @default item
51430
51713
  */
51431
51714
  lineType: components["schemas"]["BOMInputLineTypeEnum"];
@@ -51487,6 +51770,16 @@ export interface components {
51487
51770
  * @description Unique among output lines.
51488
51771
  */
51489
51772
  sequence: number;
51773
+ /**
51774
+ * Routingoperationcode
51775
+ * @description Routing step that produces this output.
51776
+ */
51777
+ routingOperationCode?: string | null;
51778
+ /**
51779
+ * Consumingoperationcode
51780
+ * @description Required when outputType is intermediate — step that consumes this output.
51781
+ */
51782
+ consumingOperationCode?: string | null;
51490
51783
  };
51491
51784
  /**
51492
51785
  * CreateBillOfMaterialsSchema
@@ -52892,7 +53185,7 @@ export interface components {
52892
53185
  id: string;
52893
53186
  /** Serialnumber */
52894
53187
  serialNumber: string;
52895
- /** @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (lot / repetitive manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk lots. Pegged child production orders inherit the parent's order type. */
53188
+ /** @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (repetitive / batch manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk batch runs. Pegged child production orders inherit the parent's order type. */
52896
53189
  orderType: components["schemas"]["ProductionOrderTypeEnum"];
52897
53190
  status: components["schemas"]["ProductionOrderStatusEnum"];
52898
53191
  item: components["schemas"]["ItemSummarySchema"];
@@ -52913,8 +53206,35 @@ export interface components {
52913
53206
  scheduledEnd?: string | null;
52914
53207
  /** @description Default warehouse for the order (branch default at create; same as lines unless overridden). */
52915
53208
  warehouse: components["schemas"]["ProductionOrderWarehouseSummarySchema"];
52916
- /** Estimatedcost */
53209
+ /**
53210
+ * Estimatedcost
53211
+ * @description Reserved for costing; not computed in this phase.
53212
+ * @default 0
53213
+ */
52917
53214
  estimatedCost: number | string;
53215
+ /**
53216
+ * Estimatedcostmaterial
53217
+ * @description Reserved for costing; not computed in this phase.
53218
+ * @default 0
53219
+ */
53220
+ estimatedCostMaterial: number | string;
53221
+ /**
53222
+ * Estimatedcostrouting
53223
+ * @description Reserved for costing; not computed in this phase.
53224
+ * @default 0
53225
+ */
53226
+ estimatedCostRouting: number | string;
53227
+ /**
53228
+ * Estimatedcostsubcontract
53229
+ * @description Reserved for costing; not computed in this phase.
53230
+ * @default 0
53231
+ */
53232
+ estimatedCostSubcontract: number | string;
53233
+ /**
53234
+ * Hasshortage
53235
+ * @default false
53236
+ */
53237
+ hasShortage: boolean;
52918
53238
  /** @description Set when this PO was spawned for a pegged-supply line on another order. */
52919
53239
  parentProductionOrder?: components["schemas"]["ProductionOrderLinkSummarySchema"] | null;
52920
53240
  /**
@@ -52925,7 +53245,7 @@ export interface components {
52925
53245
  };
52926
53246
  /**
52927
53247
  * ProductionOrderTypeEnum
52928
- * @description `batch` = quantity lot on one order; `discrete` = distinct job order (see create `orderType` description).
53248
+ * @description `batch` = one production run quantity on the order; `discrete` = distinct job order (see create `orderType`).
52929
53249
  * @enum {string}
52930
53250
  */
52931
53251
  ProductionOrderTypeEnum: "batch" | "discrete";
@@ -52969,7 +53289,7 @@ export interface components {
52969
53289
  id: string;
52970
53290
  /** Serialnumber */
52971
53291
  serialNumber: string;
52972
- /** @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (lot / repetitive manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk lots. Pegged child production orders inherit the parent's order type. */
53292
+ /** @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (repetitive / batch manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk batch runs. Pegged child production orders inherit the parent's order type. */
52973
53293
  orderType: components["schemas"]["ProductionOrderTypeEnum"];
52974
53294
  status: components["schemas"]["ProductionOrderStatusEnum"];
52975
53295
  item: components["schemas"]["ItemSummarySchema"];
@@ -52990,8 +53310,35 @@ export interface components {
52990
53310
  scheduledEnd?: string | null;
52991
53311
  /** @description Default warehouse for the order (branch default at create; same as lines unless overridden). */
52992
53312
  warehouse: components["schemas"]["ProductionOrderWarehouseSummarySchema"];
52993
- /** Estimatedcost */
53313
+ /**
53314
+ * Estimatedcost
53315
+ * @description Reserved for costing; not computed in this phase.
53316
+ * @default 0
53317
+ */
52994
53318
  estimatedCost: number | string;
53319
+ /**
53320
+ * Estimatedcostmaterial
53321
+ * @description Reserved for costing; not computed in this phase.
53322
+ * @default 0
53323
+ */
53324
+ estimatedCostMaterial: number | string;
53325
+ /**
53326
+ * Estimatedcostrouting
53327
+ * @description Reserved for costing; not computed in this phase.
53328
+ * @default 0
53329
+ */
53330
+ estimatedCostRouting: number | string;
53331
+ /**
53332
+ * Estimatedcostsubcontract
53333
+ * @description Reserved for costing; not computed in this phase.
53334
+ * @default 0
53335
+ */
53336
+ estimatedCostSubcontract: number | string;
53337
+ /**
53338
+ * Hasshortage
53339
+ * @default false
53340
+ */
53341
+ hasShortage: boolean;
52995
53342
  /** @description Set when this PO was spawned for a pegged-supply line on another order. */
52996
53343
  parentProductionOrder?: components["schemas"]["ProductionOrderLinkSummarySchema"] | null;
52997
53344
  /**
@@ -53004,7 +53351,11 @@ export interface components {
53004
53351
  * Format: uuid
53005
53352
  */
53006
53353
  bomId: string;
53007
- /** Actualcost */
53354
+ /**
53355
+ * Actualcost
53356
+ * @description Reserved for costing; not computed in this phase.
53357
+ * @default 0
53358
+ */
53008
53359
  actualCost: number | string;
53009
53360
  /** Actualstart */
53010
53361
  actualStart?: string | null;
@@ -53027,6 +53378,11 @@ export interface components {
53027
53378
  * @description Pegged-supply needs from the order BOM (not issued as material lines on this PO).
53028
53379
  */
53029
53380
  peggedDemands?: components["schemas"]["ProductionOrderPeggedDemandSchema"][];
53381
+ /**
53382
+ * Phantomproductionversions
53383
+ * @description Production versions chosen for phantom BOM lines on this order.
53384
+ */
53385
+ phantomProductionVersions?: components["schemas"]["ProductionOrderPhantomVersionSchema"][];
53030
53386
  /**
53031
53387
  * Peggedchildorders
53032
53388
  * @description Child POs linked from this order's pegged demands (created with the parent).
@@ -53095,6 +53451,41 @@ export interface components {
53095
53451
  /** Quantity */
53096
53452
  quantity: number | string;
53097
53453
  };
53454
+ /** ProductionOrderOperationOutputLineSchema */
53455
+ ProductionOrderOperationOutputLineSchema: {
53456
+ /**
53457
+ * Id
53458
+ * Format: uuid
53459
+ */
53460
+ id: string;
53461
+ item: components["schemas"]["ItemSummarySchema"];
53462
+ /** Plannedquantity */
53463
+ plannedQuantity: number | string;
53464
+ /** Expectedquantity */
53465
+ expectedQuantity: number | string;
53466
+ /** Actualquantity */
53467
+ actualQuantity: number | string;
53468
+ /** Scrapquantity */
53469
+ scrapQuantity: number | string;
53470
+ /**
53471
+ * Scrapreasoncode
53472
+ * @default
53473
+ */
53474
+ scrapReasonCode: string;
53475
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
53476
+ /** Isintermediate */
53477
+ isIntermediate: boolean;
53478
+ status: components["schemas"]["ProductionOrderOperationOutputLineStatusEnum"];
53479
+ /** Catchweightqty */
53480
+ catchWeightQty?: number | string | null;
53481
+ /** Batchid */
53482
+ batchId?: string | null;
53483
+ };
53484
+ /**
53485
+ * ProductionOrderOperationOutputLineStatusEnum
53486
+ * @enum {string}
53487
+ */
53488
+ ProductionOrderOperationOutputLineStatusEnum: "pending" | "reported" | "received" | "consumed";
53098
53489
  /** ProductionOrderOperationSchema */
53099
53490
  ProductionOrderOperationSchema: {
53100
53491
  /**
@@ -53104,6 +53495,8 @@ export interface components {
53104
53495
  id: string;
53105
53496
  /** Sequence */
53106
53497
  sequence: number;
53498
+ /** Executionsequence */
53499
+ executionSequence: number | string;
53107
53500
  /** Operationcode */
53108
53501
  operationCode: string;
53109
53502
  workCenter: components["schemas"]["WorkCenterSummarySchema"];
@@ -53136,6 +53529,23 @@ export interface components {
53136
53529
  * @description BOM inputs linked to this operation via routing operation code.
53137
53530
  */
53138
53531
  materialLines?: components["schemas"]["ProductionOrderLineSchema"][];
53532
+ /**
53533
+ * Outputlines
53534
+ * @description BOM outputs the operator reports at this routing step.
53535
+ */
53536
+ outputLines?: components["schemas"]["ProductionOrderOperationOutputLineSchema"][];
53537
+ /**
53538
+ * Intermediateconsumptionlines
53539
+ * @description In-order intermediates produced on an earlier step and consumed when this operation runs (BOM consumingOperationCode).
53540
+ */
53541
+ intermediateConsumptionLines?: components["schemas"]["ProductionOrderOperationOutputLineSchema"][];
53542
+ /**
53543
+ * Depth
53544
+ * @default 0
53545
+ */
53546
+ depth: number;
53547
+ /** Parentoperationid */
53548
+ parentOperationId?: string | null;
53139
53549
  };
53140
53550
  /**
53141
53551
  * ProductionOrderOperationStatusEnum
@@ -53165,7 +53575,7 @@ export interface components {
53165
53575
  warehouse: components["schemas"]["ProductionOrderWarehouseSummarySchema"];
53166
53576
  /**
53167
53577
  * Tracking
53168
- * @description Batch lots received into stock when the order is ended (batch-tracked outputs only).
53578
+ * @description Inventory batches received into stock when the order is RAF (batch-tracked outputs only).
53169
53579
  */
53170
53580
  tracking?: components["schemas"]["ProductionOrderLineTrackingSchema"][];
53171
53581
  };
@@ -53217,6 +53627,15 @@ export interface components {
53217
53627
  */
53218
53628
  childPeggedDemands?: components["schemas"]["ProductionOrderPeggedDemandSchema"][];
53219
53629
  };
53630
+ /** ProductionOrderPhantomVersionSchema */
53631
+ ProductionOrderPhantomVersionSchema: {
53632
+ /**
53633
+ * Bominputlineid
53634
+ * Format: uuid
53635
+ */
53636
+ bomInputLineId: string;
53637
+ productionVersion: components["schemas"]["ProductionVersionOrderSummarySchema"];
53638
+ };
53220
53639
  /** ProductionOrderResponseSchema */
53221
53640
  ProductionOrderResponseSchema: {
53222
53641
  /** Message */
@@ -53247,7 +53666,7 @@ export interface components {
53247
53666
  */
53248
53667
  productionVersion?: string | null;
53249
53668
  /**
53250
- * @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (lot / repetitive manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk lots. Pegged child production orders inherit the parent's order type.
53669
+ * @description Order classification (reporting and integrations). Does not change BOM explosion, routing, or shop-floor rules. batch: one production order for a planned quantity of the same finished item (repetitive / batch manufacturing; default). discrete: job-order style — a distinct manufacturing job, often a single unit or tracked separately from bulk batch runs. Pegged child production orders inherit the parent's order type.
53251
53670
  * @default batch
53252
53671
  */
53253
53672
  orderType: components["schemas"]["ProductionOrderTypeEnum"];
@@ -53275,6 +53694,104 @@ export interface components {
53275
53694
  * @description Attachment file paths from upload API.
53276
53695
  */
53277
53696
  attachments?: string[];
53697
+ /**
53698
+ * Phantomproductionversions
53699
+ * @description Required for every phantom BOM input line in the explosion tree (parent and nested). Each pick must be a valid production version for that line's item.
53700
+ */
53701
+ phantomProductionVersions?: components["schemas"]["PhantomProductionVersionPickSchema"][];
53702
+ /**
53703
+ * Peggedproductionversions
53704
+ * @description Optional production version per pegged-supply BOM line (root and nested). Omit to auto-select; use ids from explosion preview peggedDemands.
53705
+ */
53706
+ peggedProductionVersions?: components["schemas"]["PeggedProductionVersionPickSchema"][];
53707
+ };
53708
+ /** PeggedProductionVersionPickSchema */
53709
+ PeggedProductionVersionPickSchema: {
53710
+ /**
53711
+ * Bominputlineid
53712
+ * Format: uuid
53713
+ * @description BOM input line id from explosion preview peggedDemands (including nested subProductions).
53714
+ */
53715
+ bomInputLineId: string;
53716
+ /**
53717
+ * Productionversion
53718
+ * Format: uuid
53719
+ * @description Production version for the pegged child PO at create.
53720
+ */
53721
+ productionVersion: string;
53722
+ };
53723
+ /** PhantomProductionVersionPickSchema */
53724
+ PhantomProductionVersionPickSchema: {
53725
+ /**
53726
+ * Bominputlineid
53727
+ * Format: uuid
53728
+ * @description Phantom BOM input line on the parent (or nested) recipe.
53729
+ */
53730
+ bomInputLineId: string;
53731
+ /**
53732
+ * Productionversion
53733
+ * Format: uuid
53734
+ * @description Production version for the phantom line item (BOM + routing used at explosion).
53735
+ */
53736
+ productionVersion: string;
53737
+ };
53738
+ /** ProductionOrderExplosionPreviewLineSchema */
53739
+ ProductionOrderExplosionPreviewLineSchema: {
53740
+ /**
53741
+ * Bominputlineid
53742
+ * Format: uuid
53743
+ */
53744
+ bomInputLineId: string;
53745
+ item: components["schemas"]["ItemSummarySchema"];
53746
+ /** Plannedquantity */
53747
+ plannedQuantity: number | string;
53748
+ consumptionMethod: components["schemas"]["BOMConsumptionMethodEnum"];
53749
+ /**
53750
+ * Routingoperationcode
53751
+ * @default
53752
+ */
53753
+ routingOperationCode: string;
53754
+ /** Sequence */
53755
+ sequence: number;
53756
+ };
53757
+ /** ProductionOrderExplosionPreviewPeggedLineSchema */
53758
+ ProductionOrderExplosionPreviewPeggedLineSchema: {
53759
+ /**
53760
+ * Bominputlineid
53761
+ * Format: uuid
53762
+ */
53763
+ bomInputLineId: string;
53764
+ item: components["schemas"]["ItemSummarySchema"];
53765
+ /** Plannedquantity */
53766
+ plannedQuantity: number | string;
53767
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSummaryInfo"];
53768
+ /**
53769
+ * Routingoperationcode
53770
+ * @default
53771
+ */
53772
+ routingOperationCode: string;
53773
+ /** Sequence */
53774
+ sequence: number;
53775
+ /**
53776
+ * Depth
53777
+ * @default 0
53778
+ */
53779
+ depth: number;
53780
+ /**
53781
+ * Subproductions
53782
+ * @description Nested pegged lines on the child BOM (child POs created when the parent is created).
53783
+ */
53784
+ subProductions?: components["schemas"]["ProductionOrderExplosionPreviewPeggedLineSchema"][];
53785
+ };
53786
+ /** ProductionOrderExplosionPreviewSchema */
53787
+ ProductionOrderExplosionPreviewSchema: {
53788
+ /** Lines */
53789
+ lines: components["schemas"]["ProductionOrderExplosionPreviewLineSchema"][];
53790
+ /**
53791
+ * Peggeddemands
53792
+ * @description Pegged-supply BOM lines; each may include nested subProductions for multi-level pegged chains.
53793
+ */
53794
+ peggedDemands?: components["schemas"]["ProductionOrderExplosionPreviewPeggedLineSchema"][];
53278
53795
  };
53279
53796
  /**
53280
53797
  * UpdateProductionOrderSchema
@@ -53313,6 +53830,11 @@ export interface components {
53313
53830
  description?: string | null;
53314
53831
  /** Notes */
53315
53832
  notes?: string | null;
53833
+ /**
53834
+ * Phantomproductionversions
53835
+ * @description When re-snapshotting, supply picks for all phantom lines (or omit to keep stored picks).
53836
+ */
53837
+ phantomProductionVersions?: components["schemas"]["PhantomProductionVersionPickSchema"][] | null;
53316
53838
  };
53317
53839
  /**
53318
53840
  * ScheduleProductionOrderSchema
@@ -53415,6 +53937,22 @@ export interface components {
53415
53937
  */
53416
53938
  actualRunMinutes?: number | string | null;
53417
53939
  };
53940
+ /** ReportProductionOrderOperationOutputLineSchema */
53941
+ ReportProductionOrderOperationOutputLineSchema: {
53942
+ /** Actualquantity */
53943
+ actualQuantity: number | string;
53944
+ /**
53945
+ * Scrapquantity
53946
+ * @default 0
53947
+ */
53948
+ scrapQuantity: number | string;
53949
+ /** Scrapreasoncode */
53950
+ scrapReasonCode?: string | null;
53951
+ /** Catchweightqty */
53952
+ catchWeightQty?: number | string | null;
53953
+ /** Batchid */
53954
+ batchId?: string | null;
53955
+ };
53418
53956
  /** ConsumeProductionOrderLineSchema */
53419
53957
  ConsumeProductionOrderLineSchema: {
53420
53958
  /**
@@ -53432,7 +53970,7 @@ export interface components {
53432
53970
  batch?: string | null;
53433
53971
  /**
53434
53972
  * Number
53435
- * @description New batch lot number when `batch` is omitted.
53973
+ * @description New batch number when `batch` is omitted.
53436
53974
  */
53437
53975
  number?: string | null;
53438
53976
  /**
@@ -53469,11 +54007,6 @@ export interface components {
53469
54007
  */
53470
54008
  outputQuantities?: components["schemas"]["ReportAsFinishedOutputQuantitySchema"][] | null;
53471
54009
  };
53472
- /**
53473
- * EndProductionOrderSchema
53474
- * @description Optional empty body for `POST /{id}/end/` (batch receipts happen at RAF).
53475
- */
53476
- EndProductionOrderSchema: Record<string, never>;
53477
54010
  /** PaymentVoucherCalculateTotalResponse */
53478
54011
  PaymentVoucherCalculateTotalResponse: {
53479
54012
  /**
@@ -80153,124 +80686,20 @@ export interface operations {
80153
80686
  };
80154
80687
  };
80155
80688
  };
80156
- common_data_import_views_update_data_import_mapping: {
80689
+ common_data_import_views_configure_data_import_endpoint: {
80157
80690
  parameters: {
80158
- query?: never;
80159
- header?: never;
80160
- path: {
80161
- session_id: string;
80162
- };
80163
- cookie?: never;
80164
- };
80165
- requestBody: {
80166
- content: {
80167
- "application/json": components["schemas"]["UpdateImportMappingSchema"];
80168
- };
80169
- };
80170
- responses: {
80171
- /** @description OK */
80172
- 200: {
80173
- headers: {
80174
- [name: string]: unknown;
80175
- };
80176
- content: {
80177
- "application/json": components["schemas"]["UpdateImportMappingResponse"];
80178
- };
80179
- };
80180
- /** @description Bad Request */
80181
- 400: {
80182
- headers: {
80183
- [name: string]: unknown;
80184
- };
80185
- content: {
80186
- "application/json": components["schemas"]["ErrorMessages"];
80187
- };
80188
- };
80189
- /** @description Forbidden */
80190
- 403: {
80191
- headers: {
80192
- [name: string]: unknown;
80193
- };
80194
- content: {
80195
- "application/json": components["schemas"]["MessageWithCode"];
80196
- };
80197
- };
80198
- /** @description Not Found */
80199
- 404: {
80200
- headers: {
80201
- [name: string]: unknown;
80202
- };
80203
- content: {
80204
- "application/json": components["schemas"]["MessageWithCode"];
80205
- };
80206
- };
80207
- };
80208
- };
80209
- common_data_import_views_update_data_import_mapping_post: {
80210
- parameters: {
80211
- query?: never;
80212
- header?: never;
80213
- path: {
80214
- session_id: string;
80215
- };
80216
- cookie?: never;
80217
- };
80218
- requestBody: {
80219
- content: {
80220
- "application/json": components["schemas"]["UpdateImportMappingSchema"];
80221
- };
80222
- };
80223
- responses: {
80224
- /** @description OK */
80225
- 200: {
80226
- headers: {
80227
- [name: string]: unknown;
80228
- };
80229
- content: {
80230
- "application/json": components["schemas"]["UpdateImportMappingResponse"];
80231
- };
80232
- };
80233
- /** @description Bad Request */
80234
- 400: {
80235
- headers: {
80236
- [name: string]: unknown;
80237
- };
80238
- content: {
80239
- "application/json": components["schemas"]["ErrorMessages"];
80240
- };
80241
- };
80242
- /** @description Forbidden */
80243
- 403: {
80244
- headers: {
80245
- [name: string]: unknown;
80246
- };
80247
- content: {
80248
- "application/json": components["schemas"]["MessageWithCode"];
80249
- };
80250
- };
80251
- /** @description Not Found */
80252
- 404: {
80253
- headers: {
80254
- [name: string]: unknown;
80255
- };
80256
- content: {
80257
- "application/json": components["schemas"]["MessageWithCode"];
80258
- };
80691
+ query?: {
80692
+ sheetName?: string | null;
80259
80693
  };
80260
- };
80261
- };
80262
- common_data_import_views_preview_data_import_category_setup: {
80263
- parameters: {
80264
- query?: never;
80265
80694
  header?: never;
80266
80695
  path: {
80267
- session_id: string;
80696
+ document_type: string;
80268
80697
  };
80269
80698
  cookie?: never;
80270
80699
  };
80271
80700
  requestBody: {
80272
80701
  content: {
80273
- "application/json": components["schemas"]["PreviewCategorySetupMappingSchema"];
80702
+ "application/json": components["schemas"]["ConfigureImportSchema"];
80274
80703
  };
80275
80704
  };
80276
80705
  responses: {
@@ -80280,7 +80709,7 @@ export interface operations {
80280
80709
  [name: string]: unknown;
80281
80710
  };
80282
80711
  content: {
80283
- "application/json": components["schemas"]["ImportCategorySetupSchema"];
80712
+ "application/json": components["schemas"]["ConfigureImportResponse"];
80284
80713
  };
80285
80714
  };
80286
80715
  /** @description Bad Request */
@@ -80312,18 +80741,18 @@ export interface operations {
80312
80741
  };
80313
80742
  };
80314
80743
  };
80315
- common_data_import_views_preview_data_import_enum_mapping: {
80744
+ common_data_import_views_update_data_import_mapping: {
80316
80745
  parameters: {
80317
80746
  query?: never;
80318
80747
  header?: never;
80319
80748
  path: {
80320
- session_id: string;
80749
+ document_type: string;
80321
80750
  };
80322
80751
  cookie?: never;
80323
80752
  };
80324
80753
  requestBody: {
80325
80754
  content: {
80326
- "application/json": components["schemas"]["PreviewEnumMappingSchema"];
80755
+ "application/json": components["schemas"]["UpdateImportMappingWithFileSchema"];
80327
80756
  };
80328
80757
  };
80329
80758
  responses: {
@@ -80333,7 +80762,7 @@ export interface operations {
80333
80762
  [name: string]: unknown;
80334
80763
  };
80335
80764
  content: {
80336
- "application/json": components["schemas"]["PreviewEnumMappingResponse"];
80765
+ "application/json": components["schemas"]["UpdateImportMappingResponse"];
80337
80766
  };
80338
80767
  };
80339
80768
  /** @description Bad Request */
@@ -80365,16 +80794,20 @@ export interface operations {
80365
80794
  };
80366
80795
  };
80367
80796
  };
80368
- common_data_import_views_preview_data_import: {
80797
+ common_data_import_views_preview_data_import_category_setup: {
80369
80798
  parameters: {
80370
80799
  query?: never;
80371
80800
  header?: never;
80372
80801
  path: {
80373
- session_id: string;
80802
+ document_type: string;
80374
80803
  };
80375
80804
  cookie?: never;
80376
80805
  };
80377
- requestBody?: never;
80806
+ requestBody: {
80807
+ content: {
80808
+ "application/json": components["schemas"]["PreviewCategorySetupWithFileSchema"];
80809
+ };
80810
+ };
80378
80811
  responses: {
80379
80812
  /** @description OK */
80380
80813
  200: {
@@ -80382,7 +80815,7 @@ export interface operations {
80382
80815
  [name: string]: unknown;
80383
80816
  };
80384
80817
  content: {
80385
- "application/json": components["schemas"]["ImportPreviewResponse"];
80818
+ "application/json": components["schemas"]["ImportCategorySetupSchema"];
80386
80819
  };
80387
80820
  };
80388
80821
  /** @description Bad Request */
@@ -80414,18 +80847,18 @@ export interface operations {
80414
80847
  };
80415
80848
  };
80416
80849
  };
80417
- common_data_import_views_select_data_import_sheet: {
80850
+ common_data_import_views_preview_data_import_enum_mapping: {
80418
80851
  parameters: {
80419
80852
  query?: never;
80420
80853
  header?: never;
80421
80854
  path: {
80422
- session_id: string;
80855
+ document_type: string;
80423
80856
  };
80424
80857
  cookie?: never;
80425
80858
  };
80426
80859
  requestBody: {
80427
80860
  content: {
80428
- "application/json": components["schemas"]["SelectImportSheetSchema"];
80861
+ "application/json": components["schemas"]["PreviewEnumMappingWithFileSchema"];
80429
80862
  };
80430
80863
  };
80431
80864
  responses: {
@@ -80435,7 +80868,7 @@ export interface operations {
80435
80868
  [name: string]: unknown;
80436
80869
  };
80437
80870
  content: {
80438
- "application/json": components["schemas"]["SelectImportSheetResponse"];
80871
+ "application/json": components["schemas"]["PreviewEnumMappingResponse"];
80439
80872
  };
80440
80873
  };
80441
80874
  /** @description Bad Request */
@@ -80467,16 +80900,20 @@ export interface operations {
80467
80900
  };
80468
80901
  };
80469
80902
  };
80470
- common_data_import_views_execute_data_import: {
80903
+ common_data_import_views_preview_data_import: {
80471
80904
  parameters: {
80472
80905
  query?: never;
80473
80906
  header?: never;
80474
80907
  path: {
80475
- session_id: string;
80908
+ document_type: string;
80476
80909
  };
80477
80910
  cookie?: never;
80478
80911
  };
80479
- requestBody?: never;
80912
+ requestBody: {
80913
+ content: {
80914
+ "application/json": components["schemas"]["ImportPreviewFileRefSchema"];
80915
+ };
80916
+ };
80480
80917
  responses: {
80481
80918
  /** @description OK */
80482
80919
  200: {
@@ -80484,7 +80921,7 @@ export interface operations {
80484
80921
  [name: string]: unknown;
80485
80922
  };
80486
80923
  content: {
80487
- "application/json": components["schemas"]["ExecuteImportResponse"];
80924
+ "application/json": components["schemas"]["ImportPreviewResponse"];
80488
80925
  };
80489
80926
  };
80490
80927
  /** @description Bad Request */
@@ -80516,7 +80953,7 @@ export interface operations {
80516
80953
  };
80517
80954
  };
80518
80955
  };
80519
- common_data_import_views_list_data_import_options: {
80956
+ common_data_import_views_select_data_import_sheet: {
80520
80957
  parameters: {
80521
80958
  query?: never;
80522
80959
  header?: never;
@@ -80525,7 +80962,11 @@ export interface operations {
80525
80962
  };
80526
80963
  cookie?: never;
80527
80964
  };
80528
- requestBody?: never;
80965
+ requestBody: {
80966
+ content: {
80967
+ "application/json": components["schemas"]["SelectImportSheetWithFileSchema"];
80968
+ };
80969
+ };
80529
80970
  responses: {
80530
80971
  /** @description OK */
80531
80972
  200: {
@@ -80533,7 +80974,16 @@ export interface operations {
80533
80974
  [name: string]: unknown;
80534
80975
  };
80535
80976
  content: {
80536
- "application/json": components["schemas"]["ImportOptionsSchema"];
80977
+ "application/json": components["schemas"]["SelectImportSheetResponse"];
80978
+ };
80979
+ };
80980
+ /** @description Bad Request */
80981
+ 400: {
80982
+ headers: {
80983
+ [name: string]: unknown;
80984
+ };
80985
+ content: {
80986
+ "application/json": components["schemas"]["ErrorMessages"];
80537
80987
  };
80538
80988
  };
80539
80989
  /** @description Forbidden */
@@ -80556,7 +81006,7 @@ export interface operations {
80556
81006
  };
80557
81007
  };
80558
81008
  };
80559
- common_data_import_views_list_data_import_fields: {
81009
+ common_data_import_views_execute_data_import: {
80560
81010
  parameters: {
80561
81011
  query?: never;
80562
81012
  header?: never;
@@ -80565,7 +81015,11 @@ export interface operations {
80565
81015
  };
80566
81016
  cookie?: never;
80567
81017
  };
80568
- requestBody?: never;
81018
+ requestBody: {
81019
+ content: {
81020
+ "application/json": components["schemas"]["ImportPreviewFileRefSchema"];
81021
+ };
81022
+ };
80569
81023
  responses: {
80570
81024
  /** @description OK */
80571
81025
  200: {
@@ -80573,7 +81027,16 @@ export interface operations {
80573
81027
  [name: string]: unknown;
80574
81028
  };
80575
81029
  content: {
80576
- "application/json": components["schemas"]["ImportFieldSchema"][];
81030
+ "application/json": components["schemas"]["ExecuteImportResponse"];
81031
+ };
81032
+ };
81033
+ /** @description Bad Request */
81034
+ 400: {
81035
+ headers: {
81036
+ [name: string]: unknown;
81037
+ };
81038
+ content: {
81039
+ "application/json": components["schemas"]["ErrorMessages"];
80577
81040
  };
80578
81041
  };
80579
81042
  /** @description Forbidden */
@@ -80596,7 +81059,7 @@ export interface operations {
80596
81059
  };
80597
81060
  };
80598
81061
  };
80599
- common_data_import_views_list_data_import_saved_mappings: {
81062
+ common_data_import_views_list_data_import_options: {
80600
81063
  parameters: {
80601
81064
  query?: never;
80602
81065
  header?: never;
@@ -80613,7 +81076,7 @@ export interface operations {
80613
81076
  [name: string]: unknown;
80614
81077
  };
80615
81078
  content: {
80616
- "application/json": components["schemas"]["SavedImportMappingSchema"][];
81079
+ "application/json": components["schemas"]["ImportOptionsSchema"];
80617
81080
  };
80618
81081
  };
80619
81082
  /** @description Forbidden */
@@ -80636,30 +81099,16 @@ export interface operations {
80636
81099
  };
80637
81100
  };
80638
81101
  };
80639
- common_data_import_views_configure_data_import: {
81102
+ common_data_import_views_list_data_import_fields: {
80640
81103
  parameters: {
80641
- query?: {
80642
- encoding?: string;
80643
- delimiter?: string;
80644
- sheetName?: string | null;
80645
- };
81104
+ query?: never;
80646
81105
  header?: never;
80647
81106
  path: {
80648
81107
  document_type: string;
80649
81108
  };
80650
81109
  cookie?: never;
80651
81110
  };
80652
- requestBody: {
80653
- content: {
80654
- "multipart/form-data": {
80655
- /**
80656
- * File
80657
- * Format: binary
80658
- */
80659
- file: string;
80660
- };
80661
- };
80662
- };
81111
+ requestBody?: never;
80663
81112
  responses: {
80664
81113
  /** @description OK */
80665
81114
  200: {
@@ -80667,16 +81116,47 @@ export interface operations {
80667
81116
  [name: string]: unknown;
80668
81117
  };
80669
81118
  content: {
80670
- "application/json": components["schemas"]["ConfigureImportResponse"];
81119
+ "application/json": components["schemas"]["ImportFieldSchema"][];
80671
81120
  };
80672
81121
  };
80673
- /** @description Bad Request */
80674
- 400: {
81122
+ /** @description Forbidden */
81123
+ 403: {
80675
81124
  headers: {
80676
81125
  [name: string]: unknown;
80677
81126
  };
80678
81127
  content: {
80679
- "application/json": components["schemas"]["ErrorMessages"];
81128
+ "application/json": components["schemas"]["MessageWithCode"];
81129
+ };
81130
+ };
81131
+ /** @description Not Found */
81132
+ 404: {
81133
+ headers: {
81134
+ [name: string]: unknown;
81135
+ };
81136
+ content: {
81137
+ "application/json": components["schemas"]["MessageWithCode"];
81138
+ };
81139
+ };
81140
+ };
81141
+ };
81142
+ common_data_import_views_list_data_import_saved_mappings: {
81143
+ parameters: {
81144
+ query?: never;
81145
+ header?: never;
81146
+ path: {
81147
+ document_type: string;
81148
+ };
81149
+ cookie?: never;
81150
+ };
81151
+ requestBody?: never;
81152
+ responses: {
81153
+ /** @description OK */
81154
+ 200: {
81155
+ headers: {
81156
+ [name: string]: unknown;
81157
+ };
81158
+ content: {
81159
+ "application/json": components["schemas"]["SavedImportMappingSchema"][];
80680
81160
  };
80681
81161
  };
80682
81162
  /** @description Forbidden */
@@ -93708,7 +94188,7 @@ export interface operations {
93708
94188
  parameters: {
93709
94189
  query?: {
93710
94190
  /** @description feasible if item type is product and u need to filter by specific usage */
93711
- itemUsage?: "goods" | "raw_material" | "works" | "service" | "wip" | "co_product" | "by_product" | "waste";
94191
+ itemUsage?: "goods" | "raw_material" | "works" | "service" | "semi_finished" | "co_product" | "by_product" | "waste";
93712
94192
  itemType?: "product" | "service";
93713
94193
  };
93714
94194
  header?: never;
@@ -104039,6 +104519,93 @@ export interface operations {
104039
104519
  };
104040
104520
  };
104041
104521
  };
104522
+ production_production_orders_views_preview_production_order_explosion_get: {
104523
+ parameters: {
104524
+ query: {
104525
+ item: string;
104526
+ plannedQuantity: number | string;
104527
+ unitOfMeasure: string;
104528
+ productionVersion?: string | null;
104529
+ orderType?: "batch" | "discrete";
104530
+ orderDate?: string | null;
104531
+ };
104532
+ header?: never;
104533
+ path?: never;
104534
+ cookie?: never;
104535
+ };
104536
+ requestBody?: never;
104537
+ responses: {
104538
+ /** @description OK */
104539
+ 200: {
104540
+ headers: {
104541
+ [name: string]: unknown;
104542
+ };
104543
+ content: {
104544
+ "application/json": components["schemas"]["ProductionOrderExplosionPreviewSchema"];
104545
+ };
104546
+ };
104547
+ /** @description Bad Request */
104548
+ 400: {
104549
+ headers: {
104550
+ [name: string]: unknown;
104551
+ };
104552
+ content: {
104553
+ "application/json": components["schemas"]["ErrorMessages"];
104554
+ };
104555
+ };
104556
+ /** @description Forbidden */
104557
+ 403: {
104558
+ headers: {
104559
+ [name: string]: unknown;
104560
+ };
104561
+ content: {
104562
+ "application/json": components["schemas"]["MessageResponse"];
104563
+ };
104564
+ };
104565
+ };
104566
+ };
104567
+ production_production_orders_views_preview_production_order_explosion_view: {
104568
+ parameters: {
104569
+ query?: never;
104570
+ header?: never;
104571
+ path?: never;
104572
+ cookie?: never;
104573
+ };
104574
+ requestBody: {
104575
+ content: {
104576
+ "application/json": components["schemas"]["CreateProductionOrderSchema"];
104577
+ };
104578
+ };
104579
+ responses: {
104580
+ /** @description OK */
104581
+ 200: {
104582
+ headers: {
104583
+ [name: string]: unknown;
104584
+ };
104585
+ content: {
104586
+ "application/json": components["schemas"]["ProductionOrderExplosionPreviewSchema"];
104587
+ };
104588
+ };
104589
+ /** @description Bad Request */
104590
+ 400: {
104591
+ headers: {
104592
+ [name: string]: unknown;
104593
+ };
104594
+ content: {
104595
+ "application/json": components["schemas"]["ErrorMessages"];
104596
+ };
104597
+ };
104598
+ /** @description Forbidden */
104599
+ 403: {
104600
+ headers: {
104601
+ [name: string]: unknown;
104602
+ };
104603
+ content: {
104604
+ "application/json": components["schemas"]["MessageResponse"];
104605
+ };
104606
+ };
104607
+ };
104608
+ };
104042
104609
  production_production_orders_views_get_production_order: {
104043
104610
  parameters: {
104044
104611
  query?: never;
@@ -104440,6 +105007,61 @@ export interface operations {
104440
105007
  };
104441
105008
  };
104442
105009
  };
105010
+ production_production_orders_views_report_production_order_operation_output_line_view: {
105011
+ parameters: {
105012
+ query?: never;
105013
+ header?: never;
105014
+ path: {
105015
+ id: string;
105016
+ operation_id: string;
105017
+ output_line_id: string;
105018
+ };
105019
+ cookie?: never;
105020
+ };
105021
+ requestBody: {
105022
+ content: {
105023
+ "application/json": components["schemas"]["ReportProductionOrderOperationOutputLineSchema"];
105024
+ };
105025
+ };
105026
+ responses: {
105027
+ /** @description OK */
105028
+ 200: {
105029
+ headers: {
105030
+ [name: string]: unknown;
105031
+ };
105032
+ content: {
105033
+ "application/json": components["schemas"]["ProductionOrderResponseSchema"];
105034
+ };
105035
+ };
105036
+ /** @description Bad Request */
105037
+ 400: {
105038
+ headers: {
105039
+ [name: string]: unknown;
105040
+ };
105041
+ content: {
105042
+ "application/json": components["schemas"]["ErrorMessages"];
105043
+ };
105044
+ };
105045
+ /** @description Forbidden */
105046
+ 403: {
105047
+ headers: {
105048
+ [name: string]: unknown;
105049
+ };
105050
+ content: {
105051
+ "application/json": components["schemas"]["MessageResponse"];
105052
+ };
105053
+ };
105054
+ /** @description Not Found */
105055
+ 404: {
105056
+ headers: {
105057
+ [name: string]: unknown;
105058
+ };
105059
+ content: {
105060
+ "application/json": components["schemas"]["MessageResponse"];
105061
+ };
105062
+ };
105063
+ };
105064
+ };
104443
105065
  production_production_orders_views_consume_production_order_material_view: {
104444
105066
  parameters: {
104445
105067
  query?: never;
@@ -104556,11 +105178,7 @@ export interface operations {
104556
105178
  };
104557
105179
  cookie?: never;
104558
105180
  };
104559
- requestBody: {
104560
- content: {
104561
- "application/json": components["schemas"]["EndProductionOrderSchema"];
104562
- };
104563
- };
105181
+ requestBody?: never;
104564
105182
  responses: {
104565
105183
  /** @description OK */
104566
105184
  200: {