@indigina/dcm-api 0.0.132 → 0.0.133

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,4 +1,4 @@
1
- # @indigina/dcm-api@0.0.132
1
+ # @indigina/dcm-api@0.0.133
2
2
 
3
3
  DCM API Client for Angular applications
4
4
 
@@ -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 @indigina/dcm-api@0.0.132 --save
27
+ npm install @indigina/dcm-api@0.0.133 --save
28
28
  ```
29
29
 
30
30
  _without publishing (not recommended):_
@@ -3553,6 +3553,43 @@ class PortsService extends BaseService {
3553
3553
  reportProgress: reportProgress
3554
3554
  });
3555
3555
  }
3556
+ getPort(id, observe = 'body', reportProgress = false, options) {
3557
+ if (id === null || id === undefined) {
3558
+ throw new Error('Required parameter id was null or undefined when calling getPort.');
3559
+ }
3560
+ let localVarHeaders = this.defaultHeaders;
3561
+ const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
3562
+ 'application/json'
3563
+ ]);
3564
+ if (localVarHttpHeaderAcceptSelected !== undefined) {
3565
+ localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
3566
+ }
3567
+ const localVarHttpContext = options?.context ?? new HttpContext();
3568
+ const localVarTransferCache = options?.transferCache ?? true;
3569
+ let responseType_ = 'json';
3570
+ if (localVarHttpHeaderAcceptSelected) {
3571
+ if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
3572
+ responseType_ = 'text';
3573
+ }
3574
+ else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
3575
+ responseType_ = 'json';
3576
+ }
3577
+ else {
3578
+ responseType_ = 'blob';
3579
+ }
3580
+ }
3581
+ let localVarPath = `/ports/${this.configuration.encodeParam({ name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: "uuid" })}`;
3582
+ const { basePath, withCredentials } = this.configuration;
3583
+ return this.httpClient.request('get', `${basePath}${localVarPath}`, {
3584
+ context: localVarHttpContext,
3585
+ responseType: responseType_,
3586
+ ...(withCredentials ? { withCredentials } : {}),
3587
+ headers: localVarHeaders,
3588
+ observe: observe,
3589
+ ...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
3590
+ reportProgress: reportProgress
3591
+ });
3592
+ }
3556
3593
  getPortCountries(observe = 'body', reportProgress = false, options) {
3557
3594
  let localVarHeaders = this.defaultHeaders;
3558
3595
  const localVarHttpHeaderAcceptSelected = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept([
@@ -3587,9 +3624,8 @@ class PortsService extends BaseService {
3587
3624
  reportProgress: reportProgress
3588
3625
  });
3589
3626
  }
3590
- getPorts(type, $skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
3627
+ getPorts($skip, $top, $orderby, $filter, observe = 'body', reportProgress = false, options) {
3591
3628
  let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
3592
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'type', type, QueryParamStyle.Form, true);
3593
3629
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$skip', $skip, QueryParamStyle.Form, true);
3594
3630
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$top', $top, QueryParamStyle.Form, true);
3595
3631
  localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, '$orderby', $orderby, QueryParamStyle.Form, true);