@accrescent/console-client-sdk-angular 0.0.0-alpha.0 → 0.2.0
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/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# @accrescent/console-client-sdk-angular@0.
|
|
1
|
+
# @accrescent/console-client-sdk-angular@0.2.0
|
|
2
2
|
|
|
3
3
|
The official API for managing resources in the Accrescent console
|
|
4
4
|
|
|
5
|
-
The version of the OpenAPI document: 0.
|
|
5
|
+
The version of the OpenAPI document: 0.2.0
|
|
6
6
|
|
|
7
7
|
## Building
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
24
24
|
_published:_
|
|
25
25
|
|
|
26
26
|
```console
|
|
27
|
-
npm install @accrescent/console-client-sdk-angular@0.
|
|
27
|
+
npm install @accrescent/console-client-sdk-angular@0.2.0 --save
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
_without publishing (not recommended):_
|
|
@@ -327,7 +327,7 @@ class Configuration {
|
|
|
327
327
|
* Do not edit the class manually.
|
|
328
328
|
*/
|
|
329
329
|
class BaseService {
|
|
330
|
-
basePath = 'https://console-api.accrescent.app:443';
|
|
330
|
+
basePath = 'https://json-console-api.accrescent.app:443';
|
|
331
331
|
defaultHeaders = new HttpHeaders();
|
|
332
332
|
configuration;
|
|
333
333
|
encoder;
|
|
@@ -814,8 +814,12 @@ class AppDraftsService extends BaseService {
|
|
|
814
814
|
reportProgress: reportProgress
|
|
815
815
|
});
|
|
816
816
|
}
|
|
817
|
-
appDraftServiceListAppDrafts(pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
817
|
+
appDraftServiceListAppDrafts(organizationId, pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
818
|
+
if (organizationId === null || organizationId === undefined) {
|
|
819
|
+
throw new Error('Required parameter organizationId was null or undefined when calling appDraftServiceListAppDrafts.');
|
|
820
|
+
}
|
|
818
821
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
822
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'organizationId', organizationId, QueryParamStyle.Form, false);
|
|
819
823
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageSize', pageSize, QueryParamStyle.Form, false);
|
|
820
824
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageToken', pageToken, QueryParamStyle.Form, false);
|
|
821
825
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -1374,6 +1378,9 @@ class AppEditsService extends BaseService {
|
|
|
1374
1378
|
});
|
|
1375
1379
|
}
|
|
1376
1380
|
appEditServiceListAppEdits(appId, pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1381
|
+
if (appId === null || appId === undefined) {
|
|
1382
|
+
throw new Error('Required parameter appId was null or undefined when calling appEditServiceListAppEdits.');
|
|
1383
|
+
}
|
|
1377
1384
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1378
1385
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'appId', appId, QueryParamStyle.Form, false);
|
|
1379
1386
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageSize', pageSize, QueryParamStyle.Form, false);
|
|
@@ -1580,8 +1587,12 @@ class AppsService extends BaseService {
|
|
|
1580
1587
|
reportProgress: reportProgress
|
|
1581
1588
|
});
|
|
1582
1589
|
}
|
|
1583
|
-
appServiceListApps(pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1590
|
+
appServiceListApps(organizationId, pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1591
|
+
if (organizationId === null || organizationId === undefined) {
|
|
1592
|
+
throw new Error('Required parameter organizationId was null or undefined when calling appServiceListApps.');
|
|
1593
|
+
}
|
|
1584
1594
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1595
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'organizationId', organizationId, QueryParamStyle.Form, false);
|
|
1585
1596
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageSize', pageSize, QueryParamStyle.Form, false);
|
|
1586
1597
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageToken', pageToken, QueryParamStyle.Form, false);
|
|
1587
1598
|
let localVarHeaders = this.defaultHeaders;
|
|
@@ -1700,8 +1711,12 @@ class OrganizationsService extends BaseService {
|
|
|
1700
1711
|
super(basePath, configuration);
|
|
1701
1712
|
this.httpClient = httpClient;
|
|
1702
1713
|
}
|
|
1703
|
-
organizationServiceListOrganizations(pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1714
|
+
organizationServiceListOrganizations(userId, pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1715
|
+
if (userId === null || userId === undefined) {
|
|
1716
|
+
throw new Error('Required parameter userId was null or undefined when calling organizationServiceListOrganizations.');
|
|
1717
|
+
}
|
|
1704
1718
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1719
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'userId', userId, QueryParamStyle.Form, false);
|
|
1705
1720
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageSize', pageSize, QueryParamStyle.Form, false);
|
|
1706
1721
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageToken', pageToken, QueryParamStyle.Form, false);
|
|
1707
1722
|
let localVarHeaders = this.defaultHeaders;
|