@erp-galoper/types 1.0.2126 → 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 +289 -389
  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;
@@ -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: {
@@ -70786,7 +70734,7 @@ export interface components {
70786
70734
  * CombinedModelName
70787
70735
  * @enum {string}
70788
70736
  */
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";
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";
70790
70738
  /** TasksListSchema */
70791
70739
  TasksListSchema: {
70792
70740
  info: components["schemas"]["PageInfoSchema"];
@@ -78719,7 +78667,7 @@ export interface operations {
78719
78667
  common_views_get_model_names: {
78720
78668
  parameters: {
78721
78669
  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";
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";
78723
78671
  };
78724
78672
  header?: never;
78725
78673
  path?: never;
@@ -99990,7 +99938,7 @@ export interface operations {
99990
99938
  query?: {
99991
99939
  /** @description When set, only BOMs for this finished/co-product item are returned. */
99992
99940
  itemId?: string | null;
99993
- /** @description When true, only BOMs with bomStatus certified are returned. */
99941
+ /** @description When true, only BOMs with status submitted (certified) are returned. */
99994
99942
  certifiedOnly?: boolean;
99995
99943
  /** @description Search by BOM name, finished item name, or SKU. */
99996
99944
  search?: string | null;
@@ -100316,13 +100264,19 @@ export interface operations {
100316
100264
  };
100317
100265
  };
100318
100266
  };
100319
- production_bill_of_materials_views_start_bom_development_view: {
100267
+ production_work_centers_views_list_work_centers: {
100320
100268
  parameters: {
100321
- query?: never;
100322
- header?: never;
100323
- path: {
100324
- 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;
100325
100277
  };
100278
+ header?: never;
100279
+ path?: never;
100326
100280
  cookie?: never;
100327
100281
  };
100328
100282
  requestBody?: never;
@@ -100333,7 +100287,7 @@ export interface operations {
100333
100287
  [name: string]: unknown;
100334
100288
  };
100335
100289
  content: {
100336
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100290
+ "application/json": components["schemas"]["WorkCenterListSchema"];
100337
100291
  };
100338
100292
  };
100339
100293
  /** @description Bad Request */
@@ -100354,35 +100308,28 @@ export interface operations {
100354
100308
  "application/json": components["schemas"]["MessageResponse"];
100355
100309
  };
100356
100310
  };
100357
- /** @description Not Found */
100358
- 404: {
100359
- headers: {
100360
- [name: string]: unknown;
100361
- };
100362
- content: {
100363
- "application/json": components["schemas"]["MessageResponse"];
100364
- };
100365
- };
100366
100311
  };
100367
100312
  };
100368
- production_bill_of_materials_views_certify_bill_of_materials: {
100313
+ production_work_centers_views_create_work_center: {
100369
100314
  parameters: {
100370
100315
  query?: never;
100371
100316
  header?: never;
100372
- path: {
100373
- id: string;
100374
- };
100317
+ path?: never;
100375
100318
  cookie?: never;
100376
100319
  };
100377
- requestBody?: never;
100320
+ requestBody: {
100321
+ content: {
100322
+ "application/json": components["schemas"]["CreateWorkCenterSchema"];
100323
+ };
100324
+ };
100378
100325
  responses: {
100379
- /** @description OK */
100380
- 200: {
100326
+ /** @description Created */
100327
+ 201: {
100381
100328
  headers: {
100382
100329
  [name: string]: unknown;
100383
100330
  };
100384
100331
  content: {
100385
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100332
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100386
100333
  };
100387
100334
  };
100388
100335
  /** @description Bad Request */
@@ -100403,18 +100350,9 @@ export interface operations {
100403
100350
  "application/json": components["schemas"]["MessageResponse"];
100404
100351
  };
100405
100352
  };
100406
- /** @description Not Found */
100407
- 404: {
100408
- headers: {
100409
- [name: string]: unknown;
100410
- };
100411
- content: {
100412
- "application/json": components["schemas"]["MessageResponse"];
100413
- };
100414
- };
100415
100353
  };
100416
100354
  };
100417
- production_bill_of_materials_views_close_bill_of_materials: {
100355
+ production_work_centers_views_get_work_center: {
100418
100356
  parameters: {
100419
100357
  query?: never;
100420
100358
  header?: never;
@@ -100431,16 +100369,7 @@ export interface operations {
100431
100369
  [name: string]: unknown;
100432
100370
  };
100433
100371
  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"];
100372
+ "application/json": components["schemas"]["WorkCenterDetailSchema"];
100444
100373
  };
100445
100374
  };
100446
100375
  /** @description Forbidden */
@@ -100463,7 +100392,7 @@ export interface operations {
100463
100392
  };
100464
100393
  };
100465
100394
  };
100466
- production_bill_of_materials_views_reopen_bill_of_materials: {
100395
+ production_work_centers_views_update_work_center: {
100467
100396
  parameters: {
100468
100397
  query?: never;
100469
100398
  header?: never;
@@ -100472,7 +100401,11 @@ export interface operations {
100472
100401
  };
100473
100402
  cookie?: never;
100474
100403
  };
100475
- requestBody?: never;
100404
+ requestBody: {
100405
+ content: {
100406
+ "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100407
+ };
100408
+ };
100476
100409
  responses: {
100477
100410
  /** @description OK */
100478
100411
  200: {
@@ -100480,7 +100413,7 @@ export interface operations {
100480
100413
  [name: string]: unknown;
100481
100414
  };
100482
100415
  content: {
100483
- "application/json": components["schemas"]["BillOfMaterialsResponseSchema"];
100416
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100484
100417
  };
100485
100418
  };
100486
100419
  /** @description Bad Request */
@@ -100512,73 +100445,23 @@ export interface operations {
100512
100445
  };
100513
100446
  };
100514
100447
  };
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: {
100448
+ production_work_centers_views_delete_work_center: {
100562
100449
  parameters: {
100563
100450
  query?: never;
100564
100451
  header?: never;
100565
- path?: never;
100566
- cookie?: never;
100567
- };
100568
- requestBody: {
100569
- content: {
100570
- "application/json": components["schemas"]["CreateWorkCenterSchema"];
100452
+ path: {
100453
+ id: string;
100571
100454
  };
100455
+ cookie?: never;
100572
100456
  };
100457
+ requestBody?: never;
100573
100458
  responses: {
100574
- /** @description Created */
100575
- 201: {
100459
+ /** @description No Content */
100460
+ 204: {
100576
100461
  headers: {
100577
100462
  [name: string]: unknown;
100578
100463
  };
100579
- content: {
100580
- "application/json": components["schemas"]["WorkCenterResponseSchema"];
100581
- };
100464
+ content?: never;
100582
100465
  };
100583
100466
  /** @description Bad Request */
100584
100467
  400: {
@@ -100598,37 +100481,6 @@ export interface operations {
100598
100481
  "application/json": components["schemas"]["MessageResponse"];
100599
100482
  };
100600
100483
  };
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
100484
  /** @description Not Found */
100633
100485
  404: {
100634
100486
  headers: {
@@ -100640,7 +100492,7 @@ export interface operations {
100640
100492
  };
100641
100493
  };
100642
100494
  };
100643
- production_work_centers_views_update_work_center: {
100495
+ production_work_centers_views_cancel_work_center_view: {
100644
100496
  parameters: {
100645
100497
  query?: never;
100646
100498
  header?: never;
@@ -100649,11 +100501,7 @@ export interface operations {
100649
100501
  };
100650
100502
  cookie?: never;
100651
100503
  };
100652
- requestBody: {
100653
- content: {
100654
- "application/json": components["schemas"]["UpdateWorkCenterSchema"];
100655
- };
100656
- };
100504
+ requestBody?: never;
100657
100505
  responses: {
100658
100506
  /** @description OK */
100659
100507
  200: {
@@ -100693,7 +100541,7 @@ export interface operations {
100693
100541
  };
100694
100542
  };
100695
100543
  };
100696
- production_work_centers_views_delete_work_center: {
100544
+ production_work_centers_views_reset_work_center_to_draft_view: {
100697
100545
  parameters: {
100698
100546
  query?: never;
100699
100547
  header?: never;
@@ -100704,12 +100552,14 @@ export interface operations {
100704
100552
  };
100705
100553
  requestBody?: never;
100706
100554
  responses: {
100707
- /** @description No Content */
100708
- 204: {
100555
+ /** @description OK */
100556
+ 200: {
100709
100557
  headers: {
100710
100558
  [name: string]: unknown;
100711
100559
  };
100712
- content?: never;
100560
+ content: {
100561
+ "application/json": components["schemas"]["WorkCenterResponseSchema"];
100562
+ };
100713
100563
  };
100714
100564
  /** @description Bad Request */
100715
100565
  400: {
@@ -100745,7 +100595,8 @@ export interface operations {
100745
100595
  query?: {
100746
100596
  search?: string | null;
100747
100597
  itemId?: string | null;
100748
- routingStatus?: components["schemas"]["RoutingStatusEnum"] | null;
100598
+ /** @description Filter by document status. */
100599
+ status?: components["schemas"]["InternalStatusChoices"] | null;
100749
100600
  routingType?: components["schemas"]["RoutingTypeEnum"] | null;
100750
100601
  certifiedOnly?: boolean;
100751
100602
  sortBy?: components["schemas"]["RoutingSortBy"] | null;
@@ -100968,7 +100819,7 @@ export interface operations {
100968
100819
  };
100969
100820
  };
100970
100821
  };
100971
- production_routings_views_start_routing_development_view: {
100822
+ production_routings_views_cancel_routing_view: {
100972
100823
  parameters: {
100973
100824
  query?: never;
100974
100825
  header?: never;
@@ -100985,7 +100836,7 @@ export interface operations {
100985
100836
  [name: string]: unknown;
100986
100837
  };
100987
100838
  content: {
100988
- "application/json": components["schemas"]["RoutingActionSchema"];
100839
+ "application/json": components["schemas"]["RoutingResponseSchema"];
100989
100840
  };
100990
100841
  };
100991
100842
  /** @description Bad Request */
@@ -101017,7 +100868,7 @@ export interface operations {
101017
100868
  };
101018
100869
  };
101019
100870
  };
101020
- production_routings_views_certify_routing_view: {
100871
+ production_routings_views_reset_routing_to_draft_view: {
101021
100872
  parameters: {
101022
100873
  query?: never;
101023
100874
  header?: never;
@@ -101034,7 +100885,7 @@ export interface operations {
101034
100885
  [name: string]: unknown;
101035
100886
  };
101036
100887
  content: {
101037
- "application/json": components["schemas"]["RoutingActionSchema"];
100888
+ "application/json": components["schemas"]["RoutingResponseSchema"];
101038
100889
  };
101039
100890
  };
101040
100891
  /** @description Bad Request */
@@ -101066,13 +100917,21 @@ export interface operations {
101066
100917
  };
101067
100918
  };
101068
100919
  };
101069
- production_routings_views_close_routing_view: {
100920
+ production_production_versions_views_list_production_versions: {
101070
100921
  parameters: {
101071
- query?: never;
101072
- header?: never;
101073
- path: {
101074
- 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;
101075
100932
  };
100933
+ header?: never;
100934
+ path?: never;
101076
100935
  cookie?: never;
101077
100936
  };
101078
100937
  requestBody?: never;
@@ -101083,7 +100942,7 @@ export interface operations {
101083
100942
  [name: string]: unknown;
101084
100943
  };
101085
100944
  content: {
101086
- "application/json": components["schemas"]["RoutingActionSchema"];
100945
+ "application/json": components["schemas"]["ProductionVersionListSchema"];
101087
100946
  };
101088
100947
  };
101089
100948
  /** @description Bad Request */
@@ -101104,8 +100963,41 @@ export interface operations {
101104
100963
  "application/json": components["schemas"]["MessageResponse"];
101105
100964
  };
101106
100965
  };
101107
- /** @description Not Found */
101108
- 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: {
101109
101001
  headers: {
101110
101002
  [name: string]: unknown;
101111
101003
  };
@@ -101115,21 +101007,13 @@ export interface operations {
101115
101007
  };
101116
101008
  };
101117
101009
  };
101118
- production_production_versions_views_list_production_versions: {
101010
+ production_production_versions_views_get_production_version: {
101119
101011
  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
- };
101012
+ query?: never;
101131
101013
  header?: never;
101132
- path?: never;
101014
+ path: {
101015
+ id: string;
101016
+ };
101133
101017
  cookie?: never;
101134
101018
  };
101135
101019
  requestBody?: never;
@@ -101140,20 +101024,20 @@ export interface operations {
101140
101024
  [name: string]: unknown;
101141
101025
  };
101142
101026
  content: {
101143
- "application/json": components["schemas"]["ProductionVersionListSchema"];
101027
+ "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101144
101028
  };
101145
101029
  };
101146
- /** @description Bad Request */
101147
- 400: {
101030
+ /** @description Forbidden */
101031
+ 403: {
101148
101032
  headers: {
101149
101033
  [name: string]: unknown;
101150
101034
  };
101151
101035
  content: {
101152
- "application/json": components["schemas"]["ErrorMessages"];
101036
+ "application/json": components["schemas"]["MessageResponse"];
101153
101037
  };
101154
101038
  };
101155
- /** @description Forbidden */
101156
- 403: {
101039
+ /** @description Not Found */
101040
+ 404: {
101157
101041
  headers: {
101158
101042
  [name: string]: unknown;
101159
101043
  };
@@ -101163,21 +101047,23 @@ export interface operations {
101163
101047
  };
101164
101048
  };
101165
101049
  };
101166
- production_production_versions_views_create_production_version_view: {
101050
+ production_production_versions_views_update_production_version_view: {
101167
101051
  parameters: {
101168
101052
  query?: never;
101169
101053
  header?: never;
101170
- path?: never;
101054
+ path: {
101055
+ id: string;
101056
+ };
101171
101057
  cookie?: never;
101172
101058
  };
101173
101059
  requestBody: {
101174
101060
  content: {
101175
- "application/json": components["schemas"]["CreateProductionVersionSchema"];
101061
+ "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101176
101062
  };
101177
101063
  };
101178
101064
  responses: {
101179
- /** @description Created */
101180
- 201: {
101065
+ /** @description OK */
101066
+ 200: {
101181
101067
  headers: {
101182
101068
  [name: string]: unknown;
101183
101069
  };
@@ -101203,9 +101089,18 @@ export interface operations {
101203
101089
  "application/json": components["schemas"]["MessageResponse"];
101204
101090
  };
101205
101091
  };
101092
+ /** @description Not Found */
101093
+ 404: {
101094
+ headers: {
101095
+ [name: string]: unknown;
101096
+ };
101097
+ content: {
101098
+ "application/json": components["schemas"]["MessageResponse"];
101099
+ };
101100
+ };
101206
101101
  };
101207
101102
  };
101208
- production_production_versions_views_get_production_version: {
101103
+ production_production_versions_views_delete_production_version_view: {
101209
101104
  parameters: {
101210
101105
  query?: never;
101211
101106
  header?: never;
@@ -101216,13 +101111,20 @@ export interface operations {
101216
101111
  };
101217
101112
  requestBody?: never;
101218
101113
  responses: {
101219
- /** @description OK */
101220
- 200: {
101114
+ /** @description No Content */
101115
+ 204: {
101116
+ headers: {
101117
+ [name: string]: unknown;
101118
+ };
101119
+ content?: never;
101120
+ };
101121
+ /** @description Bad Request */
101122
+ 400: {
101221
101123
  headers: {
101222
101124
  [name: string]: unknown;
101223
101125
  };
101224
101126
  content: {
101225
- "application/json": components["schemas"]["ProductionVersionDetailSchema"];
101127
+ "application/json": components["schemas"]["ErrorMessages"];
101226
101128
  };
101227
101129
  };
101228
101130
  /** @description Forbidden */
@@ -101245,7 +101147,7 @@ export interface operations {
101245
101147
  };
101246
101148
  };
101247
101149
  };
101248
- production_production_versions_views_update_production_version_view: {
101150
+ production_production_versions_views_cancel_production_version_view: {
101249
101151
  parameters: {
101250
101152
  query?: never;
101251
101153
  header?: never;
@@ -101254,11 +101156,7 @@ export interface operations {
101254
101156
  };
101255
101157
  cookie?: never;
101256
101158
  };
101257
- requestBody: {
101258
- content: {
101259
- "application/json": components["schemas"]["UpdateProductionVersionSchema"];
101260
- };
101261
- };
101159
+ requestBody?: never;
101262
101160
  responses: {
101263
101161
  /** @description OK */
101264
101162
  200: {
@@ -101298,7 +101196,7 @@ export interface operations {
101298
101196
  };
101299
101197
  };
101300
101198
  };
101301
- production_production_versions_views_delete_production_version_view: {
101199
+ production_production_versions_views_reset_production_version_to_draft_view: {
101302
101200
  parameters: {
101303
101201
  query?: never;
101304
101202
  header?: never;
@@ -101309,12 +101207,14 @@ export interface operations {
101309
101207
  };
101310
101208
  requestBody?: never;
101311
101209
  responses: {
101312
- /** @description No Content */
101313
- 204: {
101210
+ /** @description OK */
101211
+ 200: {
101314
101212
  headers: {
101315
101213
  [name: string]: unknown;
101316
101214
  };
101317
- content?: never;
101215
+ content: {
101216
+ "application/json": components["schemas"]["ProductionVersionResponseSchema"];
101217
+ };
101318
101218
  };
101319
101219
  /** @description Bad Request */
101320
101220
  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.2127",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": [