@ignos/api-client 20261019.310.1-alpha → 20261019.312.1-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.
@@ -2971,10 +2971,12 @@ export interface IInspectSchemaCreatorClient {
2971
2971
  exportSchemaCreatorDrawing(schemaVersionId: string): Promise<DownloadDto>;
2972
2972
  /**
2973
2973
  * Starts an async snip resolve; the result is delivered through the
2974
- SchemaCreatorSnipResolved SignalR notification.
2974
+ SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
2975
+ held several elements. A reparse always resolves to the one element.
2975
2976
  * @param image (optional)
2977
+ * @param reparse (optional)
2976
2978
  */
2977
- requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
2979
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined, reparse: boolean | undefined): Promise<void>;
2978
2980
  }
2979
2981
  export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
2980
2982
  private http;
@@ -3020,10 +3022,12 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
3020
3022
  protected processExportSchemaCreatorDrawing(response: Response): Promise<DownloadDto>;
3021
3023
  /**
3022
3024
  * Starts an async snip resolve; the result is delivered through the
3023
- SchemaCreatorSnipResolved SignalR notification.
3025
+ SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
3026
+ held several elements. A reparse always resolves to the one element.
3024
3027
  * @param image (optional)
3028
+ * @param reparse (optional)
3025
3029
  */
3026
- requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
3030
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined, reparse: boolean | undefined): Promise<void>;
3027
3031
  protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
3028
3032
  }
3029
3033
  export interface IMeasurementFormSchemasAdminClient {
@@ -25072,10 +25072,12 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
25072
25072
  }
25073
25073
  /**
25074
25074
  * Starts an async snip resolve; the result is delivered through the
25075
- SchemaCreatorSnipResolved SignalR notification.
25075
+ SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
25076
+ held several elements. A reparse always resolves to the one element.
25076
25077
  * @param image (optional)
25078
+ * @param reparse (optional)
25077
25079
  */
25078
- requestSchemaCreatorSnipParse(schemaVersionId, elementId, image) {
25080
+ requestSchemaCreatorSnipParse(schemaVersionId, elementId, image, reparse) {
25079
25081
  let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
25080
25082
  if (schemaVersionId === undefined || schemaVersionId === null)
25081
25083
  throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
@@ -25087,6 +25089,10 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
25087
25089
  const content_ = new FormData();
25088
25090
  if (image !== null && image !== undefined)
25089
25091
  content_.append("image", image.data, image.fileName ? image.fileName : "image");
25092
+ if (reparse === null || reparse === undefined)
25093
+ throw new globalThis.Error("The parameter 'reparse' cannot be null.");
25094
+ else
25095
+ content_.append("reparse", reparse.toString());
25090
25096
  let options_ = {
25091
25097
  body: content_,
25092
25098
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ignos/api-client",
3
- "version": "20261019.310.1-alpha",
3
+ "version": "20261019.312.1-alpha",
4
4
  "description": "IGNOS API Client",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -26314,10 +26314,12 @@ export interface IInspectSchemaCreatorClient {
26314
26314
 
26315
26315
  /**
26316
26316
  * Starts an async snip resolve; the result is delivered through the
26317
- SchemaCreatorSnipResolved SignalR notification.
26317
+ SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
26318
+ held several elements. A reparse always resolves to the one element.
26318
26319
  * @param image (optional)
26320
+ * @param reparse (optional)
26319
26321
  */
26320
- requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
26322
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined, reparse: boolean | undefined): Promise<void>;
26321
26323
  }
26322
26324
 
26323
26325
  export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
@@ -26638,10 +26640,12 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
26638
26640
 
26639
26641
  /**
26640
26642
  * Starts an async snip resolve; the result is delivered through the
26641
- SchemaCreatorSnipResolved SignalR notification.
26643
+ SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
26644
+ held several elements. A reparse always resolves to the one element.
26642
26645
  * @param image (optional)
26646
+ * @param reparse (optional)
26643
26647
  */
26644
- requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
26648
+ requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined, reparse: boolean | undefined): Promise<void> {
26645
26649
  let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
26646
26650
  if (schemaVersionId === undefined || schemaVersionId === null)
26647
26651
  throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
@@ -26654,6 +26658,10 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
26654
26658
  const content_ = new FormData();
26655
26659
  if (image !== null && image !== undefined)
26656
26660
  content_.append("image", image.data, image.fileName ? image.fileName : "image");
26661
+ if (reparse === null || reparse === undefined)
26662
+ throw new globalThis.Error("The parameter 'reparse' cannot be null.");
26663
+ else
26664
+ content_.append("reparse", reparse.toString());
26657
26665
 
26658
26666
  let options_: RequestInit = {
26659
26667
  body: content_,