@coscine/api-client 2.9.1 → 2.9.2

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 (175) hide show
  1. package/dist/index.js +349 -382
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.umd.js +349 -382
  4. package/dist/index.umd.js.map +1 -1
  5. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js +470 -0
  6. package/dist/lib/Coscine.Api.ActivatedFeatures/api.js.map +1 -0
  7. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js +65 -0
  8. package/dist/lib/Coscine.Api.ActivatedFeatures/base.js.map +1 -0
  9. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js +153 -0
  10. package/dist/lib/Coscine.Api.ActivatedFeatures/common.js.map +1 -0
  11. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js +43 -0
  12. package/dist/lib/Coscine.Api.ActivatedFeatures/configuration.js.map +1 -0
  13. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js +32 -0
  14. package/dist/lib/Coscine.Api.ActivatedFeatures/index.js.map +1 -0
  15. package/dist/lib/Coscine.Api.Admin/api.js +12 -11
  16. package/dist/lib/Coscine.Api.Admin/api.js.map +1 -1
  17. package/dist/lib/Coscine.Api.Admin/base.js +3 -1
  18. package/dist/lib/Coscine.Api.Admin/base.js.map +1 -1
  19. package/dist/lib/Coscine.Api.Admin/common.js +14 -22
  20. package/dist/lib/Coscine.Api.Admin/common.js.map +1 -1
  21. package/dist/lib/Coscine.Api.Admin/configuration.js +1 -1
  22. package/dist/lib/Coscine.Api.Admin/index.js +1 -1
  23. package/dist/lib/Coscine.Api.Blob/api.js +8 -8
  24. package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
  25. package/dist/lib/Coscine.Api.Blob/base.js +3 -1
  26. package/dist/lib/Coscine.Api.Blob/base.js.map +1 -1
  27. package/dist/lib/Coscine.Api.Blob/common.js +14 -22
  28. package/dist/lib/Coscine.Api.Blob/common.js.map +1 -1
  29. package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
  30. package/dist/lib/Coscine.Api.Blob/index.js +1 -1
  31. package/dist/lib/Coscine.Api.Metadata/api.js +6 -6
  32. package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
  33. package/dist/lib/Coscine.Api.Metadata/base.js +2 -0
  34. package/dist/lib/Coscine.Api.Metadata/base.js.map +1 -1
  35. package/dist/lib/Coscine.Api.Metadata/common.js +13 -21
  36. package/dist/lib/Coscine.Api.Metadata/common.js.map +1 -1
  37. package/dist/lib/Coscine.Api.Notices/api.js +2 -2
  38. package/dist/lib/Coscine.Api.Notices/api.js.map +1 -1
  39. package/dist/lib/Coscine.Api.Notices/base.js +2 -0
  40. package/dist/lib/Coscine.Api.Notices/base.js.map +1 -1
  41. package/dist/lib/Coscine.Api.Notices/common.js +13 -21
  42. package/dist/lib/Coscine.Api.Notices/common.js.map +1 -1
  43. package/dist/lib/Coscine.Api.Organization/api.js +6 -6
  44. package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
  45. package/dist/lib/Coscine.Api.Organization/base.js +4 -2
  46. package/dist/lib/Coscine.Api.Organization/base.js.map +1 -1
  47. package/dist/lib/Coscine.Api.Organization/common.js +14 -22
  48. package/dist/lib/Coscine.Api.Organization/common.js.map +1 -1
  49. package/dist/lib/Coscine.Api.Organization/configuration.js +1 -1
  50. package/dist/lib/Coscine.Api.Organization/index.js +1 -1
  51. package/dist/lib/Coscine.Api.Pid/api.js +3 -3
  52. package/dist/lib/Coscine.Api.Pid/api.js.map +1 -1
  53. package/dist/lib/Coscine.Api.Pid/base.js +3 -1
  54. package/dist/lib/Coscine.Api.Pid/base.js.map +1 -1
  55. package/dist/lib/Coscine.Api.Pid/common.js +14 -22
  56. package/dist/lib/Coscine.Api.Pid/common.js.map +1 -1
  57. package/dist/lib/Coscine.Api.Pid/configuration.js +1 -1
  58. package/dist/lib/Coscine.Api.Pid/index.js +1 -1
  59. package/dist/lib/Coscine.Api.Project/api.js +41 -44
  60. package/dist/lib/Coscine.Api.Project/api.js.map +1 -1
  61. package/dist/lib/Coscine.Api.Project/base.js +3 -1
  62. package/dist/lib/Coscine.Api.Project/base.js.map +1 -1
  63. package/dist/lib/Coscine.Api.Project/common.js +14 -22
  64. package/dist/lib/Coscine.Api.Project/common.js.map +1 -1
  65. package/dist/lib/Coscine.Api.Project/configuration.js +1 -1
  66. package/dist/lib/Coscine.Api.Project/index.js +1 -1
  67. package/dist/lib/Coscine.Api.Resources/api.js +44 -41
  68. package/dist/lib/Coscine.Api.Resources/api.js.map +1 -1
  69. package/dist/lib/Coscine.Api.Resources/base.js +3 -1
  70. package/dist/lib/Coscine.Api.Resources/base.js.map +1 -1
  71. package/dist/lib/Coscine.Api.Resources/common.js +14 -22
  72. package/dist/lib/Coscine.Api.Resources/common.js.map +1 -1
  73. package/dist/lib/Coscine.Api.Resources/configuration.js +1 -1
  74. package/dist/lib/Coscine.Api.Resources/index.js +1 -1
  75. package/dist/lib/Coscine.Api.STS/api.js +9 -9
  76. package/dist/lib/Coscine.Api.STS/api.js.map +1 -1
  77. package/dist/lib/Coscine.Api.STS/base.js +2 -0
  78. package/dist/lib/Coscine.Api.STS/base.js.map +1 -1
  79. package/dist/lib/Coscine.Api.STS/common.js +13 -21
  80. package/dist/lib/Coscine.Api.STS/common.js.map +1 -1
  81. package/dist/lib/Coscine.Api.Search/api.js +8 -7
  82. package/dist/lib/Coscine.Api.Search/api.js.map +1 -1
  83. package/dist/lib/Coscine.Api.Search/base.js +4 -2
  84. package/dist/lib/Coscine.Api.Search/base.js.map +1 -1
  85. package/dist/lib/Coscine.Api.Search/common.js +14 -22
  86. package/dist/lib/Coscine.Api.Search/common.js.map +1 -1
  87. package/dist/lib/Coscine.Api.Search/configuration.js +1 -1
  88. package/dist/lib/Coscine.Api.Search/index.js +1 -1
  89. package/dist/lib/Coscine.Api.Token/api.js +5 -5
  90. package/dist/lib/Coscine.Api.Token/api.js.map +1 -1
  91. package/dist/lib/Coscine.Api.Token/base.js +2 -0
  92. package/dist/lib/Coscine.Api.Token/base.js.map +1 -1
  93. package/dist/lib/Coscine.Api.Token/common.js +13 -21
  94. package/dist/lib/Coscine.Api.Token/common.js.map +1 -1
  95. package/dist/lib/Coscine.Api.Tree/api.js +3 -3
  96. package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
  97. package/dist/lib/Coscine.Api.Tree/base.js +3 -1
  98. package/dist/lib/Coscine.Api.Tree/base.js.map +1 -1
  99. package/dist/lib/Coscine.Api.Tree/common.js +14 -22
  100. package/dist/lib/Coscine.Api.Tree/common.js.map +1 -1
  101. package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
  102. package/dist/lib/Coscine.Api.Tree/index.js +1 -1
  103. package/dist/lib/Coscine.Api.User/api.js +13 -13
  104. package/dist/lib/Coscine.Api.User/api.js.map +1 -1
  105. package/dist/lib/Coscine.Api.User/base.js +3 -1
  106. package/dist/lib/Coscine.Api.User/base.js.map +1 -1
  107. package/dist/lib/Coscine.Api.User/common.js +14 -22
  108. package/dist/lib/Coscine.Api.User/common.js.map +1 -1
  109. package/dist/lib/Coscine.Api.User/configuration.js +1 -1
  110. package/dist/lib/Coscine.Api.User/index.js +1 -1
  111. package/dist/types/Coscine.Api.ActivatedFeatures/api.d.ts +279 -0
  112. package/dist/types/Coscine.Api.ActivatedFeatures/base.d.ts +55 -0
  113. package/dist/types/Coscine.Api.ActivatedFeatures/common.d.ts +65 -0
  114. package/dist/types/Coscine.Api.ActivatedFeatures/configuration.d.ts +83 -0
  115. package/dist/types/Coscine.Api.ActivatedFeatures/index.d.ts +13 -0
  116. package/dist/types/Coscine.Api.Admin/api.d.ts +40 -66
  117. package/dist/types/Coscine.Api.Admin/base.d.ts +5 -4
  118. package/dist/types/Coscine.Api.Admin/common.d.ts +5 -5
  119. package/dist/types/Coscine.Api.Admin/configuration.d.ts +1 -1
  120. package/dist/types/Coscine.Api.Admin/index.d.ts +1 -1
  121. package/dist/types/Coscine.Api.Blob/api.d.ts +20 -21
  122. package/dist/types/Coscine.Api.Blob/base.d.ts +5 -4
  123. package/dist/types/Coscine.Api.Blob/common.d.ts +5 -5
  124. package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
  125. package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
  126. package/dist/types/Coscine.Api.Metadata/api.d.ts +31 -32
  127. package/dist/types/Coscine.Api.Metadata/base.d.ts +4 -3
  128. package/dist/types/Coscine.Api.Metadata/common.d.ts +4 -4
  129. package/dist/types/Coscine.Api.Notices/api.d.ts +16 -17
  130. package/dist/types/Coscine.Api.Notices/base.d.ts +4 -3
  131. package/dist/types/Coscine.Api.Notices/common.d.ts +4 -4
  132. package/dist/types/Coscine.Api.Organization/api.d.ts +24 -25
  133. package/dist/types/Coscine.Api.Organization/base.d.ts +5 -4
  134. package/dist/types/Coscine.Api.Organization/common.d.ts +5 -5
  135. package/dist/types/Coscine.Api.Organization/configuration.d.ts +1 -1
  136. package/dist/types/Coscine.Api.Organization/index.d.ts +1 -1
  137. package/dist/types/Coscine.Api.Pid/api.d.ts +18 -19
  138. package/dist/types/Coscine.Api.Pid/base.d.ts +5 -4
  139. package/dist/types/Coscine.Api.Pid/common.d.ts +5 -5
  140. package/dist/types/Coscine.Api.Pid/configuration.d.ts +1 -1
  141. package/dist/types/Coscine.Api.Pid/index.d.ts +1 -1
  142. package/dist/types/Coscine.Api.Project/api.d.ts +225 -271
  143. package/dist/types/Coscine.Api.Project/base.d.ts +5 -4
  144. package/dist/types/Coscine.Api.Project/common.d.ts +5 -5
  145. package/dist/types/Coscine.Api.Project/configuration.d.ts +1 -1
  146. package/dist/types/Coscine.Api.Project/index.d.ts +1 -1
  147. package/dist/types/Coscine.Api.Resources/api.d.ts +240 -299
  148. package/dist/types/Coscine.Api.Resources/base.d.ts +5 -4
  149. package/dist/types/Coscine.Api.Resources/common.d.ts +5 -5
  150. package/dist/types/Coscine.Api.Resources/configuration.d.ts +1 -1
  151. package/dist/types/Coscine.Api.Resources/index.d.ts +1 -1
  152. package/dist/types/Coscine.Api.STS/api.d.ts +41 -42
  153. package/dist/types/Coscine.Api.STS/base.d.ts +4 -3
  154. package/dist/types/Coscine.Api.STS/common.d.ts +4 -4
  155. package/dist/types/Coscine.Api.Search/api.d.ts +17 -25
  156. package/dist/types/Coscine.Api.Search/base.d.ts +5 -4
  157. package/dist/types/Coscine.Api.Search/common.d.ts +5 -5
  158. package/dist/types/Coscine.Api.Search/configuration.d.ts +1 -1
  159. package/dist/types/Coscine.Api.Search/index.d.ts +1 -1
  160. package/dist/types/Coscine.Api.Token/api.d.ts +33 -34
  161. package/dist/types/Coscine.Api.Token/base.d.ts +4 -3
  162. package/dist/types/Coscine.Api.Token/common.d.ts +4 -4
  163. package/dist/types/Coscine.Api.Tree/api.d.ts +12 -13
  164. package/dist/types/Coscine.Api.Tree/base.d.ts +5 -4
  165. package/dist/types/Coscine.Api.Tree/common.d.ts +5 -5
  166. package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
  167. package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
  168. package/dist/types/Coscine.Api.User/api.d.ts +72 -83
  169. package/dist/types/Coscine.Api.User/base.d.ts +5 -4
  170. package/dist/types/Coscine.Api.User/common.d.ts +5 -5
  171. package/dist/types/Coscine.Api.User/configuration.d.ts +1 -1
  172. package/dist/types/Coscine.Api.User/index.d.ts +1 -1
  173. package/dist/types/apis.d.ts +40 -40
  174. package/dist/types/index.d.ts +80 -80
  175. package/package.json +1 -1
