@opentap/runner-client 2.8.1-alpha.1.1 → 2.9.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/lib/BaseClient.d.ts +1 -7
- package/lib/BaseClient.js +0 -10
- package/package.json +1 -1
package/lib/BaseClient.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DownloadTapSettingsRequest } from './requestDTOs';
|
|
2
|
-
import { ComponentSettingsBase, ComponentSettingsIdentifier, ComponentSettingsListItem, DataGridControl, ErrorResponse, FileParameter,
|
|
2
|
+
import { ComponentSettingsBase, ComponentSettingsIdentifier, ComponentSettingsListItem, DataGridControl, ErrorResponse, FileParameter, ListItemType, ProfileGroup, RepositoryPackageReference, RepositorySettingsPackageDefinition } from './DTOs';
|
|
3
3
|
import { ConnectionOptions, NatsError, Subscription, SubscriptionOptions, PublishOptions } from 'nats.ws';
|
|
4
4
|
interface BaseClientRequestOptions {
|
|
5
5
|
publishOptions?: PublishOptions;
|
|
@@ -244,11 +244,5 @@ export declare class BaseClient {
|
|
|
244
244
|
* @returns {Promise<string[]>}
|
|
245
245
|
*/
|
|
246
246
|
settingsPackageTypes(): Promise<string[]>;
|
|
247
|
-
/**
|
|
248
|
-
* Download a TapPackage containing settings files
|
|
249
|
-
* @param {SettingsPackage} settingsTapPackage
|
|
250
|
-
* @returns {Promise<FileResponse>}
|
|
251
|
-
*/
|
|
252
|
-
downloadSettingsPackage(settingsTapPackage: SettingsTapPackage): Promise<FileResponse>;
|
|
253
247
|
}
|
|
254
248
|
export {};
|
package/lib/BaseClient.js
CHANGED
|
@@ -665,16 +665,6 @@ var BaseClient = /** @class */ (function () {
|
|
|
665
665
|
BaseClient.prototype.settingsPackageTypes = function () {
|
|
666
666
|
return this.request('SettingsPackageTypes').then(this.success()).catch(this.error());
|
|
667
667
|
};
|
|
668
|
-
/**
|
|
669
|
-
* Download a TapPackage containing settings files
|
|
670
|
-
* @param {SettingsPackage} settingsTapPackage
|
|
671
|
-
* @returns {Promise<FileResponse>}
|
|
672
|
-
*/
|
|
673
|
-
BaseClient.prototype.downloadSettingsPackage = function (settingsTapPackage) {
|
|
674
|
-
return settingsTapPackage
|
|
675
|
-
? this.request('DownloadSettingsPackage', settingsTapPackage).then(this.success()).catch(this.error())
|
|
676
|
-
: Promise.reject('settingsTapPackage must be defined');
|
|
677
|
-
};
|
|
678
668
|
return BaseClient;
|
|
679
669
|
}());
|
|
680
670
|
export { BaseClient };
|