@accrescent/console-client-sdk-angular 0.1.0 → 0.3.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.0
1
+ # @accrescent/console-client-sdk-angular@0.3.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.1.0
5
+ The version of the OpenAPI document: 0.3.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.1.0 --save
27
+ npm install @accrescent/console-client-sdk-angular@0.3.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;
@@ -999,10 +1003,10 @@ class AppDraftsService extends BaseService {
999
1003
  reportProgress: reportProgress
1000
1004
  });
1001
1005
  }
1002
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppDraftsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1003
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppDraftsService, providedIn: 'root' });
1006
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppDraftsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1007
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppDraftsService, providedIn: 'root' });
1004
1008
  }
1005
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppDraftsService, decorators: [{
1009
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppDraftsService, decorators: [{
1006
1010
  type: Injectable,
1007
1011
  args: [{
1008
1012
  providedIn: 'root'
@@ -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);
@@ -1510,10 +1517,10 @@ class AppEditsService extends BaseService {
1510
1517
  reportProgress: reportProgress
1511
1518
  });
1512
1519
  }
1513
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppEditsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1514
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppEditsService, providedIn: 'root' });
1520
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppEditsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1521
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppEditsService, providedIn: 'root' });
1515
1522
  }
1516
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppEditsService, decorators: [{
1523
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppEditsService, decorators: [{
1517
1524
  type: Injectable,
1518
1525
  args: [{
1519
1526
  providedIn: 'root'
@@ -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;
@@ -1667,10 +1678,10 @@ class AppsService extends BaseService {
1667
1678
  reportProgress: reportProgress
1668
1679
  });
1669
1680
  }
1670
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1671
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppsService, providedIn: 'root' });
1681
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1682
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppsService, providedIn: 'root' });
1672
1683
  }
1673
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: AppsService, decorators: [{
1684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: AppsService, decorators: [{
1674
1685
  type: Injectable,
1675
1686
  args: [{
1676
1687
  providedIn: 'root'
@@ -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;
@@ -1738,10 +1753,10 @@ class OrganizationsService extends BaseService {
1738
1753
  reportProgress: reportProgress
1739
1754
  });
1740
1755
  }
1741
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: OrganizationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1742
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: OrganizationsService, providedIn: 'root' });
1756
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: OrganizationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1757
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: OrganizationsService, providedIn: 'root' });
1743
1758
  }
1744
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: OrganizationsService, decorators: [{
1759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: OrganizationsService, decorators: [{
1745
1760
  type: Injectable,
1746
1761
  args: [{
1747
1762
  providedIn: 'root'
@@ -1869,10 +1884,10 @@ class ReviewsService extends BaseService {
1869
1884
  reportProgress: reportProgress
1870
1885
  });
1871
1886
  }
1872
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ReviewsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1873
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ReviewsService, providedIn: 'root' });
1887
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ReviewsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1888
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ReviewsService, providedIn: 'root' });
1874
1889
  }
1875
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ReviewsService, decorators: [{
1890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ReviewsService, decorators: [{
1876
1891
  type: Injectable,
1877
1892
  args: [{
1878
1893
  providedIn: 'root'
@@ -1985,10 +2000,10 @@ class UsersService extends BaseService {
1985
2000
  reportProgress: reportProgress
1986
2001
  });
1987
2002
  }
1988
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UsersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1989
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UsersService, providedIn: 'root' });
2003
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UsersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2004
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UsersService, providedIn: 'root' });
1990
2005
  }
1991
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: UsersService, decorators: [{
2006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: UsersService, decorators: [{
1992
2007
  type: Injectable,
1993
2008
  args: [{
1994
2009
  providedIn: 'root'
@@ -2199,11 +2214,11 @@ class ApiModule {
2199
2214
  'See also https://github.com/angular/angular/issues/20575');
2200
2215
  }
2201
2216
  }
2202
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
2203
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.17", ngImport: i0, type: ApiModule });
2204
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ApiModule });
2217
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
2218
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.1", ngImport: i0, type: ApiModule });
2219
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ApiModule });
2205
2220
  }
2206
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.17", ngImport: i0, type: ApiModule, decorators: [{
2221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.1", ngImport: i0, type: ApiModule, decorators: [{
2207
2222
  type: NgModule,
2208
2223
  args: [{
2209
2224
  imports: [],