@ignos/api-client 20261009.301.1-alpha → 20261009.302.1

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.
@@ -3222,18 +3222,6 @@ export interface IMeasurementFormSchemasClient {
3222
3222
  getMeasurementFormSchema(id: string): Promise<MeasurementFormSchemaDto>;
3223
3223
  postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
3224
3224
  listFrequencies(): Promise<MeasurementFrequencyDto[]>;
3225
- /**
3226
- * Calculates +/- tolerance for an ISO fit designation (e.g. "12H7")
3227
- typed into a measurement's Nominal Text field. Used by both Schema
3228
- Creator and the legacy schema builder - it's a stateless, no-op
3229
- calculation with no data access, not tied to any specific schema
3230
- version or instance. Always returns 200 - the DTO's
3231
- IsValidDesignation/IsSupported flags carry invalid-input/
3232
- unsupported-tolerance-class feedback, since that's expected user
3233
- input, not a server error.
3234
- * @param designation (optional)
3235
- */
3236
- calculateFitTolerance(designation: string | undefined): Promise<FitToleranceResultDto>;
3237
3225
  }
3238
3226
  export declare class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
3239
3227
  private http;
@@ -3247,19 +3235,6 @@ export declare class MeasurementFormSchemasClient extends AuthorizedApiBase impl
3247
3235
  protected processPostListMeasurementFormSchemas(response: Response): Promise<PagedResultOfMeasurementFormListDto>;
3248
3236
  listFrequencies(): Promise<MeasurementFrequencyDto[]>;
3249
3237
  protected processListFrequencies(response: Response): Promise<MeasurementFrequencyDto[]>;
3250
- /**
3251
- * Calculates +/- tolerance for an ISO fit designation (e.g. "12H7")
3252
- typed into a measurement's Nominal Text field. Used by both Schema
3253
- Creator and the legacy schema builder - it's a stateless, no-op
3254
- calculation with no data access, not tied to any specific schema
3255
- version or instance. Always returns 200 - the DTO's
3256
- IsValidDesignation/IsSupported flags carry invalid-input/
3257
- unsupported-tolerance-class feedback, since that's expected user
3258
- input, not a server error.
3259
- * @param designation (optional)
3260
- */
3261
- calculateFitTolerance(designation: string | undefined): Promise<FitToleranceResultDto>;
3262
- protected processCalculateFitTolerance(response: Response): Promise<FitToleranceResultDto>;
3263
3238
  }
3264
3239
  export interface IMeasurementFormSettingsClient {
3265
3240
  getMeasurementFormSettings(): Promise<InspectCompanySettingsDto>;
@@ -7826,6 +7801,7 @@ export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
7826
7801
  export interface SetProgramStatus {
7827
7802
  workOrderId?: string;
7828
7803
  operationNumber?: number;
7804
+ resourceId?: string;
7829
7805
  status?: ProgramStatus;
7830
7806
  }
7831
7807
  export type ProductionOrderAttachmentType = "Url" | "Note" | "Image" | "File" | "OperationText";
@@ -10021,16 +9997,6 @@ export interface MeasurementFrequencyDto {
10021
9997
  id: number;
10022
9998
  name: string;
10023
9999
  }
10024
- export interface FitToleranceResultDto {
10025
- isValidDesignation?: boolean;
10026
- isSupported?: boolean;
10027
- nominalSizeMm?: number | null;
10028
- toleranceClassLetter?: string | null;
10029
- itGrade?: number | null;
10030
- tolerancePlusMm?: number | null;
10031
- toleranceMinusMm?: number | null;
10032
- message?: string | null;
10033
- }
10034
10000
  export interface MeasurementFormInstanceDto {
10035
10001
  id: string;
10036
10002
  readonly: boolean;
@@ -27350,57 +27350,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase {
27350
27350
  }
27351
27351
  return Promise.resolve(null);
27352
27352
  }
27353
- /**
27354
- * Calculates +/- tolerance for an ISO fit designation (e.g. "12H7")
27355
- typed into a measurement's Nominal Text field. Used by both Schema
27356
- Creator and the legacy schema builder - it's a stateless, no-op
27357
- calculation with no data access, not tied to any specific schema
27358
- version or instance. Always returns 200 - the DTO's
27359
- IsValidDesignation/IsSupported flags carry invalid-input/
27360
- unsupported-tolerance-class feedback, since that's expected user
27361
- input, not a server error.
27362
- * @param designation (optional)
27363
- */
27364
- calculateFitTolerance(designation) {
27365
- let url_ = this.baseUrl + "/measurementforms/schemas/fittolerance?";
27366
- if (designation === null)
27367
- throw new globalThis.Error("The parameter 'designation' cannot be null.");
27368
- else if (designation !== undefined)
27369
- url_ += "designation=" + encodeURIComponent("" + designation) + "&";
27370
- url_ = url_.replace(/[?&]$/, "");
27371
- let options_ = {
27372
- method: "GET",
27373
- headers: {
27374
- "Accept": "application/json"
27375
- }
27376
- };
27377
- return this.transformOptions(options_).then(transformedOptions_ => {
27378
- return this.http.fetch(url_, transformedOptions_);
27379
- }).then((_response) => {
27380
- return this.processCalculateFitTolerance(_response);
27381
- });
27382
- }
27383
- processCalculateFitTolerance(response) {
27384
- const status = response.status;
27385
- let _headers = {};
27386
- if (response.headers && response.headers.forEach) {
27387
- response.headers.forEach((v, k) => _headers[k] = v);
27388
- }
27389
- ;
27390
- if (status === 200) {
27391
- return response.text().then((_responseText) => {
27392
- let result200 = null;
27393
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
27394
- return result200;
27395
- });
27396
- }
27397
- else if (status !== 200 && status !== 204) {
27398
- return response.text().then((_responseText) => {
27399
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
27400
- });
27401
- }
27402
- return Promise.resolve(null);
27403
- }
27404
27353
  }
