@erp-galoper/types 1.0.2126 → 1.0.2128

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 +318 -390
  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;
@@ -27959,7 +27906,7 @@ export interface components {
27959
27906
  * BasePermissionsSchema_Settings_Approval_ApprovalsettingsEnum
27960
27907
  * @enum {string}
27961
27908
  */
27962
- BasePermissionsSchema_Settings_Approval_ApprovalsettingsEnum: "addadvancepayment" | "add" | "addbillofmaterials" | "addclosingcommission" | "addcollectiondeposit" | "addcommissionpayout" | "addcommissionstructure" | "adddownpayment" | "addgoodsdeliverynote" | "addgoodsreceiptnote" | "addinternaltransfer" | "addjournalvoucher" | "addofferandpromotion" | "addopeningquantity" | "addpaymentvoucher" | "addpurchasecreditnote" | "addpurchaseinvoice" | "addpurchaseorder" | "addpurchasequotation" | "addpurchasereturninvoice" | "addpurchasereturnorder" | "addreceiptvoucher" | "addrefundvoucher" | "addrequestforquotation" | "addrequisition" | "addreturnablepackagereconciliation" | "addreturndocument" | "addsalescreditnote" | "addsalesinvoice" | "addsalesorder" | "addsalespricelist" | "addsalesquotation" | "addsalesrefundvoucher" | "addsalesreturninvoice" | "addsalesreturnorder" | "addsalesreturnpackage" | "addstockadjustment" | "addsupplierpricelist" | "changeadvancepayment" | "change" | "changebillofmaterials" | "changeclosingcommission" | "changecollectiondeposit" | "changecommissionpayout" | "changecommissionstructure" | "changedownpayment" | "changegoodsdeliverynote" | "changegoodsreceiptnote" | "changeinternaltransfer" | "changejournalvoucher" | "changeofferandpromotion" | "changeopeningquantity" | "changepaymentvoucher" | "changepurchasecreditnote" | "changepurchaseinvoice" | "changepurchaseorder" | "changepurchasequotation" | "changepurchasereturninvoice" | "changepurchasereturnorder" | "changepurchasinvoice" | "changereceiptvoucher" | "changerefundvoucher" | "changerequestforquotation" | "changerequisition" | "changereturnablepackagereconciliation" | "changereturndocument" | "changesalescreditnote" | "changesalesinvoice" | "changesalesorder" | "changesalespricelist" | "changesalesquotation" | "changesalesrefundvoucher" | "changesalesreturninvoice" | "changesalesreturnorder" | "changesalesreturnpackage" | "changestockadjustment" | "changesupplierpricelist" | "deleteadvancepayment" | "delete" | "deletebillofmaterials" | "deleteclosingcommission" | "deletecollectiondeposit" | "deletecommissionpayout" | "deletecommissionstructure" | "deletedownpayment" | "deletegoodsdeliverynote" | "deletegoodsreceiptnote" | "deleteinternaltransfer" | "deletejournalvoucher" | "deleteofferandpromotion" | "deleteopeningquantity" | "deletepaymentvoucher" | "deletepurchasecreditnote" | "deletepurchaseinvoice" | "deletepurchaseorder" | "deletepurchasequotation" | "deletepurchasereturninvoice" | "deletepurchasereturnorder" | "deletereceiptvoucher" | "deleterefundvoucher" | "deleterequestforquotation" | "deleterequisition" | "deletereturnablepackagereconciliation" | "deletereturndocument" | "deletesalescreditnote" | "deletesalesinvoice" | "deletesalesorder" | "deletesalespricelist" | "deletesalesquotation" | "deletesalesrefundvoucher" | "deletesalesreturninvoice" | "deletesalesreturnorder" | "deletesalesreturnpackage" | "deletestockadjustment" | "deletesupplierpricelist" | "viewadvancepayment" | "view" | "viewbillofmaterials" | "viewclosingcommission" | "viewcollectiondeposit" | "viewcommissionpayout" | "viewcommissionstructure" | "viewdownpayment" | "viewgoodsdeliverynote" | "viewgoodsreceiptnote" | "viewinternaltransfer" | "viewjournalvoucher" | "viewofferandpromotion" | "viewopeningquantity" | "viewpaymentvoucher" | "viewpurchasecreditnote" | "viewpurchaseinvoice" | "viewpurchaseorder" | "viewpurchasequotation" | "viewpurchasereturninvoice" | "viewpurchasereturnorder" | "viewreceiptvoucher" | "viewrefundvoucher" | "viewrequestforquotation" | "viewrequisition" | "viewreturnablepackagereconciliation" | "viewreturndocument" | "viewsalescreditnote" | "viewsalesinvoice" | "viewsalesorder" | "viewsalespricelist" | "viewsalesquotation" | "viewsalesrefundvoucher" | "viewsalesreturninvoice" | "viewsalesreturnorder" | "viewsalesreturnpackage" | "viewstockadjustment" | "viewsupplierpricelist";
27909
+ BasePermissionsSchema_Settings_Approval_ApprovalsettingsEnum: "addadvancepayment" | "add" | "addbillofmaterials" | "addclosingcommission" | "addcollectiondeposit" | "addcommissionpayout" | "addcommissionstructure" | "adddownpayment" | "addgoodsdeliverynote" | "addgoodsreceiptnote" | "addinternaltransfer" | "addjournalvoucher" | "addofferandpromotion" | "addopeningquantity" | "addpaymentvoucher" | "addproductionversion" | "addpurchasecreditnote" | "addpurchaseinvoice" | "addpurchaseorder" | "addpurchasequotation" | "addpurchasereturninvoice" | "addpurchasereturnorder" | "addreceiptvoucher" | "addrefundvoucher" | "addrequestforquotation" | "addrequisition" | "addreturnablepackagereconciliation" | "addreturndocument" | "addrouting" | "addsalescreditnote" | "addsalesinvoice" | "addsalesorder" | "addsalespricelist" | "addsalesquotation" | "addsalesrefundvoucher" | "addsalesreturninvoice" | "addsalesreturnorder" | "addsalesreturnpackage" | "addstockadjustment" | "addsupplierpricelist" | "addworkcenter" | "changeadvancepayment" | "change" | "changebillofmaterials" | "changeclosingcommission" | "changecollectiondeposit" | "changecommissionpayout" | "changecommissionstructure" | "changedownpayment" | "changegoodsdeliverynote" | "changegoodsreceiptnote" | "changeinternaltransfer" | "changejournalvoucher" | "changeofferandpromotion" | "changeopeningquantity" | "changepaymentvoucher" | "changeproductionversion" | "changepurchasecreditnote" | "changepurchaseinvoice" | "changepurchaseorder" | "changepurchasequotation" | "changepurchasereturninvoice" | "changepurchasereturnorder" | "changepurchasinvoice" | "changereceiptvoucher" | "changerefundvoucher" | "changerequestforquotation" | "changerequisition" | "changereturnablepackagereconciliation" | "changereturndocument" | "changerouting" | "changesalescreditnote" | "changesalesinvoice" | "changesalesorder" | "changesalespricelist" | "changesalesquotation" | "changesalesrefundvoucher" | "changesalesreturninvoice" | "changesalesreturnorder" | "changesalesreturnpackage" | "changestockadjustment" | "changesupplierpricelist" | "changeworkcenter" | "deleteadvancepayment" | "delete" | "deletebillofmaterials" | "deleteclosingcommission" | "deletecollectiondeposit" | "deletecommissionpayout" | "deletecommissionstructure" | "deletedownpayment" | "deletegoodsdeliverynote" | "deletegoodsreceiptnote" | "deleteinternaltransfer" | "deletejournalvoucher" | "deleteofferandpromotion" | "deleteopeningquantity" | "deletepaymentvoucher" | "deleteproductionversion" | "deletepurchasecreditnote" | "deletepurchaseinvoice" | "deletepurchaseorder" | "deletepurchasequotation" | "deletepurchasereturninvoice" | "deletepurchasereturnorder" | "deletereceiptvoucher" | "deleterefundvoucher" | "deleterequestforquotation" | "deleterequisition" | "deletereturnablepackagereconciliation" | "deletereturndocument" | "deleterouting" | "deletesalescreditnote" | "deletesalesinvoice" | "deletesalesorder" | "deletesalespricelist" | "deletesalesquotation" | "deletesalesrefundvoucher" | "deletesalesreturninvoice" | "deletesalesreturnorder" | "deletesalesreturnpackage" | "deletestockadjustment" | "deletesupplierpricelist" | "deleteworkcenter" | "viewadvancepayment" | "view" | "viewbillofmaterials" | "viewclosingcommission" | "viewcollectiondeposit" | "viewcommissionpayout" | "viewcommissionstructure" | "viewdownpayment" | "viewgoodsdeliverynote" | "viewgoodsreceiptnote" | "viewinternaltransfer" | "viewjournalvoucher" | "viewofferandpromotion" | "viewopeningquantity" | "viewpaymentvoucher" | "viewproductionversion" | "viewpurchasecreditnote" | "viewpurchaseinvoice" | "viewpurchaseorder" | "viewpurchasequotation" | "viewpurchasereturninvoice" | "viewpurchasereturnorder" | "viewreceiptvoucher" | "viewrefundvoucher" | "viewrequestforquotation" | "viewrequisition" | "viewreturnablepackagereconciliation" | "viewreturndocument" | "viewrouting" | "viewsalescreditnote" | "viewsalesinvoice" | "viewsalesorder" | "viewsalespricelist" | "viewsalesquotation" | "viewsalesrefundvoucher" | "viewsalesreturninvoice" | "viewsalesreturnorder" | "viewsalesreturnpackage" | "viewstockadjustment" | "viewsupplierpricelist" | "viewworkcenter";
27963
27910
  /**
27964
27911
  * BasePermissionsSchema_Settings_Approval_ApprovaltrackingEnum
27965
27912
  * @enum {string}
@@ -33617,7 +33564,7 @@ export interface components {
33617
33564
  * FileType
33618
33565
  * @enum {string}
33619
33566
  */
33620
- 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";
33621
33568
  /** currencyCodeOut */
33622
33569
  currencyCodeOut: {
33623
33570
  /** Currencycode */
@@ -49798,13 +49745,7 @@ export interface components {
49798
49745
  * BillOfMaterialsSortBy
49799
49746
  * @enum {string}
49800
49747
  */
49801
- BillOfMaterialsSortBy: "dateCreated" | "dateModified" | "name" | "version" | "bomStatus" | "status" | "approvalStatus" | "itemName" | "validityFrom" | "validityTo" | "yieldPercent" | "bomType";
49802
- /**
49803
- * BOMStatusEnum
49804
- * @description Manufacturing lifecycle (`bomStatus`). Not the document `status` or `approvalStatus`.
49805
- * @enum {string}
49806
- */
49807
- BOMStatusEnum: "new" | "dev" | "certified" | "closed";
49748
+ BillOfMaterialsSortBy: "dateCreated" | "dateModified" | "name" | "version" | "status" | "approvalStatus" | "itemName" | "validityFrom" | "validityTo" | "yieldPercent" | "bomType";
49808
49749
  /**
49809
49750
  * BOMTypeEnum
49810
49751
  * @description BOM classification; only `formula` is supported today.
@@ -49836,7 +49777,7 @@ export interface components {
49836
49777
  name: string;
49837
49778
  /** Version */
49838
49779
  version: number | string;
49839
- bomStatus: components["schemas"]["BOMStatusEnum"];
49780
+ /** @description draft → UI Draft; submitted → UI Certified; canceled → UI Closed. */
49840
49781
  status: components["schemas"]["RetrieveInternalStatusChoices"];
49841
49782
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
49842
49783
  /**
@@ -50001,9 +49942,7 @@ export interface components {
50001
49942
  name: string;
50002
49943
  /** Version */
50003
49944
  version: number | string;
50004
- /** @description Manufacturing lifecycle (new, dev, certified, closed). Change via action POST routes only. */
50005
- bomStatus: components["schemas"]["BOMStatusEnum"];
50006
- /** @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. */
50007
49946
  status: components["schemas"]["RetrieveInternalStatusChoices"];
50008
49947
  /** @description Approval workflow state (draft, pending, approved, rejected, not_required). */
50009
49948
  approvalStatus: components["schemas"]["ApprovalValueChoices"];
@@ -50155,8 +50094,7 @@ export interface components {
50155
50094
  * CreateBillOfMaterialsSchema
50156
50095
  * @description Create a BOM (header + all lines in one request).
50157
50096
  *
50158
- * New records start in status `new`. You may send lines on create or add them later via PUT while still `new`/`dev`.
50159
- * Before certify, call `POST /{id}/start-development/`.
50097
+ * Default `status` is `draft`. Submit by sending `status` `submitted` on create or PUT.
50160
50098
  */
50161
50099
  CreateBillOfMaterialsSchema: {
50162
50100
  /**
@@ -50251,14 +50189,14 @@ export interface components {
50251
50189
  * UpdateBillOfMaterialsSchema
50252
50190
  * @description Full replacement (PUT). Same body shape as create: complete header, `inputLines`, and `outputLines`.
50253
50191
  *
50254
- * **New / dev:** Header and lines may change freely (including `item` while lifecycle is `new` or `dev`).
50192
+ * **Draft:** Header and lines may change freely.
50255
50193
  *
50256
- * **Certified:** Send the full current snapshot; only `validityTo` may differ from what is stored. Other header or
50257
- * 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`.
50258
50196
  *
50259
- * **Closed:** No updates (`BOM_CLOSED_LOCKED`).
50197
+ * **Canceled (closed):** No updates (`BOM_CLOSED_LOCKED`).
50260
50198
  *
50261
- * Do not send `bomStatus` or `approvalStatus`.
50199
+ * Do not send `approvalStatus` on PUT for lifecycle.
50262
50200
  */
50263
50201
  UpdateBillOfMaterialsSchema: {
50264
50202
  /**
@@ -50360,7 +50298,7 @@ export interface components {
50360
50298
  * WorkCenterSortBy
50361
50299
  * @enum {string}
50362
50300
  */
50363
- WorkCenterSortBy: "dateCreated" | "dateModified" | "code" | "name" | "wcType" | "capacityPerDay" | "isActive";
50301
+ WorkCenterSortBy: "dateCreated" | "dateModified" | "code" | "name" | "wcType" | "capacityPerDay" | "isActive" | "status" | "approvalStatus";
50364
50302
  /**
50365
50303
  * WorkCenterTypeEnum
50366
50304
  * @description Resource kind scheduled on routings: machine, labor pool, team, or vessel (e.g. tank).
@@ -50409,6 +50347,8 @@ export interface components {
50409
50347
  * @description Inactive work centers cannot be selected on new routings or orders.
50410
50348
  */
50411
50349
  isActive: boolean;
50350
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50351
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50412
50352
  /** Effectivecapacityhoursperday */
50413
50353
  effectiveCapacityHoursPerDay: number | string;
50414
50354
  };
@@ -50485,6 +50425,9 @@ export interface components {
50485
50425
  * @description Inactive work centers cannot be selected on new routings or orders.
50486
50426
  */
50487
50427
  isActive: boolean;
50428
+ /** @description Document lifecycle (draft / submitted / canceled). */
50429
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
50430
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
50488
50431
  /**
50489
50432
  * Description
50490
50433
  * @description Optional detailed description shown on the work center record.
@@ -50596,6 +50539,11 @@ export interface components {
50596
50539
  * @description File paths or URLs from the file upload API to attach to this work center.
50597
50540
  */
50598
50541
  attachments?: string[];
50542
+ /**
50543
+ * @description Document workflow: `draft` or `submitted`.
50544
+ * @default draft
50545
+ */
50546
+ status: components["schemas"]["InternalStatusChoices"];
50599
50547
  };
50600
50548
  /**
50601
50549
  * UpdateWorkCenterSchema
@@ -50666,22 +50614,14 @@ export interface components {
50666
50614
  * @description File paths or URLs from the file upload API to attach to this work center.
50667
50615
  */
50668
50616
  attachments?: string[];
50617
+ /** @description Document workflow: `draft` or `submitted` (required on update, same as create). */
50618
+ status: components["schemas"]["InternalStatusChoices"];
50669
50619
  };
50670
50620
  /**
50671
50621
  * RoutingSortBy
50672
50622
  * @enum {string}
50673
50623
  */
50674
- RoutingSortBy: "dateCreated" | "dateModified" | "version" | "routingStatus" | "routingType" | "lotSize" | "itemName";
50675
- /**
50676
- * RoutingStatusEnum
50677
- * @description Manufacturing lifecycle (`routingStatus`). Changed via lifecycle POST actions, not PUT.
50678
- *
50679
- * - `certified`: active approved routing for the item (only one certified per item at a time).
50680
- * - `closed`: no longer active — either superseded when another version was certified (auto-close)
50681
- * or explicitly closed via `POST /{id}/close/`.
50682
- * @enum {string}
50683
- */
50684
- RoutingStatusEnum: "new" | "dev" | "certified" | "closed";
50624
+ RoutingSortBy: "dateCreated" | "dateModified" | "version" | "status" | "approvalStatus" | "routingType" | "lotSize" | "itemName";
50685
50625
  /**
50686
50626
  * RoutingTypeEnum
50687
50627
  * @description `serial` — step-by-step routing; `parallel` — reserved for parallel scheduling.
@@ -50715,8 +50655,10 @@ export interface components {
50715
50655
  * @description Routing version.
50716
50656
  */
50717
50657
  version: number | string;
50718
- /** @description Lifecycle status. */
50719
- 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"];
50720
50662
  /** @description Serial or parallel. */
50721
50663
  routingType: components["schemas"]["RoutingTypeEnum"];
50722
50664
  /**
@@ -50773,8 +50715,10 @@ export interface components {
50773
50715
  * @description Version number for this item.
50774
50716
  */
50775
50717
  version: number | string;
50776
- /** @description Lifecycle: new → dev → certified / closed. Other certified routings for the same item become closed when a newer version is certified. */
50777
- 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"];
50778
50722
  /** @description Serial or parallel routing structure. */
50779
50723
  routingType: components["schemas"]["RoutingTypeEnum"];
50780
50724
  /**
@@ -50984,6 +50928,11 @@ export interface components {
50984
50928
  * @description All operations; may be empty on create but certify requires at least one.
50985
50929
  */
50986
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"];
50987
50936
  };
50988
50937
  /**
50989
50938
  * RoutingOperationCreateSchema
@@ -51078,7 +51027,7 @@ export interface components {
51078
51027
  * UpdateRoutingSchema
51079
51028
  * @description Full replace of editable header fields and **all** operations (PUT).
51080
51029
  *
51081
- * `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
51082
51031
  * is referenced by a production version (`ROUTING_VERSION_LOCKED`). Certified or closed routings are locked
51083
51032
  * (`ROUTING_CERTIFIED_LOCKED`).
51084
51033
  */
@@ -51115,30 +51064,14 @@ export interface components {
51115
51064
  * @description Complete operation list (replaces existing lines).
51116
51065
  */
51117
51066
  operations?: components["schemas"]["RoutingOperationCreateSchema"][];
51118
- };
51119
- /**
51120
- * RoutingActionSchema
51121
- * @description Response for start-development, certify (includes auto-close of older certified versions), and close.
51122
- */
51123
- RoutingActionSchema: {
51124
- /**
51125
- * Message
51126
- * @description Human-readable result message.
51127
- */
51128
- message: string;
51129
- /**
51130
- * Code
51131
- * @description Machine-readable result code.
51132
- */
51133
- code: string;
51134
- /** @description Routing after the lifecycle action. */
51135
- data: components["schemas"]["RoutingDetailSchema"];
51067
+ /** @description Document workflow. Omit on PUT to keep the current `status`. */
51068
+ status?: components["schemas"]["InternalStatusChoices"] | null;
51136
51069
  };
51137
51070
  /**
51138
51071
  * ProductionVersionSortBy
51139
51072
  * @enum {string}
51140
51073
  */
51141
- ProductionVersionSortBy: "dateCreated" | "dateModified" | "version" | "validityFrom" | "validityTo" | "priority" | "isActive" | "itemName";
51074
+ ProductionVersionSortBy: "dateCreated" | "dateModified" | "version" | "validityFrom" | "validityTo" | "priority" | "isActive" | "status" | "approvalStatus" | "itemName";
51142
51075
  /** BOMVersionSummarySchema */
51143
51076
  BOMVersionSummarySchema: {
51144
51077
  /**
@@ -51157,8 +51090,8 @@ export interface components {
51157
51090
  * @description BOM version number.
51158
51091
  */
51159
51092
  version: number | string;
51160
- /** @description BOM lifecycle status. */
51161
- bomStatus: components["schemas"]["BOMStatusEnum"];
51093
+ /** @description BOM status: draft / submitted (certified) / canceled (closed). */
51094
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51162
51095
  };
51163
51096
  /** ProductionVersionListItemSchema */
51164
51097
  ProductionVersionListItemSchema: {
@@ -51196,6 +51129,8 @@ export interface components {
51196
51129
  priority: number;
51197
51130
  /** Isactive */
51198
51131
  isActive: boolean;
51132
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51133
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
51199
51134
  /** Canedit */
51200
51135
  canEdit: boolean;
51201
51136
  /** Linkedtoproductionorder */
@@ -51220,8 +51155,8 @@ export interface components {
51220
51155
  * @description Routing version number.
51221
51156
  */
51222
51157
  version: number | string;
51223
- /** @description Routing lifecycle status. */
51224
- routingStatus: components["schemas"]["RoutingStatusEnum"];
51158
+ /** @description Routing status: draft / submitted (certified) / canceled (closed). */
51159
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51225
51160
  };
51226
51161
  /** ProductionVersionDetailSchema */
51227
51162
  ProductionVersionDetailSchema: {
@@ -51259,6 +51194,9 @@ export interface components {
51259
51194
  priority: number;
51260
51195
  /** Isactive */
51261
51196
  isActive: boolean;
51197
+ /** @description Document lifecycle (draft / submitted / canceled). */
51198
+ status: components["schemas"]["RetrieveInternalStatusChoices"];
51199
+ approvalStatus: components["schemas"]["ApprovalValueChoices"];
51262
51200
  /**
51263
51201
  * Canedit
51264
51202
  * @description When true, every header field may be changed. When false and `linkedToProductionOrder` is true, only validityTo, lotSizeMin, lotSizeMax, and isActive.
@@ -51355,10 +51293,15 @@ export interface components {
51355
51293
  * @description Optional internal notes.
51356
51294
  */
51357
51295
  notes?: string | null;
51296
+ /**
51297
+ * @description Document workflow: `draft` or `submitted`.
51298
+ * @default draft
51299
+ */
51300
+ status: components["schemas"]["InternalStatusChoices"];
51358
51301
  };
51359
51302
  /**
51360
51303
  * UpdateProductionVersionSchema
51361
- * @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`).
51362
51305
  */
51363
51306
  UpdateProductionVersionSchema: {
51364
51307
  /**
@@ -51426,6 +51369,11 @@ export interface components {
51426
51369
  * @description Optional internal notes.
51427
51370
  */
51428
51371
  notes?: string | null;
51372
+ /**
51373
+ * @description Document workflow: `draft` or `submitted`.
51374
+ * @default draft
51375
+ */
51376
+ status: components["schemas"]["InternalStatusChoices"];
51429
51377
  };
51430
51378
  /** ProductionVersionActionSchema */
51431
51379
  ProductionVersionActionSchema: {
@@ -54678,6 +54626,29 @@ export interface components {
54678
54626
  /** Name */
54679
54627
  name: string;
54680
54628
  };
54629
+ /** EmployeeChildSchema */
54630
+ EmployeeChildSchema: {
54631
+ /**
54632
+ * Id
54633
+ * Format: uuid
54634
+ */
54635
+ id: string;
54636
+ /** Firstname */
54637
+ firstName: string;
54638
+ /** Lastname */
54639
+ lastName: string;
54640
+ /** Name */
54641
+ name: string;
54642
+ /** Phone */
54643
+ phone: string | null;
54644
+ /** Mobile */
54645
+ mobile: string | null;
54646
+ /** Email */
54647
+ email: string;
54648
+ type: components["schemas"]["EmployeeType"] | null;
54649
+ /** Isactive */
54650
+ isActive: boolean;
54651
+ };
54681
54652
  /** EmployeeDetailSchema */
54682
54653
  EmployeeDetailSchema: {
54683
54654
  /**
@@ -54747,6 +54718,11 @@ export interface components {
54747
54718
  canDelete: boolean;
54748
54719
  /** Postalcode */
54749
54720
  postalCode: string | null;
54721
+ /**
54722
+ * Children
54723
+ * @default []
54724
+ */
54725
+ children: components["schemas"]["EmployeeChildSchema"][];
54750
54726
  };
54751
54727
  /** EmployeePositionSummaryInfo */
54752
54728
  EmployeePositionSummaryInfo: {
@@ -70786,7 +70762,7 @@ export interface components {
70786
70762
  * CombinedModelName
70787
70763
  * @enum {string}
70788
70764
  */
70789
- 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";
70765
+ 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";
70790
70766
  /** TasksListSchema */
70791
70767
  TasksListSchema: {
70792
70768
  info: components["schemas"]["PageInfoSchema"];
@@ -78719,7 +78695,7 @@ export interface operations {
78719
78695
  common_views_get_model_names: {
78720
78696
  parameters: {
78721
78697
  query?: {
78722
- 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";
78698
+ 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";
78723
78699
  };
78724
78700
  header?: never;
78725
78701
  path?: never;
@@ -99990,7 +99966,7 @@ export interface operations {
99990
99966
  query?: {
99991
99967
  /** @description When set, only BOMs for this finished/co-product item are returned. */
99992
99968
  itemId?: string | null;
99993
- /** @description When true, only BOMs with bomStatus certified are returned. */
99969
+ /** @description When true, only BOMs with status submitted (certified) are returned. */
99994
99970
  certifiedOnly?: boolean;
99995
99971
  /** @description Search by BOM name, finished item name, or SKU. */
99996
99972
  search?: string | null;
@@ -100316,13 +100292,19 @@ export interface operations {
100316
100292
  };
100317
100293
  };
100318
100294
  };
100319
- production_bill_of_materials_views_start_bom_development_view: {
100295
+ production_work_centers_views_list_work_centers: {
100320
100296
  parameters: {
100321
- query?: never;
100322
- header?: never;
100323
- path: {
100324
- id: string;
100297
+ query?: {
100298
+ /** @description Search by code or name. */
100299
+ search?: string | null;
100300
+ wcType?: components["schemas"]["WorkCenterTypeEnum"] | null;
100301
+ isActive?: boolean | null;
100302
+ sortBy?: components["schemas"]["WorkCenterSortBy"] | null;
100303
+ /** @description Sort direction when sortBy is set (asc or desc). Defaults to asc for code. */
100304
+ order?: components["schemas"]["SortOrder"] | null;
100325
100305
  };
100306
+ header?: never;
100307
+ path?: never;
100326
100308
  cookie?: never;
100327
100309
  };
100328
100310
  requestBody?: never;
@@ -100333,7 +100315,7 @@ export interface operations {
100333
100315
  [name: string]: unknown;
100334
100316
  };
100335
100317
  content: {
100336
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100318
+ "application/json": components["schemas"]["WorkCenterListSchema"];
100337
100319
  };
100338
100320
  };
100339
100321
  /** @description Bad Request */
@@ -100354,35 +100336,28 @@ export interface operations {
100354
100336
  "application/json": components["schemas"]["MessageResponse"];
100355
100337
  };
100356
100338
  };
100357
- /** @description Not Found */
100358
- 404: {
100359
- headers: {
100360
- [name: string]: unknown;
100361
- };
100362
- content: {
100363
- "application/json": components["schemas"]["MessageResponse"];
100364
- };
100365
- };
100366
100339
  };
100367
100340
  };
100368
- production_bill_of_materials_views_certify_bill_of_materials: {
100341
+ production_work_centers_views_create_work_center: {
100369
100342
  parameters: {
100370
100343
  query?: never;
100371
100344
  header?: never;
100372
- path: {
100373
- id: string;
100374
- };
100345
+ path?: never;
100375
100346
  cookie?: never;
100376
100347
  };
100377
- requestBody?: never;
100348
+ requestBody: {
100349
+ content: {
100350
+ "application/json": components["schemas"]["CreateWorkCenterSchema"];
100351
+ };
100352
+ };
100378
100353
  responses: {
100379
- /** @description OK */
100380
- 200: {
100354
+ /** @description Created */
100355
+ 201: {
100381
100356
  headers: {
100382
100357
  [name: string]: unknown;
100383
100358
  };
100384
100359
  content: {
100385
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100360
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100386
100361
  };
100387
100362
  };
100388
100363
  /** @description Bad Request */
@@ -100403,18 +100378,9 @@ export interface operations {
100403
100378
  "application/json": components["schemas"]["MessageResponse"];
100404
100379
  };
100405
100380
  };
100406
- /** @description Not Found */
100407
- 404: {
100408
- headers: {
100409
- [name: string]: unknown;
100410
- };
100411
- content: {
100412
- "application/json": components["schemas"]["MessageResponse"];
100413
- };
100414
- };
100415
100381
  };
100416
100382
  };
100417
- production_bill_of_materials_views_close_bill_of_materials: {
100383
+ production_work_centers_views_get_work_center: {
100418
100384
  parameters: {
100419
100385
  query?: never;
100420
100386
  header?: never;
@@ -100431,16 +100397,7 @@ export interface operations {
100431
100397
  [name: string]: unknown;
100432
100398
  };
100433
100399
  content: {
100434
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100435
- };
100436
- };
100437
- /** @description Bad Request */
100438
- 400: {
100439
- headers: {
100440
- [name: string]: unknown;
100441
- };
100442
- content: {
100443
- "application/json": components["schemas"]["ErrorMessages"];
100400
+ "application/json": components["schemas"]["WorkCenterDetailSchema"];
100444
100401
  };
100445
100402
  };
100446
100403
  /** @description Forbidden */
@@ -100463,7 +100420,7 @@ export interface operations {
100463
100420
  };
100464
100421
  };
100465
100422
  };
100466
- production_bill_of_materials_views_reopen_bill_of_materials: {
100423
+ production_work_centers_views_update_work_center: {
100467
100424
  parameters: {
100468
100425
  query?: never;
100469
100426
  header?: never;
@@ -100472,7 +100429,11 @@ export interface operations {
100472
100429
  };
100473
100430
  cookie?: never;
100474
100431
  };
100475
- requestBody?: never;
100432
+ requestBody: {
100433
+ content: {
100434
+ "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100435
+ };
100436
+ };
100476
100437
  responses: {
100477
100438
  /** @description OK */
100478
100439
  200: {
@@ -100480,7 +100441,7 @@ export interface operations {
100480
100441
  [name: string]: unknown;
100481
100442
  };
100482
100443
  content: {
100483
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100444
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100484
100445
  };
100485
100446
  };
100486
100447
  /** @description Bad Request */
@@ -100512,73 +100473,23 @@ export interface operations {
100512
100473
  };
100513
100474
  };
100514
100475
  };
100515
- production_work_centers_views_list_work_centers: {
100516
- parameters: {
100517
- query?: {
100518
- /** @description Search by code or name. */
100519
- search?: string | null;
100520
- wcType?: components["schemas"]["WorkCenterTypeEnum"] | null;
100521
- isActive?: boolean | null;
100522
- sortBy?: components["schemas"]["WorkCenterSortBy"] | null;
100523
- /** @description Sort direction when sortBy is set (asc or desc). Defaults to asc for code. */
100524
- order?: components["schemas"]["SortOrder"] | null;
100525
- };
100526
- header?: never;
100527
- path?: never;
100528
- cookie?: never;
100529
- };
100530
- requestBody?: never;
100531
- responses: {
100532
- /** @description OK */
100533
- 200: {
100534
- headers: {
100535
- [name: string]: unknown;
100536
- };
100537
- content: {
100538
- "application/json": components["schemas"]["WorkCenterListSchema"];
100539
- };
100540
- };
100541
- /** @description Bad Request */
100542
- 400: {
100543
- headers: {
100544
- [name: string]: unknown;
100545
- };
100546
- content: {
100547
- "application/json": components["schemas"]["ErrorMessages"];
100548
- };
100549
- };
100550
- /** @description Forbidden */
100551
- 403: {
100552
- headers: {
100553
- [name: string]: unknown;
100554
- };
100555
- content: {
100556
- "application/json": components["schemas"]["MessageResponse"];
100557
- };
100558
- };
100559
- };
100560
- };
100561
- production_work_centers_views_create_work_center: {
100476
+ production_work_centers_views_delete_work_center: {
100562
100477
  parameters: {
100563
100478
  query?: never;
100564
100479
  header?: never;
100565
- path?: never;
100566
- cookie?: never;
100567
- };
100568
- requestBody: {
100569
- content: {
100570
- "application/json": components["schemas"]["CreateWorkCenterSchema"];
100480
+ path: {
100481
+ id: string;
100571
100482
  };
100483
+ cookie?: never;
100572
100484
  };
100485
+ requestBody?: never;
100573
100486
  responses: {
100574
- /** @description Created */
100575
- 201: {
100487
+ /** @description No Content */
100488
+ 204: {
100576
100489
  headers: {
100577
100490
  [name: string]: unknown;
100578
100491
  };
100579
- content: {
100580
- "application/json": components["schemas"]["WorkCenterResponseSchema"];
100581
- };
100492
+ content?: never;
100582
100493
  };
100583
100494
  /** @description Bad Request */
100584
100495
  400: {
@@ -100598,37 +100509,6 @@ export interface operations {
100598
100509
  "application/json": components["schemas"]["MessageResponse"];
100599
100510
  };
100600
100511
  };
100601
- };
100602
- };
100603
- production_work_centers_views_get_work_center: {
100604
- parameters: {
100605
- query?: never;
100606
- header?: never;
100607
- path: {
100608
- id: string;
100609
- };
100610
- cookie?: never;
100611
- };
100612
- requestBody?: never;
100613
- responses: {
100614
- /** @description OK */
100615
- 200: {
100616
- headers: {
100617
- [name: string]: unknown;
100618
- };
100619
- content: {
100620
- "application/json": components["schemas"]["WorkCenterDetailSchema"];
100621
- };
100622
- };
100623
- /** @description Forbidden */
100624
- 403: {
100625
- headers: {
100626
- [name: string]: unknown;
100627
- };
100628
- content: {
100629
- "application/json": components["schemas"]["MessageResponse"];
100630
- };
100631
- };
100632
100512
  /** @description Not Found */
100633
100513
  404: {
100634
100514
  headers: {
@@ -100640,7 +100520,7 @@ export interface operations {
100640
100520
  };
100641
100521
  };
100642
100522
  };
100643
- production_work_centers_views_update_work_center: {
100523
+ production_work_centers_views_cancel_work_center_view: {
100644
100524
  parameters: {
100645
100525
  query?: never;
100646
100526
  header?: never;
@@ -100649,11 +100529,7 @@ export interface operations {
100649
100529
  };
100650
100530
  cookie?: never;
100651
100531
  };
100652
- requestBody: {
100653
- content: {
100654
- "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100655
- };
100656
- };
100532
+ requestBody?: never;
100657
100533
  responses: {
100658
100534
  /** @description OK */
100659
100535
  200: {
@@ -100693,7 +100569,7 @@ export interface operations {
100693
100569
  };
100694
100570
  };
100695
100571
  };
100696
- production_work_centers_views_delete_work_center: {
100572
+ production_work_centers_views_reset_work_center_to_draft_view: {
100697
100573
  parameters: {
100698
100574
  query?: never;
100699
100575
  header?: never;
@@ -100704,12 +100580,14 @@ export interface operations {
100704
100580
  };
100705
100581
  requestBody?: never;
100706
100582
  responses: {
100707
- /** @description No Content */
100708
- 204: {
100583
+ /** @description OK */
100584
+ 200: {
100709
100585
  headers: {
100710
100586
  [name: string]: unknown;
100711
100587
  };
100712
- content?: never;
100588
+ content: {
100589
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100590
+ };
100713
100591
  };
100714
100592
  /** @description Bad Request */
100715
100593
  400: {
@@ -100745,7 +100623,8 @@ export interface operations {
100745
100623
  query?: {
100746
100624
  search?: string | null;
100747
100625
  itemId?: string | null;
100748
- routingStatus?: components["schemas"]["RoutingStatusEnum"] | null;
100626
+ /** @description Filter by document status. */
100627
+ status?: components["schemas"]["InternalStatusChoices"] | null;
100749
100628
  routingType?: components["schemas"]["RoutingTypeEnum"] | null;
100750
100629
  certifiedOnly?: boolean;
100751
100630
  sortBy?: components["schemas"]["RoutingSortBy"] | null;
@@ -100968,7 +100847,7 @@ export interface operations {
100968
100847
  };
100969
100848
  };
100970
100849
  };
100971
- production_routings_views_start_routing_development_view: {
100850
+ production_routings_views_cancel_routing_view: {
100972
100851
  parameters: {
100973
100852
  query?: never;
100974
100853
  header?: never;
@@ -100985,7 +100864,7 @@ export interface operations {
100985
100864
  [name: string]: unknown;
100986
100865
  };
100987
100866
  content: {
100988
- "application/json": components["schemas"]["RoutingActionSchema"];
100867
+ "application/json": components["schemas"]["RoutingResponseSchema"];
100989
100868
  };
100990
100869
  };
100991
100870
  /** @description Bad Request */
@@ -101017,7 +100896,7 @@ export interface operations {
101017
100896
  };
101018
100897
  };
101019
100898
  };
101020
- production_routings_views_certify_routing_view: {
100899
+ production_routings_views_reset_routing_to_draft_view: {
101021
100900
  parameters: {
101022
100901
  query?: never;
101023
100902
  header?: never;
@@ -101034,7 +100913,7 @@ export interface operations {
101034
100913
  [name: string]: unknown;
101035
100914
  };
101036
100915
  content: {
101037
- "application/json": components["schemas"]["RoutingActionSchema"];
100916
+ "application/json": components["schemas"]["RoutingResponseSchema"];
101038
100917
  };
101039
100918
  };
101040
100919
  /** @description Bad Request */
@@ -101066,13 +100945,21 @@ export interface operations {
101066
100945
  };
101067
100946
  };
101068
100947
  };
101069
- production_routings_views_close_routing_view: {
100948
+ production_production_versions_views_list_production_versions: {
101070
100949
  parameters: {
101071
- query?: never;
101072
- header?: never;
101073
- path: {
101074
- id: string;
100950
+ query?: {
100951
+ search?: string | null;
100952
+ itemId?: string | null;
100953
+ isActive?: boolean | null;
100954
+ /** @description When set, only versions valid on this date (order date) are returned. */
100955
+ validOn?: string | null;
100956
+ /** @description When set, only versions whose lot size range includes this quantity are returned. */
100957
+ plannedQuantity?: (number | string) | null;
100958
+ sortBy?: components["schemas"]["ProductionVersionSortBy"] | null;
100959
+ order?: components["schemas"]["SortOrder"] | null;
101075
100960
  };
100961
+ header?: never;
100962
+ path?: never;
101076
100963
  cookie?: never;
101077
100964
  };
101078
100965
  requestBody?: never;
@@ -101083,7 +100970,7 @@ export interface operations {
101083
100970
  [name: string]: unknown;
101084
100971
  };
101085
100972
  content: {
101086
- "application/json": components["schemas"]["RoutingActionSchema"];
100973
+ "application/json": components["schemas"]["ProductionVersionListSchema"];
101087
100974
  };
101088
100975
  };
101089
100976
  /** @description Bad Request */
@@ -101104,8 +100991,41 @@ export interface operations {
101104
100991
  "application/json": components["schemas"]["MessageResponse"];
101105
100992
  };
101106
100993
  };
101107
- /** @description Not Found */
101108
- 404: {
100994
+ };
100995
+ };
100996
+ production_production_versions_views_create_production_version_view: {
100997
+ parameters: {
100998
+ query?: never;
100999
+ header?: never;
101000
+ path?: never;
101001
+ cookie?: never;
101002
+ };
101003
+ requestBody: {
101004
+ content: {
101005
+ "application/json": components["schemas"]["CreateProductionVersionSchema"];
101006
+ };
101007
+ };
101008
+ responses: {
101009
+ /** @description Created */
101010
+ 201: {
101011
+ headers: {
101012
+ [name: string]: unknown;
101013
+ };
101014
+ content: {
101015
+ "application/json": components["schemas"]["ProductionVersionResponseSchema"];
101016
+ };
101017
+ };
101018
+ /** @description Bad Request */
101019
+ 400: {
101020
+ headers: {
101021
+ [name: string]: unknown;
101022
+ };
101023
+ content: {
101024
+ "application/json": components["schemas"]["ErrorMessages"];
101025
+ };
101026
+ };
101027
+ /** @description Forbidden */
101028
+ 403: {
101109
101029
  headers: {
101110
101030
  [name: string]: unknown;
101111
101031
  };
@@ -101115,21 +101035,13 @@ export interface operations {
101115
101035
  };
101116
101036
  };
101117
101037
  };
101118
- production_production_versions_views_list_production_versions: {
101038
+ production_production_versions_views_get_production_version: {
101119
101039
  parameters: {
101120
- query?: {
101121
- search?: string | null;
101122
- itemId?: string | null;
101123
- isActive?: boolean | null;
101124
- /** @description When set, only versions valid on this date (order date) are returned. */
101125
- validOn?: string | null;
101126
- /** @description When set, only versions whose lot size range includes this quantity are returned. */
101127
- plannedQuantity?: (number | string) | null;
101128
- sortBy?: components["schemas"]["ProductionVersionSortBy"] | null;
101129
- order?: components["schemas"]["SortOrder"] | null;
101130
- };
101040
+ query?: never;
101131
101041
  header?: never;
101132
- path?: never;
101042
+ path: {
101043
+ id: string;
101044
+ };
101133
101045
  cookie?: never;
101134
101046
  };
101135
101047
  requestBody?: never;
@@ -101140,20 +101052,20 @@ export interface operations {
101140
101052
  [name: string]: unknown;
101141
101053
  };
101142
101054
  content: {
101143
- "application/json": components["schemas"]["ProductionVersionListSchema"];
101055
+ "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101144
101056
  };
101145
101057
  };
101146
- /** @description Bad Request */
101147
- 400: {
101058
+ /** @description Forbidden */
101059
+ 403: {
101148
101060
  headers: {
101149
101061
  [name: string]: unknown;
101150
101062
  };
101151
101063
  content: {
101152
- "application/json": components["schemas"]["ErrorMessages"];
101064
+ "application/json": components["schemas"]["MessageResponse"];
101153
101065
  };
101154
101066
  };
101155
- /** @description Forbidden */
101156
- 403: {
101067
+ /** @description Not Found */
101068
+ 404: {
101157
101069
  headers: {
101158
101070
  [name: string]: unknown;
101159
101071
  };
@@ -101163,21 +101075,23 @@ export interface operations {
101163
101075
  };
101164
101076
  };
101165
101077
  };
101166
- production_production_versions_views_create_production_version_view: {
101078
+ production_production_versions_views_update_production_version_view: {
101167
101079
  parameters: {
101168
101080
  query?: never;
101169
101081
  header?: never;
101170
- path?: never;
101082
+ path: {
101083
+ id: string;
101084
+ };
101171
101085
  cookie?: never;
101172
101086
  };
101173
101087
  requestBody: {
101174
101088
  content: {
101175
- "application/json": components["schemas"]["CreateProductionVersionSchema"];
101089
+ "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101176
101090
  };
101177
101091
  };
101178
101092
  responses: {
101179
- /** @description Created */
101180
- 201: {
101093
+ /** @description OK */
101094
+ 200: {
101181
101095
  headers: {
101182
101096
  [name: string]: unknown;
101183
101097
  };
@@ -101203,9 +101117,18 @@ export interface operations {
101203
101117
  "application/json": components["schemas"]["MessageResponse"];
101204
101118
  };
101205
101119
  };
101120
+ /** @description Not Found */
101121
+ 404: {
101122
+ headers: {
101123
+ [name: string]: unknown;
101124
+ };
101125
+ content: {
101126
+ "application/json": components["schemas"]["MessageResponse"];
101127
+ };
101128
+ };
101206
101129
  };
101207
101130
  };
101208
- production_production_versions_views_get_production_version: {
101131
+ production_production_versions_views_delete_production_version_view: {
101209
101132
  parameters: {
101210
101133
  query?: never;
101211
101134
  header?: never;
@@ -101216,13 +101139,20 @@ export interface operations {
101216
101139
  };
101217
101140
  requestBody?: never;
101218
101141
  responses: {
101219
- /** @description OK */
101220
- 200: {
101142
+ /** @description No Content */
101143
+ 204: {
101144
+ headers: {
101145
+ [name: string]: unknown;
101146
+ };
101147
+ content?: never;
101148
+ };
101149
+ /** @description Bad Request */
101150
+ 400: {
101221
101151
  headers: {
101222
101152
  [name: string]: unknown;
101223
101153
  };
101224
101154
  content: {
101225
- "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101155
+ "application/json": components["schemas"]["ErrorMessages"];
101226
101156
  };
101227
101157
  };
101228
101158
  /** @description Forbidden */
@@ -101245,7 +101175,7 @@ export interface operations {
101245
101175
  };
101246
101176
  };
101247
101177
  };
101248
- production_production_versions_views_update_production_version_view: {
101178
+ production_production_versions_views_cancel_production_version_view: {
101249
101179
  parameters: {
101250
101180
  query?: never;
101251
101181
  header?: never;
@@ -101254,11 +101184,7 @@ export interface operations {
101254
101184
  };
101255
101185
  cookie?: never;
101256
101186
  };
101257
- requestBody: {
101258
- content: {
101259
- "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101260
- };
101261
- };
101187
+ requestBody?: never;
101262
101188
  responses: {
101263
101189
  /** @description OK */
101264
101190
  200: {
@@ -101298,7 +101224,7 @@ export interface operations {
101298
101224
  };
101299
101225
  };
101300
101226
  };
101301
- production_production_versions_views_delete_production_version_view: {
101227
+ production_production_versions_views_reset_production_version_to_draft_view: {
101302
101228
  parameters: {
101303
101229
  query?: never;
101304
101230
  header?: never;
@@ -101309,12 +101235,14 @@ export interface operations {
101309
101235
  };
101310
101236
  requestBody?: never;
101311
101237
  responses: {
101312
- /** @description No Content */
101313
- 204: {
101238
+ /** @description OK */
101239
+ 200: {
101314
101240
  headers: {
101315
101241
  [name: string]: unknown;
101316
101242
  };
101317
- content?: never;
101243
+ content: {
101244
+ "application/json": components["schemas"]["ProductionVersionResponseSchema"];
101245
+ };
101318
101246
  };
101319
101247
  /** @description Bad Request */
101320
101248
  400: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.2126",
3
+ "version": "1.0.2128",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [