@energycap/energycapid-sdk-angular 1.2112.49-develop-20211222-1650 → 1.2112.53-ECAPID-356-ApplicationInstance-Get-API-20220106-1621
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/api/api.d.ts +3 -1
- package/api/applicationInstance.service.d.ts +2 -8
- package/api/me.service.d.ts +25 -0
- package/api/notification.service.d.ts +134 -0
- package/bundles/energycap-energycapid-sdk-angular.umd.js +560 -47
- package/bundles/energycap-energycapid-sdk-angular.umd.js.map +1 -1
- package/bundles/energycap-energycapid-sdk-angular.umd.min.js +2 -2
- package/bundles/energycap-energycapid-sdk-angular.umd.min.js.map +1 -1
- package/energycap-energycapid-sdk-angular.metadata.json +1 -1
- package/esm2015/api/api.js +4 -2
- package/esm2015/api/applicationInstance.service.js +4 -19
- package/esm2015/api/me.service.js +65 -1
- package/esm2015/api/notification.service.js +332 -0
- package/esm2015/api.module.js +3 -2
- package/esm2015/model/models.js +8 -1
- package/esm2015/model/notificationBadgeResponse.js +14 -0
- package/esm2015/model/notificationCategory.js +14 -0
- package/esm2015/model/notificationResponse.js +14 -0
- package/esm2015/model/notificationSettingRequest.js +14 -0
- package/esm2015/model/notificationType.js +14 -0
- package/esm2015/model/notificationUpdateRequest.js +14 -0
- package/esm2015/model/updateResult.js +14 -0
- package/esm2015/model/userResponse.js +1 -1
- package/fesm2015/energycap-energycapid-sdk-angular.js +521 -48
- package/fesm2015/energycap-energycapid-sdk-angular.js.map +1 -1
- package/model/models.d.ts +7 -0
- package/model/notificationBadgeResponse.d.ts +25 -0
- package/model/notificationCategory.d.ts +25 -0
- package/model/notificationResponse.d.ts +35 -0
- package/model/notificationSettingRequest.d.ts +17 -0
- package/model/notificationType.d.ts +27 -0
- package/model/notificationUpdateRequest.d.ts +21 -0
- package/model/updateResult.d.ts +15 -0
- package/model/userResponse.d.ts +4 -0
- package/package.json +1 -1
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
return Configuration;
|
|
356
356
|
}());
|
|
357
357
|
|
|
358
|
-
var RequestMethod$
|
|
358
|
+
var RequestMethod$a = {
|
|
359
359
|
Get: 'get',
|
|
360
360
|
Post: 'post',
|
|
361
361
|
Put: 'put',
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
withCredentials: this.configuration.withCredentials,
|
|
475
475
|
observe: 'response'
|
|
476
476
|
};
|
|
477
|
-
return this.http.request(RequestMethod$
|
|
477
|
+
return this.http.request(RequestMethod$a.Get, path, requestOptions);
|
|
478
478
|
};
|
|
479
479
|
return ApplicationService;
|
|
480
480
|
}());
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
488
488
|
]; };
|
|
489
489
|
|
|
490
|
-
var RequestMethod$
|
|
490
|
+
var RequestMethod$9 = {
|
|
491
491
|
Get: 'get',
|
|
492
492
|
Post: 'post',
|
|
493
493
|
Put: 'put',
|
|
@@ -603,17 +603,14 @@
|
|
|
603
603
|
/**
|
|
604
604
|
* Provides a list of all available application instances to which the logged in user has access
|
|
605
605
|
*
|
|
606
|
-
* @param organizationName Filter by an exact name of an organization
|
|
607
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
608
|
-
* @param targetHost Filter by a host name containing an alias
|
|
609
606
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
610
607
|
* @param orderBy
|
|
611
608
|
* @param filter
|
|
612
609
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
613
610
|
* @param pageNumber The current page number
|
|
614
611
|
*/
|
|
615
|
-
ApplicationInstanceService.prototype.getApplicationInstances = function (
|
|
616
|
-
return this.getApplicationInstancesWithHttpInfo(
|
|
612
|
+
ApplicationInstanceService.prototype.getApplicationInstances = function (onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
613
|
+
return this.getApplicationInstancesWithHttpInfo(onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
617
614
|
.pipe(operators.map(function (response) {
|
|
618
615
|
if (response.status === 204) {
|
|
619
616
|
return undefined;
|
|
@@ -677,7 +674,7 @@
|
|
|
677
674
|
withCredentials: this.configuration.withCredentials,
|
|
678
675
|
observe: 'response'
|
|
679
676
|
};
|
|
680
|
-
return this.http.request(RequestMethod$
|
|
677
|
+
return this.http.request(RequestMethod$9.Get, path, requestOptions);
|
|
681
678
|
};
|
|
682
679
|
/**
|
|
683
680
|
* Provides the data needed to redirect the user to the specified application instance
|
|
@@ -728,7 +725,7 @@
|
|
|
728
725
|
withCredentials: this.configuration.withCredentials,
|
|
729
726
|
observe: 'response'
|
|
730
727
|
};
|
|
731
|
-
return this.http.request(RequestMethod$
|
|
728
|
+
return this.http.request(RequestMethod$9.Get, path, requestOptions);
|
|
732
729
|
};
|
|
733
730
|
/**
|
|
734
731
|
* Provides a list of user's who have access to an application instance
|
|
@@ -792,21 +789,18 @@
|
|
|
792
789
|
withCredentials: this.configuration.withCredentials,
|
|
793
790
|
observe: 'response'
|
|
794
791
|
};
|
|
795
|
-
return this.http.request(RequestMethod$
|
|
792
|
+
return this.http.request(RequestMethod$9.Get, path, requestOptions);
|
|
796
793
|
};
|
|
797
794
|
/**
|
|
798
795
|
* Provides a list of all available application instances to which the logged in user has access
|
|
799
796
|
*
|
|
800
|
-
* @param organizationName Filter by an exact name of an organization
|
|
801
|
-
* @param dataSourceName Filter by an exact name of a data source
|
|
802
|
-
* @param targetHost Filter by a host name containing an alias
|
|
803
797
|
* @param onlyAdmin Defaults to false. If false, returns all application instances to which the current user has access. If set to true will only return results where the logged in user has admin access
|
|
804
798
|
* @param orderBy
|
|
805
799
|
* @param filter
|
|
806
800
|
* @param pageSize The number of elements to return in a page (defaults to 250 elements)
|
|
807
801
|
* @param pageNumber The current page number
|
|
808
802
|
*/
|
|
809
|
-
ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (
|
|
803
|
+
ApplicationInstanceService.prototype.getApplicationInstancesWithHttpInfo = function (onlyAdmin, orderBy, filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
810
804
|
var _this = this;
|
|
811
805
|
var path = this.basePath + '/api/v202108/ApplicationInstance';
|
|
812
806
|
var queryParameters;
|
|
@@ -831,15 +825,6 @@
|
|
|
831
825
|
headers = headers.set(key, value);
|
|
832
826
|
});
|
|
833
827
|
}
|
|
834
|
-
if (organizationName !== undefined) {
|
|
835
|
-
queryParameters = queryParameters.set('organizationName', organizationName);
|
|
836
|
-
}
|
|
837
|
-
if (dataSourceName !== undefined) {
|
|
838
|
-
queryParameters = queryParameters.set('dataSourceName', dataSourceName);
|
|
839
|
-
}
|
|
840
|
-
if (targetHost !== undefined) {
|
|
841
|
-
queryParameters = queryParameters.set('targetHost', targetHost);
|
|
842
|
-
}
|
|
843
828
|
if (onlyAdmin !== undefined) {
|
|
844
829
|
queryParameters = queryParameters.set('onlyAdmin', onlyAdmin);
|
|
845
830
|
}
|
|
@@ -869,7 +854,7 @@
|
|
|
869
854
|
withCredentials: this.configuration.withCredentials,
|
|
870
855
|
observe: 'response'
|
|
871
856
|
};
|
|
872
|
-
return this.http.request(RequestMethod$
|
|
857
|
+
return this.http.request(RequestMethod$9.Get, path, requestOptions);
|
|
873
858
|
};
|
|
874
859
|
return ApplicationInstanceService;
|
|
875
860
|
}());
|
|
@@ -882,7 +867,7 @@
|
|
|
882
867
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
883
868
|
]; };
|
|
884
869
|
|
|
885
|
-
var RequestMethod$
|
|
870
|
+
var RequestMethod$8 = {
|
|
886
871
|
Get: 'get',
|
|
887
872
|
Post: 'post',
|
|
888
873
|
Put: 'put',
|
|
@@ -1105,7 +1090,7 @@
|
|
|
1105
1090
|
withCredentials: this.configuration.withCredentials,
|
|
1106
1091
|
observe: 'response'
|
|
1107
1092
|
};
|
|
1108
|
-
return this.http.request(RequestMethod$
|
|
1093
|
+
return this.http.request(RequestMethod$8.Post, path, requestOptions);
|
|
1109
1094
|
};
|
|
1110
1095
|
/**
|
|
1111
1096
|
* Use this method to determine the login source. If a value is returned, then it is the name of the Federation Provider. If nothing is returned, then the login should occur locally
|
|
@@ -1154,7 +1139,7 @@
|
|
|
1154
1139
|
withCredentials: this.configuration.withCredentials,
|
|
1155
1140
|
observe: 'response'
|
|
1156
1141
|
};
|
|
1157
|
-
return this.http.request(RequestMethod$
|
|
1142
|
+
return this.http.request(RequestMethod$8.Get, path, requestOptions);
|
|
1158
1143
|
};
|
|
1159
1144
|
/**
|
|
1160
1145
|
* Use this method to authenticate a user given an authcode from the federation provider
|
|
@@ -1213,7 +1198,7 @@
|
|
|
1213
1198
|
withCredentials: this.configuration.withCredentials,
|
|
1214
1199
|
observe: 'response'
|
|
1215
1200
|
};
|
|
1216
|
-
return this.http.request(RequestMethod$
|
|
1201
|
+
return this.http.request(RequestMethod$8.Get, path, requestOptions);
|
|
1217
1202
|
};
|
|
1218
1203
|
/**
|
|
1219
1204
|
* Use this method to authenticate a user given their username and password
|
|
@@ -1263,7 +1248,7 @@
|
|
|
1263
1248
|
withCredentials: this.configuration.withCredentials,
|
|
1264
1249
|
observe: 'response'
|
|
1265
1250
|
};
|
|
1266
|
-
return this.http.request(RequestMethod$
|
|
1251
|
+
return this.http.request(RequestMethod$8.Post, path, requestOptions);
|
|
1267
1252
|
};
|
|
1268
1253
|
/**
|
|
1269
1254
|
* Will attempt to reset the user's password based upon the incoming confirmation code and new password The response model will inform of a successful response. If the password is not valid the error message will contain all reasons it does not pass ValidatePassword API returns similar information but in a friendlier response format
|
|
@@ -1311,7 +1296,7 @@
|
|
|
1311
1296
|
withCredentials: this.configuration.withCredentials,
|
|
1312
1297
|
observe: 'response'
|
|
1313
1298
|
};
|
|
1314
|
-
return this.http.request(RequestMethod$
|
|
1299
|
+
return this.http.request(RequestMethod$8.Post, path, requestOptions);
|
|
1315
1300
|
};
|
|
1316
1301
|
/**
|
|
1317
1302
|
* If the user exists, an email will be sent. If the domain is a federated domain, no email will be sent
|
|
@@ -1358,7 +1343,7 @@
|
|
|
1358
1343
|
withCredentials: this.configuration.withCredentials,
|
|
1359
1344
|
observe: 'response'
|
|
1360
1345
|
};
|
|
1361
|
-
return this.http.request(RequestMethod$
|
|
1346
|
+
return this.http.request(RequestMethod$8.Get, path, requestOptions);
|
|
1362
1347
|
};
|
|
1363
1348
|
/**
|
|
1364
1349
|
* Validates a password
|
|
@@ -1408,7 +1393,7 @@
|
|
|
1408
1393
|
withCredentials: this.configuration.withCredentials,
|
|
1409
1394
|
observe: 'response'
|
|
1410
1395
|
};
|
|
1411
|
-
return this.http.request(RequestMethod$
|
|
1396
|
+
return this.http.request(RequestMethod$8.Post, path, requestOptions);
|
|
1412
1397
|
};
|
|
1413
1398
|
return AuthService;
|
|
1414
1399
|
}());
|
|
@@ -1421,7 +1406,7 @@
|
|
|
1421
1406
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
1422
1407
|
]; };
|
|
1423
1408
|
|
|
1424
|
-
var RequestMethod$
|
|
1409
|
+
var RequestMethod$7 = {
|
|
1425
1410
|
Get: 'get',
|
|
1426
1411
|
Post: 'post',
|
|
1427
1412
|
Put: 'put',
|
|
@@ -1580,7 +1565,7 @@
|
|
|
1580
1565
|
withCredentials: this.configuration.withCredentials,
|
|
1581
1566
|
observe: 'response'
|
|
1582
1567
|
};
|
|
1583
|
-
return this.http.request(RequestMethod$
|
|
1568
|
+
return this.http.request(RequestMethod$7.Get, path, requestOptions);
|
|
1584
1569
|
};
|
|
1585
1570
|
/**
|
|
1586
1571
|
* Gets the data sources to which the logged in user has access.
|
|
@@ -1629,7 +1614,7 @@
|
|
|
1629
1614
|
withCredentials: this.configuration.withCredentials,
|
|
1630
1615
|
observe: 'response'
|
|
1631
1616
|
};
|
|
1632
|
-
return this.http.request(RequestMethod$
|
|
1617
|
+
return this.http.request(RequestMethod$7.Get, path, requestOptions);
|
|
1633
1618
|
};
|
|
1634
1619
|
/**
|
|
1635
1620
|
* Updates the specified data source. Only the fields with values will be updated. The dataSourceId must exist, and the logged in user must be an admin on the data source
|
|
@@ -1685,7 +1670,7 @@
|
|
|
1685
1670
|
withCredentials: this.configuration.withCredentials,
|
|
1686
1671
|
observe: 'response'
|
|
1687
1672
|
};
|
|
1688
|
-
return this.http.request(RequestMethod$
|
|
1673
|
+
return this.http.request(RequestMethod$7.Put, path, requestOptions);
|
|
1689
1674
|
};
|
|
1690
1675
|
return DataSourceService;
|
|
1691
1676
|
}());
|
|
@@ -1698,7 +1683,7 @@
|
|
|
1698
1683
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
1699
1684
|
]; };
|
|
1700
1685
|
|
|
1701
|
-
var RequestMethod$
|
|
1686
|
+
var RequestMethod$6 = {
|
|
1702
1687
|
Get: 'get',
|
|
1703
1688
|
Post: 'post',
|
|
1704
1689
|
Put: 'put',
|
|
@@ -1817,7 +1802,7 @@
|
|
|
1817
1802
|
withCredentials: this.configuration.withCredentials,
|
|
1818
1803
|
observe: 'response'
|
|
1819
1804
|
};
|
|
1820
|
-
return this.http.request(RequestMethod$
|
|
1805
|
+
return this.http.request(RequestMethod$6.Get, path, requestOptions);
|
|
1821
1806
|
};
|
|
1822
1807
|
return DomainJoinTypeService;
|
|
1823
1808
|
}());
|
|
@@ -1830,7 +1815,7 @@
|
|
|
1830
1815
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
1831
1816
|
]; };
|
|
1832
1817
|
|
|
1833
|
-
var RequestMethod$
|
|
1818
|
+
var RequestMethod$5 = {
|
|
1834
1819
|
Get: 'get',
|
|
1835
1820
|
Post: 'post',
|
|
1836
1821
|
Put: 'put',
|
|
@@ -1954,7 +1939,7 @@
|
|
|
1954
1939
|
withCredentials: this.configuration.withCredentials,
|
|
1955
1940
|
observe: 'response'
|
|
1956
1941
|
};
|
|
1957
|
-
return this.http.request(RequestMethod$
|
|
1942
|
+
return this.http.request(RequestMethod$5.Get, path, requestOptions);
|
|
1958
1943
|
};
|
|
1959
1944
|
return EnvironmentService;
|
|
1960
1945
|
}());
|
|
@@ -1967,7 +1952,7 @@
|
|
|
1967
1952
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
1968
1953
|
]; };
|
|
1969
1954
|
|
|
1970
|
-
var RequestMethod$
|
|
1955
|
+
var RequestMethod$4 = {
|
|
1971
1956
|
Get: 'get',
|
|
1972
1957
|
Post: 'post',
|
|
1973
1958
|
Put: 'put',
|
|
@@ -2075,6 +2060,22 @@
|
|
|
2075
2060
|
}
|
|
2076
2061
|
}));
|
|
2077
2062
|
};
|
|
2063
|
+
/**
|
|
2064
|
+
* Use this method to update the currently authenticated user's notification settings
|
|
2065
|
+
*
|
|
2066
|
+
* @param body The user notification settings to update
|
|
2067
|
+
*/
|
|
2068
|
+
MeService.prototype.updateMyNotificationSetting = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2069
|
+
return this.updateMyNotificationSettingWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2070
|
+
.pipe(operators.map(function (response) {
|
|
2071
|
+
if (response.status === 204) {
|
|
2072
|
+
return undefined;
|
|
2073
|
+
}
|
|
2074
|
+
else {
|
|
2075
|
+
return response.body;
|
|
2076
|
+
}
|
|
2077
|
+
}));
|
|
2078
|
+
};
|
|
2078
2079
|
/**
|
|
2079
2080
|
* Use this method to get information about the currently authenticated user
|
|
2080
2081
|
*
|
|
@@ -2118,7 +2119,7 @@
|
|
|
2118
2119
|
withCredentials: this.configuration.withCredentials,
|
|
2119
2120
|
observe: 'response'
|
|
2120
2121
|
};
|
|
2121
|
-
return this.http.request(RequestMethod$
|
|
2122
|
+
return this.http.request(RequestMethod$4.Get, path, requestOptions);
|
|
2122
2123
|
};
|
|
2123
2124
|
/**
|
|
2124
2125
|
* Will allow a user to link to a data source that they don't have access to based upon their login name
|
|
@@ -2166,7 +2167,7 @@
|
|
|
2166
2167
|
withCredentials: this.configuration.withCredentials,
|
|
2167
2168
|
observe: 'response'
|
|
2168
2169
|
};
|
|
2169
|
-
return this.http.request(RequestMethod$
|
|
2170
|
+
return this.http.request(RequestMethod$4.Post, path, requestOptions);
|
|
2170
2171
|
};
|
|
2171
2172
|
/**
|
|
2172
2173
|
* Use this method to update the currently authenticated user's information
|
|
@@ -2216,7 +2217,57 @@
|
|
|
2216
2217
|
withCredentials: this.configuration.withCredentials,
|
|
2217
2218
|
observe: 'response'
|
|
2218
2219
|
};
|
|
2219
|
-
return this.http.request(RequestMethod$
|
|
2220
|
+
return this.http.request(RequestMethod$4.Put, path, requestOptions);
|
|
2221
|
+
};
|
|
2222
|
+
/**
|
|
2223
|
+
* Use this method to update the currently authenticated user's notification settings
|
|
2224
|
+
*
|
|
2225
|
+
* @param body The user notification settings to update
|
|
2226
|
+
*/
|
|
2227
|
+
MeService.prototype.updateMyNotificationSettingWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2228
|
+
var _this = this;
|
|
2229
|
+
var path = this.basePath + '/api/v202108/Me/notificationsetting';
|
|
2230
|
+
var queryParameters;
|
|
2231
|
+
if (extraHttpRequestParams) {
|
|
2232
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
2233
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
2234
|
+
}
|
|
2235
|
+
else {
|
|
2236
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
else {
|
|
2240
|
+
queryParameters = new http.HttpParams();
|
|
2241
|
+
}
|
|
2242
|
+
var headers = new http.HttpHeaders();
|
|
2243
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
2244
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
2245
|
+
});
|
|
2246
|
+
if (extraHttpRequestHeaders) {
|
|
2247
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
2248
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2249
|
+
headers = headers.set(key, value);
|
|
2250
|
+
});
|
|
2251
|
+
}
|
|
2252
|
+
// to determine the Accept header
|
|
2253
|
+
var produces = [
|
|
2254
|
+
'application/json'
|
|
2255
|
+
];
|
|
2256
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
2257
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
2258
|
+
}
|
|
2259
|
+
var consumes = [
|
|
2260
|
+
'application/json'
|
|
2261
|
+
];
|
|
2262
|
+
headers = headers.set('Content-Type', consumes[0]);
|
|
2263
|
+
var requestOptions = {
|
|
2264
|
+
headers: headers,
|
|
2265
|
+
body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
|
|
2266
|
+
params: queryParameters,
|
|
2267
|
+
withCredentials: this.configuration.withCredentials,
|
|
2268
|
+
observe: 'response'
|
|
2269
|
+
};
|
|
2270
|
+
return this.http.request(RequestMethod$4.Put, path, requestOptions);
|
|
2220
2271
|
};
|
|
2221
2272
|
return MeService;
|
|
2222
2273
|
}());
|
|
@@ -2229,6 +2280,341 @@
|
|
|
2229
2280
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
2230
2281
|
]; };
|
|
2231
2282
|
|
|
2283
|
+
var RequestMethod$3 = {
|
|
2284
|
+
Get: 'get',
|
|
2285
|
+
Post: 'post',
|
|
2286
|
+
Put: 'put',
|
|
2287
|
+
Delete: 'delete',
|
|
2288
|
+
Options: 'options',
|
|
2289
|
+
Head: 'head',
|
|
2290
|
+
Patch: 'patch'
|
|
2291
|
+
};
|
|
2292
|
+
var NotificationService = /** @class */ (function () {
|
|
2293
|
+
function NotificationService(http$1, basePath, configuration) {
|
|
2294
|
+
this.http = http$1;
|
|
2295
|
+
this.basePath = 'https://localhost';
|
|
2296
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
2297
|
+
this.configuration = new Configuration();
|
|
2298
|
+
if (basePath) {
|
|
2299
|
+
this.basePath = basePath;
|
|
2300
|
+
}
|
|
2301
|
+
if (configuration) {
|
|
2302
|
+
this.configuration = configuration;
|
|
2303
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
/**
|
|
2307
|
+
*
|
|
2308
|
+
* Extends object by coping non-existing properties.
|
|
2309
|
+
* @param objA object to be extended
|
|
2310
|
+
* @param objB source object
|
|
2311
|
+
*/
|
|
2312
|
+
NotificationService.prototype.extendObj = function (objA, objB) {
|
|
2313
|
+
for (var key in objB) {
|
|
2314
|
+
if (objB.hasOwnProperty(key)) {
|
|
2315
|
+
objA[key] = objB[key];
|
|
2316
|
+
}
|
|
2317
|
+
}
|
|
2318
|
+
return objA;
|
|
2319
|
+
};
|
|
2320
|
+
/**
|
|
2321
|
+
* @param consumes string[] mime-types
|
|
2322
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
2323
|
+
*/
|
|
2324
|
+
NotificationService.prototype.canConsumeForm = function (consumes) {
|
|
2325
|
+
var e_1, _a;
|
|
2326
|
+
var form = 'multipart/form-data';
|
|
2327
|
+
try {
|
|
2328
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
2329
|
+
var consume = consumes_1_1.value;
|
|
2330
|
+
if (form === consume) {
|
|
2331
|
+
return true;
|
|
2332
|
+
}
|
|
2333
|
+
}
|
|
2334
|
+
}
|
|
2335
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2336
|
+
finally {
|
|
2337
|
+
try {
|
|
2338
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
2339
|
+
}
|
|
2340
|
+
finally { if (e_1) throw e_1.error; }
|
|
2341
|
+
}
|
|
2342
|
+
return false;
|
|
2343
|
+
};
|
|
2344
|
+
/**
|
|
2345
|
+
* Get the last 250 notifications for the current user
|
|
2346
|
+
*
|
|
2347
|
+
*/
|
|
2348
|
+
NotificationService.prototype.getMyNotifications = function (extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2349
|
+
return this.getMyNotificationsWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2350
|
+
.pipe(operators.map(function (response) {
|
|
2351
|
+
if (response.status === 204) {
|
|
2352
|
+
return undefined;
|
|
2353
|
+
}
|
|
2354
|
+
else {
|
|
2355
|
+
return response.body;
|
|
2356
|
+
}
|
|
2357
|
+
}));
|
|
2358
|
+
};
|
|
2359
|
+
/**
|
|
2360
|
+
* Get a specific notification for the current user
|
|
2361
|
+
*
|
|
2362
|
+
* @param notificationId Id of the notification to get
|
|
2363
|
+
*/
|
|
2364
|
+
NotificationService.prototype.getNotification = function (notificationId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2365
|
+
return this.getNotificationWithHttpInfo(notificationId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2366
|
+
.pipe(operators.map(function (response) {
|
|
2367
|
+
if (response.status === 204) {
|
|
2368
|
+
return undefined;
|
|
2369
|
+
}
|
|
2370
|
+
else {
|
|
2371
|
+
return response.body;
|
|
2372
|
+
}
|
|
2373
|
+
}));
|
|
2374
|
+
};
|
|
2375
|
+
/**
|
|
2376
|
+
* Get total number of notifications that are unread and unarchived for the current user. Use lastCheckDateTimeUtc to get the number of new notifications since the passed in date and time. By default, only the latest 250 notifications will be taken into account. Use the 'noLimit' query parameter to override this behavior.
|
|
2377
|
+
*
|
|
2378
|
+
* @param lastCheckDateTimeUtc Used when calculating the number of new notifications. Must be a UTC DateTime in the format yyyy-MM-ddTHH:mm:ssZ. If not passed the TotalNotifications and NewNotifications will be equal.
|
|
2379
|
+
* @param noLimit If true, will return the badge totals for all of the user's notifications, not just the 250 most recent ones
|
|
2380
|
+
*/
|
|
2381
|
+
NotificationService.prototype.getNotificationBadgeTotals = function (lastCheckDateTimeUtc, noLimit, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2382
|
+
return this.getNotificationBadgeTotalsWithHttpInfo(lastCheckDateTimeUtc, noLimit, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2383
|
+
.pipe(operators.map(function (response) {
|
|
2384
|
+
if (response.status === 204) {
|
|
2385
|
+
return undefined;
|
|
2386
|
+
}
|
|
2387
|
+
else {
|
|
2388
|
+
return response.body;
|
|
2389
|
+
}
|
|
2390
|
+
}));
|
|
2391
|
+
};
|
|
2392
|
+
/**
|
|
2393
|
+
* Update a list of notifications based on the notification ids and action passed in Only notifications for the current user can be updated
|
|
2394
|
+
*
|
|
2395
|
+
* @param body List of notification ids and action to perform
|
|
2396
|
+
*/
|
|
2397
|
+
NotificationService.prototype.updateListOfNotifications = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2398
|
+
return this.updateListOfNotificationsWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
2399
|
+
.pipe(operators.map(function (response) {
|
|
2400
|
+
if (response.status === 204) {
|
|
2401
|
+
return undefined;
|
|
2402
|
+
}
|
|
2403
|
+
else {
|
|
2404
|
+
return response.body;
|
|
2405
|
+
}
|
|
2406
|
+
}));
|
|
2407
|
+
};
|
|
2408
|
+
/**
|
|
2409
|
+
* Get the last 250 notifications for the current user
|
|
2410
|
+
*
|
|
2411
|
+
*/
|
|
2412
|
+
NotificationService.prototype.getMyNotificationsWithHttpInfo = function (extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2413
|
+
var _this = this;
|
|
2414
|
+
var path = this.basePath + '/api/v202111/Notification';
|
|
2415
|
+
var queryParameters;
|
|
2416
|
+
if (extraHttpRequestParams) {
|
|
2417
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
2418
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
2419
|
+
}
|
|
2420
|
+
else {
|
|
2421
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
2422
|
+
}
|
|
2423
|
+
}
|
|
2424
|
+
else {
|
|
2425
|
+
queryParameters = new http.HttpParams();
|
|
2426
|
+
}
|
|
2427
|
+
var headers = new http.HttpHeaders();
|
|
2428
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
2429
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
2430
|
+
});
|
|
2431
|
+
if (extraHttpRequestHeaders) {
|
|
2432
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
2433
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2434
|
+
headers = headers.set(key, value);
|
|
2435
|
+
});
|
|
2436
|
+
}
|
|
2437
|
+
// to determine the Accept header
|
|
2438
|
+
var produces = [
|
|
2439
|
+
'application/json'
|
|
2440
|
+
];
|
|
2441
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
2442
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
2443
|
+
}
|
|
2444
|
+
var consumes = [];
|
|
2445
|
+
var requestOptions = {
|
|
2446
|
+
headers: headers,
|
|
2447
|
+
params: queryParameters,
|
|
2448
|
+
withCredentials: this.configuration.withCredentials,
|
|
2449
|
+
observe: 'response'
|
|
2450
|
+
};
|
|
2451
|
+
return this.http.request(RequestMethod$3.Get, path, requestOptions);
|
|
2452
|
+
};
|
|
2453
|
+
/**
|
|
2454
|
+
* Get a specific notification for the current user
|
|
2455
|
+
*
|
|
2456
|
+
* @param notificationId Id of the notification to get
|
|
2457
|
+
*/
|
|
2458
|
+
NotificationService.prototype.getNotificationWithHttpInfo = function (notificationId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2459
|
+
var _this = this;
|
|
2460
|
+
var path = this.basePath + '/api/v202111/Notification/${notificationId}'
|
|
2461
|
+
.replace('${' + 'notificationId' + '}', String(notificationId));
|
|
2462
|
+
var queryParameters;
|
|
2463
|
+
if (extraHttpRequestParams) {
|
|
2464
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
2465
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
2466
|
+
}
|
|
2467
|
+
else {
|
|
2468
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
2469
|
+
}
|
|
2470
|
+
}
|
|
2471
|
+
else {
|
|
2472
|
+
queryParameters = new http.HttpParams();
|
|
2473
|
+
}
|
|
2474
|
+
var headers = new http.HttpHeaders();
|
|
2475
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
2476
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
2477
|
+
});
|
|
2478
|
+
if (extraHttpRequestHeaders) {
|
|
2479
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
2480
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2481
|
+
headers = headers.set(key, value);
|
|
2482
|
+
});
|
|
2483
|
+
}
|
|
2484
|
+
// verify required parameter 'notificationId' is not null or undefined
|
|
2485
|
+
if (notificationId === null || notificationId === undefined) {
|
|
2486
|
+
throw new Error('Required parameter notificationId was null or undefined when calling getNotification.');
|
|
2487
|
+
}
|
|
2488
|
+
// to determine the Accept header
|
|
2489
|
+
var produces = [
|
|
2490
|
+
'application/json'
|
|
2491
|
+
];
|
|
2492
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
2493
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
2494
|
+
}
|
|
2495
|
+
var consumes = [];
|
|
2496
|
+
var requestOptions = {
|
|
2497
|
+
headers: headers,
|
|
2498
|
+
params: queryParameters,
|
|
2499
|
+
withCredentials: this.configuration.withCredentials,
|
|
2500
|
+
observe: 'response'
|
|
2501
|
+
};
|
|
2502
|
+
return this.http.request(RequestMethod$3.Get, path, requestOptions);
|
|
2503
|
+
};
|
|
2504
|
+
/**
|
|
2505
|
+
* Get total number of notifications that are unread and unarchived for the current user. Use lastCheckDateTimeUtc to get the number of new notifications since the passed in date and time. By default, only the latest 250 notifications will be taken into account. Use the 'noLimit' query parameter to override this behavior.
|
|
2506
|
+
*
|
|
2507
|
+
* @param lastCheckDateTimeUtc Used when calculating the number of new notifications. Must be a UTC DateTime in the format yyyy-MM-ddTHH:mm:ssZ. If not passed the TotalNotifications and NewNotifications will be equal.
|
|
2508
|
+
* @param noLimit If true, will return the badge totals for all of the user's notifications, not just the 250 most recent ones
|
|
2509
|
+
*/
|
|
2510
|
+
NotificationService.prototype.getNotificationBadgeTotalsWithHttpInfo = function (lastCheckDateTimeUtc, noLimit, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2511
|
+
var _this = this;
|
|
2512
|
+
var path = this.basePath + '/api/v202111/Notification/badge';
|
|
2513
|
+
var queryParameters;
|
|
2514
|
+
if (extraHttpRequestParams) {
|
|
2515
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
2516
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
2517
|
+
}
|
|
2518
|
+
else {
|
|
2519
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
else {
|
|
2523
|
+
queryParameters = new http.HttpParams();
|
|
2524
|
+
}
|
|
2525
|
+
var headers = new http.HttpHeaders();
|
|
2526
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
2527
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
2528
|
+
});
|
|
2529
|
+
if (extraHttpRequestHeaders) {
|
|
2530
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
2531
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2532
|
+
headers = headers.set(key, value);
|
|
2533
|
+
});
|
|
2534
|
+
}
|
|
2535
|
+
if (lastCheckDateTimeUtc !== undefined) {
|
|
2536
|
+
queryParameters = queryParameters.set('lastCheckDateTimeUtc', lastCheckDateTimeUtc.toISOString());
|
|
2537
|
+
}
|
|
2538
|
+
if (noLimit !== undefined) {
|
|
2539
|
+
queryParameters = queryParameters.set('noLimit', noLimit);
|
|
2540
|
+
}
|
|
2541
|
+
// to determine the Accept header
|
|
2542
|
+
var produces = [
|
|
2543
|
+
'application/json'
|
|
2544
|
+
];
|
|
2545
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
2546
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
2547
|
+
}
|
|
2548
|
+
var consumes = [];
|
|
2549
|
+
var requestOptions = {
|
|
2550
|
+
headers: headers,
|
|
2551
|
+
params: queryParameters,
|
|
2552
|
+
withCredentials: this.configuration.withCredentials,
|
|
2553
|
+
observe: 'response'
|
|
2554
|
+
};
|
|
2555
|
+
return this.http.request(RequestMethod$3.Get, path, requestOptions);
|
|
2556
|
+
};
|
|
2557
|
+
/**
|
|
2558
|
+
* Update a list of notifications based on the notification ids and action passed in Only notifications for the current user can be updated
|
|
2559
|
+
*
|
|
2560
|
+
* @param body List of notification ids and action to perform
|
|
2561
|
+
*/
|
|
2562
|
+
NotificationService.prototype.updateListOfNotificationsWithHttpInfo = function (body, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
2563
|
+
var _this = this;
|
|
2564
|
+
var path = this.basePath + '/api/v202111/Notification';
|
|
2565
|
+
var queryParameters;
|
|
2566
|
+
if (extraHttpRequestParams) {
|
|
2567
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
2568
|
+
queryParameters = new http.HttpParams({ fromString: extraHttpRequestParams.search });
|
|
2569
|
+
}
|
|
2570
|
+
else {
|
|
2571
|
+
queryParameters = new http.HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
2572
|
+
}
|
|
2573
|
+
}
|
|
2574
|
+
else {
|
|
2575
|
+
queryParameters = new http.HttpParams();
|
|
2576
|
+
}
|
|
2577
|
+
var headers = new http.HttpHeaders();
|
|
2578
|
+
this.defaultHeaders.keys().forEach(function (key) {
|
|
2579
|
+
headers = headers.set(key, _this.defaultHeaders.getAll(key));
|
|
2580
|
+
});
|
|
2581
|
+
if (extraHttpRequestHeaders) {
|
|
2582
|
+
Object.entries(extraHttpRequestHeaders).forEach(function (_a) {
|
|
2583
|
+
var _b = __read(_a, 2), key = _b[0], value = _b[1];
|
|
2584
|
+
headers = headers.set(key, value);
|
|
2585
|
+
});
|
|
2586
|
+
}
|
|
2587
|
+
// to determine the Accept header
|
|
2588
|
+
var produces = [
|
|
2589
|
+
'application/json'
|
|
2590
|
+
];
|
|
2591
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
2592
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
2593
|
+
}
|
|
2594
|
+
var consumes = [
|
|
2595
|
+
'application/json'
|
|
2596
|
+
];
|
|
2597
|
+
headers = headers.set('Content-Type', consumes[0]);
|
|
2598
|
+
var requestOptions = {
|
|
2599
|
+
headers: headers,
|
|
2600
|
+
body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body),
|
|
2601
|
+
params: queryParameters,
|
|
2602
|
+
withCredentials: this.configuration.withCredentials,
|
|
2603
|
+
observe: 'response'
|
|
2604
|
+
};
|
|
2605
|
+
return this.http.request(RequestMethod$3.Put, path, requestOptions);
|
|
2606
|
+
};
|
|
2607
|
+
return NotificationService;
|
|
2608
|
+
}());
|
|
2609
|
+
NotificationService.decorators = [
|
|
2610
|
+
{ type: core.Injectable }
|
|
2611
|
+
];
|
|
2612
|
+
NotificationService.ctorParameters = function () { return [
|
|
2613
|
+
{ type: http.HttpClient },
|
|
2614
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
2615
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
2616
|
+
]; };
|
|
2617
|
+
|
|
2232
2618
|
var RequestMethod$2 = {
|
|
2233
2619
|
Get: 'get',
|
|
2234
2620
|
Post: 'post',
|
|
@@ -3978,7 +4364,7 @@
|
|
|
3978
4364
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
3979
4365
|
]; };
|
|
3980
4366
|
|
|
3981
|
-
var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService];
|
|
4367
|
+
var APIS = [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, NotificationService, OrganizationService, OrganizationApplicationService, UserService];
|
|
3982
4368
|
|
|
3983
4369
|
/**
|
|
3984
4370
|
* EnergyCAP ID SDK
|
|
@@ -4405,6 +4791,108 @@
|
|
|
4405
4791
|
return LoginSourceResponse;
|
|
4406
4792
|
}());
|
|
4407
4793
|
|
|
4794
|
+
/**
|
|
4795
|
+
* EnergyCAP ID SDK
|
|
4796
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4797
|
+
*
|
|
4798
|
+
* OpenAPI spec version: 1.2112
|
|
4799
|
+
* Contact: support@energycap.com
|
|
4800
|
+
*
|
|
4801
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4802
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4803
|
+
* Do not edit the class manually.
|
|
4804
|
+
*/
|
|
4805
|
+
var NotificationBadgeResponse = /** @class */ (function () {
|
|
4806
|
+
function NotificationBadgeResponse() {
|
|
4807
|
+
}
|
|
4808
|
+
return NotificationBadgeResponse;
|
|
4809
|
+
}());
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* EnergyCAP ID SDK
|
|
4813
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4814
|
+
*
|
|
4815
|
+
* OpenAPI spec version: 1.2112
|
|
4816
|
+
* Contact: support@energycap.com
|
|
4817
|
+
*
|
|
4818
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4819
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4820
|
+
* Do not edit the class manually.
|
|
4821
|
+
*/
|
|
4822
|
+
var NotificationCategory = /** @class */ (function () {
|
|
4823
|
+
function NotificationCategory() {
|
|
4824
|
+
}
|
|
4825
|
+
return NotificationCategory;
|
|
4826
|
+
}());
|
|
4827
|
+
|
|
4828
|
+
/**
|
|
4829
|
+
* EnergyCAP ID SDK
|
|
4830
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4831
|
+
*
|
|
4832
|
+
* OpenAPI spec version: 1.2112
|
|
4833
|
+
* Contact: support@energycap.com
|
|
4834
|
+
*
|
|
4835
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4836
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4837
|
+
* Do not edit the class manually.
|
|
4838
|
+
*/
|
|
4839
|
+
var NotificationResponse = /** @class */ (function () {
|
|
4840
|
+
function NotificationResponse() {
|
|
4841
|
+
}
|
|
4842
|
+
return NotificationResponse;
|
|
4843
|
+
}());
|
|
4844
|
+
|
|
4845
|
+
/**
|
|
4846
|
+
* EnergyCAP ID SDK
|
|
4847
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4848
|
+
*
|
|
4849
|
+
* OpenAPI spec version: 1.2112
|
|
4850
|
+
* Contact: support@energycap.com
|
|
4851
|
+
*
|
|
4852
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4853
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4854
|
+
* Do not edit the class manually.
|
|
4855
|
+
*/
|
|
4856
|
+
var NotificationSettingRequest = /** @class */ (function () {
|
|
4857
|
+
function NotificationSettingRequest() {
|
|
4858
|
+
}
|
|
4859
|
+
return NotificationSettingRequest;
|
|
4860
|
+
}());
|
|
4861
|
+
|
|
4862
|
+
/**
|
|
4863
|
+
* EnergyCAP ID SDK
|
|
4864
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4865
|
+
*
|
|
4866
|
+
* OpenAPI spec version: 1.2112
|
|
4867
|
+
* Contact: support@energycap.com
|
|
4868
|
+
*
|
|
4869
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4870
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4871
|
+
* Do not edit the class manually.
|
|
4872
|
+
*/
|
|
4873
|
+
var NotificationType = /** @class */ (function () {
|
|
4874
|
+
function NotificationType() {
|
|
4875
|
+
}
|
|
4876
|
+
return NotificationType;
|
|
4877
|
+
}());
|
|
4878
|
+
|
|
4879
|
+
/**
|
|
4880
|
+
* EnergyCAP ID SDK
|
|
4881
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
4882
|
+
*
|
|
4883
|
+
* OpenAPI spec version: 1.2112
|
|
4884
|
+
* Contact: support@energycap.com
|
|
4885
|
+
*
|
|
4886
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
4887
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
4888
|
+
* Do not edit the class manually.
|
|
4889
|
+
*/
|
|
4890
|
+
var NotificationUpdateRequest = /** @class */ (function () {
|
|
4891
|
+
function NotificationUpdateRequest() {
|
|
4892
|
+
}
|
|
4893
|
+
return NotificationUpdateRequest;
|
|
4894
|
+
}());
|
|
4895
|
+
|
|
4408
4896
|
/**
|
|
4409
4897
|
* EnergyCAP ID SDK
|
|
4410
4898
|
* Document used to generate the EnergyCAP ID SDK
|
|
@@ -4614,6 +5102,23 @@
|
|
|
4614
5102
|
return UpdateOrganizationDetailsRequest;
|
|
4615
5103
|
}());
|
|
4616
5104
|
|
|
5105
|
+
/**
|
|
5106
|
+
* EnergyCAP ID SDK
|
|
5107
|
+
* Document used to generate the EnergyCAP ID SDK
|
|
5108
|
+
*
|
|
5109
|
+
* OpenAPI spec version: 1.2112
|
|
5110
|
+
* Contact: support@energycap.com
|
|
5111
|
+
*
|
|
5112
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
5113
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
5114
|
+
* Do not edit the class manually.
|
|
5115
|
+
*/
|
|
5116
|
+
var UpdateResult = /** @class */ (function () {
|
|
5117
|
+
function UpdateResult() {
|
|
5118
|
+
}
|
|
5119
|
+
return UpdateResult;
|
|
5120
|
+
}());
|
|
5121
|
+
|
|
4617
5122
|
/**
|
|
4618
5123
|
* EnergyCAP ID SDK
|
|
4619
5124
|
* Document used to generate the EnergyCAP ID SDK
|
|
@@ -4854,7 +5359,7 @@
|
|
|
4854
5359
|
imports: [common.CommonModule, http.HttpClientModule],
|
|
4855
5360
|
declarations: [],
|
|
4856
5361
|
exports: [],
|
|
4857
|
-
providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, OrganizationService, OrganizationApplicationService, UserService]
|
|
5362
|
+
providers: [ApplicationService, ApplicationInstanceService, AuthService, DataSourceService, DomainJoinTypeService, EnvironmentService, MeService, NotificationService, OrganizationService, OrganizationApplicationService, UserService]
|
|
4858
5363
|
},] }
|
|
4859
5364
|
];
|
|
4860
5365
|
|
|
@@ -4896,6 +5401,13 @@
|
|
|
4896
5401
|
exports.LoginResponse = LoginResponse;
|
|
4897
5402
|
exports.LoginSourceResponse = LoginSourceResponse;
|
|
4898
5403
|
exports.MeService = MeService;
|
|
5404
|
+
exports.NotificationBadgeResponse = NotificationBadgeResponse;
|
|
5405
|
+
exports.NotificationCategory = NotificationCategory;
|
|
5406
|
+
exports.NotificationResponse = NotificationResponse;
|
|
5407
|
+
exports.NotificationService = NotificationService;
|
|
5408
|
+
exports.NotificationSettingRequest = NotificationSettingRequest;
|
|
5409
|
+
exports.NotificationType = NotificationType;
|
|
5410
|
+
exports.NotificationUpdateRequest = NotificationUpdateRequest;
|
|
4899
5411
|
exports.OrganizationAccessControlResponse = OrganizationAccessControlResponse;
|
|
4900
5412
|
exports.OrganizationApplicationResponse = OrganizationApplicationResponse;
|
|
4901
5413
|
exports.OrganizationApplicationService = OrganizationApplicationService;
|
|
@@ -4908,6 +5420,7 @@
|
|
|
4908
5420
|
exports.UpdateMeRequest = UpdateMeRequest;
|
|
4909
5421
|
exports.UpdateOrganizationAccessControlRequest = UpdateOrganizationAccessControlRequest;
|
|
4910
5422
|
exports.UpdateOrganizationDetailsRequest = UpdateOrganizationDetailsRequest;
|
|
5423
|
+
exports.UpdateResult = UpdateResult;
|
|
4911
5424
|
exports.UserApplicationInstanceResponse = UserApplicationInstanceResponse;
|
|
4912
5425
|
exports.UserChild = UserChild;
|
|
4913
5426
|
exports.UserLoginRequest = UserLoginRequest;
|