27405
27354
  export class MeasurementFormSettingsClient extends AuthorizedApiBase {
27406
27355
  http;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20261009.301.1-alpha",
3
+ "version": "20261009.302.1",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -28903,19 +28903,6 @@ export interface IMeasurementFormSchemasClient {
28903
28903
  postListMeasurementFormSchemas(request: ListMeasurementFormSchemasRequest | undefined): Promise<PagedResultOfMeasurementFormListDto>;
28904
28904
 
28905
28905
  listFrequencies(): Promise<MeasurementFrequencyDto[]>;
28906
-
28907
- /**
28908
- * Calculates +/- tolerance for an ISO fit designation (e.g. "12H7")
28909
- typed into a measurement's Nominal Text field. Used by both Schema
28910
- Creator and the legacy schema builder - it's a stateless, no-op
28911
- calculation with no data access, not tied to any specific schema
28912
- version or instance. Always returns 200 - the DTO's
28913
- IsValidDesignation/IsSupported flags carry invalid-input/
28914
- unsupported-tolerance-class feedback, since that's expected user
28915
- input, not a server error.
28916
- * @param designation (optional)
28917
- */
28918
- calculateFitTolerance(designation: string | undefined): Promise<FitToleranceResultDto>;
28919
28906
  }
28920
28907
 
28921
28908
  export class MeasurementFormSchemasClient extends AuthorizedApiBase implements IMeasurementFormSchemasClient {
@@ -29039,56 +29026,6 @@ export class MeasurementFormSchemasClient extends AuthorizedApiBase implements I
29039
29026
  }
29040
29027
  return Promise.resolve<MeasurementFrequencyDto[]>(null as any);
29041
29028
  }
29042
-
29043
- /**
29044
- * Calculates +/- tolerance for an ISO fit designation (e.g. "12H7")
29045
- typed into a measurement's Nominal Text field. Used by both Schema
29046
- Creator and the legacy schema builder - it's a stateless, no-op
29047
- calculation with no data access, not tied to any specific schema
29048
- version or instance. Always returns 200 - the DTO's
29049
- IsValidDesignation/IsSupported flags carry invalid-input/
29050
- unsupported-tolerance-class feedback, since that's expected user
29051
- input, not a server error.
29052
- * @param designation (optional)
29053
- */
29054
- calculateFitTolerance(designation: string | undefined): Promise<FitToleranceResultDto> {
29055
- let url_ = this.baseUrl + "/measurementforms/schemas/fittolerance?";
29056
- if (designation === null)
29057
- throw new globalThis.Error("The parameter 'designation' cannot be null.");
29058
- else if (designation !== undefined)
29059
- url_ += "designation=" + encodeURIComponent("" + designation) + "&";
29060
- url_ = url_.replace(/[?&]$/, "");
29061
-
29062
- let options_: RequestInit = {
29063
- method: "GET",
29064
- headers: {
29065
- "Accept": "application/json"
29066
- }
29067
- };
29068
-
29069
- return this.transformOptions(options_).then(transformedOptions_ => {
29070
- return this.http.fetch(url_, transformedOptions_);
29071
- }).then((_response: Response) => {
29072
- return this.processCalculateFitTolerance(_response);
29073
- });
29074
- }
29075
-
29076
- protected processCalculateFitTolerance(response: Response): Promise<FitToleranceResultDto> {
29077
- const status = response.status;
29078
- let _headers: any = {}; if (response.headers && response.headers.forEach) { response.headers.forEach((v: any, k: any) => _headers[k] = v); };
29079
- if (status === 200) {
29080
- return response.text().then((_responseText) => {
29081
- let result200: any = null;
29082
- result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver) as FitToleranceResultDto;
29083
- return result200;
29084
- });
29085
- } else if (status !== 200 && status !== 204) {
29086
- return response.text().then((_responseText) => {
29087
- return throwException("An unexpected server error occurred.", status, _responseText, _headers);
29088
- });
29089
- }
29090
- return Promise.resolve<FitToleranceResultDto>(null as any);
29091
- }
29092
29029
  }
29093
29030
 
29094
29031
  export interface IMeasurementFormSettingsClient {
@@ -37434,6 +37371,7 @@ export type PlannerEventType = "Published" | "DraftSaved" | "ResetToErp";
37434
37371
  export interface SetProgramStatus {
37435
37372
  workOrderId?: string;
37436
37373
  operationNumber?: number;
37374
+ resourceId?: string;
37437
37375
  status?: ProgramStatus;
37438
37376
  }
37439
37377
 
@@ -39892,17 +39830,6 @@ export interface MeasurementFrequencyDto {
39892
39830
  name: string;
39893
39831
  }
39894
39832
 
39895
- export interface FitToleranceResultDto {
39896
- isValidDesignation?: boolean;
39897
- isSupported?: boolean;
39898
- nominalSizeMm?: number | null;
39899
- toleranceClassLetter?: string | null;
39900
- itGrade?: number | null;
39901
- tolerancePlusMm?: number | null;
39902
- toleranceMinusMm?: number | null;
39903
- message?: string | null;
39904
- }
39905
-
39906
39833
  export interface MeasurementFormInstanceDto {
39907
39834
  id: string;
39908
39835
  readonly: boolean;