electric-coop-api 0.1.75 → 0.1.76

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.
Files changed (76) hide show
  1. package/.openapi-generator/FILES +0 -7
  2. package/README.md +2 -2
  3. package/dist/apis/ReportsApi.d.ts +2 -2
  4. package/dist/apis/index.d.ts +0 -1
  5. package/dist/apis/index.js +0 -1
  6. package/dist/esm/apis/ReportsApi.d.ts +2 -2
  7. package/dist/esm/apis/index.d.ts +0 -1
  8. package/dist/esm/apis/index.js +0 -1
  9. package/dist/esm/models/AuditLogEntityTypeEnum.d.ts +1 -0
  10. package/dist/esm/models/AuditLogEntityTypeEnum.js +2 -1
  11. package/dist/esm/models/ComplaintTypeEnum.d.ts +1 -1
  12. package/dist/esm/models/ComplaintTypeEnum.js +1 -1
  13. package/dist/esm/models/ResourceEnum.d.ts +0 -1
  14. package/dist/esm/models/ResourceEnum.js +0 -1
  15. package/dist/esm/models/UpdateComplaintDto.d.ts +7 -0
  16. package/dist/esm/models/UpdateComplaintDto.js +3 -0
  17. package/dist/esm/models/UserPermissionEnum.d.ts +0 -1
  18. package/dist/esm/models/UserPermissionEnum.js +0 -1
  19. package/dist/esm/models/index.d.ts +0 -6
  20. package/dist/esm/models/index.js +0 -6
  21. package/dist/models/AuditLogEntityTypeEnum.d.ts +1 -0
  22. package/dist/models/AuditLogEntityTypeEnum.js +2 -1
  23. package/dist/models/ComplaintTypeEnum.d.ts +1 -1
  24. package/dist/models/ComplaintTypeEnum.js +1 -1
  25. package/dist/models/ResourceEnum.d.ts +0 -1
  26. package/dist/models/ResourceEnum.js +0 -1
  27. package/dist/models/UpdateComplaintDto.d.ts +7 -0
  28. package/dist/models/UpdateComplaintDto.js +3 -0
  29. package/dist/models/UserPermissionEnum.d.ts +0 -1
  30. package/dist/models/UserPermissionEnum.js +0 -1
  31. package/dist/models/index.d.ts +0 -6
  32. package/dist/models/index.js +0 -6
  33. package/package.json +1 -1
  34. package/src/apis/ReportsApi.ts +2 -2
  35. package/src/apis/index.ts +0 -1
  36. package/src/models/AuditLogEntityTypeEnum.ts +2 -1
  37. package/src/models/ComplaintTypeEnum.ts +1 -1
  38. package/src/models/ResourceEnum.ts +0 -1
  39. package/src/models/UpdateComplaintDto.ts +15 -0
  40. package/src/models/UserPermissionEnum.ts +0 -1
  41. package/src/models/index.ts +0 -6
  42. package/dist/apis/AnalyticsApi.d.ts +0 -70
  43. package/dist/apis/AnalyticsApi.js +0 -102
  44. package/dist/esm/apis/AnalyticsApi.d.ts +0 -70
  45. package/dist/esm/apis/AnalyticsApi.js +0 -98
  46. package/dist/esm/models/AnalyticsKpiDto.d.ts +0 -59
  47. package/dist/esm/models/AnalyticsKpiDto.js +0 -63
  48. package/dist/esm/models/AnalyticsOverviewDto.d.ts +0 -75
  49. package/dist/esm/models/AnalyticsOverviewDto.js +0 -72
  50. package/dist/esm/models/AnalyticsOverviewSuccessResponse.d.ts +0 -45
  51. package/dist/esm/models/AnalyticsOverviewSuccessResponse.js +0 -50
  52. package/dist/esm/models/AnalyticsTrendsDto.d.ts +0 -51
  53. package/dist/esm/models/AnalyticsTrendsDto.js +0 -56
  54. package/dist/esm/models/AnalyticsTrendsSuccessResponse.d.ts +0 -45
  55. package/dist/esm/models/AnalyticsTrendsSuccessResponse.js +0 -50
  56. package/dist/esm/models/TrendDataPointDto.d.ts +0 -38
  57. package/dist/esm/models/TrendDataPointDto.js +0 -47
  58. package/dist/models/AnalyticsKpiDto.d.ts +0 -59
  59. package/dist/models/AnalyticsKpiDto.js +0 -71
  60. package/dist/models/AnalyticsOverviewDto.d.ts +0 -75
  61. package/dist/models/AnalyticsOverviewDto.js +0 -79
  62. package/dist/models/AnalyticsOverviewSuccessResponse.d.ts +0 -45
  63. package/dist/models/AnalyticsOverviewSuccessResponse.js +0 -57
  64. package/dist/models/AnalyticsTrendsDto.d.ts +0 -51
  65. package/dist/models/AnalyticsTrendsDto.js +0 -63
  66. package/dist/models/AnalyticsTrendsSuccessResponse.d.ts +0 -45
  67. package/dist/models/AnalyticsTrendsSuccessResponse.js +0 -57
  68. package/dist/models/TrendDataPointDto.d.ts +0 -38
  69. package/dist/models/TrendDataPointDto.js +0 -54
  70. package/src/apis/AnalyticsApi.ts +0 -156
  71. package/src/models/AnalyticsKpiDto.ts +0 -105
  72. package/src/models/AnalyticsOverviewDto.ts +0 -137
  73. package/src/models/AnalyticsOverviewSuccessResponse.ts +0 -91
  74. package/src/models/AnalyticsTrendsDto.ts +0 -101
  75. package/src/models/AnalyticsTrendsSuccessResponse.ts +0 -91
  76. package/src/models/TrendDataPointDto.ts +0 -75
