@coscine/api-client 3.8.0 → 3.9.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.
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import type { Configuration } from '../../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../../base';
|
|
15
|
+
import { AcceptedLanguage } from '../../@coscine/model';
|
|
15
16
|
import { OrganizationDtoPagedResponse } from '../../@coscine/model';
|
|
16
17
|
import { OrganizationDtoResponse } from '../../@coscine/model';
|
|
17
18
|
/**
|
|
@@ -38,6 +39,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
|
|
|
38
39
|
*
|
|
39
40
|
* @summary Retrieves all organizations.
|
|
40
41
|
* @param {string} [searchTerm] Gets or sets the search term used to filter organizations.
|
|
42
|
+
* @param {AcceptedLanguage} [language] Language of name or text (dataPublicationService)
|
|
41
43
|
* @param {boolean} [filterByPublicationService] Gets or sets the option to find only organizations having the publication service set.
|
|
42
44
|
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
43
45
|
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
@@ -45,7 +47,7 @@ export declare const OrganizationApiAxiosParamCreator: (configuration?: Configur
|
|
|
45
47
|
* @param {*} [options] Override http request option.
|
|
46
48
|
* @throws {RequiredError}
|
|
47
49
|
*/
|
|
48
|
-
getOrganizations: (searchTerm?: string, filterByPublicationService?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
getOrganizations: (searchTerm?: string, language?: AcceptedLanguage, filterByPublicationService?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
51
|
};
|
|
50
52
|
/**
|
|
51
53
|
* OrganizationApi - functional programming interface
|
|
@@ -71,6 +73,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
71
73
|
*
|
|
72
74
|
* @summary Retrieves all organizations.
|
|
73
75
|
* @param {string} [searchTerm] Gets or sets the search term used to filter organizations.
|
|
76
|
+
* @param {AcceptedLanguage} [language] Language of name or text (dataPublicationService)
|
|
74
77
|
* @param {boolean} [filterByPublicationService] Gets or sets the option to find only organizations having the publication service set.
|
|
75
78
|
* @param {number} [pageNumber] The desired page number. Should be greater than or equal to 1. Default is 1.
|
|
76
79
|
* @param {number} [pageSize] The desired page size. Should be between 1 and the maximum allowed page size (50). Default is 10.
|
|
@@ -78,7 +81,7 @@ export declare const OrganizationApiFp: (configuration?: Configuration) => {
|
|
|
78
81
|
* @param {*} [options] Override http request option.
|
|
79
82
|
* @throws {RequiredError}
|
|
80
83
|
*/
|
|
81
|
-
getOrganizations(searchTerm?: string, filterByPublicationService?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDtoPagedResponse>>;
|
|
84
|
+
getOrganizations(searchTerm?: string, language?: AcceptedLanguage, filterByPublicationService?: boolean, pageNumber?: number, pageSize?: number, orderBy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationDtoPagedResponse>>;
|
|
82
85
|
};
|
|
83
86
|
/**
|
|
84
87
|
* OrganizationApi - factory interface
|
|
@@ -134,6 +137,12 @@ export interface OrganizationApiGetOrganizationsRequest {
|
|
|
134
137
|
* @memberof OrganizationApiGetOrganizations
|
|
135
138
|
*/
|
|
136
139
|
readonly searchTerm?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Language of name or text (dataPublicationService)
|
|
142
|
+
* @type {AcceptedLanguage}
|
|
143
|
+
* @memberof OrganizationApiGetOrganizations
|
|
144
|
+
*/
|
|
145
|
+
readonly language?: AcceptedLanguage;
|
|
137
146
|
/**
|
|
138
147
|
* Gets or sets the option to find only organizations having the publication service set.
|
|
139
148
|
* @type {boolean}
|
|
@@ -27,4 +27,10 @@ export interface PublicationAdvisoryServiceDto {
|
|
|
27
27
|
* @memberof PublicationAdvisoryServiceDto
|
|
28
28
|
*/
|
|
29
29
|
'email': string;
|
|
30
|
+
/**
|
|
31
|
+
* The data publication service\'s info text.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PublicationAdvisoryServiceDto
|
|
34
|
+
*/
|
|
35
|
+
'text'?: string;
|
|
30
36
|
}
|