@accrescent/console-client-sdk-angular 0.5.0 → 0.6.1

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.5.0
1
+ # @accrescent/console-client-sdk-angular@0.6.1
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.0
5
+ The version of the OpenAPI document: 0.6.1
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.5.0 --save
27
+ npm install @accrescent/console-client-sdk-angular@0.6.1 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -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);