@abyss-project/storage 1.0.12 → 1.0.14

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.
@@ -1,3 +1,3 @@
1
- import { GetReportResponse } from '..';
2
- import { GetReportBody } from '../types/interface/api/requests/report.admin.request';
3
- export declare function getReport(body: GetReportBody): Promise<GetReportResponse>;
1
+ import { GetReportAdminResponse } from '..';
2
+ import { GetReportAdminBody } from '../types/interface/api/requests/report.admin.request';
3
+ export declare function getReportAdmin(body: GetReportAdminBody): Promise<GetReportAdminResponse>;
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getReport = void 0;
3
+ exports.getReportAdmin = void 0;
4
4
  const __1 = require("..");
5
- async function getReport(body) {
5
+ async function getReportAdmin(body) {
6
6
  const response = await __1.AbyssStorageCore.axios.post('/report/admin/report', body);
7
7
  return response.data;
8
8
  }
9
- exports.getReport = getReport;
9
+ exports.getReportAdmin = getReportAdmin;
@@ -1,4 +1,4 @@
1
- export interface GetReportBody {
1
+ export interface GetReportAdminBody {
2
2
  applicationId: string;
3
3
  startDate: Date;
4
4
  endDate: Date;
@@ -1,4 +1,4 @@
1
- export interface GetReportResponse {
1
+ export interface GetReportAdminResponse {
2
2
  data: {
3
3
  metrics: {
4
4
  totalFiles: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abyss-project/storage",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "Core package to interact with Abyss-Storage",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",