@@ -0,0 +1,470 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Coscine.Api.ActivatedFeatures
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.1.2
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.ActivatedFeaturesApi = exports.ActivatedFeaturesApiFactory = exports.ActivatedFeaturesApiFp = exports.ActivatedFeaturesApiAxiosParamCreator = 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
+ * ActivatedFeaturesApi - axios parameter creator
37
+ * @export
38
+ */
39
+ const ActivatedFeaturesApiAxiosParamCreator = function (configuration) {
40
+ return {
41
+ /**
42
+ *
43
+ * @summary Activates the feature of the project.
44
+ * @param {string} projectId Project for which the feature is activated
45
+ * @param {string} featureId Feature
46
+ * @param {*} [options] Override http request option.
47
+ * @throws {RequiredError}
48
+ */
49
+ activatedFeaturesActivateFeature: (projectId, featureId, options = {}) => __awaiter(this, void 0, void 0, function* () {
50
+ // verify required parameter 'projectId' is not null or undefined
51
+ (0, common_1.assertParamExists)('activatedFeaturesActivateFeature', 'projectId', projectId);
52
+ // verify required parameter 'featureId' is not null or undefined
53
+ (0, common_1.assertParamExists)('activatedFeaturesActivateFeature', 'featureId', featureId);
54
+ const localVarPath = `/ActivatedFeatures/{projectId}/activateFeature/{featureId}`
55
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
56
+ .replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ if (configuration) {
61
+ baseOptions = configuration.baseOptions;
62
+ }
63
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
64
+ const localVarHeaderParameter = {};
65
+ const localVarQueryParameter = {};
66
+ // authentication JWT token required
67
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
68
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
69
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
70
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
71
+ return {
72
+ url: (0, common_1.toPathString)(localVarUrlObj),
73
+ options: localVarRequestOptions,
74
+ };
75
+ }),
76
+ /**
77
+ *
78
+ * @summary Deactives the feature of the project.
79
+ * @param {string} projectId Project for which the feature is deactivated
80
+ * @param {string} featureId Feature
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ activatedFeaturesDeactivateFeature: (projectId, featureId, options = {}) => __awaiter(this, void 0, void 0, function* () {
85
+ // verify required parameter 'projectId' is not null or undefined
86
+ (0, common_1.assertParamExists)('activatedFeaturesDeactivateFeature', 'projectId', projectId);
87
+ // verify required parameter 'featureId' is not null or undefined
88
+ (0, common_1.assertParamExists)('activatedFeaturesDeactivateFeature', 'featureId', featureId);
89
+ const localVarPath = `/ActivatedFeatures/{projectId}/deactivateFeature/{featureId}`
90
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)))
91
+ .replace(`{${"featureId"}}`, encodeURIComponent(String(featureId)));
92
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
93
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
94
+ let baseOptions;
95
+ if (configuration) {
96
+ baseOptions = configuration.baseOptions;
97
+ }
98
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
99
+ const localVarHeaderParameter = {};
100
+ const localVarQueryParameter = {};
101
+ // authentication JWT token required
102
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
103
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
104
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
105
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
106
+ return {
107
+ url: (0, common_1.toPathString)(localVarUrlObj),
108
+ options: localVarRequestOptions,
109
+ };
110
+ }),
111
+ /**
112
+ *
113
+ * @summary Returns activated features of the project.
114
+ * @param {string} projectId Project for which the activated features are returned
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ activatedFeaturesGetActiveFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
119
+ // verify required parameter 'projectId' is not null or undefined
120
+ (0, common_1.assertParamExists)('activatedFeaturesGetActiveFeatures', 'projectId', projectId);
121
+ const localVarPath = `/ActivatedFeatures/{projectId}/activeFeatures`
122
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
124
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
125
+ let baseOptions;
126
+ if (configuration) {
127
+ baseOptions = configuration.baseOptions;
128
+ }
129
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
130
+ const localVarHeaderParameter = {};
131
+ const localVarQueryParameter = {};
132
+ // authentication JWT token required
133
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
134
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
137
+ return {
138
+ url: (0, common_1.toPathString)(localVarUrlObj),
139
+ options: localVarRequestOptions,
140
+ };
141
+ }),
142
+ /**
143
+ *
144
+ * @summary Returns features of the project.
145
+ * @param {string} projectId Project for which the features are returned
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ activatedFeaturesGetFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
150
+ // verify required parameter 'projectId' is not null or undefined
151
+ (0, common_1.assertParamExists)('activatedFeaturesGetFeatures', 'projectId', projectId);
152
+ const localVarPath = `/ActivatedFeatures/{projectId}`
153
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
154
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
155
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ }
160
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
161
+ const localVarHeaderParameter = {};
162
+ const localVarQueryParameter = {};
163
+ // authentication JWT token required
164
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
165
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
166
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
167
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
168
+ return {
169
+ url: (0, common_1.toPathString)(localVarUrlObj),
170
+ options: localVarRequestOptions,
171
+ };
172
+ }),
173
+ /**
174
+ *
175
+ * @summary Returns all available features.
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ activatedFeaturesGetFeaturesAll: (options = {}) => __awaiter(this, void 0, void 0, function* () {
180
+ const localVarPath = `/ActivatedFeatures`;
181
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
182
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
183
+ let baseOptions;
184
+ if (configuration) {
185
+ baseOptions = configuration.baseOptions;
186
+ }
187
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
188
+ const localVarHeaderParameter = {};
189
+ const localVarQueryParameter = {};
190
+ // authentication JWT token required
191
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
192
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
193
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
194
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
195
+ return {
196
+ url: (0, common_1.toPathString)(localVarUrlObj),
197
+ options: localVarRequestOptions,
198
+ };
199
+ }),
200
+ /**
201
+ *
202
+ * @summary Returns the inactive features of the project.
203
+ * @param {string} projectId Project for which the inactivate features are returned
204
+ * @param {*} [options] Override http request option.
205
+ * @throws {RequiredError}
206
+ */
207
+ activatedFeaturesGetInactiveFeatures: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
208
+ // verify required parameter 'projectId' is not null or undefined
209
+ (0, common_1.assertParamExists)('activatedFeaturesGetInactiveFeatures', 'projectId', projectId);
210
+ const localVarPath = `/ActivatedFeatures/{projectId}/inactiveFeatures`
211
+ .replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
212
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
213
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
214
+ let baseOptions;
215
+ if (configuration) {
216
+ baseOptions = configuration.baseOptions;
217
+ }
218
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
219
+ const localVarHeaderParameter = {};
220
+ const localVarQueryParameter = {};
221
+ // authentication JWT token required
222
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
223
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter, options.query);
224
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
225
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
226
+ return {
227
+ url: (0, common_1.toPathString)(localVarUrlObj),
228
+ options: localVarRequestOptions,
229
+ };
230
+ }),
231
+ };
232
+ };
233
+ exports.ActivatedFeaturesApiAxiosParamCreator = ActivatedFeaturesApiAxiosParamCreator;
234
+ /**
235
+ * ActivatedFeaturesApi - functional programming interface
236
+ * @export
237
+ */
238
+ const ActivatedFeaturesApiFp = function (configuration) {
239
+ const localVarAxiosParamCreator = (0, exports.ActivatedFeaturesApiAxiosParamCreator)(configuration);
240
+ return {
241
+ /**
242
+ *
243
+ * @summary Activates the feature of the project.
244
+ * @param {string} projectId Project for which the feature is activated
245
+ * @param {string} featureId Feature
246
+ * @param {*} [options] Override http request option.
247
+ * @throws {RequiredError}
248
+ */
249
+ activatedFeaturesActivateFeature(projectId, featureId, options) {
250
+ return __awaiter(this, void 0, void 0, function* () {
251
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesActivateFeature(projectId, featureId, options);
252
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
253
+ });
254
+ },
255
+ /**
256
+ *
257
+ * @summary Deactives the feature of the project.
258
+ * @param {string} projectId Project for which the feature is deactivated
259
+ * @param {string} featureId Feature
260
+ * @param {*} [options] Override http request option.
261
+ * @throws {RequiredError}
262
+ */
263
+ activatedFeaturesDeactivateFeature(projectId, featureId, options) {
264
+ return __awaiter(this, void 0, void 0, function* () {
265
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesDeactivateFeature(projectId, featureId, options);
266
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
267
+ });
268
+ },
269
+ /**
270
+ *
271
+ * @summary Returns activated features of the project.
272
+ * @param {string} projectId Project for which the activated features are returned
273
+ * @param {*} [options] Override http request option.
274
+ * @throws {RequiredError}
275
+ */
276
+ activatedFeaturesGetActiveFeatures(projectId, options) {
277
+ return __awaiter(this, void 0, void 0, function* () {
278
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetActiveFeatures(projectId, options);
279
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
280
+ });
281
+ },
282
+ /**
283
+ *
284
+ * @summary Returns features of the project.
285
+ * @param {string} projectId Project for which the features are returned
286
+ * @param {*} [options] Override http request option.
287
+ * @throws {RequiredError}
288
+ */
289
+ activatedFeaturesGetFeatures(projectId, options) {
290
+ return __awaiter(this, void 0, void 0, function* () {
291
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeatures(projectId, options);
292
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
293
+ });
294
+ },
295
+ /**
296
+ *
297
+ * @summary Returns all available features.
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ activatedFeaturesGetFeaturesAll(options) {
302
+ return __awaiter(this, void 0, void 0, function* () {
303
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetFeaturesAll(options);
304
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
305
+ });
306
+ },
307
+ /**
308
+ *
309
+ * @summary Returns the inactive features of the project.
310
+ * @param {string} projectId Project for which the inactivate features are returned
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ activatedFeaturesGetInactiveFeatures(projectId, options) {
315
+ return __awaiter(this, void 0, void 0, function* () {
316
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.activatedFeaturesGetInactiveFeatures(projectId, options);
317
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
318
+ });
319
+ },
320
+ };
321
+ };
322
+ exports.ActivatedFeaturesApiFp = ActivatedFeaturesApiFp;
323
+ /**
324
+ * ActivatedFeaturesApi - factory interface
325
+ * @export
326
+ */
327
+ const ActivatedFeaturesApiFactory = function (configuration, basePath, axios) {
328
+ const localVarFp = (0, exports.ActivatedFeaturesApiFp)(configuration);
329
+ return {
330
+ /**
331
+ *
332
+ * @summary Activates the feature of the project.
333
+ * @param {string} projectId Project for which the feature is activated
334
+ * @param {string} featureId Feature
335
+ * @param {*} [options] Override http request option.
336
+ * @throws {RequiredError}
337
+ */
338
+ activatedFeaturesActivateFeature(projectId, featureId, options) {
339
+ return localVarFp.activatedFeaturesActivateFeature(projectId, featureId, options).then((request) => request(axios, basePath));
340
+ },
341
+ /**
342
+ *
343
+ * @summary Deactives the feature of the project.
344
+ * @param {string} projectId Project for which the feature is deactivated
345
+ * @param {string} featureId Feature
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ */
349
+ activatedFeaturesDeactivateFeature(projectId, featureId, options) {
350
+ return localVarFp.activatedFeaturesDeactivateFeature(projectId, featureId, options).then((request) => request(axios, basePath));
351
+ },
352
+ /**
353
+ *
354
+ * @summary Returns activated features of the project.
355
+ * @param {string} projectId Project for which the activated features are returned
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ activatedFeaturesGetActiveFeatures(projectId, options) {
360
+ return localVarFp.activatedFeaturesGetActiveFeatures(projectId, options).then((request) => request(axios, basePath));
361
+ },
362
+ /**
363
+ *
364
+ * @summary Returns features of the project.
365
+ * @param {string} projectId Project for which the features are returned
366
+ * @param {*} [options] Override http request option.
367
+ * @throws {RequiredError}
368
+ */
369
+ activatedFeaturesGetFeatures(projectId, options) {
370
+ return localVarFp.activatedFeaturesGetFeatures(projectId, options).then((request) => request(axios, basePath));
371
+ },
372
+ /**
373
+ *
374
+ * @summary Returns all available features.
375
+ * @param {*} [options] Override http request option.
376
+ * @throws {RequiredError}
377
+ */
378
+ activatedFeaturesGetFeaturesAll(options) {
379
+ return localVarFp.activatedFeaturesGetFeaturesAll(options).then((request) => request(axios, basePath));
380
+ },
381
+ /**
382
+ *
383
+ * @summary Returns the inactive features of the project.
384
+ * @param {string} projectId Project for which the inactivate features are returned
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ activatedFeaturesGetInactiveFeatures(projectId, options) {
389
+ return localVarFp.activatedFeaturesGetInactiveFeatures(projectId, options).then((request) => request(axios, basePath));
390
+ },
391
+ };
392
+ };
393
+ exports.ActivatedFeaturesApiFactory = ActivatedFeaturesApiFactory;
394
+ /**
395
+ * ActivatedFeaturesApi - object-oriented interface
396
+ * @export
397
+ * @class ActivatedFeaturesApi
398
+ * @extends {BaseAPI}
399
+ */
400
+ class ActivatedFeaturesApi extends base_1.BaseAPI {
401
+ /**
402
+ *
403
+ * @summary Activates the feature of the project.
404
+ * @param {string} projectId Project for which the feature is activated
405
+ * @param {string} featureId Feature
406
+ * @param {*} [options] Override http request option.
407
+ * @throws {RequiredError}
408
+ * @memberof ActivatedFeaturesApi
409
+ */
410
+ activatedFeaturesActivateFeature(projectId, featureId, options) {
411
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesActivateFeature(projectId, featureId, options).then((request) => request(this.axios, this.basePath));
412
+ }
413
+ /**
414
+ *
415
+ * @summary Deactives the feature of the project.
416
+ * @param {string} projectId Project for which the feature is deactivated
417
+ * @param {string} featureId Feature
418
+ * @param {*} [options] Override http request option.
419
+ * @throws {RequiredError}
420
+ * @memberof ActivatedFeaturesApi
421
+ */
422
+ activatedFeaturesDeactivateFeature(projectId, featureId, options) {
423
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesDeactivateFeature(projectId, featureId, options).then((request) => request(this.axios, this.basePath));
424
+ }
425
+ /**
426
+ *
427
+ * @summary Returns activated features of the project.
428
+ * @param {string} projectId Project for which the activated features are returned
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ * @memberof ActivatedFeaturesApi
432
+ */
433
+ activatedFeaturesGetActiveFeatures(projectId, options) {
434
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesGetActiveFeatures(projectId, options).then((request) => request(this.axios, this.basePath));
435
+ }
436
+ /**
437
+ *
438
+ * @summary Returns features of the project.
439
+ * @param {string} projectId Project for which the features are returned
440
+ * @param {*} [options] Override http request option.
441
+ * @throws {RequiredError}
442
+ * @memberof ActivatedFeaturesApi
443
+ */
444
+ activatedFeaturesGetFeatures(projectId, options) {
445
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesGetFeatures(projectId, options).then((request) => request(this.axios, this.basePath));
446
+ }
447
+ /**
448
+ *
449
+ * @summary Returns all available features.
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ * @memberof ActivatedFeaturesApi
453
+ */
454
+ activatedFeaturesGetFeaturesAll(options) {
455
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesGetFeaturesAll(options).then((request) => request(this.axios, this.basePath));
456
+ }
457
+ /**
458
+ *
459
+ * @summary Returns the inactive features of the project.
460
+ * @param {string} projectId Project for which the inactivate features are returned
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ * @memberof ActivatedFeaturesApi
464
+ */
465
+ activatedFeaturesGetInactiveFeatures(projectId, options) {
466
+ return (0, exports.ActivatedFeaturesApiFp)(this.configuration).activatedFeaturesGetInactiveFeatures(projectId, options).then((request) => request(this.axios, this.basePath));
467
+ }
468
+ }
469
+ exports.ActivatedFeaturesApi = ActivatedFeaturesApi;
470
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../src/Coscine.Api.ActivatedFeatures/api.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;;;;;;;;;;AAIH,kDAAiE;AACjE,yDAAyD;AACzD,aAAa;AACb,qCAA4N;AAC5N,aAAa;AACb,iCAA4F;AAwC5F;;;GAGG;AACI,MAAM,qCAAqC,GAAG,UAAU,aAA6B;IACxF,OAAO;QACH;;;;;;;WAOG;QACH,gCAAgC,EAAE,CAAO,SAAiB,EAAE,SAAiB,EAAE,UAAe,EAAE,EAAwB,EAAE;YACtH,iEAAiE;YACjE,IAAA,0BAAiB,EAAC,kCAAkC,EAAE,WAAW,EAAE,SAAS,CAAC,CAAA;YAC7E,iEAAiE;YACjE,IAAA,0BAAiB,EAAC,kCAAkC,EAAE,WAAW,EAAE,SAAS,CAAC,CAAA;YAC7E,MAAM,YAAY,GAAG,4DAA4D;iBAC5E,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC;iBAClE,OAAO,CAAC,IAAI,WAAW,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACxE,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,EA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A+B,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrJ,CAAC;IAED;;;;;;;OAOG;IACI,oCAAoC,CAAC,SAAiB,EAAE,OAAa;QACxE,OAAO,IAAA,8BAAsB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oCAAoC,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACrK,CAAC;CACJ;AAzED,oDAyEC"}
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Coscine.Api.ActivatedFeatures
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 2.1.2
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-sp16.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.ActivatedFeatures".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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sourceRoot":"","sources":["../../../src/Coscine.Api.ActivatedFeatures/base.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;;;;AAIH,yDAAyD;AACzD,aAAa;AACb,kDAAiE;AAEpD,QAAA,SAAS,GAAG,uFAAuF,CAAC,OAAO,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;AAErI;;;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"}