ch-admin-api-client-typescript 5.9.11 → 5.9.15
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/lib/api/hospitals-api.d.ts +30 -30
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +26 -26
- package/lib/api/search-curations-api.d.ts +55 -0
- package/lib/api/search-curations-api.d.ts.map +1 -1
- package/lib/api/search-curations-api.js +91 -0
- package/lib/api/survey-results-api.d.ts +4 -0
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +4 -0
- package/lib/models/create-deal-command.d.ts +6 -0
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/survey-result-element-model.d.ts +7 -0
- package/lib/models/survey-result-element-model.d.ts.map +1 -1
- package/lib/models/survey-result-item-model.d.ts +0 -7
- package/lib/models/survey-result-item-model.d.ts.map +1 -1
- package/lib/models/survey-result-model.d.ts +4 -4
- package/lib/models/survey-result-model.d.ts.map +1 -1
- package/lib/models/update-deal-command.d.ts +6 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/api/hospitals-api.ts +49 -49
- package/src/api/search-curations-api.ts +99 -0
- package/src/api/survey-results-api.ts +4 -0
- package/src/models/create-deal-command.ts +6 -0
- package/src/models/survey-result-element-model.ts +9 -0
- package/src/models/survey-result-item-model.ts +0 -9
- package/src/models/survey-result-model.ts +4 -4
- package/src/models/update-deal-command.ts +6 -0
package/src/api/hospitals-api.ts
CHANGED
|
@@ -3125,9 +3125,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3125
3125
|
*
|
|
3126
3126
|
* @summary Get managers
|
|
3127
3127
|
* @param {string} hospitalId
|
|
3128
|
-
* @param {number} [page]
|
|
3129
|
-
* @param {number} [limit]
|
|
3130
|
-
* @param {Date} [lastRetrieved]
|
|
3131
3128
|
* @param {string} [id]
|
|
3132
3129
|
* @param {string} [fullname]
|
|
3133
3130
|
* @param {string} [email]
|
|
@@ -3135,10 +3132,13 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3135
3132
|
* @param {Date} [dateOfBirth]
|
|
3136
3133
|
* @param {Date} [created]
|
|
3137
3134
|
* @param {boolean} [showHidden]
|
|
3135
|
+
* @param {number} [page]
|
|
3136
|
+
* @param {number} [limit]
|
|
3137
|
+
* @param {Date} [lastRetrieved]
|
|
3138
3138
|
* @param {*} [options] Override http request option.
|
|
3139
3139
|
* @throws {RequiredError}
|
|
3140
3140
|
*/
|
|
3141
|
-
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string,
|
|
3141
|
+
apiV1HospitalsHospitalIdManagersGet: async (hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3142
3142
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
3143
3143
|
assertParamExists('apiV1HospitalsHospitalIdManagersGet', 'hospitalId', hospitalId)
|
|
3144
3144
|
const localVarPath = `/api/v1/hospitals/{hospitalId}/managers`
|
|
@@ -3158,20 +3158,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3158
3158
|
// oauth required
|
|
3159
3159
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
3160
3160
|
|
|
3161
|
-
if (page !== undefined) {
|
|
3162
|
-
localVarQueryParameter['page'] = page;
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
if (limit !== undefined) {
|
|
3166
|
-
localVarQueryParameter['limit'] = limit;
|
|
3167
|
-
}
|
|
3168
|
-
|
|
3169
|
-
if (lastRetrieved !== undefined) {
|
|
3170
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3171
|
-
(lastRetrieved as any).toISOString() :
|
|
3172
|
-
lastRetrieved;
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
3161
|
if (id !== undefined) {
|
|
3176
3162
|
localVarQueryParameter['Id'] = id;
|
|
3177
3163
|
}
|
|
@@ -3204,6 +3190,20 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
3204
3190
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
3205
3191
|
}
|
|
3206
3192
|
|
|
3193
|
+
if (page !== undefined) {
|
|
3194
|
+
localVarQueryParameter['page'] = page;
|
|
3195
|
+
}
|
|
3196
|
+
|
|
3197
|
+
if (limit !== undefined) {
|
|
3198
|
+
localVarQueryParameter['limit'] = limit;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
if (lastRetrieved !== undefined) {
|
|
3202
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
3203
|
+
(lastRetrieved as any).toISOString() :
|
|
3204
|
+
lastRetrieved;
|
|
3205
|
+
}
|
|
3206
|
+
|
|
3207
3207
|
|
|
3208
3208
|
|
|
3209
3209
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8183,9 +8183,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8183
8183
|
*
|
|
8184
8184
|
* @summary Get managers
|
|
8185
8185
|
* @param {string} hospitalId
|
|
8186
|
-
* @param {number} [page]
|
|
8187
|
-
* @param {number} [limit]
|
|
8188
|
-
* @param {Date} [lastRetrieved]
|
|
8189
8186
|
* @param {string} [id]
|
|
8190
8187
|
* @param {string} [fullname]
|
|
8191
8188
|
* @param {string} [email]
|
|
@@ -8193,11 +8190,14 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
8193
8190
|
* @param {Date} [dateOfBirth]
|
|
8194
8191
|
* @param {Date} [created]
|
|
8195
8192
|
* @param {boolean} [showHidden]
|
|
8193
|
+
* @param {number} [page]
|
|
8194
|
+
* @param {number} [limit]
|
|
8195
|
+
* @param {Date} [lastRetrieved]
|
|
8196
8196
|
* @param {*} [options] Override http request option.
|
|
8197
8197
|
* @throws {RequiredError}
|
|
8198
8198
|
*/
|
|
8199
|
-
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string,
|
|
8200
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId,
|
|
8199
|
+
async apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagersModel>> {
|
|
8200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
|
|
8201
8201
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
8202
8202
|
},
|
|
8203
8203
|
/**
|
|
@@ -10056,9 +10056,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10056
10056
|
*
|
|
10057
10057
|
* @summary Get managers
|
|
10058
10058
|
* @param {string} hospitalId
|
|
10059
|
-
* @param {number} [page]
|
|
10060
|
-
* @param {number} [limit]
|
|
10061
|
-
* @param {Date} [lastRetrieved]
|
|
10062
10059
|
* @param {string} [id]
|
|
10063
10060
|
* @param {string} [fullname]
|
|
10064
10061
|
* @param {string} [email]
|
|
@@ -10066,11 +10063,14 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
10066
10063
|
* @param {Date} [dateOfBirth]
|
|
10067
10064
|
* @param {Date} [created]
|
|
10068
10065
|
* @param {boolean} [showHidden]
|
|
10066
|
+
* @param {number} [page]
|
|
10067
|
+
* @param {number} [limit]
|
|
10068
|
+
* @param {Date} [lastRetrieved]
|
|
10069
10069
|
* @param {*} [options] Override http request option.
|
|
10070
10070
|
* @throws {RequiredError}
|
|
10071
10071
|
*/
|
|
10072
|
-
apiV1HospitalsHospitalIdManagersGet(hospitalId: string,
|
|
10073
|
-
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId,
|
|
10072
|
+
apiV1HospitalsHospitalIdManagersGet(hospitalId: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ManagersModel> {
|
|
10073
|
+
return localVarFp.apiV1HospitalsHospitalIdManagersGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
10074
10074
|
},
|
|
10075
10075
|
/**
|
|
10076
10076
|
*
|
|
@@ -12973,73 +12973,73 @@ export interface HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest {
|
|
|
12973
12973
|
|
|
12974
12974
|
/**
|
|
12975
12975
|
*
|
|
12976
|
-
* @type {
|
|
12976
|
+
* @type {string}
|
|
12977
12977
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
12978
12978
|
*/
|
|
12979
|
-
readonly
|
|
12979
|
+
readonly id?: string
|
|
12980
12980
|
|
|
12981
12981
|
/**
|
|
12982
12982
|
*
|
|
12983
|
-
* @type {
|
|
12983
|
+
* @type {string}
|
|
12984
12984
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
12985
12985
|
*/
|
|
12986
|
-
readonly
|
|
12986
|
+
readonly fullname?: string
|
|
12987
12987
|
|
|
12988
12988
|
/**
|
|
12989
12989
|
*
|
|
12990
|
-
* @type {
|
|
12990
|
+
* @type {string}
|
|
12991
12991
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
12992
12992
|
*/
|
|
12993
|
-
readonly
|
|
12993
|
+
readonly email?: string
|
|
12994
12994
|
|
|
12995
12995
|
/**
|
|
12996
12996
|
*
|
|
12997
|
-
* @type {
|
|
12997
|
+
* @type {Gender}
|
|
12998
12998
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
12999
12999
|
*/
|
|
13000
|
-
readonly
|
|
13000
|
+
readonly gender?: Gender
|
|
13001
13001
|
|
|
13002
13002
|
/**
|
|
13003
13003
|
*
|
|
13004
|
-
* @type {
|
|
13004
|
+
* @type {Date}
|
|
13005
13005
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13006
13006
|
*/
|
|
13007
|
-
readonly
|
|
13007
|
+
readonly dateOfBirth?: Date
|
|
13008
13008
|
|
|
13009
13009
|
/**
|
|
13010
13010
|
*
|
|
13011
|
-
* @type {
|
|
13011
|
+
* @type {Date}
|
|
13012
13012
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13013
13013
|
*/
|
|
13014
|
-
readonly
|
|
13014
|
+
readonly created?: Date
|
|
13015
13015
|
|
|
13016
13016
|
/**
|
|
13017
13017
|
*
|
|
13018
|
-
* @type {
|
|
13018
|
+
* @type {boolean}
|
|
13019
13019
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13020
13020
|
*/
|
|
13021
|
-
readonly
|
|
13021
|
+
readonly showHidden?: boolean
|
|
13022
13022
|
|
|
13023
13023
|
/**
|
|
13024
13024
|
*
|
|
13025
|
-
* @type {
|
|
13025
|
+
* @type {number}
|
|
13026
13026
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13027
13027
|
*/
|
|
13028
|
-
readonly
|
|
13028
|
+
readonly page?: number
|
|
13029
13029
|
|
|
13030
13030
|
/**
|
|
13031
13031
|
*
|
|
13032
|
-
* @type {
|
|
13032
|
+
* @type {number}
|
|
13033
13033
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13034
13034
|
*/
|
|
13035
|
-
readonly
|
|
13035
|
+
readonly limit?: number
|
|
13036
13036
|
|
|
13037
13037
|
/**
|
|
13038
13038
|
*
|
|
13039
|
-
* @type {
|
|
13039
|
+
* @type {Date}
|
|
13040
13040
|
* @memberof HospitalsApiApiV1HospitalsHospitalIdManagersGet
|
|
13041
13041
|
*/
|
|
13042
|
-
readonly
|
|
13042
|
+
readonly lastRetrieved?: Date
|
|
13043
13043
|
}
|
|
13044
13044
|
|
|
13045
13045
|
/**
|
|
@@ -16575,7 +16575,7 @@ export class HospitalsApi extends BaseAPI {
|
|
|
16575
16575
|
* @memberof HospitalsApi
|
|
16576
16576
|
*/
|
|
16577
16577
|
public apiV1HospitalsHospitalIdManagersGet(requestParameters: HospitalsApiApiV1HospitalsHospitalIdManagersGetRequest, options?: AxiosRequestConfig) {
|
|
16578
|
-
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.
|
|
16578
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdManagersGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
16579
16579
|
}
|
|
16580
16580
|
|
|
16581
16581
|
/**
|
|
@@ -231,6 +231,49 @@ export const SearchCurationsApiAxiosParamCreator = function (configuration?: Con
|
|
|
231
231
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
232
|
localVarRequestOptions.data = serializeDataIfNeeded(saveSearchCurationsCommand, localVarRequestOptions, configuration)
|
|
233
233
|
|
|
234
|
+
return {
|
|
235
|
+
url: toPathString(localVarUrlObj),
|
|
236
|
+
options: localVarRequestOptions,
|
|
237
|
+
};
|
|
238
|
+
},
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @summary Revalidate searchCurationItem
|
|
242
|
+
* @param {string} slug
|
|
243
|
+
* @param {string} [languageCode]
|
|
244
|
+
* @param {*} [options] Override http request option.
|
|
245
|
+
* @throws {RequiredError}
|
|
246
|
+
*/
|
|
247
|
+
apiV1SearchcurationsSlugRevalidatePost: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
248
|
+
// verify required parameter 'slug' is not null or undefined
|
|
249
|
+
assertParamExists('apiV1SearchcurationsSlugRevalidatePost', 'slug', slug)
|
|
250
|
+
const localVarPath = `/api/v1/searchcurations/{slug}/revalidate`
|
|
251
|
+
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
252
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
254
|
+
let baseOptions;
|
|
255
|
+
if (configuration) {
|
|
256
|
+
baseOptions = configuration.baseOptions;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
260
|
+
const localVarHeaderParameter = {} as any;
|
|
261
|
+
const localVarQueryParameter = {} as any;
|
|
262
|
+
|
|
263
|
+
// authentication oauth2 required
|
|
264
|
+
// oauth required
|
|
265
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
266
|
+
|
|
267
|
+
if (languageCode !== undefined) {
|
|
268
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
274
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
275
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
276
|
+
|
|
234
277
|
return {
|
|
235
278
|
url: toPathString(localVarUrlObj),
|
|
236
279
|
options: localVarRequestOptions,
|
|
@@ -305,6 +348,18 @@ export const SearchCurationsApiFp = function(configuration?: Configuration) {
|
|
|
305
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options);
|
|
306
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
350
|
},
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @summary Revalidate searchCurationItem
|
|
354
|
+
* @param {string} slug
|
|
355
|
+
* @param {string} [languageCode]
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
async apiV1SearchcurationsSlugRevalidatePost(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SearchcurationsSlugRevalidatePost(slug, languageCode, options);
|
|
361
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
|
+
},
|
|
308
363
|
}
|
|
309
364
|
};
|
|
310
365
|
|
|
@@ -369,6 +424,17 @@ export const SearchCurationsApiFactory = function (configuration?: Configuration
|
|
|
369
424
|
apiV1SearchcurationsLanguageCodePost(languageCode: string, saveSearchCurationsCommand?: SaveSearchCurationsCommand, options?: any): AxiosPromise<SearchCurationItemModel> {
|
|
370
425
|
return localVarFp.apiV1SearchcurationsLanguageCodePost(languageCode, saveSearchCurationsCommand, options).then((request) => request(axios, basePath));
|
|
371
426
|
},
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @summary Revalidate searchCurationItem
|
|
430
|
+
* @param {string} slug
|
|
431
|
+
* @param {string} [languageCode]
|
|
432
|
+
* @param {*} [options] Override http request option.
|
|
433
|
+
* @throws {RequiredError}
|
|
434
|
+
*/
|
|
435
|
+
apiV1SearchcurationsSlugRevalidatePost(slug: string, languageCode?: string, options?: any): AxiosPromise<boolean> {
|
|
436
|
+
return localVarFp.apiV1SearchcurationsSlugRevalidatePost(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
437
|
+
},
|
|
372
438
|
};
|
|
373
439
|
};
|
|
374
440
|
|
|
@@ -470,6 +536,27 @@ export interface SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest {
|
|
|
470
536
|
readonly saveSearchCurationsCommand?: SaveSearchCurationsCommand
|
|
471
537
|
}
|
|
472
538
|
|
|
539
|
+
/**
|
|
540
|
+
* Request parameters for apiV1SearchcurationsSlugRevalidatePost operation in SearchCurationsApi.
|
|
541
|
+
* @export
|
|
542
|
+
* @interface SearchCurationsApiApiV1SearchcurationsSlugRevalidatePostRequest
|
|
543
|
+
*/
|
|
544
|
+
export interface SearchCurationsApiApiV1SearchcurationsSlugRevalidatePostRequest {
|
|
545
|
+
/**
|
|
546
|
+
*
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsSlugRevalidatePost
|
|
549
|
+
*/
|
|
550
|
+
readonly slug: string
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
*
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof SearchCurationsApiApiV1SearchcurationsSlugRevalidatePost
|
|
556
|
+
*/
|
|
557
|
+
readonly languageCode?: string
|
|
558
|
+
}
|
|
559
|
+
|
|
473
560
|
/**
|
|
474
561
|
* SearchCurationsApi - object-oriented interface
|
|
475
562
|
* @export
|
|
@@ -536,4 +623,16 @@ export class SearchCurationsApi extends BaseAPI {
|
|
|
536
623
|
public apiV1SearchcurationsLanguageCodePost(requestParameters: SearchCurationsApiApiV1SearchcurationsLanguageCodePostRequest, options?: AxiosRequestConfig) {
|
|
537
624
|
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsLanguageCodePost(requestParameters.languageCode, requestParameters.saveSearchCurationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
538
625
|
}
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @summary Revalidate searchCurationItem
|
|
630
|
+
* @param {SearchCurationsApiApiV1SearchcurationsSlugRevalidatePostRequest} requestParameters Request parameters.
|
|
631
|
+
* @param {*} [options] Override http request option.
|
|
632
|
+
* @throws {RequiredError}
|
|
633
|
+
* @memberof SearchCurationsApi
|
|
634
|
+
*/
|
|
635
|
+
public apiV1SearchcurationsSlugRevalidatePost(requestParameters: SearchCurationsApiApiV1SearchcurationsSlugRevalidatePostRequest, options?: AxiosRequestConfig) {
|
|
636
|
+
return SearchCurationsApiFp(this.configuration).apiV1SearchcurationsSlugRevalidatePost(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
637
|
+
}
|
|
539
638
|
}
|
|
@@ -133,6 +133,7 @@ export const SurveyResultsApiAxiosParamCreator = function (configuration?: Confi
|
|
|
133
133
|
},
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
|
+
* @summary Send manual notification of target SurveyResult
|
|
136
137
|
* @param {SendEmailCommand} [sendEmailCommand]
|
|
137
138
|
* @param {*} [options] Override http request option.
|
|
138
139
|
* @throws {RequiredError}
|
|
@@ -282,6 +283,7 @@ export const SurveyResultsApiFp = function(configuration?: Configuration) {
|
|
|
282
283
|
},
|
|
283
284
|
/**
|
|
284
285
|
*
|
|
286
|
+
* @summary Send manual notification of target SurveyResult
|
|
285
287
|
* @param {SendEmailCommand} [sendEmailCommand]
|
|
286
288
|
* @param {*} [options] Override http request option.
|
|
287
289
|
* @throws {RequiredError}
|
|
@@ -345,6 +347,7 @@ export const SurveyResultsApiFactory = function (configuration?: Configuration,
|
|
|
345
347
|
},
|
|
346
348
|
/**
|
|
347
349
|
*
|
|
350
|
+
* @summary Send manual notification of target SurveyResult
|
|
348
351
|
* @param {SendEmailCommand} [sendEmailCommand]
|
|
349
352
|
* @param {*} [options] Override http request option.
|
|
350
353
|
* @throws {RequiredError}
|
|
@@ -530,6 +533,7 @@ export class SurveyResultsApi extends BaseAPI {
|
|
|
530
533
|
|
|
531
534
|
/**
|
|
532
535
|
*
|
|
536
|
+
* @summary Send manual notification of target SurveyResult
|
|
533
537
|
* @param {SurveyResultsApiApiV1SurveyresultsSendemailPostRequest} requestParameters Request parameters.
|
|
534
538
|
* @param {*} [options] Override http request option.
|
|
535
539
|
* @throws {RequiredError}
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SurveyFormElementTypes } from './survey-form-element-types';
|
|
16
19
|
// May contain unused imports in some cases
|
|
17
20
|
// @ts-ignore
|
|
18
21
|
import { SurveyResultElementValueModel } from './survey-result-element-value-model';
|
|
@@ -35,6 +38,12 @@ export interface SurveyResultElementModel {
|
|
|
35
38
|
* @memberof SurveyResultElementModel
|
|
36
39
|
*/
|
|
37
40
|
'order'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {SurveyFormElementTypes}
|
|
44
|
+
* @memberof SurveyResultElementModel
|
|
45
|
+
*/
|
|
46
|
+
'elementType'?: SurveyFormElementTypes;
|
|
38
47
|
/**
|
|
39
48
|
*
|
|
40
49
|
* @type {Array<SurveyResultElementValueModel>}
|
|
@@ -13,9 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
// May contain unused imports in some cases
|
|
17
|
-
// @ts-ignore
|
|
18
|
-
import { SurveyResultElementModel } from './survey-result-element-model';
|
|
19
16
|
// May contain unused imports in some cases
|
|
20
17
|
// @ts-ignore
|
|
21
18
|
import { SurveyResultUserModel } from './survey-result-user-model';
|
|
@@ -86,12 +83,6 @@ export interface SurveyResultItemModel {
|
|
|
86
83
|
* @memberof SurveyResultItemModel
|
|
87
84
|
*/
|
|
88
85
|
'createdDate'?: Date;
|
|
89
|
-
/**
|
|
90
|
-
*
|
|
91
|
-
* @type {Array<SurveyResultElementModel>}
|
|
92
|
-
* @memberof SurveyResultItemModel
|
|
93
|
-
*/
|
|
94
|
-
'elements'?: Array<SurveyResultElementModel> | null;
|
|
95
86
|
/**
|
|
96
87
|
*
|
|
97
88
|
* @type {boolean}
|
|
@@ -88,16 +88,16 @@ export interface SurveyResultModel {
|
|
|
88
88
|
'createdDate'?: Date;
|
|
89
89
|
/**
|
|
90
90
|
*
|
|
91
|
-
* @type {
|
|
91
|
+
* @type {boolean}
|
|
92
92
|
* @memberof SurveyResultModel
|
|
93
93
|
*/
|
|
94
|
-
'
|
|
94
|
+
'notificationSent'?: boolean;
|
|
95
95
|
/**
|
|
96
96
|
*
|
|
97
|
-
* @type {
|
|
97
|
+
* @type {Array<SurveyResultElementModel>}
|
|
98
98
|
* @memberof SurveyResultModel
|
|
99
99
|
*/
|
|
100
|
-
'
|
|
100
|
+
'elements'?: Array<SurveyResultElementModel> | null;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @type {string}
|