@erp-galoper/types 1.0.2125 → 1.0.2127

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 +319 -409
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -12717,7 +12717,7 @@ export interface paths {
12717
12717
  * - Pagination: `page`, `pageSize`
12718
12718
  * - `itemId` — finished/co-product item; limits the list to BOMs for that item
12719
12719
  * - `certifiedOnly` — when true, only certified BOMs
12720
- * - Grid filters: `filters` (JSON) — `bomStatus`, `status`, `approvalStatus`, `itemId`, `validOn`, etc.
12720
+ * - Grid filters: `filters` (JSON) — `status`, `approvalStatus`, `itemId`, `validOn`, etc.
12721
12721
  * - `search`, `sortBy`, `order`
12722
12722
  *
12723
12723
  * **Permission key:** `billofmaterials = [ view ]`
@@ -12815,88 +12815,6 @@ export interface paths {
12815
12815
  patch?: never;
12816
12816
  trace?: never;
12817
12817
  };
12818
- "/api/v1/production/bills-of-materials/{id}/start-development/": {
12819
- parameters: {
12820
- query?: never;
12821
- header?: never;
12822
- path?: never;
12823
- cookie?: never;
12824
- };
12825
- get?: never;
12826
- put?: never;
12827
- /**
12828
- * Start Bom Development View
12829
- * @description Move a BOM from **new** to **under development**.
12830
- */
12831
- post: operations["production_bill_of_materials_views_start_bom_development_view"];
12832
- delete?: never;
12833
- options?: never;
12834
- head?: never;
12835
- patch?: never;
12836
- trace?: never;
12837
- };
12838
- "/api/v1/production/bills-of-materials/{id}/certify/": {
12839
- parameters: {
12840
- query?: never;
12841
- header?: never;
12842
- path?: never;
12843
- cookie?: never;
12844
- };
12845
- get?: never;
12846
- put?: never;
12847
- /**
12848
- * Certify Bill Of Materials
12849
- * @description Certify a BOM (supersedes other certified versions for the same item).
12850
- */
12851
- post: operations["production_bill_of_materials_views_certify_bill_of_materials"];
12852
- delete?: never;
12853
- options?: never;
12854
- head?: never;
12855
- patch?: never;
12856
- trace?: never;
12857
- };
12858
- "/api/v1/production/bills-of-materials/{id}/close/": {
12859
- parameters: {
12860
- query?: never;
12861
- header?: never;
12862
- path?: never;
12863
- cookie?: never;
12864
- };
12865
- get?: never;
12866
- put?: never;
12867
- /**
12868
- * Close Bill Of Materials
12869
- * @description Close a bill of materials (any manufacturing status except already closed).
12870
- */
12871
- post: operations["production_bill_of_materials_views_close_bill_of_materials"];
12872
- delete?: never;
12873
- options?: never;
12874
- head?: never;
12875
- patch?: never;
12876
- trace?: never;
12877
- };
12878
- "/api/v1/production/bills-of-materials/{id}/reopen/": {
12879
- parameters: {
12880
- query?: never;
12881
- header?: never;
12882
- path?: never;
12883
- cookie?: never;
12884
- };
12885
- get?: never;
12886
- put?: never;
12887
- /**
12888
- * Reopen Bill Of Materials
12889
- * @description Reopen a closed BOM to `new` or `dev` (use certify to certify again).
12890
- *
12891
- * **Permission key:** `billofmaterials = [ change ]`
12892
- */
12893
- post: operations["production_bill_of_materials_views_reopen_bill_of_materials"];
12894
- delete?: never;
12895
- options?: never;
12896
- head?: never;
12897
- patch?: never;
12898
- trace?: never;
12899
- };
12900
12818
  "/api/v1/production/work-centers/": {
12901
12819
  parameters: {
12902
12820
  query?: never;
@@ -12980,6 +12898,40 @@ export interface paths {
12980
12898
  patch?: never;
12981
12899
  trace?: never;
12982
12900
  };
12901
+ "/api/v1/production/work-centers/{id}/cancel/": {
12902
+ parameters: {
12903
+ query?: never;
12904
+ header?: never;
12905
+ path?: never;
12906
+ cookie?: never;
12907
+ };
12908
+ get?: never;
12909
+ put?: never;
12910
+ /** Cancel Work Center View */
12911
+ post: operations["production_work_centers_views_cancel_work_center_view"];
12912
+ delete?: never;
12913
+ options?: never;
12914
+ head?: never;
12915
+ patch?: never;
12916
+ trace?: never;
12917
+ };
12918
+ "/api/v1/production/work-centers/{id}/reset-to-draft/": {
12919
+ parameters: {
12920
+ query?: never;
12921
+ header?: never;
12922
+ path?: never;
12923
+ cookie?: never;
12924
+ };
12925
+ get?: never;
12926
+ put?: never;
12927
+ /** Reset Work Center To Draft View */
12928
+ post: operations["production_work_centers_views_reset_work_center_to_draft_view"];
12929
+ delete?: never;
12930
+ options?: never;
12931
+ head?: never;
12932
+ patch?: never;
12933
+ trace?: never;
12934
+ };
12983
12935
  "/api/v1/production/routings/": {
12984
12936
  parameters: {
12985
12937
  query?: never;
@@ -13060,33 +13012,7 @@ export interface paths {
13060
13012
  patch?: never;
13061
13013
  trace?: never;
13062
13014
  };
13063
- "/api/v1/production/routings/{id}/start-development/": {
13064
- parameters: {
13065
- query?: never;
13066
- header?: never;
13067
- path?: never;
13068
- cookie?: never;
13069
- };
13070
- get?: never;
13071
- put?: never;
13072
- /**
13073
- * Start Routing Development View
13074
- * @description **Permission key:** `routing = [ change ]`
13075
- *
13076
- * ### Common 400 error codes
13077
- * - ROUTING_INVALID_STATUS_FOR_DEVELOPMENT
13078
- *
13079
- * ### 404
13080
- * - routingDoesNotExist
13081
- */
13082
- post: operations["production_routings_views_start_routing_development_view"];
13083
- delete?: never;
13084
- options?: never;
13085
- head?: never;
13086
- patch?: never;
13087
- trace?: never;
13088
- };
13089
- "/api/v1/production/routings/{id}/certify/": {
13015
+ "/api/v1/production/routings/{id}/cancel/": {
13090
13016
  parameters: {
13091
13017
  query?: never;
13092
13018
  header?: never;
@@ -13096,24 +13022,17 @@ export interface paths {
13096
13022
  get?: never;
13097
13023
  put?: never;
13098
13024
  /**
13099
- * Certify Routing View
13100
- * @description **Permission key:** `routing = [ certify ]`
13101
- *
13102
- * ### Common 400 error codes
13103
- * - ROUTING_INVALID_STATUS_FOR_CERTIFY, ROUTING_NO_OPERATIONS, WC_INACTIVE
13104
- * - ROUTE_EXTERNAL_NO_SUPPLIER, ROUTE_RUNTIME_INVALID
13105
- *
13106
- * ### 404
13107
- * - routingDoesNotExist
13025
+ * Cancel Routing View
13026
+ * @description **Permission key:** `routing = [ cancel ]`
13108
13027
  */
13109
- post: operations["production_routings_views_certify_routing_view"];
13028
+ post: operations["production_routings_views_cancel_routing_view"];
13110
13029
  delete?: never;
13111
13030
  options?: never;
13112
13031
  head?: never;
13113
13032
  patch?: never;
13114
13033
  trace?: never;
13115
13034
  };
13116
- "/api/v1/production/routings/{id}/close/": {
13035
+ "/api/v1/production/routings/{id}/reset-to-draft/": {
13117
13036
  parameters: {
13118
13037
  query?: never;
13119
13038
  header?: never;
@@ -13123,16 +13042,10 @@ export interface paths {
13123
13042
  get?: never;
13124
13043
  put?: never;
13125
13044
  /**
13126
- * Close Routing View
13127
- * @description **Permission key:** `routing = [ close ]`
13128
- *
13129
- * ### Common 400 error codes
13130
- * - ROUTING_INVALID_STATUS_FOR_CLOSE
13131
- *
13132
- * ### 404
13133
- * - routingDoesNotExist
13045
+ * Reset Routing To Draft View
13046
+ * @description **Permission key:** `routing = [ resettodraft ]`
13134
13047
  */
13135
- post: operations["production_routings_views_close_routing_view"];
13048
+ post: operations["production_routings_views_reset_routing_to_draft_view"];
13136
13049
  delete?: never;
13137
13050
  options?: never;
13138
13051
  head?: never;
@@ -13222,6 +13135,40 @@ export interface paths {
13222
13135
  patch?: never;
13223
13136
  trace?: never;
13224
13137
  };
13138
+ "/api/v1/production/production-versions/{id}/cancel/": {
13139
+ parameters: {
13140
+ query?: never;
13141
+ header?: never;
13142
+ path?: never;
13143
+ cookie?: never;
13144
+ };
13145
+ get?: never;
13146
+ put?: never;
13147
+ /** Cancel Production Version View */
13148
+ post: operations["production_production_versions_views_cancel_production_version_view"];
13149
+ delete?: never;
13150
+ options?: never;
13151
+ head?: never;
13152
+ patch?: never;
13153
+ trace?: never;
13154
+ };
13155
+ "/api/v1/production/production-versions/{id}/reset-to-draft/": {
13156
+ parameters: {
13157
+ query?: never;
13158
+ header?: never;
13159
+ path?: never;
13160
+ cookie?: never;
13161
+ };
13162
+ get?: never;
13163
+ put?: never;
13164
+ /** Reset Production Version To Draft View */
13165
+ post: operations["production_production_versions_views_reset_production_version_to_draft_view"];
13166
+ delete?: never;
13167
+ options?: never;
13168
+ head?: never;
13169
+ patch?: never;
13170
+ trace?: never;
13171
+ };
13225
13172
  "/api/v1/production/production-versions/{id}/activate/": {
13226
13173
  parameters: {
13227
13174
  query?: never;
@@ -26105,24 +26052,6 @@ export interface paths {
26105
26052
  export type webhooks = Record<string, never>;
26106
26053
  export interface components {
26107
26054
  schemas: {
26108
- /** BranchSummaryInfo */
26109
- BranchSummaryInfo: {
26110
- /**
26111
- * Id
26112
- * Format: uuid
26113
- */
26114
- id: string;
26115
- /** Name */
26116
- name: string;
26117
- /** Code */
26118
- code: string | null;
26119
- /** Number */
26120
- number: number;
26121
- /** Address */
26122
- address: string | null;
26123
- /** Phone */
26124
- phone: string | null;
26125
- };
26126
26055
  /** LoginResponseDataSchema */
26127
26056
  LoginResponseDataSchema: {
26128
26057
  user: components["schemas"]["LoginUserInfoSchema"];
@@ -26215,7 +26144,6 @@ export interface components {
26215
26144
  id: string;
26216
26145
  /** Name */
26217
26146
  name: string;
26218
- branch: components["schemas"]["BranchSummaryInfo"];
26219
26147
  };
26220
26148
  /** Message2 */
26221
26149
  Message2: {
@@ -28676,6 +28604,24 @@ export interface components {
28676
28604
  */
28677
28605
  userId: string;
28678
28606
  };
28607
+ /** BranchSummaryInfo */
28608
+ BranchSummaryInfo: {
28609
+ /**
28610
+ * Id
28611
+ * Format: uuid
28612
+ */
28613
+ id: string;
28614
+ /** Name */
28615
+ name: string;
28616
+ /** Code */
28617
+ code: string | null;
28618
+ /** Number */
28619
+ number: number;
28620
+ /** Address */
28621
+ address: string | null;
28622
+ /** Phone */
28623
+ phone: string | null;
28624
+ };
28679
28625
  /** DepartmentCommonSchema */
28680
28626
  DepartmentCommonSchema: {
28681
28627
  /**
@@ -28830,7 +28776,7 @@ export interface components {
28830
28776
  * Assignedwarehouses
28831
28777
  * @default []
28832
28778
  */
28833
- assignedWarehouses: components["schemas"]["WarehouseSummaryInfo"][];
28779
+ assignedWarehouses: components["schemas"]["WarehouseWithBranchSummaryInfo"][];
28834
28780
  /** Iscashier */
28835
28781
  isCashier: boolean;
28836
28782
  defaultBranch: components["schemas"]["UserBranchSchema"] | null;
@@ -28865,6 +28811,17 @@ export interface components {
28865
28811
  * @constant
28866
28812
  */
28867
28813
  ViewOnlyPermissionAction: "view";
28814
+ /** WarehouseWithBranchSummaryInfo */
28815
+ WarehouseWithBranchSummaryInfo: {
28816
+ /**
28817
+ * Id
28818
+ * Format: uuid
28819
+ */
28820
+ id: string;
28821
+ /** Name */
28822
+ name: string;
28823
+ branch: components["schemas"]["BranchSummaryInfo"];
28824
+ };
28868
28825
  /** GetPinCode */
28869
28826
  GetPinCode: {
28870
28827
  /** Pincode */
@@ -33607,7 +33564,7 @@ export interface components {
33607
33564
  * FileType
33608
33565
  * @enum {string}
33609
33566
  */
33610
- 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";
33567
+ 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";
33611
33568
  /** currencyCodeOut */
33612
33569
  currencyCodeOut: {
33613
33570
  /** Currencycode */
@@ -49788,13 +49745,7 @@ export interface components {
49788
49745
  * BillOfMaterialsSortBy
49789
49746
  * @enum {string}
49790
49747
  */
49791
- BillOfMaterialsSortBy: "dateCreated" | "dateModified" | "name" | "version" | "bomStatus" | "status" | "approvalStatus" | "itemName" | "validityFrom" | "validityTo" | "yieldPercent" | "bomType";
49792
- /**
49793
- * BOMStatusEnum
49794
- * @description Manufacturing lifecycle (`bomStatus`). Not the document `status` or `approvalStatus`.
49795
- * @enum {string}
49796
- */
49797
- BOMStatusEnum: "new" | "dev" | "certified" | "closed";
49748
+ BillOfMaterialsSortBy: "dateCreated" | "dateModified" | "name" | "version" | "status" | "approvalStatus" | "itemName" | "validityFrom" | "validityTo" | "yieldPercent" | "bomType";
49798
49749
  /**
49799
49750
  * BOMTypeEnum
49800
49751
  * @description BOM classification; only `formula` is supported today.
@@ -49826,7 +49777,7 @@ export interface components {
49826
49777
  name: string;
49827
49778
  /** Version */
49828
49779
  version: number | string;
49829
- bomStatus: components["schemas"]["BOMStatusEnum"];
49780
+ /** @description draft → UI Draft; submitted → UI Certified; canceled → UI Closed. */
49830
49781
  status: components["schemas"]["RetrieveInternalStatusChoices"];
49831
49782
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
49832
49783
  /**
@@ -49991,9 +49942,7 @@ export interface components {
49991
49942
  name: string;
49992
49943
  /** Version */
49993
49944
  version: number | string;
49994
- /** @description Manufacturing lifecycle (new, dev, certified, closed). Change via action POST routes only. */
49995
- bomStatus: components["schemas"]["BOMStatusEnum"];
49996
- /** @description Document status (draft, submitted, canceled, sent). */
49945
+ /** @description BOM lifecycle: draft (UI Draft), submitted (UI Certified), canceled (UI Closed). Document workflow; optional `status` on PUT while editable. */
49997
49946
  status: components["schemas"]["RetrieveInternalStatusChoices"];
49998
49947
  /** @description Approval workflow state (draft, pending, approved, rejected, not_required). */
49999
49948
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
@@ -50145,8 +50094,7 @@ export interface components {
50145
50094
  * CreateBillOfMaterialsSchema
50146
50095
  * @description Create a BOM (header + all lines in one request).
50147
50096
  *
50148
- * New records start in status `new`. You may send lines on create or add them later via PUT while still `new`/`dev`.
50149
- * Before certify, call `POST /{id}/start-development/`.
50097
+ * Default `status` is `draft`. Submit by sending `status` `submitted` on create or PUT.
50150
50098
  */
50151
50099
  CreateBillOfMaterialsSchema: {
50152
50100
  /**
@@ -50241,14 +50189,14 @@ export interface components {
50241
50189
  * UpdateBillOfMaterialsSchema
50242
50190
  * @description Full replacement (PUT). Same body shape as create: complete header, `inputLines`, and `outputLines`.
50243
50191
  *
50244
- * **New / dev:** Header and lines may change freely (including `item` while lifecycle is `new` or `dev`).
50192
+ * **Draft:** Header and lines may change freely.
50245
50193
  *
50246
- * **Certified:** Send the full current snapshot; only `validityTo` may differ from what is stored. Other header or
50247
- * line changes return `BOM_CERTIFIED_LOCKED`.
50194
+ * **Submitted (certified):** Send the full current snapshot; only `validityTo` may differ. Other changes return
50195
+ * `BOM_CERTIFIED_LOCKED`.
50248
50196
  *
50249
- * **Closed:** No updates (`BOM_CLOSED_LOCKED`).
50197
+ * **Canceled (closed):** No updates (`BOM_CLOSED_LOCKED`).
50250
50198
  *
50251
- * Do not send `bomStatus` or `approvalStatus`.
50199
+ * Do not send `approvalStatus` on PUT for lifecycle.
50252
50200
  */
50253
50201
  UpdateBillOfMaterialsSchema: {
50254
50202
  /**
@@ -50350,7 +50298,7 @@ export interface components {
50350
50298
  * WorkCenterSortBy
50351
50299
  * @enum {string}
50352
50300
  */
50353
- WorkCenterSortBy: "dateCreated" | "dateModified" | "code" | "name" | "wcType" | "capacityPerDay" | "isActive";
50301
+ WorkCenterSortBy: "dateCreated" | "dateModified" | "code" | "name" | "wcType" | "capacityPerDay" | "isActive" | "status" | "approvalStatus";
50354
50302
  /**
50355
50303
  * WorkCenterTypeEnum
50356
50304
  * @description Resource kind scheduled on routings: machine, labor pool, team, or vessel (e.g. tank).
@@ -50399,6 +50347,8 @@ export interface components {
50399
50347
  * @description Inactive work centers cannot be selected on new routings or orders.
50400
50348
  */
50401
50349
  isActive: boolean;
50350
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50351
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50402
50352
  /** Effectivecapacityhoursperday */
50403
50353
  effectiveCapacityHoursPerDay: number | string;
50404
50354
  };
@@ -50475,6 +50425,9 @@ export interface components {
50475
50425
  * @description Inactive work centers cannot be selected on new routings or orders.
50476
50426
  */
50477
50427
  isActive: boolean;
50428
+ /** @description Document lifecycle (draft / submitted / canceled). */
50429
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50430
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50478
50431
  /**
50479
50432
  * Description
50480
50433
  * @description Optional detailed description shown on the work center record.
@@ -50586,6 +50539,11 @@ export interface components {
50586
50539
  * @description File paths or URLs from the file upload API to attach to this work center.
50587
50540
  */
50588
50541
  attachments?: string[];
50542
+ /**
50543
+ * @description Document workflow: `draft` or `submitted`.
50544
+ * @default draft
50545
+ */
50546
+ status: components["schemas"]["InternalStatusChoices"];
50589
50547
  };
50590
50548
  /**
50591
50549
  * UpdateWorkCenterSchema
@@ -50656,22 +50614,14 @@ export interface components {
50656
50614
  * @description File paths or URLs from the file upload API to attach to this work center.
50657
50615
  */
50658
50616
  attachments?: string[];
50617
+ /** @description Document workflow: `draft` or `submitted` (required on update, same as create). */
50618
+ status: components["schemas"]["InternalStatusChoices"];
50659
50619
  };
50660
50620
  /**
50661
50621
  * RoutingSortBy
50662
50622
  * @enum {string}
50663
50623
  */
50664
- RoutingSortBy: "dateCreated" | "dateModified" | "version" | "routingStatus" | "routingType" | "lotSize" | "itemName";
50665
- /**
50666
- * RoutingStatusEnum
50667
- * @description Manufacturing lifecycle (`routingStatus`). Changed via lifecycle POST actions, not PUT.
50668
- *
50669
- * - `certified`: active approved routing for the item (only one certified per item at a time).
50670
- * - `closed`: no longer active — either superseded when another version was certified (auto-close)
50671
- * or explicitly closed via `POST /{id}/close/`.
50672
- * @enum {string}
50673
- */
50674
- RoutingStatusEnum: "new" | "dev" | "certified" | "closed";
50624
+ RoutingSortBy: "dateCreated" | "dateModified" | "version" | "status" | "approvalStatus" | "routingType" | "lotSize" | "itemName";
50675
50625
  /**
50676
50626
  * RoutingTypeEnum
50677
50627
  * @description `serial` — step-by-step routing; `parallel` — reserved for parallel scheduling.
@@ -50705,8 +50655,10 @@ export interface components {
50705
50655
  * @description Routing version.
50706
50656
  */
50707
50657
  version: number | string;
50708
- /** @description Lifecycle status. */
50709
- routingStatus: components["schemas"]["RoutingStatusEnum"];
50658
+ /** @description Lifecycle status (see detail schema for UI mapping). */
50659
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50660
+ /** @description Approval workflow state. */
50661
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50710
50662
  /** @description Serial or parallel. */
50711
50663
  routingType: components["schemas"]["RoutingTypeEnum"];
50712
50664
  /**
@@ -50763,8 +50715,10 @@ export interface components {
50763
50715
  * @description Version number for this item.
50764
50716
  */
50765
50717
  version: number | string;
50766
- /** @description Lifecycle: new → dev → certified / closed. Other certified routings for the same item become closed when a newer version is certified. */
50767
- routingStatus: components["schemas"]["RoutingStatusEnum"];
50718
+ /** @description Routing lifecycle: draft (UI Draft), submitted (UI Certified), canceled (UI Closed). Changed via certify/close/cancel actions, not PUT. */
50719
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50720
+ /** @description Approval workflow state (draft, pending, approved, rejected, not_required). */
50721
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50768
50722
  /** @description Serial or parallel routing structure. */
50769
50723
  routingType: components["schemas"]["RoutingTypeEnum"];
50770
50724
  /**
@@ -50974,6 +50928,11 @@ export interface components {
50974
50928
  * @description All operations; may be empty on create but certify requires at least one.
50975
50929
  */
50976
50930
  operations?: components["schemas"]["RoutingOperationCreateSchema"][];
50931
+ /**
50932
+ * @description Document workflow: `draft` (save as draft) or `submitted` (submit for approval).
50933
+ * @default draft
50934
+ */
50935
+ status: components["schemas"]["InternalStatusChoices"];
50977
50936
  };
50978
50937
  /**
50979
50938
  * RoutingOperationCreateSchema
@@ -51068,7 +51027,7 @@ export interface components {
51068
51027
  * UpdateRoutingSchema
51069
51028
  * @description Full replace of editable header fields and **all** operations (PUT).
51070
51029
  *
51071
- * `item` is fixed after create. `version` may change while `routingStatus` is `new` or `dev` unless this routing
51030
+ * `item` is fixed after create. `version` may change while `status` is `draft` unless this routing
51072
51031
  * is referenced by a production version (`ROUTING_VERSION_LOCKED`). Certified or closed routings are locked
51073
51032
  * (`ROUTING_CERTIFIED_LOCKED`).
51074
51033
  */
@@ -51105,30 +51064,14 @@ export interface components {
51105
51064
  * @description Complete operation list (replaces existing lines).
51106
51065
  */
51107
51066
  operations?: components["schemas"]["RoutingOperationCreateSchema"][];
51108
- };
51109
- /**
51110
- * RoutingActionSchema
51111
- * @description Response for start-development, certify (includes auto-close of older certified versions), and close.
51112
- */
51113
- RoutingActionSchema: {
51114
- /**
51115
- * Message
51116
- * @description Human-readable result message.
51117
- */
51118
- message: string;
51119
- /**
51120
- * Code
51121
- * @description Machine-readable result code.
51122
- */
51123
- code: string;
51124
- /** @description Routing after the lifecycle action. */
51125
- data: components["schemas"]["RoutingDetailSchema"];
51067
+ /** @description Document workflow. Omit on PUT to keep the current `status`. */
51068
+ status?: components["schemas"]["InternalStatusChoices"] | null;
51126
51069
  };
51127
51070
  /**
51128
51071
  * ProductionVersionSortBy
51129
51072
  * @enum {string}
51130
51073
  */
51131
- ProductionVersionSortBy: "dateCreated" | "dateModified" | "version" | "validityFrom" | "validityTo" | "priority" | "isActive" | "itemName";
51074
+ ProductionVersionSortBy: "dateCreated" | "dateModified" | "version" | "validityFrom" | "validityTo" | "priority" | "isActive" | "status" | "approvalStatus" | "itemName";
51132
51075
  /** BOMVersionSummarySchema */
51133
51076
  BOMVersionSummarySchema: {
51134
51077
  /**
@@ -51147,8 +51090,8 @@ export interface components {
51147
51090
  * @description BOM version number.
51148
51091
  */
51149
51092
  version: number | string;
51150
- /** @description BOM lifecycle status. */
51151
- bomStatus: components["schemas"]["BOMStatusEnum"];
51093
+ /** @description BOM status: draft / submitted (certified) / canceled (closed). */
51094
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51152
51095
  };
51153
51096
  /** ProductionVersionListItemSchema */
51154
51097
  ProductionVersionListItemSchema: {
@@ -51186,6 +51129,8 @@ export interface components {
51186
51129
  priority: number;
51187
51130
  /** Isactive */
51188
51131
  isActive: boolean;
51132
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51133
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
51189
51134
  /** Canedit */
51190
51135
  canEdit: boolean;
51191
51136
  /** Linkedtoproductionorder */
@@ -51210,8 +51155,8 @@ export interface components {
51210
51155
  * @description Routing version number.
51211
51156
  */
51212
51157
  version: number | string;
51213
- /** @description Routing lifecycle status. */
51214
- routingStatus: components["schemas"]["RoutingStatusEnum"];
51158
+ /** @description Routing status: draft / submitted (certified) / canceled (closed). */
51159
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51215
51160
  };
51216
51161
  /** ProductionVersionDetailSchema */
51217
51162
  ProductionVersionDetailSchema: {
@@ -51249,6 +51194,9 @@ export interface components {
51249
51194
  priority: number;
51250
51195
  /** Isactive */
51251
51196
  isActive: boolean;
51197
+ /** @description Document lifecycle (draft / submitted / canceled). */
51198
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51199
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
51252
51200
  /**
51253
51201
  * Canedit
51254
51202
  * @description When true, every header field may be changed. When false and `linkedToProductionOrder` is true, only validityTo, lotSizeMin, lotSizeMax, and isActive.
@@ -51345,10 +51293,15 @@ export interface components {
51345
51293
  * @description Optional internal notes.
51346
51294
  */
51347
51295
  notes?: string | null;
51296
+ /**
51297
+ * @description Document workflow: `draft` or `submitted`.
51298
+ * @default draft
51299
+ */
51300
+ status: components["schemas"]["InternalStatusChoices"];
51348
51301
  };
51349
51302
  /**
51350
51303
  * UpdateProductionVersionSchema
51351
- * @description Full replacement (PUT). Same body shape as create; send the complete header snapshot.
51304
+ * @description Full replacement (PUT). Same body shape as create; send the complete header snapshot (including `status`).
51352
51305
  */
51353
51306
  UpdateProductionVersionSchema: {
51354
51307
  /**
@@ -51416,6 +51369,11 @@ export interface components {
51416
51369
  * @description Optional internal notes.
51417
51370
  */
51418
51371
  notes?: string | null;
51372
+ /**
51373
+ * @description Document workflow: `draft` or `submitted`.
51374
+ * @default draft
51375
+ */
51376
+ status: components["schemas"]["InternalStatusChoices"];
51419
51377
  };
51420
51378
  /** ProductionVersionActionSchema */
51421
51379
  ProductionVersionActionSchema: {
@@ -70776,7 +70734,7 @@ export interface components {
70776
70734
  * CombinedModelName
70777
70735
  * @enum {string}
70778
70736
  */
70779
- common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
70737
+ common__shared_schemas__CombinedModelName: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "billOfMaterials" | "routing" | "workCenter" | "productionVersion" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
70780
70738
  /** TasksListSchema */
70781
70739
  TasksListSchema: {
70782
70740
  info: components["schemas"]["PageInfoSchema"];
@@ -78709,7 +78667,7 @@ export interface operations {
78709
78667
  common_views_get_model_names: {
78710
78668
  parameters: {
78711
78669
  query?: {
78712
- CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
78670
+ CombinedModelNames?: "item" | "customer" | "supplier" | "internalTransferHeader" | "transferRequest" | "repairOrder" | "billOfMaterials" | "routing" | "workCenter" | "productionVersion" | "stockAdjustment" | "openingQuantity" | "supplierPriceList" | "chartOfAccount" | "journalVoucher" | "requisition" | "requestForQuotation" | "advancePayment" | "paymentVoucher" | "purchaseInvoice" | "purchaseOrder" | "purchaseQuotation" | "purchaseReturnOrder" | "purchaseReturnInvoice" | "refundVoucher" | "purchaseCreditNote" | "project" | "warehouse" | "employeePosition" | "employee" | "accountingSetting" | "defaultGeneralAccounts" | "transactionalSubsidiaryAccounts" | "accountClassification" | "taxes" | "appointmentSettings" | "approvalSettings" | "approvalConfig" | "approvalCondition" | "approvalLevel" | "inventorySettings" | "itemVariantSettings" | "posSettings" | "purchaseSettings" | "salesSetting" | "city" | "zone" | "shippingMethod" | "systemSettings" | "transactionLocking" | "userSetting" | "department" | "company" | "branch" | "region" | "currency" | "facility" | "reason" | "emailSetting" | "bank" | "users" | "roles" | "appointment" | "offerAndPromotion" | "salesQuotation" | "salesOrder" | "downPayment" | "receiptVoucher" | "salesCreditNote" | "salesInvoice" | "salesReturnOrder" | "salesReturnInvoice" | "salesRefundVoucher" | "salesPriceList" | "goodsDeliveryNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "package" | "packageType" | "itemPackage" | "goodsReceiptNote" | "returnDocument" | "inventoryMovement" | "salesPerson" | "commissionStructure" | "commissionPayout" | "closingCommission" | "posInvoice" | "onlineStoreSetting" | "onlineStorageSettings" | "task" | "event" | "dimension" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "whatsAppIntegration" | "onlineOrder" | "accountStatement" | "generalLedgerReport" | "trialBalance" | "statementOfAccount" | "profitAndLoss" | "bankStatement" | "balanceSheet" | "projectStatement" | "supplierStatement" | "customerStatement" | "topCustomers" | "topSuppliers" | "employeeStatement" | "stockReport" | "salesByItem" | "salesByCategory" | "salesByBrand" | "salesByCustomer" | "salesBySalesPerson" | "salesByWarehouse" | "salesSummary" | "salesTrend";
78713
78671
  };
78714
78672
  header?: never;
78715
78673
  path?: never;
@@ -99980,7 +99938,7 @@ export interface operations {
99980
99938
  query?: {
99981
99939
  /** @description When set, only BOMs for this finished/co-product item are returned. */
99982
99940
  itemId?: string | null;
99983
- /** @description When true, only BOMs with bomStatus certified are returned. */
99941
+ /** @description When true, only BOMs with status submitted (certified) are returned. */
99984
99942
  certifiedOnly?: boolean;
99985
99943
  /** @description Search by BOM name, finished item name, or SKU. */
99986
99944
  search?: string | null;
@@ -100306,13 +100264,19 @@ export interface operations {
100306
100264
  };
100307
100265
  };
100308
100266
  };
100309
- production_bill_of_materials_views_start_bom_development_view: {
100267
+ production_work_centers_views_list_work_centers: {
100310
100268
  parameters: {
100311
- query?: never;
100312
- header?: never;
100313
- path: {
100314
- id: string;
100269
+ query?: {
100270
+ /** @description Search by code or name. */
100271
+ search?: string | null;
100272
+ wcType?: components["schemas"]["WorkCenterTypeEnum"] | null;
100273
+ isActive?: boolean | null;
100274
+ sortBy?: components["schemas"]["WorkCenterSortBy"] | null;
100275
+ /** @description Sort direction when sortBy is set (asc or desc). Defaults to asc for code. */
100276
+ order?: components["schemas"]["SortOrder"] | null;
100315
100277
  };
100278
+ header?: never;
100279
+ path?: never;
100316
100280
  cookie?: never;
100317
100281
  };
100318
100282
  requestBody?: never;
@@ -100323,7 +100287,7 @@ export interface operations {
100323
100287
  [name: string]: unknown;
100324
100288
  };
100325
100289
  content: {
100326
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100290
+ "application/json": components["schemas"]["WorkCenterListSchema"];
100327
100291
  };
100328
100292
  };
100329
100293
  /** @description Bad Request */
@@ -100344,35 +100308,28 @@ export interface operations {
100344
100308
  "application/json": components["schemas"]["MessageResponse"];
100345
100309
  };
100346
100310
  };
100347
- /** @description Not Found */
100348
- 404: {
100349
- headers: {
100350
- [name: string]: unknown;
100351
- };
100352
- content: {
100353
- "application/json": components["schemas"]["MessageResponse"];
100354
- };
100355
- };
100356
100311
  };
100357
100312
  };
100358
- production_bill_of_materials_views_certify_bill_of_materials: {
100313
+ production_work_centers_views_create_work_center: {
100359
100314
  parameters: {
100360
100315
  query?: never;
100361
100316
  header?: never;
100362
- path: {
100363
- id: string;
100364
- };
100317
+ path?: never;
100365
100318
  cookie?: never;
100366
100319
  };
100367
- requestBody?: never;
100320
+ requestBody: {
100321
+ content: {
100322
+ "application/json": components["schemas"]["CreateWorkCenterSchema"];
100323
+ };
100324
+ };
100368
100325
  responses: {
100369
- /** @description OK */
100370
- 200: {
100326
+ /** @description Created */
100327
+ 201: {
100371
100328
  headers: {
100372
100329
  [name: string]: unknown;
100373
100330
  };
100374
100331
  content: {
100375
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100332
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100376
100333
  };
100377
100334
  };
100378
100335
  /** @description Bad Request */
@@ -100393,18 +100350,9 @@ export interface operations {
100393
100350
  "application/json": components["schemas"]["MessageResponse"];
100394
100351
  };
100395
100352
  };
100396
- /** @description Not Found */
100397
- 404: {
100398
- headers: {
100399
- [name: string]: unknown;
100400
- };
100401
- content: {
100402
- "application/json": components["schemas"]["MessageResponse"];
100403
- };
100404
- };
100405
100353
  };
100406
100354
  };
100407
- production_bill_of_materials_views_close_bill_of_materials: {
100355
+ production_work_centers_views_get_work_center: {
100408
100356
  parameters: {
100409
100357
  query?: never;
100410
100358
  header?: never;
@@ -100421,16 +100369,7 @@ export interface operations {
100421
100369
  [name: string]: unknown;
100422
100370
  };
100423
100371
  content: {
100424
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100425
- };
100426
- };
100427
- /** @description Bad Request */
100428
- 400: {
100429
- headers: {
100430
- [name: string]: unknown;
100431
- };
100432
- content: {
100433
- "application/json": components["schemas"]["ErrorMessages"];
100372
+ "application/json": components["schemas"]["WorkCenterDetailSchema"];
100434
100373
  };
100435
100374
  };
100436
100375
  /** @description Forbidden */
@@ -100453,7 +100392,7 @@ export interface operations {
100453
100392
  };
100454
100393
  };
100455
100394
  };
100456
- production_bill_of_materials_views_reopen_bill_of_materials: {
100395
+ production_work_centers_views_update_work_center: {
100457
100396
  parameters: {
100458
100397
  query?: never;
100459
100398
  header?: never;
@@ -100462,7 +100401,11 @@ export interface operations {
100462
100401
  };
100463
100402
  cookie?: never;
100464
100403
  };
100465
- requestBody?: never;
100404
+ requestBody: {
100405
+ content: {
100406
+ "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100407
+ };
100408
+ };
100466
100409
  responses: {
100467
100410
  /** @description OK */
100468
100411
  200: {
@@ -100470,7 +100413,7 @@ export interface operations {
100470
100413
  [name: string]: unknown;
100471
100414
  };
100472
100415
  content: {
100473
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100416
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100474
100417
  };
100475
100418
  };
100476
100419
  /** @description Bad Request */
@@ -100502,73 +100445,23 @@ export interface operations {
100502
100445
  };
100503
100446
  };
100504
100447
  };
100505
- production_work_centers_views_list_work_centers: {
100506
- parameters: {
100507
- query?: {
100508
- /** @description Search by code or name. */
100509
- search?: string | null;
100510
- wcType?: components["schemas"]["WorkCenterTypeEnum"] | null;
100511
- isActive?: boolean | null;
100512
- sortBy?: components["schemas"]["WorkCenterSortBy"] | null;
100513
- /** @description Sort direction when sortBy is set (asc or desc). Defaults to asc for code. */
100514
- order?: components["schemas"]["SortOrder"] | null;
100515
- };
100516
- header?: never;
100517
- path?: never;
100518
- cookie?: never;
100519
- };
100520
- requestBody?: never;
100521
- responses: {
100522
- /** @description OK */
100523
- 200: {
100524
- headers: {
100525
- [name: string]: unknown;
100526
- };
100527
- content: {
100528
- "application/json": components["schemas"]["WorkCenterListSchema"];
100529
- };
100530
- };
100531
- /** @description Bad Request */
100532
- 400: {
100533
- headers: {
100534
- [name: string]: unknown;
100535
- };
100536
- content: {
100537
- "application/json": components["schemas"]["ErrorMessages"];
100538
- };
100539
- };
100540
- /** @description Forbidden */
100541
- 403: {
100542
- headers: {
100543
- [name: string]: unknown;
100544
- };
100545
- content: {
100546
- "application/json": components["schemas"]["MessageResponse"];
100547
- };
100548
- };
100549
- };
100550
- };
100551
- production_work_centers_views_create_work_center: {
100448
+ production_work_centers_views_delete_work_center: {
100552
100449
  parameters: {
100553
100450
  query?: never;
100554
100451
  header?: never;
100555
- path?: never;
100556
- cookie?: never;
100557
- };
100558
- requestBody: {
100559
- content: {
100560
- "application/json": components["schemas"]["CreateWorkCenterSchema"];
100452
+ path: {
100453
+ id: string;
100561
100454
  };
100455
+ cookie?: never;
100562
100456
  };
100457
+ requestBody?: never;
100563
100458
  responses: {
100564
- /** @description Created */
100565
- 201: {
100459
+ /** @description No Content */
100460
+ 204: {
100566
100461
  headers: {
100567
100462
  [name: string]: unknown;
100568
100463
  };
100569
- content: {
100570
- "application/json": components["schemas"]["WorkCenterResponseSchema"];
100571
- };
100464
+ content?: never;
100572
100465
  };
100573
100466
  /** @description Bad Request */
100574
100467
  400: {
@@ -100588,37 +100481,6 @@ export interface operations {
100588
100481
  "application/json": components["schemas"]["MessageResponse"];
100589
100482
  };
100590
100483
  };
100591
- };
100592
- };
100593
- production_work_centers_views_get_work_center: {
100594
- parameters: {
100595
- query?: never;
100596
- header?: never;
100597
- path: {
100598
- id: string;
100599
- };
100600
- cookie?: never;
100601
- };
100602
- requestBody?: never;
100603
- responses: {
100604
- /** @description OK */
100605
- 200: {
100606
- headers: {
100607
- [name: string]: unknown;
100608
- };
100609
- content: {
100610
- "application/json": components["schemas"]["WorkCenterDetailSchema"];
100611
- };
100612
- };
100613
- /** @description Forbidden */
100614
- 403: {
100615
- headers: {
100616
- [name: string]: unknown;
100617
- };
100618
- content: {
100619
- "application/json": components["schemas"]["MessageResponse"];
100620
- };
100621
- };
100622
100484
  /** @description Not Found */
100623
100485
  404: {
100624
100486
  headers: {
@@ -100630,7 +100492,7 @@ export interface operations {
100630
100492
  };
100631
100493
  };
100632
100494
  };
100633
- production_work_centers_views_update_work_center: {
100495
+ production_work_centers_views_cancel_work_center_view: {
100634
100496
  parameters: {
100635
100497
  query?: never;
100636
100498
  header?: never;
@@ -100639,11 +100501,7 @@ export interface operations {
100639
100501
  };
100640
100502
  cookie?: never;
100641
100503
  };
100642
- requestBody: {
100643
- content: {
100644
- "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100645
- };
100646
- };
100504
+ requestBody?: never;
100647
100505
  responses: {
100648
100506
  /** @description OK */
100649
100507
  200: {
@@ -100683,7 +100541,7 @@ export interface operations {
100683
100541
  };
100684
100542
  };
100685
100543
  };
100686
- production_work_centers_views_delete_work_center: {
100544
+ production_work_centers_views_reset_work_center_to_draft_view: {
100687
100545
  parameters: {
100688
100546
  query?: never;
100689
100547
  header?: never;
@@ -100694,12 +100552,14 @@ export interface operations {
100694
100552
  };
100695
100553
  requestBody?: never;
100696
100554
  responses: {
100697
- /** @description No Content */
100698
- 204: {
100555
+ /** @description OK */
100556
+ 200: {
100699
100557
  headers: {
100700
100558
  [name: string]: unknown;
100701
100559
  };
100702
- content?: never;
100560
+ content: {
100561
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100562
+ };
100703
100563
  };
100704
100564
  /** @description Bad Request */
100705
100565
  400: {
@@ -100735,7 +100595,8 @@ export interface operations {
100735
100595
  query?: {
100736
100596
  search?: string | null;
100737
100597
  itemId?: string | null;
100738
- routingStatus?: components["schemas"]["RoutingStatusEnum"] | null;
100598
+ /** @description Filter by document status. */
100599
+ status?: components["schemas"]["InternalStatusChoices"] | null;
100739
100600
  routingType?: components["schemas"]["RoutingTypeEnum"] | null;
100740
100601
  certifiedOnly?: boolean;
100741
100602
  sortBy?: components["schemas"]["RoutingSortBy"] | null;
@@ -100958,7 +100819,7 @@ export interface operations {
100958
100819
  };
100959
100820
  };
100960
100821
  };
100961
- production_routings_views_start_routing_development_view: {
100822
+ production_routings_views_cancel_routing_view: {
100962
100823
  parameters: {
100963
100824
  query?: never;
100964
100825
  header?: never;
@@ -100975,7 +100836,7 @@ export interface operations {
100975
100836
  [name: string]: unknown;
100976
100837
  };
100977
100838
  content: {
100978
- "application/json": components["schemas"]["RoutingActionSchema"];
100839
+ "application/json": components["schemas"]["RoutingResponseSchema"];
100979
100840
  };
100980
100841
  };
100981
100842
  /** @description Bad Request */
@@ -101007,7 +100868,7 @@ export interface operations {
101007
100868
  };
101008
100869
  };
101009
100870
  };
101010
- production_routings_views_certify_routing_view: {
100871
+ production_routings_views_reset_routing_to_draft_view: {
101011
100872
  parameters: {
101012
100873
  query?: never;
101013
100874
  header?: never;
@@ -101024,7 +100885,7 @@ export interface operations {
101024
100885
  [name: string]: unknown;
101025
100886
  };
101026
100887
  content: {
101027
- "application/json": components["schemas"]["RoutingActionSchema"];
100888
+ "application/json": components["schemas"]["RoutingResponseSchema"];
101028
100889
  };
101029
100890
  };
101030
100891
  /** @description Bad Request */
@@ -101056,13 +100917,21 @@ export interface operations {
101056
100917
  };
101057
100918
  };
101058
100919
  };
101059
- production_routings_views_close_routing_view: {
100920
+ production_production_versions_views_list_production_versions: {
101060
100921
  parameters: {
101061
- query?: never;
101062
- header?: never;
101063
- path: {
101064
- id: string;
100922
+ query?: {
100923
+ search?: string | null;
100924
+ itemId?: string | null;
100925
+ isActive?: boolean | null;
100926
+ /** @description When set, only versions valid on this date (order date) are returned. */
100927
+ validOn?: string | null;
100928
+ /** @description When set, only versions whose lot size range includes this quantity are returned. */
100929
+ plannedQuantity?: (number | string) | null;
100930
+ sortBy?: components["schemas"]["ProductionVersionSortBy"] | null;
100931
+ order?: components["schemas"]["SortOrder"] | null;
101065
100932
  };
100933
+ header?: never;
100934
+ path?: never;
101066
100935
  cookie?: never;
101067
100936
  };
101068
100937
  requestBody?: never;
@@ -101073,7 +100942,7 @@ export interface operations {
101073
100942
  [name: string]: unknown;
101074
100943
  };
101075
100944
  content: {
101076
- "application/json": components["schemas"]["RoutingActionSchema"];
100945
+ "application/json": components["schemas"]["ProductionVersionListSchema"];
101077
100946
  };
101078
100947
  };
101079
100948
  /** @description Bad Request */
@@ -101094,8 +100963,41 @@ export interface operations {
101094
100963
  "application/json": components["schemas"]["MessageResponse"];
101095
100964
  };
101096
100965
  };
101097
- /** @description Not Found */
101098
- 404: {
100966
+ };
100967
+ };
100968
+ production_production_versions_views_create_production_version_view: {
100969
+ parameters: {
100970
+ query?: never;
100971
+ header?: never;
100972
+ path?: never;
100973
+ cookie?: never;
100974
+ };
100975
+ requestBody: {
100976
+ content: {
100977
+ "application/json": components["schemas"]["CreateProductionVersionSchema"];
100978
+ };
100979
+ };
100980
+ responses: {
100981
+ /** @description Created */
100982
+ 201: {
100983
+ headers: {
100984
+ [name: string]: unknown;
100985
+ };
100986
+ content: {
100987
+ "application/json": components["schemas"]["ProductionVersionResponseSchema"];
100988
+ };
100989
+ };
100990
+ /** @description Bad Request */
100991
+ 400: {
100992
+ headers: {
100993
+ [name: string]: unknown;
100994
+ };
100995
+ content: {
100996
+ "application/json": components["schemas"]["ErrorMessages"];
100997
+ };
100998
+ };
100999
+ /** @description Forbidden */
101000
+ 403: {
101099
101001
  headers: {
101100
101002
  [name: string]: unknown;
101101
101003
  };
@@ -101105,21 +101007,13 @@ export interface operations {
101105
101007
  };
101106
101008
  };
101107
101009
  };
101108
- production_production_versions_views_list_production_versions: {
101010
+ production_production_versions_views_get_production_version: {
101109
101011
  parameters: {
101110
- query?: {
101111
- search?: string | null;
101112
- itemId?: string | null;
101113
- isActive?: boolean | null;
101114
- /** @description When set, only versions valid on this date (order date) are returned. */
101115
- validOn?: string | null;
101116
- /** @description When set, only versions whose lot size range includes this quantity are returned. */
101117
- plannedQuantity?: (number | string) | null;
101118
- sortBy?: components["schemas"]["ProductionVersionSortBy"] | null;
101119
- order?: components["schemas"]["SortOrder"] | null;
101120
- };
101012
+ query?: never;
101121
101013
  header?: never;
101122
- path?: never;
101014
+ path: {
101015
+ id: string;
101016
+ };
101123
101017
  cookie?: never;
101124
101018
  };
101125
101019
  requestBody?: never;
@@ -101130,20 +101024,20 @@ export interface operations {
101130
101024
  [name: string]: unknown;
101131
101025
  };
101132
101026
  content: {
101133
- "application/json": components["schemas"]["ProductionVersionListSchema"];
101027
+ "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101134
101028
  };
101135
101029
  };
101136
- /** @description Bad Request */
101137
- 400: {
101030
+ /** @description Forbidden */
101031
+ 403: {
101138
101032
  headers: {
101139
101033
  [name: string]: unknown;
101140
101034
  };
101141
101035
  content: {
101142
- "application/json": components["schemas"]["ErrorMessages"];
101036
+ "application/json": components["schemas"]["MessageResponse"];
101143
101037
  };
101144
101038
  };
101145
- /** @description Forbidden */
101146
- 403: {
101039
+ /** @description Not Found */
101040
+ 404: {
101147
101041
  headers: {
101148
101042
  [name: string]: unknown;
101149
101043
  };
@@ -101153,21 +101047,23 @@ export interface operations {
101153
101047
  };
101154
101048
  };
101155
101049
  };
101156
- production_production_versions_views_create_production_version_view: {
101050
+ production_production_versions_views_update_production_version_view: {
101157
101051
  parameters: {
101158
101052
  query?: never;
101159
101053
  header?: never;
101160
- path?: never;
101054
+ path: {
101055
+ id: string;
101056
+ };
101161
101057
  cookie?: never;
101162
101058
  };
101163
101059
  requestBody: {
101164
101060
  content: {
101165
- "application/json": components["schemas"]["CreateProductionVersionSchema"];
101061
+ "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101166
101062
  };
101167
101063
  };
101168
101064
  responses: {
101169
- /** @description Created */
101170
- 201: {
101065
+ /** @description OK */
101066
+ 200: {
101171
101067
  headers: {
101172
101068
  [name: string]: unknown;
101173
101069
  };
@@ -101193,9 +101089,18 @@ export interface operations {
101193
101089
  "application/json": components["schemas"]["MessageResponse"];
101194
101090
  };
101195
101091
  };
101092
+ /** @description Not Found */
101093
+ 404: {
101094
+ headers: {
101095
+ [name: string]: unknown;
101096
+ };
101097
+ content: {
101098
+ "application/json": components["schemas"]["MessageResponse"];
101099
+ };
101100
+ };
101196
101101
  };
101197
101102
  };
101198
- production_production_versions_views_get_production_version: {
101103
+ production_production_versions_views_delete_production_version_view: {
101199
101104
  parameters: {
101200
101105
  query?: never;
101201
101106
  header?: never;
@@ -101206,13 +101111,20 @@ export interface operations {
101206
101111
  };
101207
101112
  requestBody?: never;
101208
101113
  responses: {
101209
- /** @description OK */
101210
- 200: {
101114
+ /** @description No Content */
101115
+ 204: {
101116
+ headers: {
101117
+ [name: string]: unknown;
101118
+ };
101119
+ content?: never;
101120
+ };
101121
+ /** @description Bad Request */
101122
+ 400: {
101211
101123
  headers: {
101212
101124
  [name: string]: unknown;
101213
101125
  };
101214
101126
  content: {
101215
- "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101127
+ "application/json": components["schemas"]["ErrorMessages"];
101216
101128
  };
101217
101129
  };
101218
101130
  /** @description Forbidden */
@@ -101235,7 +101147,7 @@ export interface operations {
101235
101147
  };
101236
101148
  };
101237
101149
  };
101238
- production_production_versions_views_update_production_version_view: {
101150
+ production_production_versions_views_cancel_production_version_view: {
101239
101151
  parameters: {
101240
101152
  query?: never;
101241
101153
  header?: never;
@@ -101244,11 +101156,7 @@ export interface operations {
101244
101156
  };
101245
101157
  cookie?: never;
101246
101158
  };
101247
- requestBody: {
101248
- content: {
101249
- "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101250
- };
101251
- };
101159
+ requestBody?: never;
101252
101160
  responses: {
101253
101161
  /** @description OK */
101254
101162
  200: {
@@ -101288,7 +101196,7 @@ export interface operations {
101288
101196
  };
101289
101197
  };
101290
101198
  };
101291
- production_production_versions_views_delete_production_version_view: {
101199
+ production_production_versions_views_reset_production_version_to_draft_view: {
101292
101200
  parameters: {
101293
101201
  query?: never;
101294
101202
  header?: never;
@@ -101299,12 +101207,14 @@ export interface operations {
101299
101207
  };
101300
101208
  requestBody?: never;
101301
101209
  responses: {
101302
- /** @description No Content */
101303
- 204: {
101210
+ /** @description OK */
101211
+ 200: {
101304
101212
  headers: {
101305
101213
  [name: string]: unknown;
101306
101214
  };
101307
- content?: never;
101215
+ content: {
101216
+ "application/json": components["schemas"]["ProductionVersionResponseSchema"];
101217
+ };
101308
101218
  };
101309
101219
  /** @description Bad Request */
101310
101220
  400: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2125",
3
+ "version": "1.0.2127",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [