@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.
Files changed (140) hide show
  1. package/README.md +36 -11
  2. package/dist/index.js +4230 -4029
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.js +4238 -4036
  5. package/dist/index.umd.js.map +1 -1
  6. package/dist/lib/Coscine.Api/api.js +6792 -0
  7. package/dist/lib/Coscine.Api/api.js.map +1 -0
  8. package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/base.js +5 -5
  9. package/dist/lib/Coscine.Api/base.js.map +1 -0
  10. package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/common.js +4 -4
  11. package/dist/lib/Coscine.Api/common.js.map +1 -0
  12. package/dist/lib/{Coscine.Api.Metadata → Coscine.Api}/configuration.js +4 -4
  13. package/dist/lib/Coscine.Api/configuration.js.map +1 -0
  14. package/dist/lib/{Coscine.Api.Organization → Coscine.Api}/index.js +4 -4
  15. package/dist/lib/Coscine.Api/index.js.map +1 -0
  16. package/dist/lib/apis.js +65 -63
  17. package/dist/lib/apis.js.map +1 -1
  18. package/dist/lib/index.js +10 -9
  19. package/dist/lib/index.js.map +1 -1
  20. package/dist/types/Coscine.Api/api.d.ts +7160 -0
  21. package/dist/types/{Coscine.Api.Notices → Coscine.Api}/base.d.ts +4 -4
  22. package/dist/types/{Coscine.Api.Organization → Coscine.Api}/common.d.ts +4 -4
  23. package/dist/types/{Coscine.Api.Metadata → Coscine.Api}/configuration.d.ts +4 -4
  24. package/dist/types/Coscine.Api/index.d.ts +13 -0
  25. package/dist/types/apis.d.ts +104 -88
  26. package/dist/types/index.d.ts +209 -177
  27. package/package.json +3 -3
  28. package/dist/lib/Coscine.Api.Metadata/api.js +0 -450
  29. package/dist/lib/Coscine.Api.Metadata/api.js.map +0 -1
  30. package/dist/lib/Coscine.Api.Metadata/base.js +0 -65
  31. package/dist/lib/Coscine.Api.Metadata/base.js.map +0 -1
  32. package/dist/lib/Coscine.Api.Metadata/common.js.map +0 -1
  33. package/dist/lib/Coscine.Api.Metadata/configuration.js.map +0 -1
  34. package/dist/lib/Coscine.Api.Metadata/index.js +0 -32
  35. package/dist/lib/Coscine.Api.Metadata/index.js.map +0 -1
  36. package/dist/lib/Coscine.Api.Notices/api.js +0 -207
  37. package/dist/lib/Coscine.Api.Notices/api.js.map +0 -1
  38. package/dist/lib/Coscine.Api.Notices/base.js +0 -65
  39. package/dist/lib/Coscine.Api.Notices/base.js.map +0 -1
  40. package/dist/lib/Coscine.Api.Notices/common.js +0 -153
  41. package/dist/lib/Coscine.Api.Notices/common.js.map +0 -1
  42. package/dist/lib/Coscine.Api.Notices/configuration.js +0 -43
  43. package/dist/lib/Coscine.Api.Notices/configuration.js.map +0 -1
  44. package/dist/lib/Coscine.Api.Notices/index.js +0 -32
  45. package/dist/lib/Coscine.Api.Notices/index.js.map +0 -1
  46. package/dist/lib/Coscine.Api.Organization/api.js +0 -398
  47. package/dist/lib/Coscine.Api.Organization/api.js.map +0 -1
  48. package/dist/lib/Coscine.Api.Organization/base.js.map +0 -1
  49. package/dist/lib/Coscine.Api.Organization/common.js +0 -153
  50. package/dist/lib/Coscine.Api.Organization/common.js.map +0 -1
  51. package/dist/lib/Coscine.Api.Organization/configuration.js +0 -43
  52. package/dist/lib/Coscine.Api.Organization/configuration.js.map +0 -1
  53. package/dist/lib/Coscine.Api.Organization/index.js.map +0 -1
  54. package/dist/lib/Coscine.Api.Pid/api.js +0 -204
  55. package/dist/lib/Coscine.Api.Pid/api.js.map +0 -1
  56. package/dist/lib/Coscine.Api.Pid/base.js +0 -65
  57. package/dist/lib/Coscine.Api.Pid/base.js.map +0 -1
  58. package/dist/lib/Coscine.Api.Pid/common.js +0 -153
  59. package/dist/lib/Coscine.Api.Pid/common.js.map +0 -1
  60. package/dist/lib/Coscine.Api.Pid/configuration.js +0 -43
  61. package/dist/lib/Coscine.Api.Pid/configuration.js.map +0 -1
  62. package/dist/lib/Coscine.Api.Pid/index.js +0 -32
  63. package/dist/lib/Coscine.Api.Pid/index.js.map +0 -1
  64. package/dist/lib/Coscine.Api.Project/api.js +0 -2117
  65. package/dist/lib/Coscine.Api.Project/api.js.map +0 -1
  66. package/dist/lib/Coscine.Api.Project/base.js +0 -65
  67. package/dist/lib/Coscine.Api.Project/base.js.map +0 -1
  68. package/dist/lib/Coscine.Api.Project/common.js +0 -153
  69. package/dist/lib/Coscine.Api.Project/common.js.map +0 -1
  70. package/dist/lib/Coscine.Api.Project/configuration.js +0 -43
  71. package/dist/lib/Coscine.Api.Project/configuration.js.map +0 -1
  72. package/dist/lib/Coscine.Api.Project/index.js +0 -32
  73. package/dist/lib/Coscine.Api.Project/index.js.map +0 -1
  74. package/dist/lib/Coscine.Api.Resources/api.js +0 -1307
  75. package/dist/lib/Coscine.Api.Resources/api.js.map +0 -1
  76. package/dist/lib/Coscine.Api.Resources/base.js +0 -65
  77. package/dist/lib/Coscine.Api.Resources/base.js.map +0 -1
  78. package/dist/lib/Coscine.Api.Resources/common.js +0 -153
  79. package/dist/lib/Coscine.Api.Resources/common.js.map +0 -1
  80. package/dist/lib/Coscine.Api.Resources/configuration.js +0 -43
  81. package/dist/lib/Coscine.Api.Resources/configuration.js.map +0 -1
  82. package/dist/lib/Coscine.Api.Resources/index.js +0 -32
  83. package/dist/lib/Coscine.Api.Resources/index.js.map +0 -1
  84. package/dist/lib/Coscine.Api.Token/api.js +0 -385
  85. package/dist/lib/Coscine.Api.Token/api.js.map +0 -1
  86. package/dist/lib/Coscine.Api.Token/base.js +0 -65
  87. package/dist/lib/Coscine.Api.Token/base.js.map +0 -1
  88. package/dist/lib/Coscine.Api.Token/common.js +0 -153
  89. package/dist/lib/Coscine.Api.Token/common.js.map +0 -1
  90. package/dist/lib/Coscine.Api.Token/configuration.js +0 -43
  91. package/dist/lib/Coscine.Api.Token/configuration.js.map +0 -1
  92. package/dist/lib/Coscine.Api.Token/index.js +0 -32
  93. package/dist/lib/Coscine.Api.Token/index.js.map +0 -1
  94. package/dist/lib/Coscine.Api.User/api.js +0 -965
  95. package/dist/lib/Coscine.Api.User/api.js.map +0 -1
  96. package/dist/lib/Coscine.Api.User/base.js +0 -65
  97. package/dist/lib/Coscine.Api.User/base.js.map +0 -1
  98. package/dist/lib/Coscine.Api.User/common.js +0 -153
  99. package/dist/lib/Coscine.Api.User/common.js.map +0 -1
  100. package/dist/lib/Coscine.Api.User/configuration.js +0 -43
  101. package/dist/lib/Coscine.Api.User/configuration.js.map +0 -1
  102. package/dist/lib/Coscine.Api.User/index.js +0 -32
  103. package/dist/lib/Coscine.Api.User/index.js.map +0 -1
  104. package/dist/types/Coscine.Api.Metadata/api.d.ts +0 -299
  105. package/dist/types/Coscine.Api.Metadata/base.d.ts +0 -55
  106. package/dist/types/Coscine.Api.Metadata/common.d.ts +0 -65
  107. package/dist/types/Coscine.Api.Metadata/index.d.ts +0 -13
  108. package/dist/types/Coscine.Api.Notices/api.d.ts +0 -153
  109. package/dist/types/Coscine.Api.Notices/common.d.ts +0 -65
  110. package/dist/types/Coscine.Api.Notices/configuration.d.ts +0 -83
  111. package/dist/types/Coscine.Api.Notices/index.d.ts +0 -13
  112. package/dist/types/Coscine.Api.Organization/api.d.ts +0 -256
  113. package/dist/types/Coscine.Api.Organization/base.d.ts +0 -55
  114. package/dist/types/Coscine.Api.Organization/configuration.d.ts +0 -83
  115. package/dist/types/Coscine.Api.Organization/index.d.ts +0 -13
  116. package/dist/types/Coscine.Api.Pid/api.d.ts +0 -149
  117. package/dist/types/Coscine.Api.Pid/base.d.ts +0 -55
  118. package/dist/types/Coscine.Api.Pid/common.d.ts +0 -65
  119. package/dist/types/Coscine.Api.Pid/configuration.d.ts +0 -83
  120. package/dist/types/Coscine.Api.Pid/index.d.ts +0 -13
  121. package/dist/types/Coscine.Api.Project/api.d.ts +0 -1870
  122. package/dist/types/Coscine.Api.Project/base.d.ts +0 -55
  123. package/dist/types/Coscine.Api.Project/common.d.ts +0 -65
  124. package/dist/types/Coscine.Api.Project/configuration.d.ts +0 -83
  125. package/dist/types/Coscine.Api.Project/index.d.ts +0 -13
  126. package/dist/types/Coscine.Api.Resources/api.d.ts +0 -1733
  127. package/dist/types/Coscine.Api.Resources/base.d.ts +0 -55
  128. package/dist/types/Coscine.Api.Resources/common.d.ts +0 -65
  129. package/dist/types/Coscine.Api.Resources/configuration.d.ts +0 -83
  130. package/dist/types/Coscine.Api.Resources/index.d.ts +0 -13
  131. package/dist/types/Coscine.Api.Token/api.d.ts +0 -316
  132. package/dist/types/Coscine.Api.Token/base.d.ts +0 -55
  133. package/dist/types/Coscine.Api.Token/common.d.ts +0 -65
  134. package/dist/types/Coscine.Api.Token/configuration.d.ts +0 -83
  135. package/dist/types/Coscine.Api.Token/index.d.ts +0 -13
  136. package/dist/types/Coscine.Api.User/api.d.ts +0 -745
  137. package/dist/types/Coscine.Api.User/base.d.ts +0 -55
  138. package/dist/types/Coscine.Api.User/common.d.ts +0 -65
  139. package/dist/types/Coscine.Api.User/configuration.d.ts +0 -83
  140. package/dist/types/Coscine.Api.User/index.d.ts +0 -13