@@ -13,7 +13,6 @@ 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
17
16
  src/apis/AuthApi.ts
18
17
  src/apis/BillsApi.ts
19
18
  src/apis/ComplaintsApi.ts
@@ -54,11 +53,6 @@ src/models/AdminUpdateWorkOrderResponse.ts
54
53
  src/models/AdminWorkOrderResponse.ts
55
54
  src/models/AdminWorkOrderStatsResponse.ts
56
55
  src/models/AdminWorkOrdersPaginatedResponse.ts
57
- src/models/AnalyticsKpiDto.ts
58
- src/models/AnalyticsOverviewDto.ts
59
- src/models/AnalyticsOverviewSuccessResponse.ts
60
- src/models/AnalyticsTrendsDto.ts
61
- src/models/AnalyticsTrendsSuccessResponse.ts
62
56
  src/models/AnnualMonthSummaryDto.ts
63
57
  src/models/AnnualSummaryReportDto.ts
64
58
  src/models/AnnualSummaryReportSuccessResponse.ts
@@ -214,7 +208,6 @@ src/models/Tenant.ts
214
208
  src/models/TenantSettingsResponseDto.ts
215
209
  src/models/TenantSettingsSuccessResponse.ts
216
210
  src/models/TenantStatusEnum.ts
217
- src/models/TrendDataPointDto.ts
218
211
  src/models/UpdateBillDto.ts
219
212
  src/models/UpdateComplaintDto.ts
220
213
  src/models/UpdateConsumerDto.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## electric-coop-api@0.1.75
