@coscine/api-client 2.11.0 → 3.0.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/README.md +36 -11
- package/dist/index.js +4230 -4029
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +4238 -4036
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api/api.js +6792 -0
- package/dist/lib/Coscine.Api/api.js.map +1 -0
- package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/base.js +5 -5
- package/dist/lib/Coscine.Api/base.js.map +1 -0
- package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/common.js +4 -4
- package/dist/lib/Coscine.Api/common.js.map +1 -0
- package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/configuration.js +4 -4
- package/dist/lib/Coscine.Api/configuration.js.map +1 -0
- package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
- package/dist/lib/Coscine.Api/index.js.map +1 -0
- package/dist/lib/apis.js +65 -63
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/index.js +10 -9
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api/api.d.ts +7160 -0
- package/dist/types/{Coscine.Api.Notices → Coscine.Api}/base.d.ts +4 -4
- package/dist/types/{Coscine.Api.Organization → Coscine.Api}/common.d.ts +4 -4
- package/dist/types/{Coscine.Api.Metadata → Coscine.Api}/configuration.d.ts +4 -4
- package/dist/types/Coscine.Api/index.d.ts +13 -0
- package/dist/types/apis.d.ts +104 -88
- package/dist/types/index.d.ts +209 -177
- package/package.json +3 -3
- package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
- package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
- package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
- package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/api.js +0 -207
- package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/base.js +0 -65
- package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/common.js +0 -153
- package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Notices/index.js +0 -32
- package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/api.js +0 -398
- package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/common.js +0 -153
- package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/api.js +0 -204
- package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/base.js +0 -65
- package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/common.js +0 -153
- package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Pid/index.js +0 -32
- package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/api.js +0 -2117
- package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/base.js +0 -65
- package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/common.js +0 -153
- package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Project/index.js +0 -32
- package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
- package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/base.js +0 -65
- package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/common.js +0 -153
- package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Resources/index.js +0 -32
- package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/api.js +0 -385
- package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/base.js +0 -65
- package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/common.js +0 -153
- package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
- package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.Token/index.js +0 -32
- package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
- package/dist/lib/Coscine.Api.User/api.js +0 -965
- package/dist/lib/Coscine.Api.User/api.js.map +0 -1
- package/dist/lib/Coscine.Api.User/base.js +0 -65
- package/dist/lib/Coscine.Api.User/base.js.map +0 -1
- package/dist/lib/Coscine.Api.User/common.js +0 -153
- package/dist/lib/Coscine.Api.User/common.js.map +0 -1
- package/dist/lib/Coscine.Api.User/configuration.js +0 -43
- package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
- package/dist/lib/Coscine.Api.User/index.js +0 -32
- package/dist/lib/Coscine.Api.User/index.js.map +0 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
- package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
- package/dist/types/Coscine.Api.Notices/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
- package/dist/types/Coscine.Api.Organization/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
- package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Project/api.d.ts +0 -1870
- package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
- package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
- package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
- package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
- package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
- package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
- package/dist/types/Coscine.Api.User/api.d.ts +0 -745
- package/dist/types/Coscine.Api.User/base.d.ts +0 -55
- package/dist/types/Coscine.Api.User/common.d.ts +0 -65
- package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
- package/dist/types/Coscine.Api.User/index.d.ts +0 -13
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
25
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
|
-
};
|
|
27
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.NoticeApi = exports.NoticeApiFactory = exports.NoticeApiFp = exports.NoticeApiAxiosParamCreator = void 0;
|
|
29
|
-
const axios_1 = __importDefault(require("axios"));
|
|
30
|
-
// Some imports not used depending on template conditions
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
const common_1 = require("./common");
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
const base_1 = require("./base");
|
|
35
|
-
/**
|
|
36
|
-
* NoticeApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
const NoticeApiAxiosParamCreator = function (configuration) {
|
|
40
|
-
return {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary Returns defined properties of the first entry of the rss feed
|
|
44
|
-
* @param {*} [options] Override http request option.
|
|
45
|
-
* @throws {RequiredError}
|
|
46
|
-
*/
|
|
47
|
-
noticeGetMaintenance: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
const localVarPath = `/Notice/getMaintenance`;
|
|
49
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
-
let baseOptions;
|
|
52
|
-
if (configuration) {
|
|
53
|
-
baseOptions = configuration.baseOptions;
|
|
54
|
-
}
|
|
55
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
56
|
-
const localVarHeaderParameter = {};
|
|
57
|
-
const localVarQueryParameter = {};
|
|
58
|
-
// authentication JWT token required
|
|
59
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
60
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
61
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
62
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
63
|
-
return {
|
|
64
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
65
|
-
options: localVarRequestOptions,
|
|
66
|
-
};
|
|
67
|
-
}),
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @summary Returns a notice
|
|
71
|
-
* @param {string} documentSlug Slug defining a configured notice
|
|
72
|
-
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
73
|
-
* @param {*} [options] Override http request option.
|
|
74
|
-
* @deprecated
|
|
75
|
-
* @throws {RequiredError}
|
|
76
|
-
*/
|
|
77
|
-
noticeGetNotice: (documentSlug, language, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
78
|
-
// verify required parameter 'documentSlug' is not null or undefined
|
|
79
|
-
(0, common_1.assertParamExists)('noticeGetNotice', 'documentSlug', documentSlug);
|
|
80
|
-
const localVarPath = `/Notice/{documentSlug}`
|
|
81
|
-
.replace(`{${"documentSlug"}}`, encodeURIComponent(String(documentSlug)));
|
|
82
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
83
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
84
|
-
let baseOptions;
|
|
85
|
-
if (configuration) {
|
|
86
|
-
baseOptions = configuration.baseOptions;
|
|
87
|
-
}
|
|
88
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
89
|
-
const localVarHeaderParameter = {};
|
|
90
|
-
const localVarQueryParameter = {};
|
|
91
|
-
// authentication JWT token required
|
|
92
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
93
|
-
if (language !== undefined) {
|
|
94
|
-
localVarQueryParameter['language'] = language;
|
|
95
|
-
}
|
|
96
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
|
|
97
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
99
|
-
return {
|
|
100
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
101
|
-
options: localVarRequestOptions,
|
|
102
|
-
};
|
|
103
|
-
}),
|
|
104
|
-
};
|
|
105
|
-
};
|
|
106
|
-
exports.NoticeApiAxiosParamCreator = NoticeApiAxiosParamCreator;
|
|
107
|
-
/**
|
|
108
|
-
* NoticeApi - functional programming interface
|
|
109
|
-
* @export
|
|
110
|
-
*/
|
|
111
|
-
const NoticeApiFp = function (configuration) {
|
|
112
|
-
const localVarAxiosParamCreator = (0, exports.NoticeApiAxiosParamCreator)(configuration);
|
|
113
|
-
return {
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @summary Returns defined properties of the first entry of the rss feed
|
|
117
|
-
* @param {*} [options] Override http request option.
|
|
118
|
-
* @throws {RequiredError}
|
|
119
|
-
*/
|
|
120
|
-
noticeGetMaintenance(options) {
|
|
121
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetMaintenance(options);
|
|
123
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
124
|
-
});
|
|
125
|
-
},
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @summary Returns a notice
|
|
129
|
-
* @param {string} documentSlug Slug defining a configured notice
|
|
130
|
-
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
131
|
-
* @param {*} [options] Override http request option.
|
|
132
|
-
* @deprecated
|
|
133
|
-
* @throws {RequiredError}
|
|
134
|
-
*/
|
|
135
|
-
noticeGetNotice(documentSlug, language, options) {
|
|
136
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.noticeGetNotice(documentSlug, language, options);
|
|
138
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
139
|
-
});
|
|
140
|
-
},
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
exports.NoticeApiFp = NoticeApiFp;
|
|
144
|
-
/**
|
|
145
|
-
* NoticeApi - factory interface
|
|
146
|
-
* @export
|
|
147
|
-
*/
|
|
148
|
-
const NoticeApiFactory = function (configuration, basePath, axios) {
|
|
149
|
-
const localVarFp = (0, exports.NoticeApiFp)(configuration);
|
|
150
|
-
return {
|
|
151
|
-
/**
|
|
152
|
-
*
|
|
153
|
-
* @summary Returns defined properties of the first entry of the rss feed
|
|
154
|
-
* @param {*} [options] Override http request option.
|
|
155
|
-
* @throws {RequiredError}
|
|
156
|
-
*/
|
|
157
|
-
noticeGetMaintenance(options) {
|
|
158
|
-
return localVarFp.noticeGetMaintenance(options).then((request) => request(axios, basePath));
|
|
159
|
-
},
|
|
160
|
-
/**
|
|
161
|
-
*
|
|
162
|
-
* @summary Returns a notice
|
|
163
|
-
* @param {string} documentSlug Slug defining a configured notice
|
|
164
|
-
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
165
|
-
* @param {*} [options] Override http request option.
|
|
166
|
-
* @deprecated
|
|
167
|
-
* @throws {RequiredError}
|
|
168
|
-
*/
|
|
169
|
-
noticeGetNotice(documentSlug, language, options) {
|
|
170
|
-
return localVarFp.noticeGetNotice(documentSlug, language, options).then((request) => request(axios, basePath));
|
|
171
|
-
},
|
|
172
|
-
};
|
|
173
|
-
};
|
|
174
|
-
exports.NoticeApiFactory = NoticeApiFactory;
|
|
175
|
-
/**
|
|
176
|
-
* NoticeApi - object-oriented interface
|
|
177
|
-
* @export
|
|
178
|
-
* @class NoticeApi
|
|
179
|
-
* @extends {BaseAPI}
|
|
180
|
-
*/
|
|
181
|
-
class NoticeApi extends base_1.BaseAPI {
|
|
182
|
-
/**
|
|
183
|
-
*
|
|
184
|
-
* @summary Returns defined properties of the first entry of the rss feed
|
|
185
|
-
* @param {*} [options] Override http request option.
|
|
186
|
-
* @throws {RequiredError}
|
|
187
|
-
* @memberof NoticeApi
|
|
188
|
-
*/
|
|
189
|
-
noticeGetMaintenance(options) {
|
|
190
|
-
return (0, exports.NoticeApiFp)(this.configuration).noticeGetMaintenance(options).then((request) => request(this.axios, this.basePath));
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary Returns a notice
|
|
195
|
-
* @param {string} documentSlug Slug defining a configured notice
|
|
196
|
-
* @param {string} [language] Language (e.g. \"en\" or \"de\")
|
|
197
|
-
* @param {*} [options] Override http request option.
|
|
198
|
-
* @deprecated
|
|
199
|
-
* @throws {RequiredError}
|
|
200
|
-
* @memberof NoticeApi
|
|
201
|
-
*/
|
|
202
|
-
noticeGetNotice(documentSlug, language, options) {
|
|
203
|
-
return (0, exports.NoticeApiFp)(this.configuration).noticeGetNotice(documentSlug, language, options).then((request) => request(this.axios, this.basePath));
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
exports.NoticeApi = NoticeApi;
|
|
207
|
-
//# sourceMappingURL=api.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAIH,kDAAiE;AACjE,yDAAyD;AACzD,aAAa;AACb,qCAA4N;AAC5N,aAAa;AACb,iCAA4F;AA8C5F;;;GAGG;AACI,MAAM,0BAA0B,GAAG,UAAU,aAA6B;IAC7E,OAAO;QACH;;;;;WAKG;QACH,oBAAoB,EAAE,CAAO,UAAe,EAAE,EAAwB,EAAE;YACpE,MAAM,YAAY,GAAG,wBAAwB,CAAC;YAC9C,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBA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AE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC/H,CAAC;IAED;;;;;;;;;OASG;IACI,eAAe,CAAC,YAAoB,EAAE,QAAiB,EAAE,OAAa;QACzE,OAAO,IAAA,mBAAW,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,eAAe,CAAC,YAAY,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAClJ,CAAC;CACJ;AAzBD,8BAyBC"}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
-
};
|
|
18
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
20
|
-
// Some imports not used depending on template conditions
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "https://d-sp12.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Notices".replace(/\/+$/, "");
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
exports.COLLECTION_FORMATS = {
|
|
29
|
-
csv: ",",
|
|
30
|
-
ssv: " ",
|
|
31
|
-
tsv: "\t",
|
|
32
|
-
pipes: "|",
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
|
-
class BaseAPI {
|
|
40
|
-
constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {
|
|
41
|
-
this.basePath = basePath;
|
|
42
|
-
this.axios = axios;
|
|
43
|
-
if (configuration) {
|
|
44
|
-
this.configuration = configuration;
|
|
45
|
-
this.basePath = configuration.basePath || this.basePath;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.BaseAPI = BaseAPI;
|
|
50
|
-
;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
* @class RequiredError
|
|
55
|
-
* @extends {Error}
|
|
56
|
-
*/
|
|
57
|
-
class RequiredError extends Error {
|
|
58
|
-
constructor(field, msg) {
|
|
59
|
-
super(msg);
|
|
60
|
-
this.field = field;
|
|
61
|
-
this.name = "RequiredError";
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.RequiredError = RequiredError;
|
|
65
|
-
//# sourceMappingURL=base.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAIH,yDAAyD;AACzD,aAAa;AACb,kDAAiE;AAEpD,QAAA,SAAS,GAAG,6EAA6E,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAE3H;;;GAGG;AACU,QAAA,kBAAkB,GAAG;IAC9B,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,GAAG;IACR,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,GAAG;CACb,CAAC;AAYF;;;;GAIG;AACH,MAAa,OAAO;IAGhB,YAAY,aAA6B,EAAY,WAAmB,iBAAS,EAAY,QAAuB,eAAW;QAA1E,aAAQ,GAAR,QAAQ,CAAoB;QAAY,UAAK,GAAL,KAAK,CAA6B;QAC3H,IAAI,aAAa,EAAE;YACf,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,aAAa,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,CAAC;SAC3D;IACL,CAAC;CACJ;AATD,0BASC;AAAA,CAAC;AAEF;;;;;GAKG;AACH,MAAa,aAAc,SAAQ,KAAK;IAEpC,YAAmB,KAAa,EAAE,GAAY;QAC1C,KAAK,CAAC,GAAG,CAAC,CAAC;QADI,UAAK,GAAL,KAAK,CAAQ;QADhC,SAAI,GAAoB,eAAe,CAAC;IAGxC,CAAC;CACJ;AALD,sCAKC"}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
-
});
|
|
23
|
-
};
|
|
24
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
|
-
const base_1 = require("./base");
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
|
-
exports.DUMMY_BASE_URL = 'https://example.com';
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @throws {RequiredError}
|
|
35
|
-
* @export
|
|
36
|
-
*/
|
|
37
|
-
const assertParamExists = function (functionName, paramName, paramValue) {
|
|
38
|
-
if (paramValue === null || paramValue === undefined) {
|
|
39
|
-
throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
exports.assertParamExists = assertParamExists;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @export
|
|
46
|
-
*/
|
|
47
|
-
const setApiKeyToObject = function (object, keyParamName, configuration) {
|
|
48
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
49
|
-
if (configuration && configuration.apiKey) {
|
|
50
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
51
|
-
? yield configuration.apiKey(keyParamName)
|
|
52
|
-
: yield configuration.apiKey;
|
|
53
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
};
|
|
57
|
-
exports.setApiKeyToObject = setApiKeyToObject;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @export
|
|
61
|
-
*/
|
|
62
|
-
const setBasicAuthToObject = function (object, configuration) {
|
|
63
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
64
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
exports.setBasicAuthToObject = setBasicAuthToObject;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
|
-
const setBearerAuthToObject = function (object, configuration) {
|
|
73
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
if (configuration && configuration.accessToken) {
|
|
75
|
-
const accessToken = typeof configuration.accessToken === 'function'
|
|
76
|
-
? yield configuration.accessToken()
|
|
77
|
-
: yield configuration.accessToken;
|
|
78
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
exports.setBearerAuthToObject = setBearerAuthToObject;
|
|
83
|
-
/**
|
|
84
|
-
*
|
|
85
|
-
* @export
|
|
86
|
-
*/
|
|
87
|
-
const setOAuthToObject = function (object, name, scopes, configuration) {
|
|
88
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
89
|
-
if (configuration && configuration.accessToken) {
|
|
90
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
91
|
-
? yield configuration.accessToken(name, scopes)
|
|
92
|
-
: yield configuration.accessToken;
|
|
93
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
exports.setOAuthToObject = setOAuthToObject;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @export
|
|
101
|
-
*/
|
|
102
|
-
const setSearchParams = function (url, ...objects) {
|
|
103
|
-
const searchParams = new URLSearchParams(url.search);
|
|
104
|
-
for (const object of objects) {
|
|
105
|
-
for (const key in object) {
|
|
106
|
-
if (Array.isArray(object[key])) {
|
|
107
|
-
searchParams.delete(key);
|
|
108
|
-
for (const item of object[key]) {
|
|
109
|
-
searchParams.append(key, item);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
else {
|
|
113
|
-
searchParams.set(key, object[key]);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
url.search = searchParams.toString();
|
|
118
|
-
};
|
|
119
|
-
exports.setSearchParams = setSearchParams;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @export
|
|
123
|
-
*/
|
|
124
|
-
const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
125
|
-
const nonString = typeof value !== 'string';
|
|
126
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
127
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
128
|
-
: nonString;
|
|
129
|
-
return needsSerialization
|
|
130
|
-
? JSON.stringify(value !== undefined ? value : {})
|
|
131
|
-
: (value || "");
|
|
132
|
-
};
|
|
133
|
-
exports.serializeDataIfNeeded = serializeDataIfNeeded;
|
|
134
|
-
/**
|
|
135
|
-
*
|
|
136
|
-
* @export
|
|
137
|
-
*/
|
|
138
|
-
const toPathString = function (url) {
|
|
139
|
-
return url.pathname + url.search + url.hash;
|
|
140
|
-
};
|
|
141
|
-
exports.toPathString = toPathString;
|
|
142
|
-
/**
|
|
143
|
-
*
|
|
144
|
-
* @export
|
|
145
|
-
*/
|
|
146
|
-
const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
147
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
148
|
-
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });
|
|
149
|
-
return axios.request(axiosRequestArgs);
|
|
150
|
-
};
|
|
151
|
-
};
|
|
152
|
-
exports.createRequestFunction = createRequestFunction;
|
|
153
|
-
//# sourceMappingURL=common.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/common.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;AAIH,iCAAoD;AAGpD;;;GAGG;AACU,QAAA,cAAc,GAAG,qBAAqB,CAAA;AAEnD;;;;GAIG;AACI,MAAM,iBAAiB,GAAG,UAAU,YAAoB,EAAE,SAAiB,EAAE,UAAmB;IACnG,IAAI,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;QACjD,MAAM,IAAI,oBAAa,CAAC,SAAS,EAAE,sBAAsB,SAAS,uCAAuC,YAAY,GAAG,CAAC,CAAC;KAC7H;AACL,CAAC,CAAA;AAJY,QAAA,iBAAiB,qBAI7B;AAED;;;GAGG;AACI,MAAM,iBAAiB,GAAG,UAAgB,MAAW,EAAE,YAAoB,EAAE,aAA6B;;QAC7G,IAAI,aAAa,IAAI,aAAa,CAAC,MAAM,EAAE;YACvC,MAAM,mBAAmB,GAAG,OAAO,aAAa,CAAC,MAAM,KAAK,UAAU;gBAClE,CAAC,CAAC,MAAM,aAAa,CAAC,MAAM,CAAC,YAAY,CAAC;gBAC1C,CAAC,CAAC,MAAM,aAAa,CAAC,MAAM,CAAC;YACjC,MAAM,CAAC,YAAY,CAAC,GAAG,mBAAmB,CAAC;SAC9C;IACL,CAAC;CAAA,CAAA;AAPY,QAAA,iBAAiB,qBAO7B;AAED;;;GAGG;AACI,MAAM,oBAAoB,GAAG,UAAU,MAAW,EAAE,aAA6B;IACpF,IAAI,aAAa,IAAI,CAAC,aAAa,CAAC,QAAQ,IAAI,aAAa,CAAC,QAAQ,CAAC,EAAE;QACrE,MAAM,CAAC,MAAM,CAAC,GAAG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EAAE,WAA0B,EAAE,SAAiB,EAAE,aAA6B;IAC/I,OAAO,CAAC,QAAuB,WAAW,EAAE,WAAmB,SAAS,EAAE,EAAE;QACxE,MAAM,gBAAgB,mCAAO,SAAS,CAAC,OAAO,KAAE,GAAG,EAAE,CAAC,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,QAAQ,KAAI,QAAQ,CAAC,GAAG,SAAS,CAAC,GAAG,GAAC,CAAC;QAC5G,OAAO,KAAK,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC,CAAC;AACN,CAAC,CAAA;AALY,QAAA,qBAAqB,yBAKjC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.Configuration = void 0;
|
|
17
|
-
class Configuration {
|
|
18
|
-
constructor(param = {}) {
|
|
19
|
-
this.apiKey = param.apiKey;
|
|
20
|
-
this.username = param.username;
|
|
21
|
-
this.password = param.password;
|
|
22
|
-
this.accessToken = param.accessToken;
|
|
23
|
-
this.basePath = param.basePath;
|
|
24
|
-
this.baseOptions = param.baseOptions;
|
|
25
|
-
this.formDataCtor = param.formDataCtor;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Check if the given MIME is a JSON MIME.
|
|
29
|
-
* JSON MIME examples:
|
|
30
|
-
* application/json
|
|
31
|
-
* application/json; charset=UTF8
|
|
32
|
-
* APPLICATION/JSON
|
|
33
|
-
* application/vnd.company+json
|
|
34
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
35
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
36
|
-
*/
|
|
37
|
-
isJsonMime(mime) {
|
|
38
|
-
const jsonMime = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
39
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.Configuration = Configuration;
|
|
43
|
-
//# sourceMappingURL=configuration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"configuration.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/configuration.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAaH,MAAa,aAAa;IAmDtB,YAAY,QAAiC,EAAE;QAC3C,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC;QAC3B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC,QAAQ,CAAC;QAC/B,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC,WAAW,CAAC;QACrC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC;IAC3C,CAAC;IAED;;;;;;;;;OASG;IACI,UAAU,CAAC,IAAY;QAC1B,MAAM,QAAQ,GAAW,IAAI,MAAM,CAAC,+DAA+D,EAAE,GAAG,CAAC,CAAC;QAC1G,OAAO,IAAI,KAAK,IAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,WAAW,EAAE,KAAK,6BAA6B,CAAC,CAAC;IAC1G,CAAC;CACJ;AA3ED,sCA2EC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Coscine.Api.Notices
|
|
6
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2.4.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
-
if (k2 === undefined) k2 = k;
|
|
17
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
-
}
|
|
21
|
-
Object.defineProperty(o, k2, desc);
|
|
22
|
-
}) : (function(o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
o[k2] = m[k];
|
|
25
|
-
}));
|
|
26
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
-
};
|
|
29
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api"), exports);
|
|
31
|
-
__exportStar(require("./configuration"), exports);
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Notices/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}
|