@kommerz/ts-client 1.149.2 → 1.151.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/DubbingPortalApi.d.ts +42 -0
- package/dist/apis/DubbingPortalApi.js +196 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/DubbingPortalFileStatusDto.d.ts +55 -0
- package/dist/models/DubbingPortalFileStatusDto.js +56 -0
- package/dist/models/DubbingPortalResponseDto.d.ts +31 -0
- package/dist/models/DubbingPortalResponseDto.js +48 -0
- package/dist/models/DubbingPortalStatusDto.d.ts +56 -0
- package/dist/models/DubbingPortalStatusDto.js +57 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
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 { DubbingPortalResponseDto, DubbingPortalStatusDto } from '../models/index';
|
|
13
|
+
export interface AddDubbingPortalRequestRequest {
|
|
14
|
+
email?: string;
|
|
15
|
+
passwords?: Array<string>;
|
|
16
|
+
files?: Array<Blob>;
|
|
17
|
+
}
|
|
18
|
+
export interface RestartDubbingPortalRequestRequest {
|
|
19
|
+
id: string;
|
|
20
|
+
xADMINAUTH?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare class DubbingPortalApi extends runtime.BaseAPI {
|
|
26
|
+
/**
|
|
27
|
+
* add dubbing portal request
|
|
28
|
+
*/
|
|
29
|
+
addDubbingPortalRequestRaw(requestParameters: AddDubbingPortalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DubbingPortalResponseDto>>;
|
|
30
|
+
/**
|
|
31
|
+
* add dubbing portal request
|
|
32
|
+
*/
|
|
33
|
+
addDubbingPortalRequest(requestParameters?: AddDubbingPortalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DubbingPortalResponseDto>;
|
|
34
|
+
/**
|
|
35
|
+
* restart a dubbing portal request
|
|
36
|
+
*/
|
|
37
|
+
restartDubbingPortalRequestRaw(requestParameters: RestartDubbingPortalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DubbingPortalStatusDto>>;
|
|
38
|
+
/**
|
|
39
|
+
* restart a dubbing portal request
|
|
40
|
+
*/
|
|
41
|
+
restartDubbingPortalRequest(requestParameters: RestartDubbingPortalRequestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DubbingPortalStatusDto>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
40
|
+
return g.next = verb(0), g["throw"] = verb(1), g["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.DubbingPortalApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var DubbingPortalApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(DubbingPortalApi, _super);
|
|
74
|
+
function DubbingPortalApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* add dubbing portal request
|
|
79
|
+
*/
|
|
80
|
+
DubbingPortalApi.prototype.addDubbingPortalRequestRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, consumes, canConsumeForm, formParams, useForm, urlPath, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
queryParameters = {};
|
|
87
|
+
headerParameters = {};
|
|
88
|
+
consumes = [
|
|
89
|
+
{ contentType: 'multipart/form-data' },
|
|
90
|
+
];
|
|
91
|
+
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
92
|
+
useForm = false;
|
|
93
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
94
|
+
useForm = canConsumeForm;
|
|
95
|
+
if (useForm) {
|
|
96
|
+
formParams = new FormData();
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
formParams = new URLSearchParams();
|
|
100
|
+
}
|
|
101
|
+
if (requestParameters['email'] != null) {
|
|
102
|
+
formParams.append('email', requestParameters['email']);
|
|
103
|
+
}
|
|
104
|
+
if (requestParameters['passwords'] != null) {
|
|
105
|
+
formParams.append('passwords', requestParameters['passwords'].join(runtime.COLLECTION_FORMATS["csv"]));
|
|
106
|
+
}
|
|
107
|
+
if (requestParameters['files'] != null) {
|
|
108
|
+
requestParameters['files'].forEach(function (element) {
|
|
109
|
+
formParams.append('files', element);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
urlPath = "/ui/dubbing-portal/v1";
|
|
113
|
+
return [4 /*yield*/, this.request({
|
|
114
|
+
path: urlPath,
|
|
115
|
+
method: 'POST',
|
|
116
|
+
headers: headerParameters,
|
|
117
|
+
query: queryParameters,
|
|
118
|
+
body: formParams,
|
|
119
|
+
}, initOverrides)];
|
|
120
|
+
case 1:
|
|
121
|
+
response = _a.sent();
|
|
122
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DubbingPortalResponseDtoFromJSON)(jsonValue); })];
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
});
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* add dubbing portal request
|
|
129
|
+
*/
|
|
130
|
+
DubbingPortalApi.prototype.addDubbingPortalRequest = function () {
|
|
131
|
+
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
132
|
+
var response;
|
|
133
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
134
|
+
return __generator(this, function (_a) {
|
|
135
|
+
switch (_a.label) {
|
|
136
|
+
case 0: return [4 /*yield*/, this.addDubbingPortalRequestRaw(requestParameters, initOverrides)];
|
|
137
|
+
case 1:
|
|
138
|
+
response = _a.sent();
|
|
139
|
+
return [4 /*yield*/, response.value()];
|
|
140
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
});
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* restart a dubbing portal request
|
|
147
|
+
*/
|
|
148
|
+
DubbingPortalApi.prototype.restartDubbingPortalRequestRaw = function (requestParameters, initOverrides) {
|
|
149
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
150
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
151
|
+
return __generator(this, function (_a) {
|
|
152
|
+
switch (_a.label) {
|
|
153
|
+
case 0:
|
|
154
|
+
if (requestParameters['id'] == null) {
|
|
155
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling restartDubbingPortalRequest().');
|
|
156
|
+
}
|
|
157
|
+
queryParameters = {};
|
|
158
|
+
headerParameters = {};
|
|
159
|
+
if (requestParameters['xADMINAUTH'] != null) {
|
|
160
|
+
headerParameters['X-ADMIN-AUTH'] = String(requestParameters['xADMINAUTH']);
|
|
161
|
+
}
|
|
162
|
+
urlPath = "/ui/dubbing-portal/v1/{id}/restart";
|
|
163
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
164
|
+
return [4 /*yield*/, this.request({
|
|
165
|
+
path: urlPath,
|
|
166
|
+
method: 'PUT',
|
|
167
|
+
headers: headerParameters,
|
|
168
|
+
query: queryParameters,
|
|
169
|
+
}, initOverrides)];
|
|
170
|
+
case 1:
|
|
171
|
+
response = _a.sent();
|
|
172
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DubbingPortalStatusDtoFromJSON)(jsonValue); })];
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
});
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* restart a dubbing portal request
|
|
179
|
+
*/
|
|
180
|
+
DubbingPortalApi.prototype.restartDubbingPortalRequest = function (requestParameters, initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
182
|
+
var response;
|
|
183
|
+
return __generator(this, function (_a) {
|
|
184
|
+
switch (_a.label) {
|
|
185
|
+
case 0: return [4 /*yield*/, this.restartDubbingPortalRequestRaw(requestParameters, initOverrides)];
|
|
186
|
+
case 1:
|
|
187
|
+
response = _a.sent();
|
|
188
|
+
return [4 /*yield*/, response.value()];
|
|
189
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
});
|
|
193
|
+
};
|
|
194
|
+
return DubbingPortalApi;
|
|
195
|
+
}(runtime.BaseAPI));
|
|
196
|
+
exports.DubbingPortalApi = DubbingPortalApi;
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -31,6 +31,7 @@ export * from './DataTablesApi';
|
|
|
31
31
|
export * from './DeliveryNotesApi';
|
|
32
32
|
export * from './DesignTemplatesApi';
|
|
33
33
|
export * from './DocumentTemplatesApi';
|
|
34
|
+
export * from './DubbingPortalApi';
|
|
34
35
|
export * from './DunningLettersApi';
|
|
35
36
|
export * from './FileDirectoriesApi';
|
|
36
37
|
export * from './FileDirectorySharesApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -49,6 +49,7 @@ __exportStar(require("./DataTablesApi"), exports);
|
|
|
49
49
|
__exportStar(require("./DeliveryNotesApi"), exports);
|
|
50
50
|
__exportStar(require("./DesignTemplatesApi"), exports);
|
|
51
51
|
__exportStar(require("./DocumentTemplatesApi"), exports);
|
|
52
|
+
__exportStar(require("./DubbingPortalApi"), exports);
|
|
52
53
|
__exportStar(require("./DunningLettersApi"), exports);
|
|
53
54
|
__exportStar(require("./FileDirectoriesApi"), exports);
|
|
54
55
|
__exportStar(require("./FileDirectorySharesApi"), exports);
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DubbingPortalFileStatusDto
|
|
15
|
+
*/
|
|
16
|
+
export interface DubbingPortalFileStatusDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof DubbingPortalFileStatusDto
|
|
21
|
+
*/
|
|
22
|
+
fileName?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof DubbingPortalFileStatusDto
|
|
27
|
+
*/
|
|
28
|
+
status?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof DubbingPortalFileStatusDto
|
|
33
|
+
*/
|
|
34
|
+
messages?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DubbingPortalFileStatusDto
|
|
39
|
+
*/
|
|
40
|
+
contents?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {any}
|
|
44
|
+
* @memberof DubbingPortalFileStatusDto
|
|
45
|
+
*/
|
|
46
|
+
data?: any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DubbingPortalFileStatusDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfDubbingPortalFileStatusDto(value: object): value is DubbingPortalFileStatusDto;
|
|
52
|
+
export declare function DubbingPortalFileStatusDtoFromJSON(json: any): DubbingPortalFileStatusDto;
|
|
53
|
+
export declare function DubbingPortalFileStatusDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DubbingPortalFileStatusDto;
|
|
54
|
+
export declare function DubbingPortalFileStatusDtoToJSON(json: any): DubbingPortalFileStatusDto;
|
|
55
|
+
export declare function DubbingPortalFileStatusDtoToJSONTyped(value?: DubbingPortalFileStatusDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfDubbingPortalFileStatusDto = instanceOfDubbingPortalFileStatusDto;
|
|
16
|
+
exports.DubbingPortalFileStatusDtoFromJSON = DubbingPortalFileStatusDtoFromJSON;
|
|
17
|
+
exports.DubbingPortalFileStatusDtoFromJSONTyped = DubbingPortalFileStatusDtoFromJSONTyped;
|
|
18
|
+
exports.DubbingPortalFileStatusDtoToJSON = DubbingPortalFileStatusDtoToJSON;
|
|
19
|
+
exports.DubbingPortalFileStatusDtoToJSONTyped = DubbingPortalFileStatusDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DubbingPortalFileStatusDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDubbingPortalFileStatusDto(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function DubbingPortalFileStatusDtoFromJSON(json) {
|
|
27
|
+
return DubbingPortalFileStatusDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function DubbingPortalFileStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'fileName': json['fileName'] == null ? undefined : json['fileName'],
|
|
35
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
36
|
+
'messages': json['messages'] == null ? undefined : json['messages'],
|
|
37
|
+
'contents': json['contents'] == null ? undefined : json['contents'],
|
|
38
|
+
'data': json['data'] == null ? undefined : json['data'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function DubbingPortalFileStatusDtoToJSON(json) {
|
|
42
|
+
return DubbingPortalFileStatusDtoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function DubbingPortalFileStatusDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'fileName': value['fileName'],
|
|
51
|
+
'status': value['status'],
|
|
52
|
+
'messages': value['messages'],
|
|
53
|
+
'contents': value['contents'],
|
|
54
|
+
'data': value['data'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface DubbingPortalResponseDto
|
|
15
|
+
*/
|
|
16
|
+
export interface DubbingPortalResponseDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof DubbingPortalResponseDto
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the DubbingPortalResponseDto interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfDubbingPortalResponseDto(value: object): value is DubbingPortalResponseDto;
|
|
28
|
+
export declare function DubbingPortalResponseDtoFromJSON(json: any): DubbingPortalResponseDto;
|
|
29
|
+
export declare function DubbingPortalResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DubbingPortalResponseDto;
|
|
30
|
+
export declare function DubbingPortalResponseDtoToJSON(json: any): DubbingPortalResponseDto;
|
|
31
|
+
export declare function DubbingPortalResponseDtoToJSONTyped(value?: DubbingPortalResponseDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfDubbingPortalResponseDto = instanceOfDubbingPortalResponseDto;
|
|
16
|
+
exports.DubbingPortalResponseDtoFromJSON = DubbingPortalResponseDtoFromJSON;
|
|
17
|
+
exports.DubbingPortalResponseDtoFromJSONTyped = DubbingPortalResponseDtoFromJSONTyped;
|
|
18
|
+
exports.DubbingPortalResponseDtoToJSON = DubbingPortalResponseDtoToJSON;
|
|
19
|
+
exports.DubbingPortalResponseDtoToJSONTyped = DubbingPortalResponseDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the DubbingPortalResponseDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfDubbingPortalResponseDto(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function DubbingPortalResponseDtoFromJSON(json) {
|
|
27
|
+
return DubbingPortalResponseDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function DubbingPortalResponseDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function DubbingPortalResponseDtoToJSON(json) {
|
|
38
|
+
return DubbingPortalResponseDtoToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function DubbingPortalResponseDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'requestId': value['requestId'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 type { DubbingPortalFileStatusDto } from './DubbingPortalFileStatusDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DubbingPortalStatusDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DubbingPortalStatusDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DubbingPortalStatusDto
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DubbingPortalStatusDto
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DubbingPortalStatusDto
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof DubbingPortalStatusDto
|
|
40
|
+
*/
|
|
41
|
+
messages?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<DubbingPortalFileStatusDto>}
|
|
45
|
+
* @memberof DubbingPortalStatusDto
|
|
46
|
+
*/
|
|
47
|
+
files?: Array<DubbingPortalFileStatusDto>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the DubbingPortalStatusDto interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfDubbingPortalStatusDto(value: object): value is DubbingPortalStatusDto;
|
|
53
|
+
export declare function DubbingPortalStatusDtoFromJSON(json: any): DubbingPortalStatusDto;
|
|
54
|
+
export declare function DubbingPortalStatusDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DubbingPortalStatusDto;
|
|
55
|
+
export declare function DubbingPortalStatusDtoToJSON(json: any): DubbingPortalStatusDto;
|
|
56
|
+
export declare function DubbingPortalStatusDtoToJSONTyped(value?: DubbingPortalStatusDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfDubbingPortalStatusDto = instanceOfDubbingPortalStatusDto;
|
|
16
|
+
exports.DubbingPortalStatusDtoFromJSON = DubbingPortalStatusDtoFromJSON;
|
|
17
|
+
exports.DubbingPortalStatusDtoFromJSONTyped = DubbingPortalStatusDtoFromJSONTyped;
|
|
18
|
+
exports.DubbingPortalStatusDtoToJSON = DubbingPortalStatusDtoToJSON;
|
|
19
|
+
exports.DubbingPortalStatusDtoToJSONTyped = DubbingPortalStatusDtoToJSONTyped;
|
|
20
|
+
var DubbingPortalFileStatusDto_1 = require("./DubbingPortalFileStatusDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DubbingPortalStatusDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDubbingPortalStatusDto(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function DubbingPortalStatusDtoFromJSON(json) {
|
|
28
|
+
return DubbingPortalStatusDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function DubbingPortalStatusDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'requestId': json['requestId'] == null ? undefined : json['requestId'],
|
|
37
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
38
|
+
'messages': json['messages'] == null ? undefined : json['messages'],
|
|
39
|
+
'files': json['files'] == null ? undefined : (json['files'].map(DubbingPortalFileStatusDto_1.DubbingPortalFileStatusDtoFromJSON)),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function DubbingPortalStatusDtoToJSON(json) {
|
|
43
|
+
return DubbingPortalStatusDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function DubbingPortalStatusDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value['id'],
|
|
52
|
+
'requestId': value['requestId'],
|
|
53
|
+
'status': value['status'],
|
|
54
|
+
'messages': value['messages'],
|
|
55
|
+
'files': value['files'] == null ? undefined : (value['files'].map(DubbingPortalFileStatusDto_1.DubbingPortalFileStatusDtoToJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -76,6 +76,9 @@ export * from './DesignTemplateDto';
|
|
|
76
76
|
export * from './DesignTemplateType';
|
|
77
77
|
export * from './DocumentTemplateDto';
|
|
78
78
|
export * from './DocumentTemplateType';
|
|
79
|
+
export * from './DubbingPortalFileStatusDto';
|
|
80
|
+
export * from './DubbingPortalResponseDto';
|
|
81
|
+
export * from './DubbingPortalStatusDto';
|
|
79
82
|
export * from './DunningLetterDto';
|
|
80
83
|
export * from './DunningLetterItemDto';
|
|
81
84
|
export * from './EmailDto';
|
package/dist/models/index.js
CHANGED
|
@@ -94,6 +94,9 @@ __exportStar(require("./DesignTemplateDto"), exports);
|
|
|
94
94
|
__exportStar(require("./DesignTemplateType"), exports);
|
|
95
95
|
__exportStar(require("./DocumentTemplateDto"), exports);
|
|
96
96
|
__exportStar(require("./DocumentTemplateType"), exports);
|
|
97
|
+
__exportStar(require("./DubbingPortalFileStatusDto"), exports);
|
|
98
|
+
__exportStar(require("./DubbingPortalResponseDto"), exports);
|
|
99
|
+
__exportStar(require("./DubbingPortalStatusDto"), exports);
|
|
97
100
|
__exportStar(require("./DunningLetterDto"), exports);
|
|
98
101
|
__exportStar(require("./DunningLetterItemDto"), exports);
|
|
99
102
|
__exportStar(require("./EmailDto"), exports);
|