@@ -620,6 +620,7 @@ export const OSWApiAxiosParamCreator = function (configuration?: Configuration)
620620 /**
621621 * Streams all feedback for the specified project group in CSV format. Requires poc or osw_data_generator role.
622622 * @summary Downloads dataset viewer feedbacks as a CSV.
623+ * @param {string } tdei_project_group_id Valid TDEI project group id.
623624 * @param {string } [tdei_dataset_id] ID of the dataset.
624625 * @param {Date } [from_date] <strong>from_date:</strong> Date in ISO 8601 format, filters feedback created after this date.
625626 * @param {Date } [to_date] <strong>to_date:</strong> Date in ISO 8601 format, filters feedback created before this date.
@@ -633,8 +634,13 @@ export const OSWApiAxiosParamCreator = function (configuration?: Configuration)
633634 * @param {* } [options] Override http request option.
634635 * @throws {RequiredError }
635636 */
636- oswDatasetViewerFeedbacksDownload : async ( tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
637- const localVarPath = `/api/v1/osw/dataset-viewer/feedbacks/download/{tdei_project_group_id}` ;
637+ oswDatasetViewerFeedbacksDownload : async ( tdei_project_group_id : string , tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > => {
638+ // verify required parameter 'tdei_project_group_id' is not null or undefined
639+ if ( tdei_project_group_id === null || tdei_project_group_id === undefined ) {
640+ throw new RequiredError ( 'tdei_project_group_id' , 'Required parameter tdei_project_group_id was null or undefined when calling oswDatasetViewerFeedbacksDownload.' ) ;
641+ }
642+ const localVarPath = `/api/v1/osw/dataset-viewer/feedbacks/download/{tdei_project_group_id}`
643+ . replace ( `{${ "tdei_project_group_id" } }` , encodeURIComponent ( String ( tdei_project_group_id ) ) ) ;
638644 // use dummy base URL string because the URL constructor only accepts absolute URLs.
639645 const localVarUrlObj = new URL ( localVarPath , 'https://example.com' ) ;
640646 let baseOptions ;
@@ -1507,6 +1513,7 @@ export const OSWApiFp = function(configuration?: Configuration) {
15071513 /**
15081514 * Streams all feedback for the specified project group in CSV format. Requires poc or osw_data_generator role.
15091515 * @summary Downloads dataset viewer feedbacks as a CSV.
1516+ * @param {string } tdei_project_group_id Valid TDEI project group id.
15101517 * @param {string } [tdei_dataset_id] ID of the dataset.
15111518 * @param {Date } [from_date] <strong>from_date:</strong> Date in ISO 8601 format, filters feedback created after this date.
15121519 * @param {Date } [to_date] <strong>to_date:</strong> Date in ISO 8601 format, filters feedback created before this date.
@@ -1520,8 +1527,8 @@ export const OSWApiFp = function(configuration?: Configuration) {
15201527 * @param {* } [options] Override http request option.
15211528 * @throws {RequiredError }
15221529 */
1523- async oswDatasetViewerFeedbacksDownload ( tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => Promise < AxiosResponse < Blob > > > {
1524- const localVarAxiosArgs = await OSWApiAxiosParamCreator ( configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) ;
1530+ async oswDatasetViewerFeedbacksDownload ( tdei_project_group_id : string , tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < ( axios ?: AxiosInstance , basePath ?: string ) => Promise < AxiosResponse < Blob > > > {
1531+ const localVarAxiosArgs = await OSWApiAxiosParamCreator ( configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_project_group_id , tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) ;
15251532 return ( axios : AxiosInstance = globalAxios , basePath : string = BASE_PATH ) => {
15261533 const axiosRequestArgs :AxiosRequestConfig = { ...localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ;
15271534 return axios . request ( axiosRequestArgs ) ;
@@ -1794,6 +1801,7 @@ export const OSWApiFactory = function (configuration?: Configuration, basePath?:
17941801 /**
17951802 * Streams all feedback for the specified project group in CSV format. Requires poc or osw_data_generator role.
17961803 * @summary Downloads dataset viewer feedbacks as a CSV.
1804+ * @param {string } tdei_project_group_id Valid TDEI project group id.
17971805 * @param {string } [tdei_dataset_id] ID of the dataset.
17981806 * @param {Date } [from_date] <strong>from_date:</strong> Date in ISO 8601 format, filters feedback created after this date.
17991807 * @param {Date } [to_date] <strong>to_date:</strong> Date in ISO 8601 format, filters feedback created before this date.
@@ -1807,8 +1815,8 @@ export const OSWApiFactory = function (configuration?: Configuration, basePath?:
18071815 * @param {* } [options] Override http request option.
18081816 * @throws {RequiredError }
18091817 */
1810- async oswDatasetViewerFeedbacksDownload ( tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < AxiosResponse < Blob > > {
1811- return OSWApiFp ( configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
1818+ async oswDatasetViewerFeedbacksDownload ( tdei_project_group_id : string , tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < AxiosResponse < Blob > > {
1819+ return OSWApiFp ( configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_project_group_id , tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) . then ( ( request ) => request ( axios , basePath ) ) ;
18121820 } ,
18131821 /**
18141822 * Retrieves the feedbacks summary. Response includes a summary of feedbacks such as total count, total overdue, and other relevant statistics.
@@ -2047,6 +2055,7 @@ export class OSWApi extends BaseAPI {
20472055 /**
20482056 * Streams all feedback for the specified project group in CSV format. Requires poc or osw_data_generator role.
20492057 * @summary Downloads dataset viewer feedbacks as a CSV.
2058+ * @param {string } tdei_project_group_id Valid TDEI project group id.
20502059 * @param {string } [tdei_dataset_id] ID of the dataset.
20512060 * @param {Date } [from_date] <strong>from_date:</strong> Date in ISO 8601 format, filters feedback created after this date.
20522061 * @param {Date } [to_date] <strong>to_date:</strong> Date in ISO 8601 format, filters feedback created before this date.
@@ -2061,8 +2070,8 @@ export class OSWApi extends BaseAPI {
20612070 * @throws {RequiredError }
20622071 * @memberof OSWApi
20632072 */
2064- public async oswDatasetViewerFeedbacksDownload ( tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < AxiosResponse < Blob > > {
2065- return OSWApiFp ( this . configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
2073+ public async oswDatasetViewerFeedbacksDownload ( tdei_project_group_id : string , tdei_dataset_id ?: string , from_date ?: Date , to_date ?: Date , status ?: string , sort_by ?: string , due_date ?: string , sort_order ?: string , page_no ?: number , page_size ?: number , format ?: string , options ?: AxiosRequestConfig ) : Promise < AxiosResponse < Blob > > {
2074+ return OSWApiFp ( this . configuration ) . oswDatasetViewerFeedbacksDownload ( tdei_project_group_id , tdei_dataset_id , from_date , to_date , status , sort_by , due_date , sort_order , page_no , page_size , format , options ) . then ( ( request ) => request ( this . axios , this . basePath ) ) ;
20662075 }
20672076 /**
20682077 * Retrieves the feedbacks summary. Response includes a summary of feedbacks such as total count, total overdue, and other relevant statistics.
0 commit comments