1
+ ## electric-coop-api@0.1.76
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.75 --save
39
+ npm install electric-coop-api@0.1.76 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -47,7 +47,7 @@ export interface ReportsApiInterface {
47
47
  /**
48
48
  *
49
49
  * @summary Get consumer summary report for a billing period
50
- * @param {string} billingPeriod Billing period in YYYY-MM format
50
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
51
51
  * @param {*} [options] Override http request option.
52
52
  * @throws {RequiredError}
53
53
  * @memberof ReportsApiInterface
@@ -74,7 +74,7 @@ export interface ReportsApiInterface {
74
74
  /**
75
75
  *
76
76
  * @summary Get revenue report for a billing period
77
- * @param {string} billingPeriod Billing period in YYYY-MM format
77
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
80
80
  * @memberof ReportsApiInterface
@@ -8,7 +8,6 @@ export * from './AdminNotificationsApi';
8
8
  export * from './AdminOutagesApi';
9
9
  export * from './AdminServiceRequestsApi';
10
10
  export * from './AdminWorkOrdersApi';
11
- export * from './AnalyticsApi';
12
11
  export * from './AuthApi';
13
12
  export * from './BillsApi';
14
13
  export * from './ComplaintsApi';
@@ -26,7 +26,6 @@ __exportStar(require("./AdminNotificationsApi"), exports);
26
26
  __exportStar(require("./AdminOutagesApi"), exports);
27
27
  __exportStar(require("./AdminServiceRequestsApi"), exports);
28
28
  __exportStar(require("./AdminWorkOrdersApi"), exports);
29
- __exportStar(require("./AnalyticsApi"), exports);
30
29
  __exportStar(require("./AuthApi"), exports);
31
30
  __exportStar(require("./BillsApi"), exports);
32
31
  __exportStar(require("./ComplaintsApi"), exports);
@@ -47,7 +47,7 @@ export interface ReportsApiInterface {
47
47
  /**
48
48
  *
49
49
  * @summary Get consumer summary report for a billing period
50
- * @param {string} billingPeriod Billing period in YYYY-MM format
50
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
51
51
  * @param {*} [options] Override http request option.
52
52
  * @throws {RequiredError}
53
53
  * @memberof ReportsApiInterface
@@ -74,7 +74,7 @@ export interface ReportsApiInterface {
74
74
  /**
75
75
  *
76
76
  * @summary Get revenue report for a billing period
77
- * @param {string} billingPeriod Billing period in YYYY-MM format
77
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
80
80
  * @memberof ReportsApiInterface
@@ -8,7 +8,6 @@ export * from './AdminNotificationsApi';
8
8
  export * from './AdminOutagesApi';
9
9
  export * from './AdminServiceRequestsApi';
10
10
  export * from './AdminWorkOrdersApi';
11
- export * from './AnalyticsApi';
12
11
  export * from './AuthApi';
13
12
  export * from './BillsApi';
14
13
  export * from './ComplaintsApi';
@@ -10,7 +10,6 @@ export * from './AdminNotificationsApi';
10
10
  export * from './AdminOutagesApi';
11
11
  export * from './AdminServiceRequestsApi';
12
12
  export * from './AdminWorkOrdersApi';
13
- export * from './AnalyticsApi';
14
13
  export * from './AuthApi';
15
14
  export * from './BillsApi';
16
15
  export * from './ComplaintsApi';
@@ -19,6 +19,7 @@ export declare const AuditLogEntityTypeEnum: {
19
19
  readonly User: "user";
20
20
  readonly ConsumerAccount: "consumer_account";
21
21
  readonly ServiceRequest: "service_request";
22
+ readonly Complaint: "complaint";
22
23
  };
23
24
  export type AuditLogEntityTypeEnum = typeof AuditLogEntityTypeEnum[keyof typeof AuditLogEntityTypeEnum];
24
25
  export declare function instanceOfAuditLogEntityTypeEnum(value: any): boolean;
@@ -20,7 +20,8 @@ export const AuditLogEntityTypeEnum = {
20
20
  WorkOrder: 'work_order',
21
21
  User: 'user',
22
22
  ConsumerAccount: 'consumer_account',
23
- ServiceRequest: 'service_request'
23
+ ServiceRequest: 'service_request',
24
+ Complaint: 'complaint'
24
25
  };
25
26
  export function instanceOfAuditLogEntityTypeEnum(value) {
26
27
  for (const key in AuditLogEntityTypeEnum) {
@@ -16,7 +16,7 @@
16
16
  export declare const ComplaintTypeEnum: {
17
17
  readonly Outage: "outage";
18
18
  readonly Billing: "billing";
19
- readonly ServiceRequest: "service_request";
19
+ readonly ServiceConcern: "service_concern";
20
20
  readonly Technical: "technical";
21
21
  readonly Other: "other";
22
22
  };
@@ -18,7 +18,7 @@
18
18
  export const ComplaintTypeEnum = {
19
19
  Outage: 'outage',
20
20
  Billing: 'billing',
21
- ServiceRequest: 'service_request',
21
+ ServiceConcern: 'service_concern',
22
22
  Technical: 'technical',
23
23
  Other: 'other'
24
24
  };
@@ -31,7 +31,6 @@ export declare const ResourceEnum: {
31
31
  readonly Technical: "technical";
32
32
  readonly Billing: "billing";
33
33
  readonly Reports: "reports";
34
- readonly Analytics: "analytics";
35
34
  readonly Settings: "settings";
36
35
  readonly AuditLogs: "audit_logs";
37
36
  };
@@ -33,7 +33,6 @@ export const ResourceEnum = {
33
33
  Technical: 'technical',
34
34
  Billing: 'billing',
35
35
  Reports: 'reports',
36
- Analytics: 'analytics',
37
36
  Settings: 'settings',
38
37
  AuditLogs: 'audit_logs'
39
38
  };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ComplaintStatusEnum } from './ComplaintStatusEnum';
13
13
  import type { ComplaintPriorityEnum } from './ComplaintPriorityEnum';
14
+ import type { ComplaintTypeEnum } from './ComplaintTypeEnum';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -23,6 +24,12 @@ export interface UpdateComplaintDto {
23
24
  * @memberof UpdateComplaintDto
24
25
  */
25
26
  status?: ComplaintStatusEnum;
27
+ /**
28
+ *
29
+ * @type {ComplaintTypeEnum}
30
+ * @memberof UpdateComplaintDto
31
+ */
32
+ type?: ComplaintTypeEnum;
26
33
  /**
27
34
  *
28
35
  * @type {string}
@@ -13,6 +13,7 @@
13
13
  */
14
14
  import { ComplaintStatusEnumFromJSON, ComplaintStatusEnumToJSON, } from './ComplaintStatusEnum';
15
15
  import { ComplaintPriorityEnumFromJSON, ComplaintPriorityEnumToJSON, } from './ComplaintPriorityEnum';
16
+ import { ComplaintTypeEnumFromJSON, ComplaintTypeEnumToJSON, } from './ComplaintTypeEnum';
16
17
  /**
17
18
  * Check if a given object implements the UpdateComplaintDto interface.
18
19
  */
@@ -28,6 +29,7 @@ export function UpdateComplaintDtoFromJSONTyped(json, ignoreDiscriminator) {
28
29
  }
29
30
  return {
30
31
  'status': json['status'] == null ? undefined : ComplaintStatusEnumFromJSON(json['status']),
32
+ 'type': json['type'] == null ? undefined : ComplaintTypeEnumFromJSON(json['type']),
31
33
  'assignedTo': json['assignedTo'] == null ? undefined : json['assignedTo'],
32
34
  'resolutionNotes': json['resolutionNotes'] == null ? undefined : json['resolutionNotes'],
33
35
  'adminNotes': json['adminNotes'] == null ? undefined : json['adminNotes'],
@@ -43,6 +45,7 @@ export function UpdateComplaintDtoToJSONTyped(value, ignoreDiscriminator = false
43
45
  }
44
46
  return {
45
47
  'status': ComplaintStatusEnumToJSON(value['status']),
48
+ 'type': ComplaintTypeEnumToJSON(value['type']),
46
49
  'assignedTo': value['assignedTo'],
47
50
  'resolutionNotes': value['resolutionNotes'],
48
51
  'adminNotes': value['adminNotes'],
@@ -64,7 +64,6 @@ export declare const UserPermissionEnum: {
64
64
  readonly Technical: "technical.*";
65
65
  readonly Billing: "billing.*";
66
66
  readonly Reports: "reports.*";
67
- readonly Analytics: "analytics.*";
68
67
  readonly SettingsView: "settings.view";
69
68
  readonly SettingsEdit: "settings.edit";
70
69
  readonly Settings: "settings.*";
@@ -66,7 +66,6 @@ export const UserPermissionEnum = {
66
66
  Technical: 'technical.*',
67
67
  Billing: 'billing.*',
68
68
  Reports: 'reports.*',
69
- Analytics: 'analytics.*',
70
69
  SettingsView: 'settings.view',
71
70
  SettingsEdit: 'settings.edit',
72
71
  Settings: 'settings.*',
@@ -19,11 +19,6 @@ export * from './AdminUpdateWorkOrderResponse';
19
19
  export * from './AdminWorkOrderResponse';
20
20
  export * from './AdminWorkOrderStatsResponse';
21
21
  export * from './AdminWorkOrdersPaginatedResponse';
22
- export * from './AnalyticsKpiDto';
23
- export * from './AnalyticsOverviewDto';
24
- export * from './AnalyticsOverviewSuccessResponse';
25
- export * from './AnalyticsTrendsDto';
26
- export * from './AnalyticsTrendsSuccessResponse';
27
22
  export * from './AnnualMonthSummaryDto';
28
23
  export * from './AnnualSummaryReportDto';
29
24
  export * from './AnnualSummaryReportSuccessResponse';
@@ -179,7 +174,6 @@ export * from './Tenant';
179
174
  export * from './TenantSettingsResponseDto';
180
175
  export * from './TenantSettingsSuccessResponse';
181
176
  export * from './TenantStatusEnum';
182
- export * from './TrendDataPointDto';
183
177
  export * from './UpdateBillDto';
184
178
  export * from './UpdateComplaintDto';
185
179
  export * from './UpdateConsumerDto';
@@ -21,11 +21,6 @@ export * from './AdminUpdateWorkOrderResponse';
21
21
  export * from './AdminWorkOrderResponse';
22
22
  export * from './AdminWorkOrderStatsResponse';
23
23
  export * from './AdminWorkOrdersPaginatedResponse';
24
- export * from './AnalyticsKpiDto';
25
- export * from './AnalyticsOverviewDto';
26
- export * from './AnalyticsOverviewSuccessResponse';
27
- export * from './AnalyticsTrendsDto';
28
- export * from './AnalyticsTrendsSuccessResponse';
29
24
  export * from './AnnualMonthSummaryDto';
30
25
  export * from './AnnualSummaryReportDto';
31
26
  export * from './AnnualSummaryReportSuccessResponse';
@@ -181,7 +176,6 @@ export * from './Tenant';
181
176
  export * from './TenantSettingsResponseDto';
182
177
  export * from './TenantSettingsSuccessResponse';
183
178
  export * from './TenantStatusEnum';
184
- export * from './TrendDataPointDto';
185
179
  export * from './UpdateBillDto';
186
180
  export * from './UpdateComplaintDto';
187
181
  export * from './UpdateConsumerDto';
@@ -19,6 +19,7 @@ export declare const AuditLogEntityTypeEnum: {
19
19
  readonly User: "user";
20
20
  readonly ConsumerAccount: "consumer_account";
21
21
  readonly ServiceRequest: "service_request";
22
+ readonly Complaint: "complaint";
22
23
  };
23
24
  export type AuditLogEntityTypeEnum = typeof AuditLogEntityTypeEnum[keyof typeof AuditLogEntityTypeEnum];
24
25
  export declare function instanceOfAuditLogEntityTypeEnum(value: any): boolean;
@@ -28,7 +28,8 @@ exports.AuditLogEntityTypeEnum = {
28
28
  WorkOrder: 'work_order',
29
29
  User: 'user',
30
30
  ConsumerAccount: 'consumer_account',
31
- ServiceRequest: 'service_request'
31
+ ServiceRequest: 'service_request',
32
+ Complaint: 'complaint'
32
33
  };
33
34
  function instanceOfAuditLogEntityTypeEnum(value) {
34
35
  for (const key in exports.AuditLogEntityTypeEnum) {
@@ -16,7 +16,7 @@
16
16
  export declare const ComplaintTypeEnum: {
17
17
  readonly Outage: "outage";
18
18
  readonly Billing: "billing";
19
- readonly ServiceRequest: "service_request";
19
+ readonly ServiceConcern: "service_concern";
20
20
  readonly Technical: "technical";
21
21
  readonly Other: "other";
22
22
  };
@@ -26,7 +26,7 @@ exports.ComplaintTypeEnumToJSONTyped = ComplaintTypeEnumToJSONTyped;
26
26
  exports.ComplaintTypeEnum = {
27
27
  Outage: 'outage',
28
28
  Billing: 'billing',
29
- ServiceRequest: 'service_request',
29
+ ServiceConcern: 'service_concern',
30
30
  Technical: 'technical',
31
31
  Other: 'other'
32
32
  };
@@ -31,7 +31,6 @@ export declare const ResourceEnum: {
31
31
  readonly Technical: "technical";
32
32
  readonly Billing: "billing";
33
33
  readonly Reports: "reports";
34
- readonly Analytics: "analytics";
35
34
  readonly Settings: "settings";
36
35
  readonly AuditLogs: "audit_logs";
37
36
  };
@@ -41,7 +41,6 @@ exports.ResourceEnum = {
41
41
  Technical: 'technical',
42
42
  Billing: 'billing',
43
43
  Reports: 'reports',
44
- Analytics: 'analytics',
45
44
  Settings: 'settings',
46
45
  AuditLogs: 'audit_logs'
47
46
  };
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import type { ComplaintStatusEnum } from './ComplaintStatusEnum';
13
13
  import type { ComplaintPriorityEnum } from './ComplaintPriorityEnum';
14
+ import type { ComplaintTypeEnum } from './ComplaintTypeEnum';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -23,6 +24,12 @@ export interface UpdateComplaintDto {
23
24
  * @memberof UpdateComplaintDto
24
25
  */
25
26
  status?: ComplaintStatusEnum;
27
+ /**
28
+ *
29
+ * @type {ComplaintTypeEnum}
30
+ * @memberof UpdateComplaintDto
31
+ */
32
+ type?: ComplaintTypeEnum;
26
33
  /**
27
34
  *
28
35
  * @type {string}
@@ -20,6 +20,7 @@ exports.UpdateComplaintDtoToJSON = UpdateComplaintDtoToJSON;
20
20
  exports.UpdateComplaintDtoToJSONTyped = UpdateComplaintDtoToJSONTyped;
21
21
  const ComplaintStatusEnum_1 = require("./ComplaintStatusEnum");
22
22
  const ComplaintPriorityEnum_1 = require("./ComplaintPriorityEnum");
23
+ const ComplaintTypeEnum_1 = require("./ComplaintTypeEnum");
23
24
  /**
24
25
  * Check if a given object implements the UpdateComplaintDto interface.
25
26
  */
@@ -35,6 +36,7 @@ function UpdateComplaintDtoFromJSONTyped(json, ignoreDiscriminator) {
35
36
  }
36
37
  return {
37
38
  'status': json['status'] == null ? undefined : (0, ComplaintStatusEnum_1.ComplaintStatusEnumFromJSON)(json['status']),
39
+ 'type': json['type'] == null ? undefined : (0, ComplaintTypeEnum_1.ComplaintTypeEnumFromJSON)(json['type']),
38
40
  'assignedTo': json['assignedTo'] == null ? undefined : json['assignedTo'],
39
41
  'resolutionNotes': json['resolutionNotes'] == null ? undefined : json['resolutionNotes'],
40
42
  'adminNotes': json['adminNotes'] == null ? undefined : json['adminNotes'],
@@ -50,6 +52,7 @@ function UpdateComplaintDtoToJSONTyped(value, ignoreDiscriminator = false) {
50
52
  }
51
53
  return {
52
54
  'status': (0, ComplaintStatusEnum_1.ComplaintStatusEnumToJSON)(value['status']),
55
+ 'type': (0, ComplaintTypeEnum_1.ComplaintTypeEnumToJSON)(value['type']),
53
56
  'assignedTo': value['assignedTo'],
54
57
  'resolutionNotes': value['resolutionNotes'],
55
58
  'adminNotes': value['adminNotes'],
@@ -64,7 +64,6 @@ export declare const UserPermissionEnum: {
64
64
  readonly Technical: "technical.*";
65
65
  readonly Billing: "billing.*";
66
66
  readonly Reports: "reports.*";
67
- readonly Analytics: "analytics.*";
68
67
  readonly SettingsView: "settings.view";
69
68
  readonly SettingsEdit: "settings.edit";
70
69
  readonly Settings: "settings.*";
@@ -74,7 +74,6 @@ exports.UserPermissionEnum = {
74
74
  Technical: 'technical.*',
75
75
  Billing: 'billing.*',
76
76
  Reports: 'reports.*',
77
- Analytics: 'analytics.*',
78
77
  SettingsView: 'settings.view',
79
78
  SettingsEdit: 'settings.edit',
80
79
  Settings: 'settings.*',
@@ -19,11 +19,6 @@ export * from './AdminUpdateWorkOrderResponse';
19
19
  export * from './AdminWorkOrderResponse';
20
20
  export * from './AdminWorkOrderStatsResponse';
21
21
  export * from './AdminWorkOrdersPaginatedResponse';
22
- export * from './AnalyticsKpiDto';
23
- export * from './AnalyticsOverviewDto';
24
- export * from './AnalyticsOverviewSuccessResponse';
25
- export * from './AnalyticsTrendsDto';
26
- export * from './AnalyticsTrendsSuccessResponse';
27
22
  export * from './AnnualMonthSummaryDto';
28
23
  export * from './AnnualSummaryReportDto';
29
24
  export * from './AnnualSummaryReportSuccessResponse';
@@ -179,7 +174,6 @@ export * from './Tenant';
179
174
  export * from './TenantSettingsResponseDto';
180
175
  export * from './TenantSettingsSuccessResponse';
181
176
  export * from './TenantStatusEnum';
182
- export * from './TrendDataPointDto';
183
177
  export * from './UpdateBillDto';
184
178
  export * from './UpdateComplaintDto';
185
179
  export * from './UpdateConsumerDto';
@@ -37,11 +37,6 @@ __exportStar(require("./AdminUpdateWorkOrderResponse"), exports);
37
37
  __exportStar(require("./AdminWorkOrderResponse"), exports);
38
38
  __exportStar(require("./AdminWorkOrderStatsResponse"), exports);
39
39
  __exportStar(require("./AdminWorkOrdersPaginatedResponse"), exports);
40
- __exportStar(require("./AnalyticsKpiDto"), exports);
41
- __exportStar(require("./AnalyticsOverviewDto"), exports);
42
- __exportStar(require("./AnalyticsOverviewSuccessResponse"), exports);
43
- __exportStar(require("./AnalyticsTrendsDto"), exports);
44
- __exportStar(require("./AnalyticsTrendsSuccessResponse"), exports);
45
40
  __exportStar(require("./AnnualMonthSummaryDto"), exports);
46
41
  __exportStar(require("./AnnualSummaryReportDto"), exports);
47
42
  __exportStar(require("./AnnualSummaryReportSuccessResponse"), exports);
@@ -197,7 +192,6 @@ __exportStar(require("./Tenant"), exports);
197
192
  __exportStar(require("./TenantSettingsResponseDto"), exports);
198
193
  __exportStar(require("./TenantSettingsSuccessResponse"), exports);
199
194
  __exportStar(require("./TenantStatusEnum"), exports);
200
- __exportStar(require("./TrendDataPointDto"), exports);
201
195
  __exportStar(require("./UpdateBillDto"), exports);
202
196
  __exportStar(require("./UpdateComplaintDto"), exports);
203
197
  __exportStar(require("./UpdateConsumerDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electric-coop-api",
3
- "version": "0.1.75",
3
+ "version": "0.1.76",
4
4
  "description": "OpenAPI client for electric-coop-api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -76,7 +76,7 @@ export interface ReportsApiInterface {
76
76
  /**
77
77
  *
78
78
  * @summary Get consumer summary report for a billing period
79
- * @param {string} billingPeriod Billing period in YYYY-MM format
79
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
82
82
  * @memberof ReportsApiInterface
@@ -107,7 +107,7 @@ export interface ReportsApiInterface {
107
107
  /**
108
108
  *
109
109
  * @summary Get revenue report for a billing period
110
- * @param {string} billingPeriod Billing period in YYYY-MM format
110
+ * @param {string} billingPeriod Billing period in YYYY-MM format (cannot be a future month)
111
111
  * @param {*} [options] Override http request option.
112
112
  * @throws {RequiredError}
113
113
  * @memberof ReportsApiInterface
package/src/apis/index.ts CHANGED
@@ -10,7 +10,6 @@ export * from './AdminNotificationsApi';
10
10
  export * from './AdminOutagesApi';
11
11
  export * from './AdminServiceRequestsApi';
12
12
  export * from './AdminWorkOrdersApi';
13
- export * from './AnalyticsApi';
14
13
  export * from './AuthApi';
15
14
  export * from './BillsApi';
16
15
  export * from './ComplaintsApi';
@@ -22,7 +22,8 @@ export const AuditLogEntityTypeEnum = {
22
22
  WorkOrder: 'work_order',
23
23
  User: 'user',
24
24
  ConsumerAccount: 'consumer_account',
25
- ServiceRequest: 'service_request'
25
+ ServiceRequest: 'service_request',
26
+ Complaint: 'complaint'
26
27
  } as const;
27
28
  export type AuditLogEntityTypeEnum = typeof AuditLogEntityTypeEnum[keyof typeof AuditLogEntityTypeEnum];
28
29
 
@@ -20,7 +20,7 @@
20
20
  export const ComplaintTypeEnum = {
21
21
  Outage: 'outage',
22
22
  Billing: 'billing',
23
- ServiceRequest: 'service_request',
23
+ ServiceConcern: 'service_concern',
24
24
  Technical: 'technical',
25
25
  Other: 'other'
26
26
  } as const;
@@ -35,7 +35,6 @@ export const ResourceEnum = {
35
35
  Technical: 'technical',
36
36
  Billing: 'billing',
37
37
  Reports: 'reports',
38
- Analytics: 'analytics',
39
38
  Settings: 'settings',
40
39
  AuditLogs: 'audit_logs'
41
40
  } as const;
@@ -27,6 +27,13 @@ import {
27
27
  ComplaintPriorityEnumToJSON,
28
28
  ComplaintPriorityEnumToJSONTyped,
29
29
  } from './ComplaintPriorityEnum';
30
+ import type { ComplaintTypeEnum } from './ComplaintTypeEnum';
31
+ import {
32
+ ComplaintTypeEnumFromJSON,
33
+ ComplaintTypeEnumFromJSONTyped,
34
+ ComplaintTypeEnumToJSON,
35
+ ComplaintTypeEnumToJSONTyped,
36
+ } from './ComplaintTypeEnum';
30
37
 
31
38
  /**
32
39
  *
@@ -40,6 +47,12 @@ export interface UpdateComplaintDto {
40
47
  * @memberof UpdateComplaintDto
41
48
  */
42
49
  status?: ComplaintStatusEnum;
50
+ /**
51
+ *
52
+ * @type {ComplaintTypeEnum}
53
+ * @memberof UpdateComplaintDto
54
+ */
55
+ type?: ComplaintTypeEnum;
43
56
  /**
44
57
  *
45
58
  * @type {string}
@@ -86,6 +99,7 @@ export function UpdateComplaintDtoFromJSONTyped(json: any, ignoreDiscriminator:
86
99
  return {
87
100
 
88
101
  'status': json['status'] == null ? undefined : ComplaintStatusEnumFromJSON(json['status']),
102
+ 'type': json['type'] == null ? undefined : ComplaintTypeEnumFromJSON(json['type']),
89
103
  'assignedTo': json['assignedTo'] == null ? undefined : json['assignedTo'],
90
104
  'resolutionNotes': json['resolutionNotes'] == null ? undefined : json['resolutionNotes'],
91
105
  'adminNotes': json['adminNotes'] == null ? undefined : json['adminNotes'],
@@ -105,6 +119,7 @@ export function UpdateComplaintDtoToJSONTyped(value?: UpdateComplaintDto | null,
105
119
  return {
106
120
 
107
121
  'status': ComplaintStatusEnumToJSON(value['status']),
122
+ 'type': ComplaintTypeEnumToJSON(value['type']),
108
123
  'assignedTo': value['assignedTo'],
109
124
  'resolutionNotes': value['resolutionNotes'],
110
125
  'adminNotes': value['adminNotes'],
@@ -68,7 +68,6 @@ export const UserPermissionEnum = {
68
68
  Technical: 'technical.*',
69
69
  Billing: 'billing.*',
70
70
  Reports: 'reports.*',
71
- Analytics: 'analytics.*',
72
71
  SettingsView: 'settings.view',
73
72
  SettingsEdit: 'settings.edit',
74
73
  Settings: 'settings.*',
@@ -21,11 +21,6 @@ export * from './AdminUpdateWorkOrderResponse';
21
21
  export * from './AdminWorkOrderResponse';
22
22
  export * from './AdminWorkOrderStatsResponse';
23
23
  export * from './AdminWorkOrdersPaginatedResponse';
24
- export * from './AnalyticsKpiDto';
25
- export * from './AnalyticsOverviewDto';
26
- export * from './AnalyticsOverviewSuccessResponse';
27
- export * from './AnalyticsTrendsDto';
28
- export * from './AnalyticsTrendsSuccessResponse';
29
24
  export * from './AnnualMonthSummaryDto';
30
25
  export * from './AnnualSummaryReportDto';
31
26
  export * from './AnnualSummaryReportSuccessResponse';
@@ -181,7 +176,6 @@ export * from './Tenant';
181
176
  export * from './TenantSettingsResponseDto';
182
177
  export * from './TenantSettingsSuccessResponse';
183
178
  export * from './TenantStatusEnum';
184
- export * from './TrendDataPointDto';
185
179
  export * from './UpdateBillDto';
186
180
  export * from './UpdateComplaintDto';
187
181
  export * from './UpdateConsumerDto';