@accrescent/console-client-sdk-angular 0.4.0 → 0.6.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.6.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.6.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.6.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://
|
|
330
|
+
basePath = 'https://console-api.accrescent.app:443';
|
|
331
331
|
defaultHeaders = new HttpHeaders();
|
|
332
332
|
configuration;
|
|
333
333
|
encoder;
|
|
@@ -1003,10 +1003,10 @@ class AppDraftsService extends BaseService {
|
|
|
1003
1003
|
reportProgress: reportProgress
|
|
1004
1004
|
});
|
|
1005
1005
|
}
|
|
1006
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1007
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1006
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", 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.4", ngImport: i0, type: AppDraftsService, providedIn: 'root' });
|
|
1008
1008
|
}
|
|
1009
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AppDraftsService, decorators: [{
|
|
1010
1010
|
type: Injectable,
|
|
1011
1011
|
args: [{
|
|
1012
1012
|
providedIn: 'root'
|
|
@@ -1517,10 +1517,10 @@ class AppEditsService extends BaseService {
|
|
|
1517
1517
|
reportProgress: reportProgress
|
|
1518
1518
|
});
|
|
1519
1519
|
}
|
|
1520
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1521
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1520
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", 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.4", ngImport: i0, type: AppEditsService, providedIn: 'root' });
|
|
1522
1522
|
}
|
|
1523
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AppEditsService, decorators: [{
|
|
1524
1524
|
type: Injectable,
|
|
1525
1525
|
args: [{
|
|
1526
1526
|
providedIn: 'root'
|
|
@@ -1678,10 +1678,10 @@ class AppsService extends BaseService {
|
|
|
1678
1678
|
reportProgress: reportProgress
|
|
1679
1679
|
});
|
|
1680
1680
|
}
|
|
1681
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1682
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1681
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", 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.4", ngImport: i0, type: AppsService, providedIn: 'root' });
|
|
1683
1683
|
}
|
|
1684
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: AppsService, decorators: [{
|
|
1685
1685
|
type: Injectable,
|
|
1686
1686
|
args: [{
|
|
1687
1687
|
providedIn: 'root'
|
|
@@ -1711,6 +1711,43 @@ class OrganizationsService extends BaseService {
|
|
|
1711
1711
|
super(basePath, configuration);
|
|
1712
1712
|
this.httpClient = httpClient;
|
|
1713
1713
|
}
|
|
1714
|
+
organizationServiceGetOrganization(organizationId, observe = 'body', reportProgress = false, options) {
|
|
1715
|
+
if (organizationId === null || organizationId === undefined) {
|
|
1716
|
+
throw new Error('Required parameter organizationId was null or undefined when calling organizationServiceGetOrganization.');
|
|
1717
|
+
}
|
|
1718
|
+
let localVarHeaders = this.defaultHeaders;
|
|
1719
|
+
const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
|
|
1720
|
+
'application/json'
|
|
1721
|
+
]);
|
|
1722
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
1723
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
1724
|
+
}
|
|
1725
|
+
const localVarHttpContext = options?.context ?? new HttpContext();
|
|
1726
|
+
const localVarTransferCache = options?.transferCache ?? true;
|
|
1727
|
+
let responseType_ = 'json';
|
|
1728
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
1729
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
1730
|
+
responseType_ = 'text';
|
|
1731
|
+
}
|
|
1732
|
+
else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
1733
|
+
responseType_ = 'json';
|
|
1734
|
+
}
|
|
1735
|
+
else {
|
|
1736
|
+
responseType_ = 'blob';
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
let localVarPath = `/grpc/accrescent.console.v1alpha1/organizations/${this.configuration.encodeParam({ name: "organizationId", value: organizationId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined })}`;
|
|
1740
|
+
const { basePath, withCredentials } = this.configuration;
|
|
1741
|
+
return this.httpClient.request('get', `${basePath}${localVarPath}`, {
|
|
1742
|
+
context: localVarHttpContext,
|
|
1743
|
+
responseType: responseType_,
|
|
1744
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
1745
|
+
headers: localVarHeaders,
|
|
1746
|
+
observe: observe,
|
|
1747
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
1748
|
+
reportProgress: reportProgress
|
|
1749
|
+
});
|
|
1750
|
+
}
|
|
1714
1751
|
organizationServiceListOrganizations(pageSize, pageToken, observe = 'body', reportProgress = false, options) {
|
|
1715
1752
|
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
1716
1753
|
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'pageSize', pageSize, QueryParamStyle.Form, false);
|
|
@@ -1749,10 +1786,10 @@ class OrganizationsService extends BaseService {
|
|
|
1749
1786
|
reportProgress: reportProgress
|
|
1750
1787
|
});
|
|
1751
1788
|
}
|
|
1752
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1753
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1789
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: OrganizationsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1790
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: OrganizationsService, providedIn: 'root' });
|
|
1754
1791
|
}
|
|
1755
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: OrganizationsService, decorators: [{
|
|
1756
1793
|
type: Injectable,
|
|
1757
1794
|
args: [{
|
|
1758
1795
|
providedIn: 'root'
|
|
@@ -1880,10 +1917,10 @@ class ReviewsService extends BaseService {
|
|
|
1880
1917
|
reportProgress: reportProgress
|
|
1881
1918
|
});
|
|
1882
1919
|
}
|
|
1883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
1884
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
1920
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ReviewsService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1921
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ReviewsService, providedIn: 'root' });
|
|
1885
1922
|
}
|
|
1886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
1923
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ReviewsService, decorators: [{
|
|
1887
1924
|
type: Injectable,
|
|
1888
1925
|
args: [{
|
|
1889
1926
|
providedIn: 'root'
|
|
@@ -1996,10 +2033,10 @@ class UsersService extends BaseService {
|
|
|
1996
2033
|
reportProgress: reportProgress
|
|
1997
2034
|
});
|
|
1998
2035
|
}
|
|
1999
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2000
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.
|
|
2036
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: UsersService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2037
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: UsersService, providedIn: 'root' });
|
|
2001
2038
|
}
|
|
2002
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: UsersService, decorators: [{
|
|
2003
2040
|
type: Injectable,
|
|
2004
2041
|
args: [{
|
|
2005
2042
|
providedIn: 'root'
|
|
@@ -2210,11 +2247,11 @@ class ApiModule {
|
|
|
2210
2247
|
'See also https://github.com/angular/angular/issues/20575');
|
|
2211
2248
|
}
|
|
2212
2249
|
}
|
|
2213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.
|
|
2214
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.
|
|
2215
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.
|
|
2250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ApiModule, deps: [{ token: ApiModule, optional: true, skipSelf: true }, { token: i1.HttpClient, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2251
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.4", ngImport: i0, type: ApiModule });
|
|
2252
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ApiModule });
|
|
2216
2253
|
}
|
|
2217
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.
|
|
2254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.4", ngImport: i0, type: ApiModule, decorators: [{
|
|
2218
2255
|
type: NgModule,
|
|
2219
2256
|
args: [{
|
|
2220
2257
|
imports: [],
|