@coscine/api-client 1.0.0 → 1.3.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 +715 -545
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +718 -547
- package/dist/index.umd.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/api.js +52 -52
- package/dist/lib/Coscine.Api.Blob/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Blob/base.js +1 -1
- package/dist/lib/Coscine.Api.Blob/common.js +1 -1
- package/dist/lib/Coscine.Api.Blob/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Blob/index.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/api.js +75 -88
- package/dist/lib/Coscine.Api.Metadata/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Metadata/base.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/common.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Metadata/index.js +1 -1
- package/dist/lib/Coscine.Api.Search/api.js +159 -0
- package/dist/lib/Coscine.Api.Search/api.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/base.js +65 -0
- package/dist/lib/Coscine.Api.Search/base.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/common.js +153 -0
- package/dist/lib/Coscine.Api.Search/common.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/configuration.js +43 -0
- package/dist/lib/Coscine.Api.Search/configuration.js.map +1 -0
- package/dist/lib/Coscine.Api.Search/index.js +28 -0
- package/dist/lib/Coscine.Api.Search/index.js.map +1 -0
- package/dist/lib/Coscine.Api.Tree/api.js +35 -35
- package/dist/lib/Coscine.Api.Tree/api.js.map +1 -1
- package/dist/lib/Coscine.Api.Tree/base.js +1 -1
- package/dist/lib/Coscine.Api.Tree/common.js +1 -1
- package/dist/lib/Coscine.Api.Tree/configuration.js +1 -1
- package/dist/lib/Coscine.Api.Tree/index.js +1 -1
- package/dist/lib/apis.js +13 -11
- package/dist/lib/apis.js.map +1 -1
- package/dist/lib/axios-basic.js +7 -3
- package/dist/lib/axios-basic.js.map +1 -1
- package/dist/lib/index.js +2 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/types/Coscine.Api.Blob/api.d.ts +25 -25
- package/dist/types/Coscine.Api.Blob/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Blob/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/api.d.ts +116 -55
- package/dist/types/Coscine.Api.Metadata/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Metadata/index.d.ts +1 -1
- package/dist/types/Coscine.Api.Search/api.d.ts +110 -0
- package/dist/types/Coscine.Api.Search/base.d.ts +55 -0
- package/dist/types/Coscine.Api.Search/common.d.ts +65 -0
- package/dist/types/Coscine.Api.Search/configuration.d.ts +83 -0
- package/dist/types/Coscine.Api.Search/index.d.ts +13 -0
- package/dist/types/Coscine.Api.Tree/api.d.ts +17 -17
- package/dist/types/Coscine.Api.Tree/base.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/common.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/configuration.d.ts +1 -1
- package/dist/types/Coscine.Api.Tree/index.d.ts +1 -1
- package/dist/types/apis.d.ts +13 -10
- package/dist/types/index.d.ts +26 -20
- package/package.json +4 -3
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Tree
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.4.
|
|
5
|
+
* The version of the OpenAPI document: 2.4.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,20 +21,20 @@ export declare const TreeApiAxiosParamCreator: (configuration?: Configuration) =
|
|
|
21
21
|
*
|
|
22
22
|
* @summary This method retrieves the metadata
|
|
23
23
|
* @param {string} resourceId Id of a resource
|
|
24
|
-
* @param {string} path Path to the file
|
|
24
|
+
* @param {string} [path] Path to the file
|
|
25
25
|
* @param {*} [options] Override http request option.
|
|
26
26
|
* @throws {RequiredError}
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
treeGetMetadataWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @summary This method stores the metadata of the file
|
|
32
32
|
* @param {string} resourceId Id of the resource
|
|
33
|
-
* @param {string} path Path to the file
|
|
33
|
+
* @param {string} [path] Path to the file
|
|
34
34
|
* @param {*} [options] Override http request option.
|
|
35
35
|
* @throws {RequiredError}
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
treeStoreMetadataForFileWithParameter: (resourceId: string, path?: string, options?: any) => Promise<RequestArgs>;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
40
|
* TreeApi - functional programming interface
|
|
@@ -45,20 +45,20 @@ export declare const TreeApiFp: (configuration?: Configuration) => {
|
|
|
45
45
|
*
|
|
46
46
|
* @summary This method retrieves the metadata
|
|
47
47
|
* @param {string} resourceId Id of a resource
|
|
48
|
-
* @param {string} path Path to the file
|
|
48
|
+
* @param {string} [path] Path to the file
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
|
|
52
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
55
|
* @summary This method stores the metadata of the file
|
|
56
56
|
* @param {string} resourceId Id of the resource
|
|
57
|
-
* @param {string} path Path to the file
|
|
57
|
+
* @param {string} [path] Path to the file
|
|
58
58
|
* @param {*} [options] Override http request option.
|
|
59
59
|
* @throws {RequiredError}
|
|
60
60
|
*/
|
|
61
|
-
|
|
61
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
62
62
|
};
|
|
63
63
|
/**
|
|
64
64
|
* TreeApi - factory interface
|
|
@@ -69,20 +69,20 @@ export declare const TreeApiFactory: (configuration?: Configuration, basePath?:
|
|
|
69
69
|
*
|
|
70
70
|
* @summary This method retrieves the metadata
|
|
71
71
|
* @param {string} resourceId Id of a resource
|
|
72
|
-
* @param {string} path Path to the file
|
|
72
|
+
* @param {string} [path] Path to the file
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
|
|
76
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
|
|
77
77
|
/**
|
|
78
78
|
*
|
|
79
79
|
* @summary This method stores the metadata of the file
|
|
80
80
|
* @param {string} resourceId Id of the resource
|
|
81
|
-
* @param {string} path Path to the file
|
|
81
|
+
* @param {string} [path] Path to the file
|
|
82
82
|
* @param {*} [options] Override http request option.
|
|
83
83
|
* @throws {RequiredError}
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): AxiosPromise<any>;
|
|
86
86
|
};
|
|
87
87
|
/**
|
|
88
88
|
* TreeApi - object-oriented interface
|
|
@@ -95,20 +95,20 @@ export declare class TreeApi extends BaseAPI {
|
|
|
95
95
|
*
|
|
96
96
|
* @summary This method retrieves the metadata
|
|
97
97
|
* @param {string} resourceId Id of a resource
|
|
98
|
-
* @param {string} path Path to the file
|
|
98
|
+
* @param {string} [path] Path to the file
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
* @memberof TreeApi
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @summary This method stores the metadata of the file
|
|
107
107
|
* @param {string} resourceId Id of the resource
|
|
108
|
-
* @param {string} path Path to the file
|
|
108
|
+
* @param {string} [path] Path to the file
|
|
109
109
|
* @param {*} [options] Override http request option.
|
|
110
110
|
* @throws {RequiredError}
|
|
111
111
|
* @memberof TreeApi
|
|
112
112
|
*/
|
|
113
|
-
|
|
113
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): Promise<import("axios").AxiosResponse<any>>;
|
|
114
114
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Tree
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.4.
|
|
5
|
+
* The version of the OpenAPI document: 2.4.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Tree
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.4.
|
|
5
|
+
* The version of the OpenAPI document: 2.4.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Tree
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.4.
|
|
5
|
+
* The version of the OpenAPI document: 2.4.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Coscine.Api.Tree
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 2.4.
|
|
5
|
+
* The version of the OpenAPI document: 2.4.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/types/apis.d.ts
CHANGED
|
@@ -13,11 +13,11 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
13
13
|
adminUpdateQuota(updateQuotaParameterObject: import("./Coscine.Api.Admin/api").UpdateQuotaParameterObject, options?: any): import("axios").AxiosPromise<any>;
|
|
14
14
|
};
|
|
15
15
|
BlobApi: {
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
17
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
18
18
|
blobGetQuota(resourceId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
19
19
|
blobIsResourceValid(body: any, options?: any): import("axios").AxiosPromise<any>;
|
|
20
|
-
|
|
20
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: any[], options?: any): import("axios").AxiosPromise<any>;
|
|
21
21
|
};
|
|
22
22
|
ContactChangeApi: {
|
|
23
23
|
contactChangeChangeContactEmail(body: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").ContactChangeObject>;
|
|
@@ -34,12 +34,12 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
34
34
|
licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project/api").LicenseObject[]>;
|
|
35
35
|
};
|
|
36
36
|
MetadataApi: {
|
|
37
|
-
|
|
38
|
-
metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
|
|
37
|
+
metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata/api").BilingualLabels>;
|
|
39
38
|
metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
|
|
40
|
-
metadataGetProfiles(options?: any): import("axios").AxiosPromise<
|
|
41
|
-
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<
|
|
42
|
-
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<
|
|
39
|
+
metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
|
|
40
|
+
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
|
|
41
|
+
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata/api").BilingualLabels>;
|
|
42
|
+
metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata/api").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
|
|
43
43
|
};
|
|
44
44
|
NoticeApi: {
|
|
45
45
|
noticeGetMaintenance(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Notices/api").MaintenanceReturnObject>;
|
|
@@ -104,6 +104,9 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
104
104
|
searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
|
|
105
105
|
searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
106
106
|
};
|
|
107
|
+
SemanticSearchApi: {
|
|
108
|
+
semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search/api").SearchResult[]>;
|
|
109
|
+
};
|
|
107
110
|
SubProjectApi: {
|
|
108
111
|
subProjectGet(parentId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
109
112
|
subProjectGetAccessibleParent(childId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -122,8 +125,8 @@ declare function implementations(axios?: AxiosInstance): {
|
|
|
122
125
|
tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").Tos>;
|
|
123
126
|
};
|
|
124
127
|
TreeApi: {
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
129
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
127
130
|
};
|
|
128
131
|
UserApi: {
|
|
129
132
|
userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User/api").UserObject>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -12,11 +12,11 @@ declare const apis: {
|
|
|
12
12
|
adminUpdateQuota(updateQuotaParameterObject: import("./Coscine.Api.Admin").UpdateQuotaParameterObject, options?: any): import("axios").AxiosPromise<any>;
|
|
13
13
|
};
|
|
14
14
|
BlobApi: {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
16
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
17
17
|
blobGetQuota(resourceId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
18
18
|
blobIsResourceValid(body: any, options?: any): import("axios").AxiosPromise<any>;
|
|
19
|
-
|
|
19
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: any[], options?: any): import("axios").AxiosPromise<any>;
|
|
20
20
|
};
|
|
21
21
|
ContactChangeApi: {
|
|
22
22
|
contactChangeChangeContactEmail(body: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").ContactChangeObject>;
|
|
@@ -33,12 +33,12 @@ declare const apis: {
|
|
|
33
33
|
licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").LicenseObject[]>;
|
|
34
34
|
};
|
|
35
35
|
MetadataApi: {
|
|
36
|
-
|
|
37
|
-
metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
|
|
36
|
+
metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
|
|
38
37
|
metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
|
|
39
|
-
metadataGetProfiles(options?: any): import("axios").AxiosPromise<
|
|
40
|
-
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<
|
|
41
|
-
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<
|
|
38
|
+
metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
|
|
39
|
+
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
|
|
40
|
+
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
|
|
41
|
+
metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
|
|
42
42
|
};
|
|
43
43
|
NoticeApi: {
|
|
44
44
|
noticeGetMaintenance(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Notices").MaintenanceReturnObject>;
|
|
@@ -103,6 +103,9 @@ declare const apis: {
|
|
|
103
103
|
searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
|
|
104
104
|
searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
105
105
|
};
|
|
106
|
+
SemanticSearchApi: {
|
|
107
|
+
semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search").SearchResult[]>;
|
|
108
|
+
};
|
|
106
109
|
SubProjectApi: {
|
|
107
110
|
subProjectGet(parentId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
108
111
|
subProjectGetAccessibleParent(childId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -121,8 +124,8 @@ declare const apis: {
|
|
|
121
124
|
tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").Tos>;
|
|
122
125
|
};
|
|
123
126
|
TreeApi: {
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
128
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
126
129
|
};
|
|
127
130
|
UserApi: {
|
|
128
131
|
userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").UserObject>;
|
|
@@ -147,11 +150,11 @@ export declare const AdminApi: {
|
|
|
147
150
|
adminUpdateQuota(updateQuotaParameterObject: import("./Coscine.Api.Admin").UpdateQuotaParameterObject, options?: any): import("axios").AxiosPromise<any>;
|
|
148
151
|
};
|
|
149
152
|
export declare const BlobApi: {
|
|
150
|
-
|
|
151
|
-
|
|
153
|
+
blobDeleteFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
154
|
+
blobGetFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
152
155
|
blobGetQuota(resourceId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
153
156
|
blobIsResourceValid(body: any, options?: any): import("axios").AxiosPromise<any>;
|
|
154
|
-
|
|
157
|
+
blobUploadFileWithParameter(resourceId: string, path?: string, files?: any[], options?: any): import("axios").AxiosPromise<any>;
|
|
155
158
|
};
|
|
156
159
|
export declare const ContactChangeApi: {
|
|
157
160
|
contactChangeChangeContactEmail(body: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").ContactChangeObject>;
|
|
@@ -168,12 +171,12 @@ export declare const LicenseApi: {
|
|
|
168
171
|
licenseIndex(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Project").LicenseObject[]>;
|
|
169
172
|
};
|
|
170
173
|
export declare const MetadataApi: {
|
|
171
|
-
|
|
172
|
-
metadataGetClassInstances(projectId: string, className: string, options?: any): import("axios").AxiosPromise<any>;
|
|
174
|
+
metadataGetClassInstances(className: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
|
|
173
175
|
metadataGetProfile(profile: string, options?: any): import("axios").AxiosPromise<any>;
|
|
174
|
-
metadataGetProfiles(options?: any): import("axios").AxiosPromise<
|
|
175
|
-
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<
|
|
176
|
-
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<
|
|
176
|
+
metadataGetProfiles(options?: any): import("axios").AxiosPromise<string[]>;
|
|
177
|
+
metadataGetVocabularies(options?: any): import("axios").AxiosPromise<string[]>;
|
|
178
|
+
metadataGetVocabulary(path: string, options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Metadata").BilingualLabels>;
|
|
179
|
+
metadataSaveApplicationProfile(applicationProfile: import("./Coscine.Api.Metadata").ApplicationProfile, options?: any): import("axios").AxiosPromise<any>;
|
|
177
180
|
};
|
|
178
181
|
export declare const NoticeApi: {
|
|
179
182
|
noticeGetMaintenance(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Notices").MaintenanceReturnObject>;
|
|
@@ -238,6 +241,9 @@ export declare const SearchApi: {
|
|
|
238
241
|
searchSearchProject(projectId: string, encodedSearchWord: string, options?: any): import("axios").AxiosPromise<any>;
|
|
239
242
|
searchSearchProjectNoFilter(projectId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
240
243
|
};
|
|
244
|
+
export declare const SemanticSearchApi: {
|
|
245
|
+
semanticSearchSearch(query?: string, user?: boolean, adv?: boolean, languages?: string[], options?: any): import("axios").AxiosPromise<import("./Coscine.Api.Search").SearchResult[]>;
|
|
246
|
+
};
|
|
241
247
|
export declare const SubProjectApi: {
|
|
242
248
|
subProjectGet(parentId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
243
249
|
subProjectGetAccessibleParent(childId: string, options?: any): import("axios").AxiosPromise<any>;
|
|
@@ -256,8 +262,8 @@ export declare const TOSApi: {
|
|
|
256
262
|
tOSGetCurrentTOSVersion(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").Tos>;
|
|
257
263
|
};
|
|
258
264
|
export declare const TreeApi: {
|
|
259
|
-
|
|
260
|
-
|
|
265
|
+
treeGetMetadataWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
266
|
+
treeStoreMetadataForFileWithParameter(resourceId: string, path?: string, options?: any): import("axios").AxiosPromise<any>;
|
|
261
267
|
};
|
|
262
268
|
export declare const UserApi: {
|
|
263
269
|
userGetUser(options?: any): import("axios").AxiosPromise<import("./Coscine.Api.User").UserObject>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coscine/api-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "This project contains the generated api connection classes.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"coscine",
|
|
@@ -124,9 +124,10 @@
|
|
|
124
124
|
"ts-node": "^10.2.1",
|
|
125
125
|
"tslib": "^2.3.1",
|
|
126
126
|
"typedoc": "^0.21.9",
|
|
127
|
-
"typescript": "
|
|
127
|
+
"typescript": "~4.4.4"
|
|
128
128
|
},
|
|
129
129
|
"dependencies": {
|
|
130
130
|
"axios": "^0.21.1"
|
|
131
|
-
}
|
|
131
|
+
},
|
|
132
|
+
"packageManager": "yarn@3.1.1"
|
|
132
133
|
}
|