@kommerz/ts-client 1.138.5 → 1.140.0
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/dist/apis/AcceptanceDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptanceDocumentsApi.js +267 -0
- package/dist/apis/AcceptancePortalDocumentsApi.d.ts +64 -0
- package/dist/apis/AcceptancePortalDocumentsApi.js +266 -0
- package/dist/apis/OffersApi.d.ts +13 -1
- package/dist/apis/OffersApi.js +49 -0
- package/dist/apis/TagRelationsApi.d.ts +63 -0
- package/dist/apis/TagRelationsApi.js +264 -0
- package/dist/apis/TagsApi.d.ts +86 -0
- package/dist/apis/TagsApi.js +357 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/index.d.ts +3 -4
- package/dist/index.js +0 -1
- package/dist/models/AcceptDto.d.ts +54 -0
- package/dist/models/AcceptDto.js +58 -0
- package/dist/models/AcceptanceDocumentDto.d.ts +115 -0
- package/dist/models/AcceptanceDocumentDto.js +90 -0
- package/dist/models/AcceptanceDocumentLogEntry.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntry.js +56 -0
- package/dist/models/AcceptanceDocumentLogEntryData.d.ts +43 -0
- package/dist/models/AcceptanceDocumentLogEntryData.js +57 -0
- package/dist/models/AcceptanceDocumentSenderInfo.d.ts +36 -0
- package/dist/models/AcceptanceDocumentSenderInfo.js +52 -0
- package/dist/models/AcceptancePortalAcceptDto.d.ts +54 -0
- package/dist/models/AcceptancePortalAcceptDto.js +58 -0
- package/dist/models/AcceptancePortalShareConfigDto.d.ts +72 -0
- package/dist/models/AcceptancePortalShareConfigDto.js +63 -0
- package/dist/models/CreateTagRelationsDto.d.ts +48 -0
- package/dist/models/CreateTagRelationsDto.js +57 -0
- package/dist/models/DesignTemplateContextVersion.d.ts +21 -0
- package/dist/models/DesignTemplateContextVersion.js +34 -0
- package/dist/models/DesignTemplateDto.d.ts +7 -0
- package/dist/models/DesignTemplateDto.js +3 -0
- package/dist/models/DesignTemplateType.d.ts +1 -0
- package/dist/models/DesignTemplateType.js +1 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +2 -1
- package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +49 -0
- package/dist/models/GetAllAcceptanceDocuments200Response.js +59 -0
- package/dist/models/GetAllTags200Response.d.ts +49 -0
- package/dist/models/GetAllTags200Response.js +59 -0
- package/dist/models/LogDto.d.ts +36 -0
- package/dist/models/LogDto.js +52 -0
- package/dist/models/OfferRendererDto.d.ts +82 -0
- package/dist/models/OfferRendererDto.js +69 -0
- package/dist/models/SenderInfoDto.d.ts +36 -0
- package/dist/models/SenderInfoDto.js +52 -0
- package/dist/models/ShareConfigDto.d.ts +72 -0
- package/dist/models/ShareConfigDto.js +63 -0
- package/dist/models/TagDto.d.ts +48 -0
- package/dist/models/TagDto.js +57 -0
- package/dist/models/TagRelationDto.d.ts +42 -0
- package/dist/models/TagRelationDto.js +55 -0
- package/dist/models/UsageMetricType.d.ts +31 -0
- package/dist/models/UsageMetricType.js +44 -0
- package/dist/models/UsageMonitorDto.d.ts +3 -18
- package/dist/models/UsageMonitorDto.js +4 -18
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import * as runtime from '../runtime';
|
|
12
|
+
import type { AcceptanceDocumentDto, ColamdaPageable, GetAllAcceptanceDocuments200Response } from '../models/index';
|
|
13
|
+
export interface DeleteAcceptanceDocumentRequest {
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetAcceptanceDocumentRequest {
|
|
17
|
+
id: string;
|
|
18
|
+
}
|
|
19
|
+
export interface GetAllAcceptanceDocumentsRequest {
|
|
20
|
+
pageable: ColamdaPageable;
|
|
21
|
+
filter?: Array<string>;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateAcceptanceDocumentRequest {
|
|
24
|
+
id: string;
|
|
25
|
+
acceptanceDocumentDto: AcceptanceDocumentDto;
|
|
26
|
+
force?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class AcceptanceDocumentsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* delete one acceptance document
|
|
34
|
+
*/
|
|
35
|
+
deleteAcceptanceDocumentRaw(requestParameters: DeleteAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
36
|
+
/**
|
|
37
|
+
* delete one acceptance document
|
|
38
|
+
*/
|
|
39
|
+
deleteAcceptanceDocument(requestParameters: DeleteAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
40
|
+
/**
|
|
41
|
+
* read one acceptance document
|
|
42
|
+
*/
|
|
43
|
+
getAcceptanceDocumentRaw(requestParameters: GetAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AcceptanceDocumentDto>>;
|
|
44
|
+
/**
|
|
45
|
+
* read one acceptance document
|
|
46
|
+
*/
|
|
47
|
+
getAcceptanceDocument(requestParameters: GetAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AcceptanceDocumentDto>;
|
|
48
|
+
/**
|
|
49
|
+
* get all acceptance documents
|
|
50
|
+
*/
|
|
51
|
+
getAllAcceptanceDocumentsRaw(requestParameters: GetAllAcceptanceDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllAcceptanceDocuments200Response>>;
|
|
52
|
+
/**
|
|
53
|
+
* get all acceptance documents
|
|
54
|
+
*/
|
|
55
|
+
getAllAcceptanceDocuments(requestParameters: GetAllAcceptanceDocumentsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAcceptanceDocuments200Response>;
|
|
56
|
+
/**
|
|
57
|
+
* update one acceptance document
|
|
58
|
+
*/
|
|
59
|
+
updateAcceptanceDocumentRaw(requestParameters: UpdateAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AcceptanceDocumentDto>>;
|
|
60
|
+
/**
|
|
61
|
+
* update one acceptance document
|
|
62
|
+
*/
|
|
63
|
+
updateAcceptanceDocument(requestParameters: UpdateAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AcceptanceDocumentDto>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
40
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
+
function step(op) {
|
|
43
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
+
switch (op[0]) {
|
|
48
|
+
case 0: case 1: t = op; break;
|
|
49
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
+
default:
|
|
53
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
+
if (t[2]) _.ops.pop();
|
|
58
|
+
_.trys.pop(); continue;
|
|
59
|
+
}
|
|
60
|
+
op = body.call(thisArg, _);
|
|
61
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.AcceptanceDocumentsApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var AcceptanceDocumentsApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(AcceptanceDocumentsApi, _super);
|
|
74
|
+
function AcceptanceDocumentsApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* delete one acceptance document
|
|
79
|
+
*/
|
|
80
|
+
AcceptanceDocumentsApi.prototype.deleteAcceptanceDocumentRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
87
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deleteAcceptanceDocument.');
|
|
88
|
+
}
|
|
89
|
+
queryParameters = {};
|
|
90
|
+
headerParameters = {};
|
|
91
|
+
return [4 /*yield*/, this.request({
|
|
92
|
+
path: "/ui/acceptance-documents/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
93
|
+
method: 'DELETE',
|
|
94
|
+
headers: headerParameters,
|
|
95
|
+
query: queryParameters,
|
|
96
|
+
}, initOverrides)];
|
|
97
|
+
case 1:
|
|
98
|
+
response = _a.sent();
|
|
99
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* delete one acceptance document
|
|
106
|
+
*/
|
|
107
|
+
AcceptanceDocumentsApi.prototype.deleteAcceptanceDocument = function (requestParameters, initOverrides) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
109
|
+
return __generator(this, function (_a) {
|
|
110
|
+
switch (_a.label) {
|
|
111
|
+
case 0: return [4 /*yield*/, this.deleteAcceptanceDocumentRaw(requestParameters, initOverrides)];
|
|
112
|
+
case 1:
|
|
113
|
+
_a.sent();
|
|
114
|
+
return [2 /*return*/];
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* read one acceptance document
|
|
121
|
+
*/
|
|
122
|
+
AcceptanceDocumentsApi.prototype.getAcceptanceDocumentRaw = function (requestParameters, initOverrides) {
|
|
123
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
124
|
+
var queryParameters, headerParameters, response;
|
|
125
|
+
return __generator(this, function (_a) {
|
|
126
|
+
switch (_a.label) {
|
|
127
|
+
case 0:
|
|
128
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
129
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling getAcceptanceDocument.');
|
|
130
|
+
}
|
|
131
|
+
queryParameters = {};
|
|
132
|
+
headerParameters = {};
|
|
133
|
+
return [4 /*yield*/, this.request({
|
|
134
|
+
path: "/ui/acceptance-documents/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
135
|
+
method: 'GET',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
}, initOverrides)];
|
|
139
|
+
case 1:
|
|
140
|
+
response = _a.sent();
|
|
141
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AcceptanceDocumentDtoFromJSON)(jsonValue); })];
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
});
|
|
145
|
+
};
|
|
146
|
+
/**
|
|
147
|
+
* read one acceptance document
|
|
148
|
+
*/
|
|
149
|
+
AcceptanceDocumentsApi.prototype.getAcceptanceDocument = function (requestParameters, initOverrides) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
151
|
+
var response;
|
|
152
|
+
return __generator(this, function (_a) {
|
|
153
|
+
switch (_a.label) {
|
|
154
|
+
case 0: return [4 /*yield*/, this.getAcceptanceDocumentRaw(requestParameters, initOverrides)];
|
|
155
|
+
case 1:
|
|
156
|
+
response = _a.sent();
|
|
157
|
+
return [4 /*yield*/, response.value()];
|
|
158
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
});
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* get all acceptance documents
|
|
165
|
+
*/
|
|
166
|
+
AcceptanceDocumentsApi.prototype.getAllAcceptanceDocumentsRaw = function (requestParameters, initOverrides) {
|
|
167
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
168
|
+
var queryParameters, headerParameters, response;
|
|
169
|
+
return __generator(this, function (_a) {
|
|
170
|
+
switch (_a.label) {
|
|
171
|
+
case 0:
|
|
172
|
+
if (requestParameters.pageable === null || requestParameters.pageable === undefined) {
|
|
173
|
+
throw new runtime.RequiredError('pageable', 'Required parameter requestParameters.pageable was null or undefined when calling getAllAcceptanceDocuments.');
|
|
174
|
+
}
|
|
175
|
+
queryParameters = {};
|
|
176
|
+
if (requestParameters.pageable !== undefined) {
|
|
177
|
+
queryParameters['pageable'] = requestParameters.pageable;
|
|
178
|
+
}
|
|
179
|
+
if (requestParameters.filter) {
|
|
180
|
+
queryParameters['filter'] = requestParameters.filter;
|
|
181
|
+
}
|
|
182
|
+
headerParameters = {};
|
|
183
|
+
return [4 /*yield*/, this.request({
|
|
184
|
+
path: "/ui/acceptance-documents/v1",
|
|
185
|
+
method: 'GET',
|
|
186
|
+
headers: headerParameters,
|
|
187
|
+
query: queryParameters,
|
|
188
|
+
}, initOverrides)];
|
|
189
|
+
case 1:
|
|
190
|
+
response = _a.sent();
|
|
191
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllAcceptanceDocuments200ResponseFromJSON)(jsonValue); })];
|
|
192
|
+
}
|
|
193
|
+
});
|
|
194
|
+
});
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* get all acceptance documents
|
|
198
|
+
*/
|
|
199
|
+
AcceptanceDocumentsApi.prototype.getAllAcceptanceDocuments = function (requestParameters, initOverrides) {
|
|
200
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
201
|
+
var response;
|
|
202
|
+
return __generator(this, function (_a) {
|
|
203
|
+
switch (_a.label) {
|
|
204
|
+
case 0: return [4 /*yield*/, this.getAllAcceptanceDocumentsRaw(requestParameters, initOverrides)];
|
|
205
|
+
case 1:
|
|
206
|
+
response = _a.sent();
|
|
207
|
+
return [4 /*yield*/, response.value()];
|
|
208
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
209
|
+
}
|
|
210
|
+
});
|
|
211
|
+
});
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* update one acceptance document
|
|
215
|
+
*/
|
|
216
|
+
AcceptanceDocumentsApi.prototype.updateAcceptanceDocumentRaw = function (requestParameters, initOverrides) {
|
|
217
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
218
|
+
var queryParameters, headerParameters, response;
|
|
219
|
+
return __generator(this, function (_a) {
|
|
220
|
+
switch (_a.label) {
|
|
221
|
+
case 0:
|
|
222
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
223
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling updateAcceptanceDocument.');
|
|
224
|
+
}
|
|
225
|
+
if (requestParameters.acceptanceDocumentDto === null || requestParameters.acceptanceDocumentDto === undefined) {
|
|
226
|
+
throw new runtime.RequiredError('acceptanceDocumentDto', 'Required parameter requestParameters.acceptanceDocumentDto was null or undefined when calling updateAcceptanceDocument.');
|
|
227
|
+
}
|
|
228
|
+
queryParameters = {};
|
|
229
|
+
if (requestParameters.force !== undefined) {
|
|
230
|
+
queryParameters['force'] = requestParameters.force;
|
|
231
|
+
}
|
|
232
|
+
headerParameters = {};
|
|
233
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
234
|
+
return [4 /*yield*/, this.request({
|
|
235
|
+
path: "/ui/acceptance-documents/v1/{id}".replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters.id))),
|
|
236
|
+
method: 'PUT',
|
|
237
|
+
headers: headerParameters,
|
|
238
|
+
query: queryParameters,
|
|
239
|
+
body: (0, index_1.AcceptanceDocumentDtoToJSON)(requestParameters.acceptanceDocumentDto),
|
|
240
|
+
}, initOverrides)];
|
|
241
|
+
case 1:
|
|
242
|
+
response = _a.sent();
|
|
243
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AcceptanceDocumentDtoFromJSON)(jsonValue); })];
|
|
244
|
+
}
|
|
245
|
+
});
|
|
246
|
+
});
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* update one acceptance document
|
|
250
|
+
*/
|
|
251
|
+
AcceptanceDocumentsApi.prototype.updateAcceptanceDocument = function (requestParameters, initOverrides) {
|
|
252
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
253
|
+
var response;
|
|
254
|
+
return __generator(this, function (_a) {
|
|
255
|
+
switch (_a.label) {
|
|
256
|
+
case 0: return [4 /*yield*/, this.updateAcceptanceDocumentRaw(requestParameters, initOverrides)];
|
|
257
|
+
case 1:
|
|
258
|
+
response = _a.sent();
|
|
259
|
+
return [4 /*yield*/, response.value()];
|
|
260
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
});
|
|
264
|
+
};
|
|
265
|
+
return AcceptanceDocumentsApi;
|
|
266
|
+
}(runtime.BaseAPI));
|
|
267
|
+
exports.AcceptanceDocumentsApi = AcceptanceDocumentsApi;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
import * as runtime from '../runtime';
|
|
12
|
+
import type { AcceptanceDocumentDto, AcceptancePortalAcceptDto, FileDto } from '../models/index';
|
|
13
|
+
export interface AcceptAcceptanceDocumentRequest {
|
|
14
|
+
secretId: string;
|
|
15
|
+
acceptancePortalAcceptDto: AcceptancePortalAcceptDto;
|
|
16
|
+
}
|
|
17
|
+
export interface DownloadAcceptanceDocumentAttachmentRequest {
|
|
18
|
+
secretId: string;
|
|
19
|
+
secondaryId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetAcceptanceDocumentAttachmentRequest {
|
|
22
|
+
secretId: string;
|
|
23
|
+
secondaryId: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetAcceptancePortalDocumentRequest {
|
|
26
|
+
secretId: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class AcceptancePortalDocumentsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* accept or decline acceptance document
|
|
34
|
+
*/
|
|
35
|
+
acceptAcceptanceDocumentRaw(requestParameters: AcceptAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AcceptanceDocumentDto>>;
|
|
36
|
+
/**
|
|
37
|
+
* accept or decline acceptance document
|
|
38
|
+
*/
|
|
39
|
+
acceptAcceptanceDocument(requestParameters: AcceptAcceptanceDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AcceptanceDocumentDto>;
|
|
40
|
+
/**
|
|
41
|
+
* download acceptance portal document attachment
|
|
42
|
+
*/
|
|
43
|
+
downloadAcceptanceDocumentAttachmentRaw(requestParameters: DownloadAcceptanceDocumentAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Blob>>;
|
|
44
|
+
/**
|
|
45
|
+
* download acceptance portal document attachment
|
|
46
|
+
*/
|
|
47
|
+
downloadAcceptanceDocumentAttachment(requestParameters: DownloadAcceptanceDocumentAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Blob>;
|
|
48
|
+
/**
|
|
49
|
+
* get acceptance portal document attachment
|
|
50
|
+
*/
|
|
51
|
+
getAcceptanceDocumentAttachmentRaw(requestParameters: GetAcceptanceDocumentAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FileDto>>;
|
|
52
|
+
/**
|
|
53
|
+
* get acceptance portal document attachment
|
|
54
|
+
*/
|
|
55
|
+
getAcceptanceDocumentAttachment(requestParameters: GetAcceptanceDocumentAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FileDto>;
|
|
56
|
+
/**
|
|
57
|
+
* read one acceptance portal document
|
|
58
|
+
*/
|
|
59
|
+
getAcceptancePortalDocumentRaw(requestParameters: GetAcceptancePortalDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AcceptanceDocumentDto>>;
|
|
60
|
+
/**
|
|
61
|
+
* read one acceptance portal document
|
|
62
|
+
*/
|
|
63
|
+
getAcceptancePortalDocument(requestParameters: GetAcceptancePortalDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AcceptanceDocumentDto>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
40
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
+
function step(op) {
|
|
43
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
+
switch (op[0]) {
|
|
48
|
+
case 0: case 1: t = op; break;
|
|
49
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
+
default:
|
|
53
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
+
if (t[2]) _.ops.pop();
|
|
58
|
+
_.trys.pop(); continue;
|
|
59
|
+
}
|
|
60
|
+
op = body.call(thisArg, _);
|
|
61
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.AcceptancePortalDocumentsApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var AcceptancePortalDocumentsApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(AcceptancePortalDocumentsApi, _super);
|
|
74
|
+
function AcceptancePortalDocumentsApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* accept or decline acceptance document
|
|
79
|
+
*/
|
|
80
|
+
AcceptancePortalDocumentsApi.prototype.acceptAcceptanceDocumentRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters.secretId === null || requestParameters.secretId === undefined) {
|
|
87
|
+
throw new runtime.RequiredError('secretId', 'Required parameter requestParameters.secretId was null or undefined when calling acceptAcceptanceDocument.');
|
|
88
|
+
}
|
|
89
|
+
if (requestParameters.acceptancePortalAcceptDto === null || requestParameters.acceptancePortalAcceptDto === undefined) {
|
|
90
|
+
throw new runtime.RequiredError('acceptancePortalAcceptDto', 'Required parameter requestParameters.acceptancePortalAcceptDto was null or undefined when calling acceptAcceptanceDocument.');
|
|
91
|
+
}
|
|
92
|
+
queryParameters = {};
|
|
93
|
+
headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
return [4 /*yield*/, this.request({
|
|
96
|
+
path: "/ui/acceptance-portal-documents/v1/{secretId}/accept".replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters.secretId))),
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
body: (0, index_1.AcceptancePortalAcceptDtoToJSON)(requestParameters.acceptancePortalAcceptDto),
|
|
101
|
+
}, initOverrides)];
|
|
102
|
+
case 1:
|
|
103
|
+
response = _a.sent();
|
|
104
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AcceptanceDocumentDtoFromJSON)(jsonValue); })];
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* accept or decline acceptance document
|
|
111
|
+
*/
|
|
112
|
+
AcceptancePortalDocumentsApi.prototype.acceptAcceptanceDocument = function (requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
114
|
+
var response;
|
|
115
|
+
return __generator(this, function (_a) {
|
|
116
|
+
switch (_a.label) {
|
|
117
|
+
case 0: return [4 /*yield*/, this.acceptAcceptanceDocumentRaw(requestParameters, initOverrides)];
|
|
118
|
+
case 1:
|
|
119
|
+
response = _a.sent();
|
|
120
|
+
return [4 /*yield*/, response.value()];
|
|
121
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* download acceptance portal document attachment
|
|
128
|
+
*/
|
|
129
|
+
AcceptancePortalDocumentsApi.prototype.downloadAcceptanceDocumentAttachmentRaw = function (requestParameters, initOverrides) {
|
|
130
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
131
|
+
var queryParameters, headerParameters, response;
|
|
132
|
+
return __generator(this, function (_a) {
|
|
133
|
+
switch (_a.label) {
|
|
134
|
+
case 0:
|
|
135
|
+
if (requestParameters.secretId === null || requestParameters.secretId === undefined) {
|
|
136
|
+
throw new runtime.RequiredError('secretId', 'Required parameter requestParameters.secretId was null or undefined when calling downloadAcceptanceDocumentAttachment.');
|
|
137
|
+
}
|
|
138
|
+
if (requestParameters.secondaryId === null || requestParameters.secondaryId === undefined) {
|
|
139
|
+
throw new runtime.RequiredError('secondaryId', 'Required parameter requestParameters.secondaryId was null or undefined when calling downloadAcceptanceDocumentAttachment.');
|
|
140
|
+
}
|
|
141
|
+
queryParameters = {};
|
|
142
|
+
headerParameters = {};
|
|
143
|
+
return [4 /*yield*/, this.request({
|
|
144
|
+
path: "/ui/acceptance-portal-documents/v1/{secretId}/attachments/{secondaryId}/download".replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters.secretId))).replace("{".concat("secondaryId", "}"), encodeURIComponent(String(requestParameters.secondaryId))),
|
|
145
|
+
method: 'GET',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
}, initOverrides)];
|
|
149
|
+
case 1:
|
|
150
|
+
response = _a.sent();
|
|
151
|
+
return [2 /*return*/, new runtime.BlobApiResponse(response)];
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
});
|
|
155
|
+
};
|
|
156
|
+
/**
|
|
157
|
+
* download acceptance portal document attachment
|
|
158
|
+
*/
|
|
159
|
+
AcceptancePortalDocumentsApi.prototype.downloadAcceptanceDocumentAttachment = function (requestParameters, initOverrides) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
161
|
+
var response;
|
|
162
|
+
return __generator(this, function (_a) {
|
|
163
|
+
switch (_a.label) {
|
|
164
|
+
case 0: return [4 /*yield*/, this.downloadAcceptanceDocumentAttachmentRaw(requestParameters, initOverrides)];
|
|
165
|
+
case 1:
|
|
166
|
+
response = _a.sent();
|
|
167
|
+
return [4 /*yield*/, response.value()];
|
|
168
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* get acceptance portal document attachment
|
|
175
|
+
*/
|
|
176
|
+
AcceptancePortalDocumentsApi.prototype.getAcceptanceDocumentAttachmentRaw = function (requestParameters, initOverrides) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
178
|
+
var queryParameters, headerParameters, response;
|
|
179
|
+
return __generator(this, function (_a) {
|
|
180
|
+
switch (_a.label) {
|
|
181
|
+
case 0:
|
|
182
|
+
if (requestParameters.secretId === null || requestParameters.secretId === undefined) {
|
|
183
|
+
throw new runtime.RequiredError('secretId', 'Required parameter requestParameters.secretId was null or undefined when calling getAcceptanceDocumentAttachment.');
|
|
184
|
+
}
|
|
185
|
+
if (requestParameters.secondaryId === null || requestParameters.secondaryId === undefined) {
|
|
186
|
+
throw new runtime.RequiredError('secondaryId', 'Required parameter requestParameters.secondaryId was null or undefined when calling getAcceptanceDocumentAttachment.');
|
|
187
|
+
}
|
|
188
|
+
queryParameters = {};
|
|
189
|
+
headerParameters = {};
|
|
190
|
+
return [4 /*yield*/, this.request({
|
|
191
|
+
path: "/ui/acceptance-portal-documents/v1/{secretId}/attachments/{secondaryId}".replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters.secretId))).replace("{".concat("secondaryId", "}"), encodeURIComponent(String(requestParameters.secondaryId))),
|
|
192
|
+
method: 'GET',
|
|
193
|
+
headers: headerParameters,
|
|
194
|
+
query: queryParameters,
|
|
195
|
+
}, initOverrides)];
|
|
196
|
+
case 1:
|
|
197
|
+
response = _a.sent();
|
|
198
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FileDtoFromJSON)(jsonValue); })];
|
|
199
|
+
}
|
|
200
|
+
});
|
|
201
|
+
});
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* get acceptance portal document attachment
|
|
205
|
+
*/
|
|
206
|
+
AcceptancePortalDocumentsApi.prototype.getAcceptanceDocumentAttachment = function (requestParameters, initOverrides) {
|
|
207
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
208
|
+
var response;
|
|
209
|
+
return __generator(this, function (_a) {
|
|
210
|
+
switch (_a.label) {
|
|
211
|
+
case 0: return [4 /*yield*/, this.getAcceptanceDocumentAttachmentRaw(requestParameters, initOverrides)];
|
|
212
|
+
case 1:
|
|
213
|
+
response = _a.sent();
|
|
214
|
+
return [4 /*yield*/, response.value()];
|
|
215
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* read one acceptance portal document
|
|
222
|
+
*/
|
|
223
|
+
AcceptancePortalDocumentsApi.prototype.getAcceptancePortalDocumentRaw = function (requestParameters, initOverrides) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
225
|
+
var queryParameters, headerParameters, response;
|
|
226
|
+
return __generator(this, function (_a) {
|
|
227
|
+
switch (_a.label) {
|
|
228
|
+
case 0:
|
|
229
|
+
if (requestParameters.secretId === null || requestParameters.secretId === undefined) {
|
|
230
|
+
throw new runtime.RequiredError('secretId', 'Required parameter requestParameters.secretId was null or undefined when calling getAcceptancePortalDocument.');
|
|
231
|
+
}
|
|
232
|
+
queryParameters = {};
|
|
233
|
+
headerParameters = {};
|
|
234
|
+
return [4 /*yield*/, this.request({
|
|
235
|
+
path: "/ui/acceptance-portal-documents/v1/{secretId}".replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters.secretId))),
|
|
236
|
+
method: 'GET',
|
|
237
|
+
headers: headerParameters,
|
|
238
|
+
query: queryParameters,
|
|
239
|
+
}, initOverrides)];
|
|
240
|
+
case 1:
|
|
241
|
+
response = _a.sent();
|
|
242
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AcceptanceDocumentDtoFromJSON)(jsonValue); })];
|
|
243
|
+
}
|
|
244
|
+
});
|
|
245
|
+
});
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* read one acceptance portal document
|
|
249
|
+
*/
|
|
250
|
+
AcceptancePortalDocumentsApi.prototype.getAcceptancePortalDocument = function (requestParameters, initOverrides) {
|
|
251
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
252
|
+
var response;
|
|
253
|
+
return __generator(this, function (_a) {
|
|
254
|
+
switch (_a.label) {
|
|
255
|
+
case 0: return [4 /*yield*/, this.getAcceptancePortalDocumentRaw(requestParameters, initOverrides)];
|
|
256
|
+
case 1:
|
|
257
|
+
response = _a.sent();
|
|
258
|
+
return [4 /*yield*/, response.value()];
|
|
259
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
};
|
|
264
|
+
return AcceptancePortalDocumentsApi;
|
|
265
|
+
}(runtime.BaseAPI));
|
|
266
|
+
exports.AcceptancePortalDocumentsApi = AcceptancePortalDocumentsApi;
|