@@ -1,398 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Coscine.Api.Organization
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: 2.2.1
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.OrganizationApi = exports.OrganizationApiFactory = exports.OrganizationApiFp = exports.OrganizationApiAxiosParamCreator = 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
- * OrganizationApi - axios parameter creator
37
- * @export
38
- */
39
- const OrganizationApiAxiosParamCreator = function (configuration) {
40
- return {
41
- /**
42
- *
43
- * @summary Returns a specific organization.
44
- * @param {string} url Url of the organization.
45
- * @param {*} [options] Override http request option.
46
- * @throws {RequiredError}
47
- */
48
- organizationGetOrganization: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
49
- // verify required parameter 'url' is not null or undefined
50
- (0, common_1.assertParamExists)('organizationGetOrganization', 'url', url);
51
- const localVarPath = `/Organization/{url}`
52
- .replace(`{${"url"}}`, encodeURIComponent(String(url)));
53
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
55
- let baseOptions;
56
- if (configuration) {
57
- baseOptions = configuration.baseOptions;
58
- }
59
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
60
- const localVarHeaderParameter = {};
61
- const localVarQueryParameter = {};
62
- // authentication JWT token required
63
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
64
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
65
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
67
- return {
68
- url: (0, common_1.toPathString)(localVarUrlObj),
69
- options: localVarRequestOptions,
70
- };
71
- }),
72
- /**
73
- *
74
- * @summary Returns all labels and urls from the ror graph.
75
- * @param {string} [filter]
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- organizationGetROR: (filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
80
- const localVarPath = `/Organization/-/ror`;
81
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
82
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
83
- let baseOptions;
84
- if (configuration) {
85
- baseOptions = configuration.baseOptions;
86
- }
87
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
88
- const localVarHeaderParameter = {};
89
- const localVarQueryParameter = {};
90
- // authentication JWT token required
91
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
92
- if (filter !== undefined) {
93
- localVarQueryParameter['filter'] = filter;
94
- }
95
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
96
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
97
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
98
- return {
99
- url: (0, common_1.toPathString)(localVarUrlObj),
100
- options: localVarRequestOptions,
101
- };
102
- }),
103
- /**
104
- *
105
- * @summary Returns all organizations that match the provided criterea.
106
- * @param {number} [member] Filtering organizations that the user is member of.
107
- * @param {string} [filter] Searchterm to filter the results by.
108
- * @param {*} [options] Override http request option.
109
- * @throws {RequiredError}
110
- */
111
- organizationIndex: (member, filter, options = {}) => __awaiter(this, void 0, void 0, function* () {
112
- const localVarPath = `/Organization`;
113
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
114
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
115
- let baseOptions;
116
- if (configuration) {
117
- baseOptions = configuration.baseOptions;
118
- }
119
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
120
- const localVarHeaderParameter = {};
121
- const localVarQueryParameter = {};
122
- // authentication JWT token required
123
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
124
- if (member !== undefined) {
125
- localVarQueryParameter['member'] = member;
126
- }
127
- if (filter !== undefined) {
128
- localVarQueryParameter['filter'] = filter;
129
- }
130
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
131
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
132
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
133
- return {
134
- url: (0, common_1.toPathString)(localVarUrlObj),
135
- options: localVarRequestOptions,
136
- };
137
- }),
138
- /**
139
- *
140
- * @summary Returns true if the current user is a member of the given organization.
141
- * @param {string} url Url of the organization.
142
- * @param {*} [options] Override http request option.
143
- * @throws {RequiredError}
144
- */
145
- organizationIsMember: (url, options = {}) => __awaiter(this, void 0, void 0, function* () {
146
- // verify required parameter 'url' is not null or undefined
147
- (0, common_1.assertParamExists)('organizationIsMember', 'url', url);
148
- const localVarPath = `/Organization/-/isMember/{url}`
149
- .replace(`{${"url"}}`, encodeURIComponent(String(url)));
150
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
151
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
152
- let baseOptions;
153
- if (configuration) {
154
- baseOptions = configuration.baseOptions;
155
- }
156
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
157
- const localVarHeaderParameter = {};
158
- const localVarQueryParameter = {};
159
- // authentication JWT token required
160
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
161
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
162
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
164
- return {
165
- url: (0, common_1.toPathString)(localVarUrlObj),
166
- options: localVarRequestOptions,
167
- };
168
- }),
169
- /**
170
- *
171
- * @summary Returns a list of organizations in which the current user is a member.
172
- * @param {*} [options] Override http request option.
173
- * @throws {RequiredError}
174
- */
175
- organizationIsMember2: (options = {}) => __awaiter(this, void 0, void 0, function* () {
176
- const localVarPath = `/Organization/-/isMember`;
177
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
178
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
179
- let baseOptions;
180
- if (configuration) {
181
- baseOptions = configuration.baseOptions;
182
- }
183
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
184
- const localVarHeaderParameter = {};
185
- const localVarQueryParameter = {};
186
- // authentication JWT token required
187
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
188
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
189
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
190
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
191
- return {
192
- url: (0, common_1.toPathString)(localVarUrlObj),
193
- options: localVarRequestOptions,
194
- };
195
- }),
196
- };
197
- };
198
- exports.OrganizationApiAxiosParamCreator = OrganizationApiAxiosParamCreator;
199
- /**
200
- * OrganizationApi - functional programming interface
201
- * @export
202
- */
203
- const OrganizationApiFp = function (configuration) {
204
- const localVarAxiosParamCreator = (0, exports.OrganizationApiAxiosParamCreator)(configuration);
205
- return {
206
- /**
207
- *
208
- * @summary Returns a specific organization.
209
- * @param {string} url Url of the organization.
210
- * @param {*} [options] Override http request option.
211
- * @throws {RequiredError}
212
- */
213
- organizationGetOrganization(url, options) {
214
- return __awaiter(this, void 0, void 0, function* () {
215
- const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetOrganization(url, options);
216
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
217
- });
218
- },
219
- /**
220
- *
221
- * @summary Returns all labels and urls from the ror graph.
222
- * @param {string} [filter]
223
- * @param {*} [options] Override http request option.
224
- * @throws {RequiredError}
225
- */
226
- organizationGetROR(filter, options) {
227
- return __awaiter(this, void 0, void 0, function* () {
228
- const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationGetROR(filter, options);
229
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
230
- });
231
- },
232
- /**
233
- *
234
- * @summary Returns all organizations that match the provided criterea.
235
- * @param {number} [member] Filtering organizations that the user is member of.
236
- * @param {string} [filter] Searchterm to filter the results by.
237
- * @param {*} [options] Override http request option.
238
- * @throws {RequiredError}
239
- */
240
- organizationIndex(member, filter, options) {
241
- return __awaiter(this, void 0, void 0, function* () {
242
- const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIndex(member, filter, options);
243
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
244
- });
245
- },
246
- /**
247
- *
248
- * @summary Returns true if the current user is a member of the given organization.
249
- * @param {string} url Url of the organization.
250
- * @param {*} [options] Override http request option.
251
- * @throws {RequiredError}
252
- */
253
- organizationIsMember(url, options) {
254
- return __awaiter(this, void 0, void 0, function* () {
255
- const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember(url, options);
256
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
257
- });
258
- },
259
- /**
260
- *
261
- * @summary Returns a list of organizations in which the current user is a member.
262
- * @param {*} [options] Override http request option.
263
- * @throws {RequiredError}
264
- */
265
- organizationIsMember2(options) {
266
- return __awaiter(this, void 0, void 0, function* () {
267
- const localVarAxiosArgs = yield localVarAxiosParamCreator.organizationIsMember2(options);
268
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
269
- });
270
- },
271
- };
272
- };
273
- exports.OrganizationApiFp = OrganizationApiFp;
274
- /**
275
- * OrganizationApi - factory interface
276
- * @export
277
- */
278
- const OrganizationApiFactory = function (configuration, basePath, axios) {
279
- const localVarFp = (0, exports.OrganizationApiFp)(configuration);
280
- return {
281
- /**
282
- *
283
- * @summary Returns a specific organization.
284
- * @param {string} url Url of the organization.
285
- * @param {*} [options] Override http request option.
286
- * @throws {RequiredError}
287
- */
288
- organizationGetOrganization(url, options) {
289
- return localVarFp.organizationGetOrganization(url, options).then((request) => request(axios, basePath));
290
- },
291
- /**
292
- *
293
- * @summary Returns all labels and urls from the ror graph.
294
- * @param {string} [filter]
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- */
298
- organizationGetROR(filter, options) {
299
- return localVarFp.organizationGetROR(filter, options).then((request) => request(axios, basePath));
300
- },
301
- /**
302
- *
303
- * @summary Returns all organizations that match the provided criterea.
304
- * @param {number} [member] Filtering organizations that the user is member of.
305
- * @param {string} [filter] Searchterm to filter the results by.
306
- * @param {*} [options] Override http request option.
307
- * @throws {RequiredError}
308
- */
309
- organizationIndex(member, filter, options) {
310
- return localVarFp.organizationIndex(member, filter, options).then((request) => request(axios, basePath));
311
- },
312
- /**
313
- *
314
- * @summary Returns true if the current user is a member of the given organization.
315
- * @param {string} url Url of the organization.
316
- * @param {*} [options] Override http request option.
317
- * @throws {RequiredError}
318
- */
319
- organizationIsMember(url, options) {
320
- return localVarFp.organizationIsMember(url, options).then((request) => request(axios, basePath));
321
- },
322
- /**
323
- *
324
- * @summary Returns a list of organizations in which the current user is a member.
325
- * @param {*} [options] Override http request option.
326
- * @throws {RequiredError}
327
- */
328
- organizationIsMember2(options) {
329
- return localVarFp.organizationIsMember2(options).then((request) => request(axios, basePath));
330
- },
331
- };
332
- };
333
- exports.OrganizationApiFactory = OrganizationApiFactory;
334
- /**
335
- * OrganizationApi - object-oriented interface
336
- * @export
337
- * @class OrganizationApi
338
- * @extends {BaseAPI}
339
- */
340
- class OrganizationApi extends base_1.BaseAPI {
341
- /**
342
- *
343
- * @summary Returns a specific organization.
344
- * @param {string} url Url of the organization.
345
- * @param {*} [options] Override http request option.
346
- * @throws {RequiredError}
347
- * @memberof OrganizationApi
348
- */
349
- organizationGetOrganization(url, options) {
350
- return (0, exports.OrganizationApiFp)(this.configuration).organizationGetOrganization(url, options).then((request) => request(this.axios, this.basePath));
351
- }
352
- /**
353
- *
354
- * @summary Returns all labels and urls from the ror graph.
355
- * @param {string} [filter]
356
- * @param {*} [options] Override http request option.
357
- * @throws {RequiredError}
358
- * @memberof OrganizationApi
359
- */
360
- organizationGetROR(filter, options) {
361
- return (0, exports.OrganizationApiFp)(this.configuration).organizationGetROR(filter, options).then((request) => request(this.axios, this.basePath));
362
- }
363
- /**
364
- *
365
- * @summary Returns all organizations that match the provided criterea.
366
- * @param {number} [member] Filtering organizations that the user is member of.
367
- * @param {string} [filter] Searchterm to filter the results by.
368
- * @param {*} [options] Override http request option.
369
- * @throws {RequiredError}
370
- * @memberof OrganizationApi
371
- */
372
- organizationIndex(member, filter, options) {
373
- return (0, exports.OrganizationApiFp)(this.configuration).organizationIndex(member, filter, options).then((request) => request(this.axios, this.basePath));
374
- }
375
- /**
376
- *
377
- * @summary Returns true if the current user is a member of the given organization.
378
- * @param {string} url Url of the organization.
379
- * @param {*} [options] Override http request option.
380
- * @throws {RequiredError}
381
- * @memberof OrganizationApi
382
- */
383
- organizationIsMember(url, options) {
384
- return (0, exports.OrganizationApiFp)(this.configuration).organizationIsMember(url, options).then((request) => request(this.axios, this.basePath));
385
- }
386
- /**
387
- *
388
- * @summary Returns a list of organizations in which the current user is a member.
389
- * @param {*} [options] Override http request option.
390
- * @throws {RequiredError}
391
- * @memberof OrganizationApi
392
- */
393
- organizationIsMember2(options) {
394
- return (0, exports.OrganizationApiFp)(this.configuration).organizationIsMember2(options).then((request) => request(this.axios, this.basePath));
395
- }
396
- }
397
- exports.OrganizationApi = OrganizationApi;
398
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Organization/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAIH,kDAAiE;AACjE,yDAAyD;AACzD,aAAa;AACb,qCAA4N;AAC5N,aAAa;AACb,iCAA4F;AAsD5F;;;GAGG;AACI,MAAM,gCAAgC,GAAG,UAAU,aAA6B;IACnF,OAAO;QACH;;;;;;WAMG;QACH,2BAA2B,EAAE,CAAO,GAAW,EAAE,UAAe,EAAE,EAAwB,EAAE;YACxF,2DAA2D;YAC3D,IAAA,0BAAiB,EAAC,6BAA6B,EAAE,KAAK,EAAE,GAAG,CAAC,CAAA;YAC5D,MAAM,YAAY,GAAG,qBAAqB;iBACrC,OAAO,CAAC,IAAI,KAAK,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC5D,oFAAoF;YACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YAC7D,IAAI,WAAW,CAAC;YAChB,IAAI,aAAa,EAAE;gBACf,WAAW,GAAG,aAAa,CAAC,WAAW,CAAC;aAC3C;YAED,MAAM,sBAAsB,iCAAK,MAAM,EAAE,KAAK,IAAK,WAAW,GAAK,OAAO,CAAC,CAAC;YAC5E,MAAM,uBAAuB,GAAG,EAAS,CAAC;YAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;YAEzC,oCAAoC;YACpC,MAAM,IAAA,0BAAiB,EAAC,uBAAuB,EAAE,eAAe,EAAE,aAAa,CAAC,CAAA;YAIhF,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;YACvE,IAAI,sBAAsB,GAA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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.Organization
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: 2.2.1
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.Organization/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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zG,MAAM,SAAS,GAAG,OAAO,KAAK,KAAK,QAAQ,CAAC;IAC5C,MAAM,kBAAkB,GAAG,SAAS,IAAI,aAAa,IAAI,aAAa,CAAC,UAAU;QAC7E,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC,cAAc,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC;QAClE,CAAC,CAAC,SAAS,CAAC;IAChB,OAAO,kBAAkB;QACrB,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QAClD,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC;AACxB,CAAC,CAAA;AARY,QAAA,qBAAqB,yBAQjC;AAED;;;GAGG;AACI,MAAM,YAAY,GAAG,UAAU,GAAQ;IAC1C,OAAO,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,IAAI,CAAA;AAC/C,CAAC,CAAA;AAFY,QAAA,YAAY,gBAExB;AAED;;;GAGG;AACI,MAAM,qBAAqB,GAAG,UAAU,SAAsB,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.Organization
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: 2.2.1
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.Organization/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 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Coscine.Api.Organization/index.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAGH,wCAAsB;AACtB,kDAAgC"}