electric-coop-api 0.1.64 → 0.1.65
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/.openapi-generator/FILES +18 -4
- package/README.md +2 -2
- package/dist/apis/AdminBillsApi.d.ts +1 -25
- package/dist/apis/AdminBillsApi.js +0 -39
- package/dist/apis/AnalyticsApi.d.ts +70 -0
- package/dist/apis/AnalyticsApi.js +102 -0
- package/dist/apis/ManagementDashboardApi.d.ts +1 -27
- package/dist/apis/ManagementDashboardApi.js +0 -39
- package/dist/apis/ReportsApi.d.ts +124 -0
- package/dist/apis/ReportsApi.js +186 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/AdminBillsApi.d.ts +1 -25
- package/dist/esm/apis/AdminBillsApi.js +1 -40
- package/dist/esm/apis/AnalyticsApi.d.ts +70 -0
- package/dist/esm/apis/AnalyticsApi.js +98 -0
- package/dist/esm/apis/ManagementDashboardApi.d.ts +1 -27
- package/dist/esm/apis/ManagementDashboardApi.js +1 -40
- package/dist/esm/apis/ReportsApi.d.ts +124 -0
- package/dist/esm/apis/ReportsApi.js +182 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AnalyticsKpiDto.d.ts +59 -0
- package/dist/esm/models/AnalyticsKpiDto.js +63 -0
- package/dist/esm/models/AnalyticsOverviewDto.d.ts +75 -0
- package/dist/esm/models/AnalyticsOverviewDto.js +72 -0
- package/dist/esm/models/AnalyticsOverviewSuccessResponse.d.ts +45 -0
- package/dist/esm/models/AnalyticsOverviewSuccessResponse.js +50 -0
- package/dist/esm/models/AnalyticsTrendsDto.d.ts +51 -0
- package/dist/esm/models/AnalyticsTrendsDto.js +56 -0
- package/dist/esm/models/AnalyticsTrendsSuccessResponse.d.ts +45 -0
- package/dist/esm/models/AnalyticsTrendsSuccessResponse.js +50 -0
- package/dist/esm/models/AnnualMonthSummaryDto.d.ts +56 -0
- package/dist/esm/models/AnnualMonthSummaryDto.js +59 -0
- package/dist/esm/models/AnnualSummaryReportDto.d.ts +63 -0
- package/dist/esm/models/AnnualSummaryReportDto.js +64 -0
- package/dist/esm/models/AnnualSummaryReportSuccessResponse.d.ts +45 -0
- package/dist/esm/models/AnnualSummaryReportSuccessResponse.js +50 -0
- package/dist/esm/models/ConsumerSummaryReportDto.d.ts +75 -0
- package/dist/esm/models/ConsumerSummaryReportDto.js +72 -0
- package/dist/esm/models/ConsumerSummaryReportSuccessResponse.d.ts +45 -0
- package/dist/esm/models/ConsumerSummaryReportSuccessResponse.js +50 -0
- package/dist/esm/models/ConsumerTypeBreakdownDto.d.ts +44 -0
- package/dist/esm/models/ConsumerTypeBreakdownDto.js +51 -0
- package/dist/esm/models/OperationsReportSuccessResponse.d.ts +45 -0
- package/dist/esm/models/{ManagementOperationsReportSuccessResponse.js → OperationsReportSuccessResponse.js} +8 -8
- package/dist/esm/models/RevenueByStatusDto.d.ts +60 -0
- package/dist/esm/models/{CollectionsStatusBreakdownDto.js → RevenueByStatusDto.js} +9 -9
- package/dist/esm/models/RevenueReportDto.d.ts +69 -0
- package/dist/esm/models/{CollectionsStatsDto.js → RevenueReportDto.js} +15 -15
- package/dist/esm/models/RevenueReportSuccessResponse.d.ts +45 -0
- package/dist/esm/models/{BillsCollectionsStatsResponse.js → RevenueReportSuccessResponse.js} +11 -11
- package/dist/esm/models/TrendDataPointDto.d.ts +38 -0
- package/dist/esm/models/TrendDataPointDto.js +47 -0
- package/dist/esm/models/index.d.ts +16 -4
- package/dist/esm/models/index.js +16 -4
- package/dist/models/AnalyticsKpiDto.d.ts +59 -0
- package/dist/models/AnalyticsKpiDto.js +71 -0
- package/dist/models/AnalyticsOverviewDto.d.ts +75 -0
- package/dist/models/AnalyticsOverviewDto.js +79 -0
- package/dist/models/AnalyticsOverviewSuccessResponse.d.ts +45 -0
- package/dist/models/AnalyticsOverviewSuccessResponse.js +57 -0
- package/dist/models/AnalyticsTrendsDto.d.ts +51 -0
- package/dist/models/AnalyticsTrendsDto.js +63 -0
- package/dist/models/AnalyticsTrendsSuccessResponse.d.ts +45 -0
- package/dist/models/AnalyticsTrendsSuccessResponse.js +57 -0
- package/dist/models/AnnualMonthSummaryDto.d.ts +56 -0
- package/dist/models/AnnualMonthSummaryDto.js +66 -0
- package/dist/models/AnnualSummaryReportDto.d.ts +63 -0
- package/dist/models/AnnualSummaryReportDto.js +71 -0
- package/dist/models/AnnualSummaryReportSuccessResponse.d.ts +45 -0
- package/dist/models/AnnualSummaryReportSuccessResponse.js +57 -0
- package/dist/models/ConsumerSummaryReportDto.d.ts +75 -0
- package/dist/models/ConsumerSummaryReportDto.js +79 -0
- package/dist/models/ConsumerSummaryReportSuccessResponse.d.ts +45 -0
- package/dist/models/ConsumerSummaryReportSuccessResponse.js +57 -0
- package/dist/models/ConsumerTypeBreakdownDto.d.ts +44 -0
- package/dist/models/ConsumerTypeBreakdownDto.js +58 -0
- package/dist/models/OperationsReportSuccessResponse.d.ts +45 -0
- package/dist/models/{ManagementOperationsReportSuccessResponse.js → OperationsReportSuccessResponse.js} +13 -13
- package/dist/models/RevenueByStatusDto.d.ts +60 -0
- package/dist/models/{CollectionsStatusBreakdownDto.js → RevenueByStatusDto.js} +15 -15
- package/dist/models/RevenueReportDto.d.ts +69 -0
- package/dist/models/{CollectionsStatsDto.js → RevenueReportDto.js} +20 -20
- package/dist/models/RevenueReportSuccessResponse.d.ts +45 -0
- package/dist/models/RevenueReportSuccessResponse.js +57 -0
- package/dist/models/TrendDataPointDto.d.ts +38 -0
- package/dist/models/TrendDataPointDto.js +54 -0
- package/dist/models/index.d.ts +16 -4
- package/dist/models/index.js +16 -4
- package/package.json +1 -1
- package/src/apis/AdminBillsApi.ts +0 -70
- package/src/apis/AnalyticsApi.ts +156 -0
- package/src/apis/ManagementDashboardApi.ts +0 -69
- package/src/apis/ReportsApi.ts +311 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AnalyticsKpiDto.ts +105 -0
- package/src/models/AnalyticsOverviewDto.ts +137 -0
- package/src/models/AnalyticsOverviewSuccessResponse.ts +91 -0
- package/src/models/AnalyticsTrendsDto.ts +101 -0
- package/src/models/AnalyticsTrendsSuccessResponse.ts +91 -0
- package/src/models/AnnualMonthSummaryDto.ts +102 -0
- package/src/models/AnnualSummaryReportDto.ts +119 -0
- package/src/models/AnnualSummaryReportSuccessResponse.ts +91 -0
- package/src/models/ConsumerSummaryReportDto.ts +137 -0
- package/src/models/ConsumerSummaryReportSuccessResponse.ts +91 -0
- package/src/models/ConsumerTypeBreakdownDto.ts +84 -0
- package/src/models/{ManagementOperationsReportSuccessResponse.ts → OperationsReportSuccessResponse.ts} +13 -13
- package/src/models/{CollectionsStatusBreakdownDto.ts → RevenueByStatusDto.ts} +19 -19
- package/src/models/{CollectionsStatsDto.ts → RevenueReportDto.ts} +40 -40
- package/src/models/RevenueReportSuccessResponse.ts +91 -0
- package/src/models/TrendDataPointDto.ts +75 -0
- package/src/models/index.ts +16 -4
- package/dist/esm/models/BillsCollectionsStatsResponse.d.ts +0 -45
- package/dist/esm/models/CollectionsStatsDto.d.ts +0 -69
- package/dist/esm/models/CollectionsStatusBreakdownDto.d.ts +0 -60
- package/dist/esm/models/ManagementOperationsReportSuccessResponse.d.ts +0 -45
- package/dist/models/BillsCollectionsStatsResponse.d.ts +0 -45
- package/dist/models/BillsCollectionsStatsResponse.js +0 -57
- package/dist/models/CollectionsStatsDto.d.ts +0 -69
- package/dist/models/CollectionsStatusBreakdownDto.d.ts +0 -60
- package/dist/models/ManagementOperationsReportSuccessResponse.d.ts +0 -45
- package/src/models/BillsCollectionsStatsResponse.ts +0 -91
package/.openapi-generator/FILES
CHANGED
|
@@ -13,6 +13,7 @@ src/apis/AdminNotificationsApi.ts
|
|
|
13
13
|
src/apis/AdminOutagesApi.ts
|
|
14
14
|
src/apis/AdminServiceRequestsApi.ts
|
|
15
15
|
src/apis/AdminWorkOrdersApi.ts
|
|
16
|
+
src/apis/AnalyticsApi.ts
|
|
16
17
|
src/apis/AuthApi.ts
|
|
17
18
|
src/apis/BillsApi.ts
|
|
18
19
|
src/apis/ComplaintsApi.ts
|
|
@@ -27,6 +28,7 @@ src/apis/NotificationsApi.ts
|
|
|
27
28
|
src/apis/RateAdjustmentsApi.ts
|
|
28
29
|
src/apis/RateDisplayApi.ts
|
|
29
30
|
src/apis/RatesApi.ts
|
|
31
|
+
src/apis/ReportsApi.ts
|
|
30
32
|
src/apis/SettingsApi.ts
|
|
31
33
|
src/apis/UsersApi.ts
|
|
32
34
|
src/apis/index.ts
|
|
@@ -51,6 +53,14 @@ src/models/AdminUpdateWorkOrderResponse.ts
|
|
|
51
53
|
src/models/AdminWorkOrderResponse.ts
|
|
52
54
|
src/models/AdminWorkOrderStatsResponse.ts
|
|
53
55
|
src/models/AdminWorkOrdersPaginatedResponse.ts
|
|
56
|
+
src/models/AnalyticsKpiDto.ts
|
|
57
|
+
src/models/AnalyticsOverviewDto.ts
|
|
58
|
+
src/models/AnalyticsOverviewSuccessResponse.ts
|
|
59
|
+
src/models/AnalyticsTrendsDto.ts
|
|
60
|
+
src/models/AnalyticsTrendsSuccessResponse.ts
|
|
61
|
+
src/models/AnnualMonthSummaryDto.ts
|
|
62
|
+
src/models/AnnualSummaryReportDto.ts
|
|
63
|
+
src/models/AnnualSummaryReportSuccessResponse.ts
|
|
54
64
|
src/models/ApproveRateAdjustmentDto.ts
|
|
55
65
|
src/models/AssignWorkOrderDto.ts
|
|
56
66
|
src/models/AuditLog.ts
|
|
@@ -77,13 +87,10 @@ src/models/BillingDashboardStatsDto.ts
|
|
|
77
87
|
src/models/BillingDashboardStatsResponse.ts
|
|
78
88
|
src/models/BillsAdminPaginatedResponse.ts
|
|
79
89
|
src/models/BillsCalculationSuccessResponse.ts
|
|
80
|
-
src/models/BillsCollectionsStatsResponse.ts
|
|
81
90
|
src/models/BillsPaginatedResponse.ts
|
|
82
91
|
src/models/BillsSuccessResponse.ts
|
|
83
92
|
src/models/ChartDataPointDto.ts
|
|
84
93
|
src/models/ChartSegmentDto.ts
|
|
85
|
-
src/models/CollectionsStatsDto.ts
|
|
86
|
-
src/models/CollectionsStatusBreakdownDto.ts
|
|
87
94
|
src/models/Complaint.ts
|
|
88
95
|
src/models/ComplaintPriorityEnum.ts
|
|
89
96
|
src/models/ComplaintStatsResponse.ts
|
|
@@ -101,6 +108,9 @@ src/models/ConsumerMetadataDto.ts
|
|
|
101
108
|
src/models/ConsumerRoleEnum.ts
|
|
102
109
|
src/models/ConsumerServiceRequestsPaginatedResponse.ts
|
|
103
110
|
src/models/ConsumerStatusEnum.ts
|
|
111
|
+
src/models/ConsumerSummaryReportDto.ts
|
|
112
|
+
src/models/ConsumerSummaryReportSuccessResponse.ts
|
|
113
|
+
src/models/ConsumerTypeBreakdownDto.ts
|
|
104
114
|
src/models/ConsumerTypeEnum.ts
|
|
105
115
|
src/models/ConsumersAdminPaginatedResponse.ts
|
|
106
116
|
src/models/ConsumersAdminUnBilledPaginatedResponse.ts
|
|
@@ -129,7 +139,6 @@ src/models/LogoutDto.ts
|
|
|
129
139
|
src/models/ManagementDashboardStatsResponseDto.ts
|
|
130
140
|
src/models/ManagementDashboardStatsSuccessResponse.ts
|
|
131
141
|
src/models/ManagementMonthlyReportDto.ts
|
|
132
|
-
src/models/ManagementOperationsReportSuccessResponse.ts
|
|
133
142
|
src/models/ManagementRecentActivitiesResponseDto.ts
|
|
134
143
|
src/models/ManagementRecentActivitiesSuccessResponse.ts
|
|
135
144
|
src/models/ManagementRecentActivityDto.ts
|
|
@@ -155,6 +164,7 @@ src/models/NotificationTargetEnum.ts
|
|
|
155
164
|
src/models/NotificationTypeEnum.ts
|
|
156
165
|
src/models/NotificationUnreadCount.ts
|
|
157
166
|
src/models/NotificationUnreadCountResponseDto.ts
|
|
167
|
+
src/models/OperationsReportSuccessResponse.ts
|
|
158
168
|
src/models/Outage.ts
|
|
159
169
|
src/models/OutageSeverityEnum.ts
|
|
160
170
|
src/models/OutageStatsDto.ts
|
|
@@ -186,6 +196,9 @@ src/models/RefreshTokenDto.ts
|
|
|
186
196
|
src/models/RefreshTokenResponse.ts
|
|
187
197
|
src/models/RefreshTokenResponseDto.ts
|
|
188
198
|
src/models/RejectRateAdjustmentDto.ts
|
|
199
|
+
src/models/RevenueByStatusDto.ts
|
|
200
|
+
src/models/RevenueReportDto.ts
|
|
201
|
+
src/models/RevenueReportSuccessResponse.ts
|
|
189
202
|
src/models/ServiceRequest.ts
|
|
190
203
|
src/models/ServiceRequestPriorityEnum.ts
|
|
191
204
|
src/models/ServiceRequestStatsDto.ts
|
|
@@ -197,6 +210,7 @@ src/models/Tenant.ts
|
|
|
197
210
|
src/models/TenantSettingsResponseDto.ts
|
|
198
211
|
src/models/TenantSettingsSuccessResponse.ts
|
|
199
212
|
src/models/TenantStatusEnum.ts
|
|
213
|
+
src/models/TrendDataPointDto.ts
|
|
200
214
|
src/models/UpdateBillDto.ts
|
|
201
215
|
src/models/UpdateComplaintDto.ts
|
|
202
216
|
src/models/UpdateConsumerDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## electric-coop-api@0.1.
|
|
1
|
+
## electric-coop-api@0.1.65
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install electric-coop-api@0.1.
|
|
39
|
+
npm install electric-coop-api@0.1.65 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BillStatusEnum, BillingDashboardStatsResponse, BillsAdminPaginatedResponse, BillsCalculationSuccessResponse,
|
|
13
|
+
import type { BillStatusEnum, BillingDashboardStatsResponse, BillsAdminPaginatedResponse, BillsCalculationSuccessResponse, BillsSuccessResponse, CreateBillDto, PreviewBillDto, UpdateBillDto } from '../models/index';
|
|
14
14
|
export interface CreateAdminBillRequest {
|
|
15
15
|
createBillDto: CreateBillDto;
|
|
16
16
|
}
|
|
@@ -29,9 +29,6 @@ export interface GetAdminBillsRequest {
|
|
|
29
29
|
accountNumber?: string;
|
|
30
30
|
consumerId?: string;
|
|
31
31
|
}
|
|
32
|
-
export interface GetAdminBillsCollectionsStatsRequest {
|
|
33
|
-
billingPeriod: string;
|
|
34
|
-
}
|
|
35
32
|
export interface PreviewAdminBillRequest {
|
|
36
33
|
previewBillDto: PreviewBillDto;
|
|
37
34
|
}
|
|
@@ -140,19 +137,6 @@ export interface AdminBillsApiInterface {
|
|
|
140
137
|
* Get paginated bills (admin)
|
|
141
138
|
*/
|
|
142
139
|
getAdminBills(requestParameters: GetAdminBillsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BillsAdminPaginatedResponse>;
|
|
143
|
-
/**
|
|
144
|
-
*
|
|
145
|
-
* @summary Get collections statistics for a billing period (admin)
|
|
146
|
-
* @param {string} billingPeriod Billing period in YYYY-MM format
|
|
147
|
-
* @param {*} [options] Override http request option.
|
|
148
|
-
* @throws {RequiredError}
|
|
149
|
-
* @memberof AdminBillsApiInterface
|
|
150
|
-
*/
|
|
151
|
-
getAdminBillsCollectionsStatsRaw(requestParameters: GetAdminBillsCollectionsStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BillsCollectionsStatsResponse>>;
|
|
152
|
-
/**
|
|
153
|
-
* Get collections statistics for a billing period (admin)
|
|
154
|
-
*/
|
|
155
|
-
getAdminBillsCollectionsStats(requestParameters: GetAdminBillsCollectionsStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BillsCollectionsStatsResponse>;
|
|
156
140
|
/**
|
|
157
141
|
*
|
|
158
142
|
* @summary Preview bill calculation without saving (admin)
|
|
@@ -241,14 +225,6 @@ export declare class AdminBillsApi extends runtime.BaseAPI implements AdminBills
|
|
|
241
225
|
* Get paginated bills (admin)
|
|
242
226
|
*/
|
|
243
227
|
getAdminBills(requestParameters?: GetAdminBillsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BillsAdminPaginatedResponse>;
|
|
244
|
-
/**
|
|
245
|
-
* Get collections statistics for a billing period (admin)
|
|
246
|
-
*/
|
|
247
|
-
getAdminBillsCollectionsStatsRaw(requestParameters: GetAdminBillsCollectionsStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<BillsCollectionsStatsResponse>>;
|
|
248
|
-
/**
|
|
249
|
-
* Get collections statistics for a billing period (admin)
|
|
250
|
-
*/
|
|
251
|
-
getAdminBillsCollectionsStats(requestParameters: GetAdminBillsCollectionsStatsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<BillsCollectionsStatsResponse>;
|
|
252
228
|
/**
|
|
253
229
|
* Preview bill calculation without saving (admin)
|
|
254
230
|
*/
|
|
@@ -293,45 +293,6 @@ class AdminBillsApi extends runtime.BaseAPI {
|
|
|
293
293
|
return yield response.value();
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
|
-
/**
|
|
297
|
-
* Get collections statistics for a billing period (admin)
|
|
298
|
-
*/
|
|
299
|
-
getAdminBillsCollectionsStatsRaw(requestParameters, initOverrides) {
|
|
300
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
301
|
-
if (requestParameters['billingPeriod'] == null) {
|
|
302
|
-
throw new runtime.RequiredError('billingPeriod', 'Required parameter "billingPeriod" was null or undefined when calling getAdminBillsCollectionsStats().');
|
|
303
|
-
}
|
|
304
|
-
const queryParameters = {};
|
|
305
|
-
if (requestParameters['billingPeriod'] != null) {
|
|
306
|
-
queryParameters['billingPeriod'] = requestParameters['billingPeriod'];
|
|
307
|
-
}
|
|
308
|
-
const headerParameters = {};
|
|
309
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
310
|
-
const token = this.configuration.accessToken;
|
|
311
|
-
const tokenString = yield token("bearer", []);
|
|
312
|
-
if (tokenString) {
|
|
313
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
let urlPath = `/api/v1/admin/bills/collections-stats`;
|
|
317
|
-
const response = yield this.request({
|
|
318
|
-
path: urlPath,
|
|
319
|
-
method: 'GET',
|
|
320
|
-
headers: headerParameters,
|
|
321
|
-
query: queryParameters,
|
|
322
|
-
}, initOverrides);
|
|
323
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.BillsCollectionsStatsResponseFromJSON)(jsonValue));
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
/**
|
|
327
|
-
* Get collections statistics for a billing period (admin)
|
|
328
|
-
*/
|
|
329
|
-
getAdminBillsCollectionsStats(requestParameters, initOverrides) {
|
|
330
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
331
|
-
const response = yield this.getAdminBillsCollectionsStatsRaw(requestParameters, initOverrides);
|
|
332
|
-
return yield response.value();
|
|
333
|
-
});
|
|
334
|
-
}
|
|
335
296
|
/**
|
|
336
297
|
* Preview bill calculation without saving (admin)
|
|
337
298
|
*/
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Electric Cooperative Consumer Portal API
|
|
3
|
+
* Multi-tenant SaaS platform for Philippine electric cooperatives
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { AnalyticsOverviewSuccessResponse, AnalyticsTrendsSuccessResponse } from '../models/index';
|
|
14
|
+
export interface GetAnalyticsTrendsRequest {
|
|
15
|
+
months?: number;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* AnalyticsApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AnalyticsApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface AnalyticsApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @summary Get analytics KPI overview comparing current vs previous billing period
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
* @memberof AnalyticsApiInterface
|
|
30
|
+
*/
|
|
31
|
+
getAnalyticsOverviewRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnalyticsOverviewSuccessResponse>>;
|
|
32
|
+
/**
|
|
33
|
+
* Get analytics KPI overview comparing current vs previous billing period
|
|
34
|
+
*/
|
|
35
|
+
getAnalyticsOverview(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnalyticsOverviewSuccessResponse>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @summary Get multi-month trend data for key metrics
|
|
39
|
+
* @param {number} [months] Number of months of trend data to return (2–24)
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
* @memberof AnalyticsApiInterface
|
|
43
|
+
*/
|
|
44
|
+
getAnalyticsTrendsRaw(requestParameters: GetAnalyticsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnalyticsTrendsSuccessResponse>>;
|
|
45
|
+
/**
|
|
46
|
+
* Get multi-month trend data for key metrics
|
|
47
|
+
*/
|
|
48
|
+
getAnalyticsTrends(requestParameters: GetAnalyticsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnalyticsTrendsSuccessResponse>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export declare class AnalyticsApi extends runtime.BaseAPI implements AnalyticsApiInterface {
|
|
54
|
+
/**
|
|
55
|
+
* Get analytics KPI overview comparing current vs previous billing period
|
|
56
|
+
*/
|
|
57
|
+
getAnalyticsOverviewRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnalyticsOverviewSuccessResponse>>;
|
|
58
|
+
/**
|
|
59
|
+
* Get analytics KPI overview comparing current vs previous billing period
|
|
60
|
+
*/
|
|
61
|
+
getAnalyticsOverview(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnalyticsOverviewSuccessResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* Get multi-month trend data for key metrics
|
|
64
|
+
*/
|
|
65
|
+
getAnalyticsTrendsRaw(requestParameters: GetAnalyticsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnalyticsTrendsSuccessResponse>>;
|
|
66
|
+
/**
|
|
67
|
+
* Get multi-month trend data for key metrics
|
|
68
|
+
*/
|
|
69
|
+
getAnalyticsTrends(requestParameters?: GetAnalyticsTrendsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnalyticsTrendsSuccessResponse>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Electric Cooperative Consumer Portal API
|
|
6
|
+
* Multi-tenant SaaS platform for Philippine electric cooperatives
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.AnalyticsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class AnalyticsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get analytics KPI overview comparing current vs previous billing period
|
|
34
|
+
*/
|
|
35
|
+
getAnalyticsOverviewRaw(initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = yield token("bearer", []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/api/v1/analytics/overview`;
|
|
47
|
+
const response = yield this.request({
|
|
48
|
+
path: urlPath,
|
|
49
|
+
method: 'GET',
|
|
50
|
+
headers: headerParameters,
|
|
51
|
+
query: queryParameters,
|
|
52
|
+
}, initOverrides);
|
|
53
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AnalyticsOverviewSuccessResponseFromJSON)(jsonValue));
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get analytics KPI overview comparing current vs previous billing period
|
|
58
|
+
*/
|
|
59
|
+
getAnalyticsOverview(initOverrides) {
|
|
60
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
|
+
const response = yield this.getAnalyticsOverviewRaw(initOverrides);
|
|
62
|
+
return yield response.value();
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Get multi-month trend data for key metrics
|
|
67
|
+
*/
|
|
68
|
+
getAnalyticsTrendsRaw(requestParameters, initOverrides) {
|
|
69
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
70
|
+
const queryParameters = {};
|
|
71
|
+
if (requestParameters['months'] != null) {
|
|
72
|
+
queryParameters['months'] = requestParameters['months'];
|
|
73
|
+
}
|
|
74
|
+
const headerParameters = {};
|
|
75
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
76
|
+
const token = this.configuration.accessToken;
|
|
77
|
+
const tokenString = yield token("bearer", []);
|
|
78
|
+
if (tokenString) {
|
|
79
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
let urlPath = `/api/v1/analytics/trends`;
|
|
83
|
+
const response = yield this.request({
|
|
84
|
+
path: urlPath,
|
|
85
|
+
method: 'GET',
|
|
86
|
+
headers: headerParameters,
|
|
87
|
+
query: queryParameters,
|
|
88
|
+
}, initOverrides);
|
|
89
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AnalyticsTrendsSuccessResponseFromJSON)(jsonValue));
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Get multi-month trend data for key metrics
|
|
94
|
+
*/
|
|
95
|
+
getAnalyticsTrends() {
|
|
96
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
97
|
+
const response = yield this.getAnalyticsTrendsRaw(requestParameters, initOverrides);
|
|
98
|
+
return yield response.value();
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.AnalyticsApi = AnalyticsApi;
|
|
@@ -10,11 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { ManagementDashboardStatsSuccessResponse,
|
|
14
|
-
export interface GetManagementOperationsReportRequest {
|
|
15
|
-
year?: number;
|
|
16
|
-
month?: number;
|
|
17
|
-
}
|
|
13
|
+
import type { ManagementDashboardStatsSuccessResponse, ManagementRecentActivitiesSuccessResponse } from '../models/index';
|
|
18
14
|
/**
|
|
19
15
|
* ManagementDashboardApi - interface
|
|
20
16
|
*
|
|
@@ -22,20 +18,6 @@ export interface GetManagementOperationsReportRequest {
|
|
|
22
18
|
* @interface ManagementDashboardApiInterface
|
|
23
19
|
*/
|
|
24
20
|
export interface ManagementDashboardApiInterface {
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @summary Generate operations report with graph data
|
|
28
|
-
* @param {number} [year] Year (defaults to current year)
|
|
29
|
-
* @param {number} [month] Month 1-12 (defaults to current month)
|
|
30
|
-
* @param {*} [options] Override http request option.
|
|
31
|
-
* @throws {RequiredError}
|
|
32
|
-
* @memberof ManagementDashboardApiInterface
|
|
33
|
-
*/
|
|
34
|
-
getManagementOperationsReportRaw(requestParameters: GetManagementOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ManagementOperationsReportSuccessResponse>>;
|
|
35
|
-
/**
|
|
36
|
-
* Generate operations report with graph data
|
|
37
|
-
*/
|
|
38
|
-
getManagementOperationsReport(requestParameters: GetManagementOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManagementOperationsReportSuccessResponse>;
|
|
39
21
|
/**
|
|
40
22
|
*
|
|
41
23
|
* @summary Get recent activities for management dashboard
|
|
@@ -65,14 +47,6 @@ export interface ManagementDashboardApiInterface {
|
|
|
65
47
|
*
|
|
66
48
|
*/
|
|
67
49
|
export declare class ManagementDashboardApi extends runtime.BaseAPI implements ManagementDashboardApiInterface {
|
|
68
|
-
/**
|
|
69
|
-
* Generate operations report with graph data
|
|
70
|
-
*/
|
|
71
|
-
getManagementOperationsReportRaw(requestParameters: GetManagementOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ManagementOperationsReportSuccessResponse>>;
|
|
72
|
-
/**
|
|
73
|
-
* Generate operations report with graph data
|
|
74
|
-
*/
|
|
75
|
-
getManagementOperationsReport(requestParameters?: GetManagementOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManagementOperationsReportSuccessResponse>;
|
|
76
50
|
/**
|
|
77
51
|
* Get recent activities for management dashboard
|
|
78
52
|
*/
|
|
@@ -29,45 +29,6 @@ const index_1 = require("../models/index");
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
class ManagementDashboardApi extends runtime.BaseAPI {
|
|
32
|
-
/**
|
|
33
|
-
* Generate operations report with graph data
|
|
34
|
-
*/
|
|
35
|
-
getManagementOperationsReportRaw(requestParameters, initOverrides) {
|
|
36
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
-
const queryParameters = {};
|
|
38
|
-
if (requestParameters['year'] != null) {
|
|
39
|
-
queryParameters['year'] = requestParameters['year'];
|
|
40
|
-
}
|
|
41
|
-
if (requestParameters['month'] != null) {
|
|
42
|
-
queryParameters['month'] = requestParameters['month'];
|
|
43
|
-
}
|
|
44
|
-
const headerParameters = {};
|
|
45
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
46
|
-
const token = this.configuration.accessToken;
|
|
47
|
-
const tokenString = yield token("bearer", []);
|
|
48
|
-
if (tokenString) {
|
|
49
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
let urlPath = `/api/v1/management/dashboard/monthly-report`;
|
|
53
|
-
const response = yield this.request({
|
|
54
|
-
path: urlPath,
|
|
55
|
-
method: 'GET',
|
|
56
|
-
headers: headerParameters,
|
|
57
|
-
query: queryParameters,
|
|
58
|
-
}, initOverrides);
|
|
59
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ManagementOperationsReportSuccessResponseFromJSON)(jsonValue));
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* Generate operations report with graph data
|
|
64
|
-
*/
|
|
65
|
-
getManagementOperationsReport() {
|
|
66
|
-
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
67
|
-
const response = yield this.getManagementOperationsReportRaw(requestParameters, initOverrides);
|
|
68
|
-
return yield response.value();
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
32
|
/**
|
|
72
33
|
* Get recent activities for management dashboard
|
|
73
34
|
*/
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Electric Cooperative Consumer Portal API
|
|
3
|
+
* Multi-tenant SaaS platform for Philippine electric cooperatives
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { AnnualSummaryReportSuccessResponse, ConsumerSummaryReportSuccessResponse, OperationsReportSuccessResponse, RevenueReportSuccessResponse } from '../models/index';
|
|
14
|
+
export interface GetAnnualSummaryReportRequest {
|
|
15
|
+
year?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface GetConsumerSummaryReportRequest {
|
|
18
|
+
billingPeriod: string;
|
|
19
|
+
}
|
|
20
|
+
export interface GetOperationsReportRequest {
|
|
21
|
+
year?: number;
|
|
22
|
+
month?: number;
|
|
23
|
+
}
|
|
24
|
+
export interface GetRevenueReportRequest {
|
|
25
|
+
billingPeriod: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* ReportsApi - interface
|
|
29
|
+
*
|
|
30
|
+
* @export
|
|
31
|
+
* @interface ReportsApiInterface
|
|
32
|
+
*/
|
|
33
|
+
export interface ReportsApiInterface {
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @summary Get annual revenue and billing summary
|
|
37
|
+
* @param {number} [year] Year (defaults to current year)
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
* @memberof ReportsApiInterface
|
|
41
|
+
*/
|
|
42
|
+
getAnnualSummaryReportRaw(requestParameters: GetAnnualSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnnualSummaryReportSuccessResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
* Get annual revenue and billing summary
|
|
45
|
+
*/
|
|
46
|
+
getAnnualSummaryReport(requestParameters: GetAnnualSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnnualSummaryReportSuccessResponse>;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @summary Get consumer summary report for a billing period
|
|
50
|
+
* @param {string} billingPeriod Billing period in YYYY-MM format
|
|
51
|
+
* @param {*} [options] Override http request option.
|
|
52
|
+
* @throws {RequiredError}
|
|
53
|
+
* @memberof ReportsApiInterface
|
|
54
|
+
*/
|
|
55
|
+
getConsumerSummaryReportRaw(requestParameters: GetConsumerSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConsumerSummaryReportSuccessResponse>>;
|
|
56
|
+
/**
|
|
57
|
+
* Get consumer summary report for a billing period
|
|
58
|
+
*/
|
|
59
|
+
getConsumerSummaryReport(requestParameters: GetConsumerSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConsumerSummaryReportSuccessResponse>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary Get monthly operations report with chart data across all domains
|
|
63
|
+
* @param {number} [year] Year (defaults to current year)
|
|
64
|
+
* @param {number} [month] Month 1-12 (defaults to current month)
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
* @memberof ReportsApiInterface
|
|
68
|
+
*/
|
|
69
|
+
getOperationsReportRaw(requestParameters: GetOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OperationsReportSuccessResponse>>;
|
|
70
|
+
/**
|
|
71
|
+
* Get monthly operations report with chart data across all domains
|
|
72
|
+
*/
|
|
73
|
+
getOperationsReport(requestParameters: GetOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OperationsReportSuccessResponse>;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @summary Get revenue report for a billing period
|
|
77
|
+
* @param {string} billingPeriod Billing period in YYYY-MM format
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
* @memberof ReportsApiInterface
|
|
81
|
+
*/
|
|
82
|
+
getRevenueReportRaw(requestParameters: GetRevenueReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RevenueReportSuccessResponse>>;
|
|
83
|
+
/**
|
|
84
|
+
* Get revenue report for a billing period
|
|
85
|
+
*/
|
|
86
|
+
getRevenueReport(requestParameters: GetRevenueReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RevenueReportSuccessResponse>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
*/
|
|
91
|
+
export declare class ReportsApi extends runtime.BaseAPI implements ReportsApiInterface {
|
|
92
|
+
/**
|
|
93
|
+
* Get annual revenue and billing summary
|
|
94
|
+
*/
|
|
95
|
+
getAnnualSummaryReportRaw(requestParameters: GetAnnualSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AnnualSummaryReportSuccessResponse>>;
|
|
96
|
+
/**
|
|
97
|
+
* Get annual revenue and billing summary
|
|
98
|
+
*/
|
|
99
|
+
getAnnualSummaryReport(requestParameters?: GetAnnualSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AnnualSummaryReportSuccessResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Get consumer summary report for a billing period
|
|
102
|
+
*/
|
|
103
|
+
getConsumerSummaryReportRaw(requestParameters: GetConsumerSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ConsumerSummaryReportSuccessResponse>>;
|
|
104
|
+
/**
|
|
105
|
+
* Get consumer summary report for a billing period
|
|
106
|
+
*/
|
|
107
|
+
getConsumerSummaryReport(requestParameters: GetConsumerSummaryReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ConsumerSummaryReportSuccessResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Get monthly operations report with chart data across all domains
|
|
110
|
+
*/
|
|
111
|
+
getOperationsReportRaw(requestParameters: GetOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<OperationsReportSuccessResponse>>;
|
|
112
|
+
/**
|
|
113
|
+
* Get monthly operations report with chart data across all domains
|
|
114
|
+
*/
|
|
115
|
+
getOperationsReport(requestParameters?: GetOperationsReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<OperationsReportSuccessResponse>;
|
|
116
|
+
/**
|
|
117
|
+
* Get revenue report for a billing period
|
|
118
|
+
*/
|
|
119
|
+
getRevenueReportRaw(requestParameters: GetRevenueReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RevenueReportSuccessResponse>>;
|
|
120
|
+
/**
|
|
121
|
+
* Get revenue report for a billing period
|
|
122
|
+
*/
|
|
123
|
+
getRevenueReport(requestParameters: GetRevenueReportRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RevenueReportSuccessResponse>;
|
|
124
|
+
}
|