@coscine/api-client 2.7.0 → 2.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Organization/base.js +1 -1
- package/dist/types/Coscine.Api.Organization/api.d.ts +66 -15
- package/dist/types/apis.d.ts +5 -5
- package/dist/types/index.d.ts +10 -10
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;YAC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,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC3I,CAAC;IAED;;;;;;;;OAQG;IACI,iBAAiB,CAAC,MAAe,EAAE,MAAe,EAAE,OAAa;QACpE,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,iBAAiB,CAAC,MAAM,EAAE,MAAM,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;IAED;;;;;;;OAOG;IACI,oBAAoB,CAAC,GAAW,EAAE,OAAa;QAClD,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,oBAAoB,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1I,CAAC;IAED;;;;;;OAMG;IACI,qBAAqB,CAAC,OAAa;QACtC,OAAO,IAAA,yBAAiB,EAAC,IAAI,CAAC,aAAa,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACtI,CAAC;CACJ;AA5DD,0CA4DC"}
|
|
@@ -20,7 +20,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
|
|
|
20
20
|
// Some imports not used depending on template conditions
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
const axios_1 = __importDefault(require("axios"));
|
|
23
|
-
exports.BASE_PATH = "https://d-
|
|
23
|
+
exports.BASE_PATH = "https://d-sp23.devlef.campus.rwth-aachen.de/coscine/api/Coscine.Api.Organization".replace(/\/+$/, "");
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
@@ -12,6 +12,57 @@
|
|
|
12
12
|
import { Configuration } from './configuration';
|
|
13
13
|
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from './base';
|
|
15
|
+
/**
|
|
16
|
+
* Object for representing the isMember relationship
|
|
17
|
+
* @export
|
|
18
|
+
* @interface IsMemberObject
|
|
19
|
+
*/
|
|
20
|
+
export interface IsMemberObject {
|
|
21
|
+
/**
|
|
22
|
+
* Is Member of requested organization
|
|
23
|
+
* @type {boolean}
|
|
24
|
+
* @memberof IsMemberObject
|
|
25
|
+
*/
|
|
26
|
+
isMember?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Information about an Organization
|
|
30
|
+
* @export
|
|
31
|
+
* @interface OrganizationObject
|
|
32
|
+
*/
|
|
33
|
+
export interface OrganizationObject {
|
|
34
|
+
/**
|
|
35
|
+
* Name of the Organization
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OrganizationObject
|
|
38
|
+
*/
|
|
39
|
+
displayName?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* ROR Id of the Organization
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof OrganizationObject
|
|
44
|
+
*/
|
|
45
|
+
url?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Optional: Contact E-Mail
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof OrganizationObject
|
|
50
|
+
*/
|
|
51
|
+
email?: string | null;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Wrapping the request (to stay compatible to the old implementation)
|
|
55
|
+
* @export
|
|
56
|
+
* @interface WrapperObject
|
|
57
|
+
*/
|
|
58
|
+
export interface WrapperObject {
|
|
59
|
+
/**
|
|
60
|
+
* Wrapper list to stay compatible to the old implementation
|
|
61
|
+
* @type {Array<OrganizationObject>}
|
|
62
|
+
* @memberof WrapperObject
|
|
63
|
+
*/
|
|
64
|
+
data?: Array<OrganizationObject> | null;
|
|
65
|
+
}
|
|
15
66
|
/**
|
|
16
67
|
* OrganizationApi - axios parameter creator
|
|
17
68
|
* @export
|
|
@@ -70,7 +121,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
70
121
|
* @param {*} [options] Override http request option.
|
|
71
122
|
* @throws {RequiredError}
|
|
72
123
|
*/
|
|
73
|
-
organizationGetOrganization(url: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
124
|
+
organizationGetOrganization(url: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrapperObject>>;
|
|
74
125
|
/**
|
|
75
126
|
*
|
|
76
127
|
* @summary Returns all labels and urls from the ror graph.
|
|
@@ -78,7 +129,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
78
129
|
* @param {*} [options] Override http request option.
|
|
79
130
|
* @throws {RequiredError}
|
|
80
131
|
*/
|
|
81
|
-
organizationGetROR(filter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
132
|
+
organizationGetROR(filter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrapperObject>>;
|
|
82
133
|
/**
|
|
83
134
|
*
|
|
84
135
|
* @summary Returns all organizations that match the provided criterea.
|
|
@@ -87,7 +138,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
87
138
|
* @param {*} [options] Override http request option.
|
|
88
139
|
* @throws {RequiredError}
|
|
89
140
|
*/
|
|
90
|
-
organizationIndex(member?: number, filter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
141
|
+
organizationIndex(member?: number, filter?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrapperObject>>;
|
|
91
142
|
/**
|
|
92
143
|
*
|
|
93
144
|
* @summary Returns true if the current user is a member of the given organization.
|
|
@@ -95,14 +146,14 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
95
146
|
* @param {*} [options] Override http request option.
|
|
96
147
|
* @throws {RequiredError}
|
|
97
148
|
*/
|
|
98
|
-
organizationIsMember(url: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
149
|
+
organizationIsMember(url: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IsMemberObject>>;
|
|
99
150
|
/**
|
|
100
151
|
*
|
|
101
152
|
* @summary Returns a list of organizations in which the current user is a member.
|
|
102
153
|
* @param {*} [options] Override http request option.
|
|
103
154
|
* @throws {RequiredError}
|
|
104
155
|
*/
|
|
105
|
-
organizationIsMember2(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
156
|
+
organizationIsMember2(options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WrapperObject>>;
|
|
106
157
|
};
|
|
107
158
|
/**
|
|
108
159
|
* OrganizationApi - factory interface
|
|
@@ -116,7 +167,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
|
|
|
116
167
|
* @param {*} [options] Override http request option.
|
|
117
168
|
* @throws {RequiredError}
|
|
118
169
|
*/
|
|
119
|
-
organizationGetOrganization(url: string, options?: any): AxiosPromise<
|
|
170
|
+
organizationGetOrganization(url: string, options?: any): AxiosPromise<WrapperObject>;
|
|
120
171
|
/**
|
|
121
172
|
*
|
|
122
173
|
* @summary Returns all labels and urls from the ror graph.
|
|
@@ -124,7 +175,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
|
|
|
124
175
|
* @param {*} [options] Override http request option.
|
|
125
176
|
* @throws {RequiredError}
|
|
126
177
|
*/
|
|
127
|
-
organizationGetROR(filter?: string, options?: any): AxiosPromise<
|
|
178
|
+
organizationGetROR(filter?: string, options?: any): AxiosPromise<WrapperObject>;
|
|
128
179
|
/**
|
|
129
180
|
*
|
|
130
181
|
* @summary Returns all organizations that match the provided criterea.
|
|
@@ -133,7 +184,7 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
|
|
|
133
184
|
* @param {*} [options] Override http request option.
|
|
134
185
|
* @throws {RequiredError}
|
|
135
186
|
*/
|
|
136
|
-
organizationIndex(member?: number, filter?: string, options?: any): AxiosPromise<
|
|
187
|
+
organizationIndex(member?: number, filter?: string, options?: any): AxiosPromise<WrapperObject>;
|
|
137
188
|
/**
|
|
138
189
|
*
|
|
139
190
|
* @summary Returns true if the current user is a member of the given organization.
|
|
@@ -141,14 +192,14 @@ export declare const OrganizationApiFactory: (configuration?: Configuration, bas
|
|
|
141
192
|
* @param {*} [options] Override http request option.
|
|
142
193
|
* @throws {RequiredError}
|
|
143
194
|
*/
|
|
144
|
-
organizationIsMember(url: string, options?: any): AxiosPromise<
|
|
195
|
+
organizationIsMember(url: string, options?: any): AxiosPromise<IsMemberObject>;
|
|
145
196
|
/**
|
|
146
197
|
*
|
|
147
198
|
* @summary Returns a list of organizations in which the current user is a member.
|
|
148
199
|
* @param {*} [options] Override http request option.
|
|
149
200
|
* @throws {RequiredError}
|
|
150
201
|
*/
|
|
151
|
-
organizationIsMember2(options?: any): AxiosPromise<
|
|
202
|
+
organizationIsMember2(options?: any): AxiosPromise<WrapperObject>;
|
|
152
203
|
};
|
|
153
204
|
/**
|
|
154
205
|
* OrganizationApi - object-oriented interface
|
|
@@ -165,7 +216,7 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
165
216
|
* @throws {RequiredError}
|
|
166
217
|
* @memberof OrganizationApi
|
|
167
218
|
*/
|
|
168
|
-
organizationGetOrganization(url: string, options?: any): Promise<import("axios").AxiosResponse<
|
|
219
|
+
organizationGetOrganization(url: string, options?: any): Promise<import("axios").AxiosResponse<WrapperObject>>;
|
|
169
220
|
/**
|
|
170
221
|
*
|
|
171
222
|
* @summary Returns all labels and urls from the ror graph.
|
|
@@ -174,7 +225,7 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
174
225
|
* @throws {RequiredError}
|
|
175
226
|
* @memberof OrganizationApi
|
|
176
227
|
*/
|
|
177
|
-
organizationGetROR(filter?: string, options?: any): Promise<import("axios").AxiosResponse<
|
|
228
|
+
organizationGetROR(filter?: string, options?: any): Promise<import("axios").AxiosResponse<WrapperObject>>;
|
|
178
229
|
/**
|
|
179
230
|
*
|
|
180
231
|
* @summary Returns all organizations that match the provided criterea.
|
|
@@ -184,7 +235,7 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
184
235
|
* @throws {RequiredError}
|
|
185
236
|
* @memberof OrganizationApi
|
|
186
237
|
*/
|
|
187
|
-
organizationIndex(member?: number, filter?: string, options?: any): Promise<import("axios").AxiosResponse<
|
|
238
|
+
organizationIndex(member?: number, filter?: string, options?: any): Promise<import("axios").AxiosResponse<WrapperObject>>;
|
|
188
239
|
/**
|
|
189
240
|
*
|
|
190
241
|
* @summary Returns true if the current user is a member of the given organization.
|
|
@@ -193,7 +244,7 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
193
244
|
* @throws {RequiredError}
|
|
194
245
|
* @memberof OrganizationApi
|
|
195
246
|
*/
|
|
196
|
-
organizationIsMember(url: string, options?: any): Promise<import("axios").AxiosResponse<
|
|
247
|
+
organizationIsMember(url: string, options?: any): Promise<import("axios").AxiosResponse<IsMemberObject>>;
|
|
197
248
|
/**
|
|
198
249
|
*
|
|
199
250
|
* @summary Returns a list of organizations in which the current user is a member.
|
|
@@ -201,5 +252,5 @@ export declare class OrganizationApi extends BaseAPI {
|
|
|
201
252
|
* @throws {RequiredError}
|
|
202
253
|
* @memberof OrganizationApi
|
|
203
254
|
*/
|
|
204
|
-
organizationIsMember2(options?: any): Promise<import("axios").AxiosResponse<
|
|
255
|
+
organizationIsMember2(options?: any): Promise<import("axios").AxiosResponse<WrapperObject>>;
|
|
205
256
|
}
|
package/dist/types/apis.d.ts
CHANGED
|
@@ -56,11 +56,11 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
56
56
|
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
57
57
|
};
|
|
58
58
|
OrganizationApi: {
|
|
59
|
-
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<
|
|
60
|
-
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<
|
|
61
|
-
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<
|
|
62
|
-
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<
|
|
63
|
-
organizationIsMember2(options?: any): import("axios").AxiosPromise<
|
|
59
|
+
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization/api").WrapperObject>;
|
|
60
|
+
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization/api").WrapperObject>;
|
|
61
|
+
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization/api").WrapperObject>;
|
|
62
|
+
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization/api").IsMemberObject>;
|
|
63
|
+
organizationIsMember2(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization/api").WrapperObject>;
|
|
64
64
|
};
|
|
65
65
|
PidApi: {
|
|
66
66
|
pidIsValid(pid: string, options?: any): import("axios").AxiosPromise<any>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -55,11 +55,11 @@ declare const apis: {
|
|
|
55
55
|
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
56
56
|
};
|
|
57
57
|
OrganizationApi: {
|
|
58
|
-
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<
|
|
59
|
-
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<
|
|
60
|
-
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<
|
|
61
|
-
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<
|
|
62
|
-
organizationIsMember2(options?: any): import("axios").AxiosPromise<
|
|
58
|
+
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
59
|
+
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
60
|
+
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
61
|
+
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").IsMemberObject>;
|
|
62
|
+
organizationIsMember2(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
63
63
|
};
|
|
64
64
|
PidApi: {
|
|
65
65
|
pidIsValid(pid: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -209,11 +209,11 @@ export declare const ORCiDApi: {
|
|
|
209
209
|
oRCiDLoginPOST(oRCiDJWT?: string, returnUrl?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
210
210
|
};
|
|
211
211
|
export declare const OrganizationApi: {
|
|
212
|
-
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<
|
|
213
|
-
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<
|
|
214
|
-
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<
|
|
215
|
-
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<
|
|
216
|
-
organizationIsMember2(options?: any): import("axios").AxiosPromise<
|
|
212
|
+
organizationGetOrganization(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
213
|
+
organizationGetROR(filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
214
|
+
organizationIndex(member?: number, filter?: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
215
|
+
organizationIsMember(url: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").IsMemberObject>;
|
|
216
|
+
organizationIsMember2(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Organization").WrapperObject>;
|
|
217
217
|
};
|
|
218
218
|
export declare const PidApi: {
|
|
219
219
|
pidIsValid(pid: string, options?: any): import("axios").AxiosPromise<any>;
|