@ignos/api-client 20250924.0.12717 → 20251006.0.12769-alpha

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.
@@ -2120,6 +2120,7 @@ export interface IMeasurementFormSchemasClient {
2120
2120
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2121
2121
  updateMeasurementFormSchema(id: string, request: UpdateMeasurementFormSchemaRequest): Promise<MeasurementFormSchemaDto>;
2122
2122
  deleteMeasurementForm(id: string): Promise<void>;
2123
+ getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2123
2124
  copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto>;
2124
2125
  updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
2125
2126
  updateSchemaRow(id: string, request: UpdateSchemaGroupedElementRowDto): Promise<MeasurementFormSchemaDto>;
@@ -2203,6 +2204,8 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
2203
2204
  protected processUpdateMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto>;
2204
2205
  deleteMeasurementForm(id: string): Promise<void>;
2205
2206
  protected processDeleteMeasurementForm(response: Response): Promise<void>;
2207
+ getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
2208
+ protected processGetArchivedMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto>;
2206
2209
  copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto>;
2207
2210
  protected processCopyMeasurementFormSchema(response: Response): Promise<MeasurementFormDto>;
2208
2211
  updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
@@ -10680,6 +10683,7 @@ export declare class ProductionOrderOperationDto implements IProductionOrderOper
10680
10683
  quantity: number;
10681
10684
  startedQuantity?: number | null;
10682
10685
  ongoingQuantity?: number | null;
10686
+ earlierOperationsScrappedQuantity: number;
10683
10687
  availableToStartQuantity: number;
10684
10688
  workInstructions?: string | null;
10685
10689
  note?: string | null;
@@ -10717,6 +10721,7 @@ export interface IProductionOrderOperationDto {
10717
10721
  quantity: number;
10718
10722
  startedQuantity?: number | null;
10719
10723
  ongoingQuantity?: number | null;
10724
+ earlierOperationsScrappedQuantity: number;
10720
10725
  availableToStartQuantity: number;
10721
10726
  workInstructions?: string | null;
10722
10727
  note?: string | null;
@@ -11140,6 +11145,7 @@ export declare class ProductionScheduleOperationDto implements IProductionSchedu
11140
11145
  producedQuantity: number;
11141
11146
  scrappedQuantity: number;
11142
11147
  availableToStartQuantity: number;
11148
+ earlierOperationsScrappedQuantity: number;
11143
11149
  startedQuantity?: number | null;
11144
11150
  ongoingQuantity?: number | null;
11145
11151
  project?: WorkOrderProjectDto | null;
@@ -11194,6 +11200,7 @@ export interface IProductionScheduleOperationDto {
11194
11200
  producedQuantity: number;
11195
11201
  scrappedQuantity: number;
11196
11202
  availableToStartQuantity: number;
11203
+ earlierOperationsScrappedQuantity: number;
11197
11204
  startedQuantity?: number | null;
11198
11205
  ongoingQuantity?: number | null;
11199
11206
  project?: WorkOrderProjectDto | null;
@@ -17864,6 +17864,46 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
17864
17864
  }
17865
17865
  return Promise.resolve(null);
17866
17866
  }
17867
+ getArchivedMeasurementFormSchema(id) {
17868
+ let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
17869
+ if (id === undefined || id === null)
17870
+ throw new Error("The parameter 'id' must be defined.");
17871
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
17872
+ url_ = url_.replace(/[?&]$/, "");
17873
+ let options_ = {
17874
+ method: "GET",
17875
+ headers: {
17876
+ "Accept": "application/json"
17877
+ }
17878
+ };
17879
+ return this.transformOptions(options_).then(transformedOptions_ => {
17880
+ return this.http.fetch(url_, transformedOptions_);
17881
+ }).then((_response) => {
17882
+ return this.processGetArchivedMeasurementFormSchema(_response);
17883
+ });
17884
+ }
17885
+ processGetArchivedMeasurementFormSchema(response) {
17886
+ const status = response.status;
17887
+ let _headers = {};
17888
+ if (response.headers && response.headers.forEach) {
17889
+ response.headers.forEach((v, k) => _headers[k] = v);
17890
+ }
17891
+ ;
17892
+ if (status === 200) {
17893
+ return response.text().then((_responseText) => {
17894
+ let result200 = null;
17895
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
17896
+ result200 = MeasurementFormSchemaDto.fromJS(resultData200);
17897
+ return result200;
17898
+ });
17899
+ }
17900
+ else if (status !== 200 && status !== 204) {
17901
+ return response.text().then((_responseText) => {
17902
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
17903
+ });
17904
+ }
17905
+ return Promise.resolve(null);
17906
+ }
17867
17907
  copyMeasurementFormSchema(id, request) {
17868
17908
  let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
17869
17909
  if (id === undefined || id === null)
@@ -39727,6 +39767,7 @@ export class ProductionOrderOperationDto {
39727
39767
  this.quantity = _data["quantity"];
39728
39768
  this.startedQuantity = _data["startedQuantity"];
39729
39769
  this.ongoingQuantity = _data["ongoingQuantity"];
39770
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
39730
39771
  this.availableToStartQuantity = _data["availableToStartQuantity"];
39731
39772
  this.workInstructions = _data["workInstructions"];
39732
39773
  this.note = _data["note"];
@@ -39768,6 +39809,7 @@ export class ProductionOrderOperationDto {
39768
39809
  data["quantity"] = this.quantity;
39769
39810
  data["startedQuantity"] = this.startedQuantity;
39770
39811
  data["ongoingQuantity"] = this.ongoingQuantity;
39812
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
39771
39813
  data["availableToStartQuantity"] = this.availableToStartQuantity;
39772
39814
  data["workInstructions"] = this.workInstructions;
39773
39815
  data["note"] = this.note;
@@ -40571,6 +40613,7 @@ export class ProductionScheduleOperationDto {
40571
40613
  this.producedQuantity = _data["producedQuantity"];
40572
40614
  this.scrappedQuantity = _data["scrappedQuantity"];
40573
40615
  this.availableToStartQuantity = _data["availableToStartQuantity"];
40616
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
40574
40617
  this.startedQuantity = _data["startedQuantity"];
40575
40618
  this.ongoingQuantity = _data["ongoingQuantity"];
40576
40619
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : undefined;
@@ -40629,6 +40672,7 @@ export class ProductionScheduleOperationDto {
40629
40672
  data["producedQuantity"] = this.producedQuantity;
40630
40673
  data["scrappedQuantity"] = this.scrappedQuantity;
40631
40674
  data["availableToStartQuantity"] = this.availableToStartQuantity;
40675
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
40632
40676
  data["startedQuantity"] = this.startedQuantity;
40633
40677
  data["ongoingQuantity"] = this.ongoingQuantity;
40634
40678
  data["project"] = this.project ? this.project.toJSON() : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20250924.0.12717",
3
+ "version": "20251006.0.12769-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -18807,6 +18807,8 @@ export interface IMeasurementFormSchemasClient {
18807
18807
 
18808
18808
  deleteMeasurementForm(id: string): Promise<void>;
18809
18809
 
18810
+ getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
18811
+
18810
18812
  copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto>;
18811
18813
 
18812
18814
  updateSchemaGroupedElements(id: string, request: UpdateSchemaGroupedElementsRequest): Promise<MeasurementFormSchemaDto>;
@@ -19185,6 +19187,45 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
19185
19187
  return Promise.resolve<void>(null as any);
19186
19188
  }
19187
19189
 
19190
+ getArchivedMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto> {
19191
+ let url_ = this.baseUrl + "/measurementforms/schemas/archived/{id}";
19192
+ if (id === undefined || id === null)
19193
+ throw new Error("The parameter 'id' must be defined.");
19194
+ url_ = url_.replace("{id}", encodeURIComponent("" + id));
19195
+ url_ = url_.replace(/[?&]$/, "");
19196
+
19197
+ let options_: RequestInit = {
19198
+ method: "GET",
19199
+ headers: {
19200
+ "Accept": "application/json"
19201
+ }
19202
+ };
19203
+
19204
+ return this.transformOptions(options_).then(transformedOptions_ => {
19205
+ return this.http.fetch(url_, transformedOptions_);
19206
+ }).then((_response: Response) => {
19207
+ return this.processGetArchivedMeasurementFormSchema(_response);
19208
+ });
19209
+ }
19210
+
19211
+ protected processGetArchivedMeasurementFormSchema(response: Response): Promise<MeasurementFormSchemaDto> {
19212
+ const status = response.status;
19213
+ let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
19214
+ if (status === 200) {
19215
+ return response.text().then((_responseText) => {
19216
+ let result200: any = null;
19217
+ let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
19218
+ result200 = MeasurementFormSchemaDto.fromJS(resultData200);
19219
+ return result200;
19220
+ });
19221
+ } else if (status !== 200 && status !== 204) {
19222
+ return response.text().then((_responseText) => {
19223
+ return throwException("An unexpected server error occurred.", status, _responseText, _headers);
19224
+ });
19225
+ }
19226
+ return Promise.resolve<MeasurementFormSchemaDto>(null as any);
19227
+ }
19228
+
19188
19229
  copyMeasurementFormSchema(id: string, request: CopyMeasurementFormSchema): Promise<MeasurementFormDto> {
19189
19230
  let url_ = this.baseUrl + "/measurementforms/schemas/{id}/copy";
19190
19231
  if (id === undefined || id === null)
@@ -49157,6 +49198,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49157
49198
  quantity!: number;
49158
49199
  startedQuantity?: number | null;
49159
49200
  ongoingQuantity?: number | null;
49201
+ earlierOperationsScrappedQuantity!: number;
49160
49202
  availableToStartQuantity!: number;
49161
49203
  workInstructions?: string | null;
49162
49204
  note?: string | null;
@@ -49200,6 +49242,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49200
49242
  this.quantity = _data["quantity"];
49201
49243
  this.startedQuantity = _data["startedQuantity"];
49202
49244
  this.ongoingQuantity = _data["ongoingQuantity"];
49245
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
49203
49246
  this.availableToStartQuantity = _data["availableToStartQuantity"];
49204
49247
  this.workInstructions = _data["workInstructions"];
49205
49248
  this.note = _data["note"];
@@ -49243,6 +49286,7 @@ export class ProductionOrderOperationDto implements IProductionOrderOperationDto
49243
49286
  data["quantity"] = this.quantity;
49244
49287
  data["startedQuantity"] = this.startedQuantity;
49245
49288
  data["ongoingQuantity"] = this.ongoingQuantity;
49289
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
49246
49290
  data["availableToStartQuantity"] = this.availableToStartQuantity;
49247
49291
  data["workInstructions"] = this.workInstructions;
49248
49292
  data["note"] = this.note;
@@ -49279,6 +49323,7 @@ export interface IProductionOrderOperationDto {
49279
49323
  quantity: number;
49280
49324
  startedQuantity?: number | null;
49281
49325
  ongoingQuantity?: number | null;
49326
+ earlierOperationsScrappedQuantity: number;
49282
49327
  availableToStartQuantity: number;
49283
49328
  workInstructions?: string | null;
49284
49329
  note?: string | null;
@@ -50464,6 +50509,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
50464
50509
  producedQuantity!: number;
50465
50510
  scrappedQuantity!: number;
50466
50511
  availableToStartQuantity!: number;
50512
+ earlierOperationsScrappedQuantity!: number;
50467
50513
  startedQuantity?: number | null;
50468
50514
  ongoingQuantity?: number | null;
50469
50515
  project?: WorkOrderProjectDto | null;
@@ -50527,6 +50573,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
50527
50573
  this.producedQuantity = _data["producedQuantity"];
50528
50574
  this.scrappedQuantity = _data["scrappedQuantity"];
50529
50575
  this.availableToStartQuantity = _data["availableToStartQuantity"];
50576
+ this.earlierOperationsScrappedQuantity = _data["earlierOperationsScrappedQuantity"];
50530
50577
  this.startedQuantity = _data["startedQuantity"];
50531
50578
  this.ongoingQuantity = _data["ongoingQuantity"];
50532
50579
  this.project = _data["project"] ? WorkOrderProjectDto.fromJS(_data["project"]) : <any>undefined;
@@ -50587,6 +50634,7 @@ export class ProductionScheduleOperationDto implements IProductionScheduleOperat
50587
50634
  data["producedQuantity"] = this.producedQuantity;
50588
50635
  data["scrappedQuantity"] = this.scrappedQuantity;
50589
50636
  data["availableToStartQuantity"] = this.availableToStartQuantity;
50637
+ data["earlierOperationsScrappedQuantity"] = this.earlierOperationsScrappedQuantity;
50590
50638
  data["startedQuantity"] = this.startedQuantity;
50591
50639
  data["ongoingQuantity"] = this.ongoingQuantity;
50592
50640
  data["project"] = this.project ? this.project.toJSON() : <any>undefined;
@@ -50640,6 +50688,7 @@ export interface IProductionScheduleOperationDto {
50640
50688
  producedQuantity: number;
50641
50689
  scrappedQuantity: number;
50642
50690
  availableToStartQuantity: number;
50691
+ earlierOperationsScrappedQuantity: number;
50643
50692
  startedQuantity?: number | null;
50644
50693
  ongoingQuantity?: number | null;
50645
50694
  project?: WorkOrderProjectDto | null;