tango-app-api-report 3.0.14-dev → 3.0.15-dev
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/package.json
CHANGED
package/src/docs/report.docs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import j2s from 'joi-to-swagger';
|
|
2
2
|
|
|
3
|
-
import { clientListTableSchema, deleteReportSchemaParam, downloadReportSchema, generateReportSchema, getReportListSchema, getReportLogSchema, sendReportSchema, uploadManualReportSchema, uploadManualReportSchema2 } from '../dtos/report.dtos.js';
|
|
3
|
+
import { clientListTableSchema, deleteReportSchemaParam, downloadReportSchema, generateReportSchema, getReportListSchema, getReportLogSchema, getReportSchemaParam, sendReportSchema, uploadManualReportSchema, uploadManualReportSchema2 } from '../dtos/report.dtos.js';
|
|
4
4
|
|
|
5
5
|
export const reportDocs = {
|
|
6
6
|
|
|
@@ -199,5 +199,29 @@ export const reportDocs = {
|
|
|
199
199
|
},
|
|
200
200
|
},
|
|
201
201
|
|
|
202
|
+
'/v3/report/get-client-reports/{id}': {
|
|
203
|
+
get: {
|
|
204
|
+
tags: [ 'Report' ],
|
|
205
|
+
description: 'Get list of reports by client wise',
|
|
206
|
+
operationId: 'get-client-reports/{id}',
|
|
207
|
+
parameters: [
|
|
208
|
+
{
|
|
209
|
+
in: 'path',
|
|
210
|
+
name: 'id',
|
|
211
|
+
required: true,
|
|
212
|
+
description: 'client Id',
|
|
213
|
+
scema: j2s( getReportSchemaParam ).swagger,
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
responses: {
|
|
217
|
+
200: { description: 'Success' },
|
|
218
|
+
401: { description: 'Unauthorized User' },
|
|
219
|
+
422: { description: 'Field Error' },
|
|
220
|
+
500: { description: 'Server Error' },
|
|
221
|
+
204: { description: 'Not Found' },
|
|
222
|
+
},
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
|
|
202
226
|
};
|
|
203
227
|
|