|
| 1 | +/* eslint-disable */ |
| 2 | +/* tslint:disable */ |
| 3 | +/* |
| 4 | + * --------------------------------------------------------------- |
| 5 | + * ## THIS FILE WAS GENERATED VIA SWAGGER-TYPESCRIPT-API ## |
| 6 | + * ## ## |
| 7 | + * ## AUTHOR: acacode ## |
| 8 | + * ## SOURCE: https://github.com/acacode/swagger-typescript-api ## |
| 9 | + * --------------------------------------------------------------- |
| 10 | + */ |
| 11 | + |
| 12 | +import { GetTransactionsResponse, SummaryResultDTO } from "./data-contracts"; |
| 13 | + |
| 14 | +export namespace Reports { |
| 15 | + /** |
| 16 | + * @description Get the asset information for the LPS. |
| 17 | + * @name AssetsList |
| 18 | + * @summary Get asset Reports |
| 19 | + * @request GET:/reports/assets |
| 20 | + */ |
| 21 | + export namespace AssetsList { |
| 22 | + export type RequestParams = {}; |
| 23 | + export type RequestQuery = {}; |
| 24 | + export type RequestBody = never; |
| 25 | + export type RequestHeaders = {}; |
| 26 | + export type ResponseBody = void; |
| 27 | + } |
| 28 | + |
| 29 | + export const AssetsListPath = "/reports/assets"; |
| 30 | + |
| 31 | + /** |
| 32 | + * @description Get the last pegins on the API. Included in the management API. |
| 33 | + * @name PeginList |
| 34 | + * @summary Get Pegin Reports |
| 35 | + * @request GET:/reports/pegin |
| 36 | + */ |
| 37 | + export namespace PeginList { |
| 38 | + export type RequestParams = {}; |
| 39 | + export type RequestQuery = { |
| 40 | + /** |
| 41 | + * Start date for the report. Supports YYYY-MM-DD (expands to full day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 42 | + * @format string |
| 43 | + */ |
| 44 | + startDate: string; |
| 45 | + /** |
| 46 | + * End date for the report. Supports YYYY-MM-DD (expands to end of day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 47 | + * @format string |
| 48 | + */ |
| 49 | + endDate: string; |
| 50 | + }; |
| 51 | + export type RequestBody = never; |
| 52 | + export type RequestHeaders = {}; |
| 53 | + export type ResponseBody = void; |
| 54 | + } |
| 55 | + |
| 56 | + export const PeginListPath = "/reports/pegin"; |
| 57 | + |
| 58 | + /** |
| 59 | + * @description Get the last pegouts on the API. Included in the management API. |
| 60 | + * @name PegoutList |
| 61 | + * @summary Get Pegout Reports |
| 62 | + * @request GET:/reports/pegout |
| 63 | + */ |
| 64 | + export namespace PegoutList { |
| 65 | + export type RequestParams = {}; |
| 66 | + export type RequestQuery = { |
| 67 | + /** |
| 68 | + * Start date for the report. Supports YYYY-MM-DD (expands to full day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 69 | + * @format string |
| 70 | + */ |
| 71 | + startDate: string; |
| 72 | + /** |
| 73 | + * End date for the report. Supports YYYY-MM-DD (expands to end of day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 74 | + * @format string |
| 75 | + */ |
| 76 | + endDate: string; |
| 77 | + }; |
| 78 | + export type RequestBody = never; |
| 79 | + export type RequestHeaders = {}; |
| 80 | + export type ResponseBody = void; |
| 81 | + } |
| 82 | + |
| 83 | + export const PegoutListPath = "/reports/pegout"; |
| 84 | + |
| 85 | + /** |
| 86 | + * @description Get the revenue for the specified period. |
| 87 | + * @name RevenueList |
| 88 | + * @summary Get revenue Reports |
| 89 | + * @request GET:/reports/revenue |
| 90 | + */ |
| 91 | + export namespace RevenueList { |
| 92 | + export type RequestParams = {}; |
| 93 | + export type RequestQuery = { |
| 94 | + /** |
| 95 | + * Start date for the report. Supports YYYY-MM-DD (expands to full day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 96 | + * @format string |
| 97 | + */ |
| 98 | + startDate: string; |
| 99 | + /** |
| 100 | + * End date for the report. Supports YYYY-MM-DD (expands to end of day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 101 | + * @format string |
| 102 | + */ |
| 103 | + endDate: string; |
| 104 | + }; |
| 105 | + export type RequestBody = never; |
| 106 | + export type RequestHeaders = {}; |
| 107 | + export type ResponseBody = void; |
| 108 | + } |
| 109 | + |
| 110 | + export const RevenueListPath = "/reports/revenue"; |
| 111 | + |
| 112 | + /** |
| 113 | + * @description Returns financial data for a given period |
| 114 | + * @name SummariesList |
| 115 | + * @summary Summaries |
| 116 | + * @request GET:/reports/summaries |
| 117 | + */ |
| 118 | + export namespace SummariesList { |
| 119 | + export type RequestParams = {}; |
| 120 | + export type RequestQuery = { |
| 121 | + /** |
| 122 | + * Start date in YYYY-MM-DD format |
| 123 | + * @format string |
| 124 | + */ |
| 125 | + startDate: string; |
| 126 | + /** |
| 127 | + * End date in YYYY-MM-DD format |
| 128 | + * @format string |
| 129 | + */ |
| 130 | + endDate: string; |
| 131 | + }; |
| 132 | + export type RequestBody = never; |
| 133 | + export type RequestHeaders = {}; |
| 134 | + export type ResponseBody = SummaryResultDTO; |
| 135 | + } |
| 136 | + |
| 137 | + export const SummariesListPath = "/reports/summaries"; |
| 138 | + |
| 139 | + /** |
| 140 | + * @description Get a paginated list of individual transactions of a specific type processed by the liquidity provider within a specified time period |
| 141 | + * @name TransactionsList |
| 142 | + * @summary Get Transaction Reports |
| 143 | + * @request GET:/reports/transactions |
| 144 | + */ |
| 145 | + export namespace TransactionsList { |
| 146 | + export type RequestParams = {}; |
| 147 | + export type RequestQuery = { |
| 148 | + /** |
| 149 | + * Transaction type filter: 'pegin' or 'pegout' |
| 150 | + * @format string |
| 151 | + */ |
| 152 | + type: string; |
| 153 | + /** |
| 154 | + * Start date for the report. Supports YYYY-MM-DD (expands to full day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 155 | + * @format string |
| 156 | + */ |
| 157 | + startDate?: string; |
| 158 | + /** |
| 159 | + * End date for the report. Supports YYYY-MM-DD (expands to end of day) or ISO 8601 format (YYYY-MM-DDTHH:mm:ssZ) |
| 160 | + * @format string |
| 161 | + */ |
| 162 | + endDate?: string; |
| 163 | + /** |
| 164 | + * Page number to retrieve (1-indexed, default: 1) |
| 165 | + * @format int64 |
| 166 | + */ |
| 167 | + page?: number; |
| 168 | + /** |
| 169 | + * Number of transactions per page (max: 100, default: 10) |
| 170 | + * @format int64 |
| 171 | + */ |
| 172 | + perPage?: number; |
| 173 | + }; |
| 174 | + export type RequestBody = never; |
| 175 | + export type RequestHeaders = {}; |
| 176 | + export type ResponseBody = GetTransactionsResponse; |
| 177 | + } |
| 178 | + |
| 179 | + export const TransactionsListPath = "/reports/transactions"; |
| 180 | +} |
0 commit comments