@ignos/api-client 20260810.211.1-alpha → 20260810.212.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 +243 -62
- package/lib/ignosportal-api.js +276 -56
- package/package.json +1 -1
- package/src/ignosportal-api.ts +516 -123
package/lib/ignosportal-api.js
CHANGED
|
@@ -21046,7 +21046,9 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21046
21046
|
let options_ = {
|
|
21047
21047
|
body: content_,
|
|
21048
21048
|
method: "POST",
|
|
21049
|
-
headers: {
|
|
21049
|
+
headers: {
|
|
21050
|
+
"Accept": "application/octet-stream"
|
|
21051
|
+
}
|
|
21050
21052
|
};
|
|
21051
21053
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21052
21054
|
return this.http.fetch(url_, transformedOptions_);
|
|
@@ -21061,10 +21063,18 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21061
21063
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21062
21064
|
}
|
|
21063
21065
|
;
|
|
21064
|
-
if (status ===
|
|
21065
|
-
|
|
21066
|
-
|
|
21067
|
-
|
|
21066
|
+
if (status === 200 || status === 206) {
|
|
21067
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
21068
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
21069
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
21070
|
+
if (fileName) {
|
|
21071
|
+
fileName = decodeURIComponent(fileName);
|
|
21072
|
+
}
|
|
21073
|
+
else {
|
|
21074
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
21075
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
21076
|
+
}
|
|
21077
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
21068
21078
|
}
|
|
21069
21079
|
else if (status !== 200 && status !== 204) {
|
|
21070
21080
|
return response.text().then((_responseText) => {
|
|
@@ -21112,51 +21122,6 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21112
21122
|
}
|
|
21113
21123
|
return Promise.resolve(null);
|
|
21114
21124
|
}
|
|
21115
|
-
/**
|
|
21116
|
-
* Update an existing Note or Url attachment in place
|
|
21117
|
-
*/
|
|
21118
|
-
updateAttachment(id, attachmentId, request) {
|
|
21119
|
-
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
21120
|
-
if (id === undefined || id === null)
|
|
21121
|
-
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
21122
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
21123
|
-
if (attachmentId === undefined || attachmentId === null)
|
|
21124
|
-
throw new globalThis.Error("The parameter 'attachmentId' must be defined.");
|
|
21125
|
-
url_ = url_.replace("{attachmentId}", encodeURIComponent("" + attachmentId));
|
|
21126
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
21127
|
-
const content_ = JSON.stringify(request);
|
|
21128
|
-
let options_ = {
|
|
21129
|
-
body: content_,
|
|
21130
|
-
method: "PUT",
|
|
21131
|
-
headers: {
|
|
21132
|
-
"Content-Type": "application/json",
|
|
21133
|
-
}
|
|
21134
|
-
};
|
|
21135
|
-
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21136
|
-
return this.http.fetch(url_, transformedOptions_);
|
|
21137
|
-
}).then((_response) => {
|
|
21138
|
-
return this.processUpdateAttachment(_response);
|
|
21139
|
-
});
|
|
21140
|
-
}
|
|
21141
|
-
processUpdateAttachment(response) {
|
|
21142
|
-
const status = response.status;
|
|
21143
|
-
let _headers = {};
|
|
21144
|
-
if (response.headers && response.headers.forEach) {
|
|
21145
|
-
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21146
|
-
}
|
|
21147
|
-
;
|
|
21148
|
-
if (status === 204) {
|
|
21149
|
-
return response.text().then((_responseText) => {
|
|
21150
|
-
return;
|
|
21151
|
-
});
|
|
21152
|
-
}
|
|
21153
|
-
else if (status !== 200 && status !== 204) {
|
|
21154
|
-
return response.text().then((_responseText) => {
|
|
21155
|
-
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
21156
|
-
});
|
|
21157
|
-
}
|
|
21158
|
-
return Promise.resolve(null);
|
|
21159
|
-
}
|
|
21160
21125
|
getAttachmentFile(id, attachmentId) {
|
|
21161
21126
|
let url_ = this.baseUrl + "/mes/productionorders/{id}/attachments/{attachmentId}";
|
|
21162
21127
|
if (id === undefined || id === null)
|
|
@@ -21216,7 +21181,9 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21216
21181
|
url_ = url_.replace(/[?&]$/, "");
|
|
21217
21182
|
let options_ = {
|
|
21218
21183
|
method: "DELETE",
|
|
21219
|
-
headers: {
|
|
21184
|
+
headers: {
|
|
21185
|
+
"Accept": "application/octet-stream"
|
|
21186
|
+
}
|
|
21220
21187
|
};
|
|
21221
21188
|
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
21222
21189
|
return this.http.fetch(url_, transformedOptions_);
|
|
@@ -21231,10 +21198,18 @@ export class MesProductionOrderAttachmentClient extends AuthorizedApiBase {
|
|
|
21231
21198
|
response.headers.forEach((v, k) => _headers[k] = v);
|
|
21232
21199
|
}
|
|
21233
21200
|
;
|
|
21234
|
-
if (status ===
|
|
21235
|
-
|
|
21236
|
-
|
|
21237
|
-
|
|
21201
|
+
if (status === 200 || status === 206) {
|
|
21202
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
21203
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
21204
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
21205
|
+
if (fileName) {
|
|
21206
|
+
fileName = decodeURIComponent(fileName);
|
|
21207
|
+
}
|
|
21208
|
+
else {
|
|
21209
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
21210
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
21211
|
+
}
|
|
21212
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
21238
21213
|
}
|
|
21239
21214
|
else if (status !== 200 && status !== 204) {
|
|
21240
21215
|
return response.text().then((_responseText) => {
|
|
@@ -21626,7 +21601,7 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21626
21601
|
this.http = http ? http : window;
|
|
21627
21602
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
21628
21603
|
}
|
|
21629
|
-
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material) {
|
|
21604
|
+
listProductionScheduleOperations(resourceGroup, resourceId, departmentNumber, pageSize, continuationToken, workOrderId, projectId, partNumber, partName, material, includeDiscussionSummary) {
|
|
21630
21605
|
let url_ = this.baseUrl + "/mes/productionschedule?";
|
|
21631
21606
|
if (resourceGroup !== undefined && resourceGroup !== null)
|
|
21632
21607
|
url_ += "resourceGroup=" + encodeURIComponent("" + resourceGroup) + "&";
|
|
@@ -21650,6 +21625,10 @@ export class MesProductionScheduleClient extends AuthorizedApiBase {
|
|
|
21650
21625
|
url_ += "partName=" + encodeURIComponent("" + partName) + "&";
|
|
21651
21626
|
if (material !== undefined && material !== null)
|
|
21652
21627
|
url_ += "material=" + encodeURIComponent("" + material) + "&";
|
|
21628
|
+
if (includeDiscussionSummary === null)
|
|
21629
|
+
throw new globalThis.Error("The parameter 'includeDiscussionSummary' cannot be null.");
|
|
21630
|
+
else if (includeDiscussionSummary !== undefined)
|
|
21631
|
+
url_ += "includeDiscussionSummary=" + encodeURIComponent("" + includeDiscussionSummary) + "&";
|
|
21653
21632
|
url_ = url_.replace(/[?&]$/, "");
|
|
21654
21633
|
let options_ = {
|
|
21655
21634
|
method: "GET",
|
|
@@ -23693,6 +23672,247 @@ export class InspectMatchSpecificationsClient extends AuthorizedApiBase {
|
|
|
23693
23672
|
return Promise.resolve(null);
|
|
23694
23673
|
}
|
|
23695
23674
|
}
|
|
23675
|
+
export class InspectSchemaCreatorClient extends AuthorizedApiBase {
|
|
23676
|
+
constructor(configuration, baseUrl, http) {
|
|
23677
|
+
super(configuration);
|
|
23678
|
+
this.http = http ? http : window;
|
|
23679
|
+
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "";
|
|
23680
|
+
}
|
|
23681
|
+
getSchemaCreatorState(id) {
|
|
23682
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23683
|
+
if (id === undefined || id === null)
|
|
23684
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23685
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23686
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23687
|
+
let options_ = {
|
|
23688
|
+
method: "GET",
|
|
23689
|
+
headers: {
|
|
23690
|
+
"Accept": "application/json"
|
|
23691
|
+
}
|
|
23692
|
+
};
|
|
23693
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23694
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23695
|
+
}).then((_response) => {
|
|
23696
|
+
return this.processGetSchemaCreatorState(_response);
|
|
23697
|
+
});
|
|
23698
|
+
}
|
|
23699
|
+
processGetSchemaCreatorState(response) {
|
|
23700
|
+
const status = response.status;
|
|
23701
|
+
let _headers = {};
|
|
23702
|
+
if (response.headers && response.headers.forEach) {
|
|
23703
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23704
|
+
}
|
|
23705
|
+
;
|
|
23706
|
+
if (status === 200) {
|
|
23707
|
+
return response.text().then((_responseText) => {
|
|
23708
|
+
let result200 = null;
|
|
23709
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23710
|
+
return result200;
|
|
23711
|
+
});
|
|
23712
|
+
}
|
|
23713
|
+
else if (status !== 200 && status !== 204) {
|
|
23714
|
+
return response.text().then((_responseText) => {
|
|
23715
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23716
|
+
});
|
|
23717
|
+
}
|
|
23718
|
+
return Promise.resolve(null);
|
|
23719
|
+
}
|
|
23720
|
+
/**
|
|
23721
|
+
* Creates the initial creator state for a schema version. Returns 409 if
|
|
23722
|
+
state already exists; the caller should re-fetch it instead of writing.
|
|
23723
|
+
*/
|
|
23724
|
+
createSchemaCreatorState(id, state) {
|
|
23725
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23726
|
+
if (id === undefined || id === null)
|
|
23727
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23728
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23729
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23730
|
+
const content_ = JSON.stringify(state);
|
|
23731
|
+
let options_ = {
|
|
23732
|
+
body: content_,
|
|
23733
|
+
method: "POST",
|
|
23734
|
+
headers: {
|
|
23735
|
+
"Content-Type": "application/json",
|
|
23736
|
+
"Accept": "application/json"
|
|
23737
|
+
}
|
|
23738
|
+
};
|
|
23739
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23740
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23741
|
+
}).then((_response) => {
|
|
23742
|
+
return this.processCreateSchemaCreatorState(_response);
|
|
23743
|
+
});
|
|
23744
|
+
}
|
|
23745
|
+
processCreateSchemaCreatorState(response) {
|
|
23746
|
+
const status = response.status;
|
|
23747
|
+
let _headers = {};
|
|
23748
|
+
if (response.headers && response.headers.forEach) {
|
|
23749
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23750
|
+
}
|
|
23751
|
+
;
|
|
23752
|
+
if (status === 201) {
|
|
23753
|
+
return response.text().then((_responseText) => {
|
|
23754
|
+
let result201 = null;
|
|
23755
|
+
result201 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23756
|
+
return result201;
|
|
23757
|
+
});
|
|
23758
|
+
}
|
|
23759
|
+
else if (status === 409) {
|
|
23760
|
+
return response.text().then((_responseText) => {
|
|
23761
|
+
let result409 = null;
|
|
23762
|
+
result409 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23763
|
+
return throwException("A server side error occurred.", status, _responseText, _headers, result409);
|
|
23764
|
+
});
|
|
23765
|
+
}
|
|
23766
|
+
else if (status !== 200 && status !== 204) {
|
|
23767
|
+
return response.text().then((_responseText) => {
|
|
23768
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23769
|
+
});
|
|
23770
|
+
}
|
|
23771
|
+
return Promise.resolve(null);
|
|
23772
|
+
}
|
|
23773
|
+
updateSchemaCreatorState(id, state) {
|
|
23774
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate";
|
|
23775
|
+
if (id === undefined || id === null)
|
|
23776
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23777
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23778
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23779
|
+
const content_ = JSON.stringify(state);
|
|
23780
|
+
let options_ = {
|
|
23781
|
+
body: content_,
|
|
23782
|
+
method: "PUT",
|
|
23783
|
+
headers: {
|
|
23784
|
+
"Content-Type": "application/json",
|
|
23785
|
+
"Accept": "application/json"
|
|
23786
|
+
}
|
|
23787
|
+
};
|
|
23788
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23789
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23790
|
+
}).then((_response) => {
|
|
23791
|
+
return this.processUpdateSchemaCreatorState(_response);
|
|
23792
|
+
});
|
|
23793
|
+
}
|
|
23794
|
+
processUpdateSchemaCreatorState(response) {
|
|
23795
|
+
const status = response.status;
|
|
23796
|
+
let _headers = {};
|
|
23797
|
+
if (response.headers && response.headers.forEach) {
|
|
23798
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23799
|
+
}
|
|
23800
|
+
;
|
|
23801
|
+
if (status === 200) {
|
|
23802
|
+
return response.text().then((_responseText) => {
|
|
23803
|
+
let result200 = null;
|
|
23804
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23805
|
+
return result200;
|
|
23806
|
+
});
|
|
23807
|
+
}
|
|
23808
|
+
else if (status !== 200 && status !== 204) {
|
|
23809
|
+
return response.text().then((_responseText) => {
|
|
23810
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23811
|
+
});
|
|
23812
|
+
}
|
|
23813
|
+
return Promise.resolve(null);
|
|
23814
|
+
}
|
|
23815
|
+
/**
|
|
23816
|
+
* Stamps the creator state's balloons onto the schema's drawing PDF and
|
|
23817
|
+
returns a temporary download link.
|
|
23818
|
+
*/
|
|
23819
|
+
exportSchemaCreatorDrawing(id) {
|
|
23820
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/download";
|
|
23821
|
+
if (id === undefined || id === null)
|
|
23822
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23823
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23824
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23825
|
+
let options_ = {
|
|
23826
|
+
method: "POST",
|
|
23827
|
+
headers: {
|
|
23828
|
+
"Accept": "application/json"
|
|
23829
|
+
}
|
|
23830
|
+
};
|
|
23831
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23832
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23833
|
+
}).then((_response) => {
|
|
23834
|
+
return this.processExportSchemaCreatorDrawing(_response);
|
|
23835
|
+
});
|
|
23836
|
+
}
|
|
23837
|
+
processExportSchemaCreatorDrawing(response) {
|
|
23838
|
+
const status = response.status;
|
|
23839
|
+
let _headers = {};
|
|
23840
|
+
if (response.headers && response.headers.forEach) {
|
|
23841
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23842
|
+
}
|
|
23843
|
+
;
|
|
23844
|
+
if (status === 200) {
|
|
23845
|
+
return response.text().then((_responseText) => {
|
|
23846
|
+
let result200 = null;
|
|
23847
|
+
result200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23848
|
+
return result200;
|
|
23849
|
+
});
|
|
23850
|
+
}
|
|
23851
|
+
else if (status !== 200 && status !== 204) {
|
|
23852
|
+
return response.text().then((_responseText) => {
|
|
23853
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23854
|
+
});
|
|
23855
|
+
}
|
|
23856
|
+
return Promise.resolve(null);
|
|
23857
|
+
}
|
|
23858
|
+
/**
|
|
23859
|
+
* Starts an async snip resolve; the result is delivered through the
|
|
23860
|
+
SchemaCreatorSnipResolved SignalR notification.
|
|
23861
|
+
* @param image (optional)
|
|
23862
|
+
*/
|
|
23863
|
+
resolveSchemaCreatorSnip(id, elementId, image) {
|
|
23864
|
+
let url_ = this.baseUrl + "/measurementforms/schemas/{id}/creatorstate/elements/{elementId}/resolvesnip";
|
|
23865
|
+
if (id === undefined || id === null)
|
|
23866
|
+
throw new globalThis.Error("The parameter 'id' must be defined.");
|
|
23867
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23868
|
+
if (elementId === undefined || elementId === null)
|
|
23869
|
+
throw new globalThis.Error("The parameter 'elementId' must be defined.");
|
|
23870
|
+
url_ = url_.replace("{elementId}", encodeURIComponent("" + elementId));
|
|
23871
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
23872
|
+
const content_ = new FormData();
|
|
23873
|
+
if (image !== null && image !== undefined)
|
|
23874
|
+
content_.append("image", image.data, image.fileName ? image.fileName : "image");
|
|
23875
|
+
let options_ = {
|
|
23876
|
+
body: content_,
|
|
23877
|
+
method: "POST",
|
|
23878
|
+
headers: {
|
|
23879
|
+
"Accept": "application/octet-stream"
|
|
23880
|
+
}
|
|
23881
|
+
};
|
|
23882
|
+
return this.transformOptions(options_).then(transformedOptions_ => {
|
|
23883
|
+
return this.http.fetch(url_, transformedOptions_);
|
|
23884
|
+
}).then((_response) => {
|
|
23885
|
+
return this.processResolveSchemaCreatorSnip(_response);
|
|
23886
|
+
});
|
|
23887
|
+
}
|
|
23888
|
+
processResolveSchemaCreatorSnip(response) {
|
|
23889
|
+
const status = response.status;
|
|
23890
|
+
let _headers = {};
|
|
23891
|
+
if (response.headers && response.headers.forEach) {
|
|
23892
|
+
response.headers.forEach((v, k) => _headers[k] = v);
|
|
23893
|
+
}
|
|
23894
|
+
;
|
|
23895
|
+
if (status === 200 || status === 206) {
|
|
23896
|
+
const contentDisposition = response.headers ? response.headers.get("content-disposition") : undefined;
|
|
23897
|
+
let fileNameMatch = contentDisposition ? /filename\*=(?:(\\?['"])(.*?)\1|(?:[^\s]+'.*?')?([^;\n]*))/g.exec(contentDisposition) : undefined;
|
|
23898
|
+
let fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[3] || fileNameMatch[2] : undefined;
|
|
23899
|
+
if (fileName) {
|
|
23900
|
+
fileName = decodeURIComponent(fileName);
|
|
23901
|
+
}
|
|
23902
|
+
else {
|
|
23903
|
+
fileNameMatch = contentDisposition ? /filename="?([^"]*?)"?(;|$)/g.exec(contentDisposition) : undefined;
|
|
23904
|
+
fileName = fileNameMatch && fileNameMatch.length > 1 ? fileNameMatch[1] : undefined;
|
|
23905
|
+
}
|
|
23906
|
+
return response.blob().then(blob => { return { fileName: fileName, data: blob, status: status, headers: _headers }; });
|
|
23907
|
+
}
|
|
23908
|
+
else if (status !== 200 && status !== 204) {
|
|
23909
|
+
return response.text().then((_responseText) => {
|
|
23910
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
23911
|
+
});
|
|
23912
|
+
}
|
|
23913
|
+
return Promise.resolve(null);
|
|
23914
|
+
}
|
|
23915
|
+
}
|
|
23696
23916
|
export class MeasurementFormSchemasAdminClient extends AuthorizedApiBase {
|
|
23697
23917
|
constructor(configuration, baseUrl, http) {
|
|
23698
23918
|
super(configuration);
|