@ignos/api-client 20261019.312.1-alpha → 20261019.313.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.
- package/lib/ignosportal-api.d.ts +4 -6
- package/lib/ignosportal-api.js +2 -7
- package/package.json +1 -1
- package/src/ignosportal-api.ts +4 -10
package/lib/ignosportal-api.d.ts
CHANGED
|
@@ -2972,11 +2972,10 @@ export interface IInspectSchemaCreatorClient {
|
|
|
2972
2972
|
/**
|
|
2973
2973
|
* Starts an async snip resolve; the result is delivered through the
|
|
2974
2974
|
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
2975
|
-
held several elements.
|
|
2975
|
+
held several elements.
|
|
2976
2976
|
* @param image (optional)
|
|
2977
|
-
* @param reparse (optional)
|
|
2978
2977
|
*/
|
|
2979
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined
|
|
2978
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
2980
2979
|
}
|
|
2981
2980
|
export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
2982
2981
|
private http;
|
|
@@ -3023,11 +3022,10 @@ export declare class InspectSchemaCreatorClient extends AuthorizedApiBase implem
|
|
|
3023
3022
|
/**
|
|
3024
3023
|
* Starts an async snip resolve; the result is delivered through the
|
|
3025
3024
|
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
3026
|
-
held several elements.
|
|
3025
|
+
held several elements.
|
|
3027
3026
|
* @param image (optional)
|
|
3028
|
-
* @param reparse (optional)
|
|
3029
3027
|
*/
|
|
3030
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined
|
|
3028
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
3031
3029
|
protected processRequestSchemaCreatorSnipParse(response: Response): Promise<void>;
|
|
3032
3030
|
}
|
|
3033
3031
|
export interface IMeasurementFormSchemasAdminClient {
|
package/lib/ignosportal-api.js
CHANGED
|
@@ -25073,11 +25073,10 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25073
25073
|
/**
|
|
25074
25074
|
* Starts an async snip resolve; the result is delivered through the
|
|
25075
25075
|
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
25076
|
-
held several elements.
|
|
25076
|
+
held several elements.
|
|
25077
25077
|
* @param image (optional)
|
|
25078
|
-
* @param reparse (optional)
|
|
25079
25078
|
*/
|
|
25080
|
-
requestSchemaCreatorSnipParse(schemaVersionId, elementId, image
|
|
25079
|
+
requestSchemaCreatorSnipParse(schemaVersionId, elementId, image) {
|
|
25081
25080
|
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
25082
25081
|
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
25083
25082
|
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
@@ -25089,10 +25088,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
|
25089
25088
|
const content_ = new FormData();
|
|
25090
25089
|
if (image !== null && image !== undefined)
|
|
25091
25090
|
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());
|
|
25096
25091
|
let options_ = {
|
|
25097
25092
|
body: content_,
|
|
25098
25093
|
method: "POST",
|
package/package.json
CHANGED
package/src/ignosportal-api.ts
CHANGED
|
@@ -26315,11 +26315,10 @@ export interface IInspectSchemaCreatorClient {
|
|
|
26315
26315
|
/**
|
|
26316
26316
|
* Starts an async snip resolve; the result is delivered through the
|
|
26317
26317
|
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
26318
|
-
held several elements.
|
|
26318
|
+
held several elements.
|
|
26319
26319
|
* @param image (optional)
|
|
26320
|
-
* @param reparse (optional)
|
|
26321
26320
|
*/
|
|
26322
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined
|
|
26321
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void>;
|
|
26323
26322
|
}
|
|
26324
26323
|
|
|
26325
26324
|
export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IInspectSchemaCreatorClient {
|
|
@@ -26641,11 +26640,10 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26641
26640
|
/**
|
|
26642
26641
|
* Starts an async snip resolve; the result is delivered through the
|
|
26643
26642
|
SchemaCreatorSnipResolved SignalR notification, or SchemaCreatorRegionResolved when the snip
|
|
26644
|
-
held several elements.
|
|
26643
|
+
held several elements.
|
|
26645
26644
|
* @param image (optional)
|
|
26646
|
-
* @param reparse (optional)
|
|
26647
26645
|
*/
|
|
26648
|
-
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined
|
|
26646
|
+
requestSchemaCreatorSnipParse(schemaVersionId: string, elementId: string, image: FileParameter | null | undefined): Promise<void> {
|
|
26649
26647
|
let url_ = this.baseUrl + "/measurementforms/schemas/{schemaVersionId}/creatorstate/elements/{elementId}/parse-snip";
|
|
26650
26648
|
if (schemaVersionId === undefined || schemaVersionId === null)
|
|
26651
26649
|
throw new globalThis.Error("The parameter 'schemaVersionId' must be defined.");
|
|
@@ -26658,10 +26656,6 @@ export class InspectSchemaCreatorClient extends AuthorizedApiBase implements IIn
|
|
|
26658
26656
|
const content_ = new FormData();
|
|
26659
26657
|
if (image !== null && image !== undefined)
|
|
26660
26658
|
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());
|
|
26665
26659
|
|
|
26666
26660
|
let options_: RequestInit = {
|
|
26667
26661
|
body: content_,
|