@opentap/runner-client 2.25.3 → 2.26.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/dist/cjs/DTOs.js +46 -3
- package/dist/mjs/DTOs.d.ts +20 -0
- package/dist/mjs/DTOs.js +41 -0
- package/package.json +1 -1
package/dist/cjs/DTOs.js
CHANGED
|
@@ -15,9 +15,9 @@ var __extends = (this && this.__extends) || (function () {
|
|
|
15
15
|
};
|
|
16
16
|
})();
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.MetadataUpdatedEvent = exports.RunnerDeletedEvent = exports.RunnerUpdatedEvent = exports.RunnerRegisteredEvent = exports.RunnerEvent = exports.TestPlanRunCompletedEventArgs = exports.TestPlanRunStartEventArgs = exports.TestPlanRunEvent = exports.TestStepRunCompletedEventArgs = exports.TestStepRunStartEventArgs = exports.TestStepRunEvent = exports.OnTestStepRun = exports.OnTestPlanRun = exports.MetricsConfigurationChangedEventArgs = exports.HeartbeatEventArgs = exports.TestPlanSettingsChangedEventArgs = exports.UserInputRequestCompletedEventArgs = exports.UserInputRequestEventArgs = void 0;
|
|
18
|
+
exports.SessionStartFailed = exports.SessionStarted = exports.SessionStartInitiated = exports.SessionEventArgs = exports.SettingsTapPackage = exports.RepositorySettingsPackageDefinition = exports.RepositoryPackageDefinition = exports.RepositoryPackageReference = exports.ProfileGroup = exports.ListItemType = exports.ComponentSettings = exports.FileDescriptor = exports.Resource = exports.PluginTypeSelectorControl = exports.PictureControl = exports.PasswordControl = exports.MultiSelectControl = exports.DropdownControl = exports.EnabledControl = exports.DirectoryPathControl = exports.FilePathControl = exports.ComboBoxControl = exports.TextBoxControl = exports.DataGridControl = exports.DataGridReferenceControl = exports.CheckBoxControl = exports.AvailableValue = exports.ButtonsControl = exports.ButtonControl = exports.ExternalParameter = exports.MetaData = exports.DisplayAttribute = exports.VisualStatus = exports.UnitAttribute = exports.Icon = exports.ColumnDisplayName = exports.LayoutMode = exports.Layout = exports.Setting = exports.ComponentSettingsListItem = exports.AnnotatedObject = exports.ComponentSettingsList = exports.ComponentSettingsIdentifier = exports.ComponentSettingsBase = exports.Links = exports.Session = exports.ImageResolveErrorResponse = exports.ErrorResponse = exports.PackageSpecifier = exports.Image = void 0;
|
|
19
|
+
exports.TestStepChangeEventArgs = exports.SettingsChangedEventArgs = exports.TestPlanExecutionStateChangedEventArgs = exports.TestPlanChangeEventArgs = exports.StoppedEventArgs = exports.StoppingEventArgs = exports.StartedEventArgs = exports.StartingEventArgs = exports.SessionTimeoutEventArgs = exports.SessionEventType = exports.SessionEvent = exports.MetricValue = exports.MetricsConfiguration = exports.SessionMetricInfo = exports.MetricsPollRate = exports.SessionMetricType = exports.SessionMetricKind = exports.ResultColumn = exports.Result = exports.LogEvent = exports.TestStepRun = exports.TestRun = exports.WatchDog = exports.Parameter = exports.BreakPoints = exports.InstalledFile = exports.Interaction = exports.CommonContext = exports.CommonSettings = exports.ValidationError = exports.TestStepValidationError = exports.TestStepCopy = exports.TestStepType = exports.TestStep = exports.TestPlan = exports.ExecutionState = exports.Verdict = exports.RunStatus = exports.MissingLicenseResponse = exports.LogEntry = exports.LogList = exports.ApiException = exports.ImageCreationFailed = exports.ImageCreated = exports.ImageCreating = exports.ImageEventArgs = exports.SessionInactivityLimitHit = exports.SessionShutdownFailed = exports.SessionShutdown = exports.SessionShutdownInitiated = void 0;
|
|
20
|
+
exports.MetadataUpdatedEvent = exports.RunnerDeletedEvent = exports.RunnerUpdatedEvent = exports.RunnerRegisteredEvent = exports.RunnerEvent = exports.TestPlanRunCompletedEventArgs = exports.TestPlanRunStartEventArgs = exports.TestPlanRunEvent = exports.TestStepRunCompletedEventArgs = exports.TestStepRunStartEventArgs = exports.TestStepRunEvent = exports.OnTestStepRun = exports.OnTestPlanRun = exports.MetricsConfigurationChangedEventArgs = exports.HeartbeatEventArgs = exports.TestPlanSettingsChangedEventArgs = exports.UserInputRequestCompletedEventArgs = exports.UserInputRequestEventArgs = exports.BreakEventArgs = void 0;
|
|
21
21
|
var Image = /** @class */ (function () {
|
|
22
22
|
function Image(data) {
|
|
23
23
|
this.packages = [];
|
|
@@ -369,6 +369,7 @@ var AnnotatedObject = /** @class */ (function () {
|
|
|
369
369
|
this.display = _data['Display'] ? DisplayAttribute.fromJS(_data['Display']) : undefined;
|
|
370
370
|
this.metaData = _data['MetaData'] ? MetaData.fromJS(_data['MetaData']) : undefined;
|
|
371
371
|
this.externalParameter = _data['ExternalParameter'] ? ExternalParameter.fromJS(_data['ExternalParameter']) : undefined;
|
|
372
|
+
this.unitAttribute = _data['UnitAttribute'] ? UnitAttribute.fromJS(_data['UnitAttribute']) : undefined;
|
|
372
373
|
}
|
|
373
374
|
};
|
|
374
375
|
AnnotatedObject.fromJS = function (data) {
|
|
@@ -383,6 +384,7 @@ var AnnotatedObject = /** @class */ (function () {
|
|
|
383
384
|
data['Display'] = this.display ? this.display.toJSON() : undefined;
|
|
384
385
|
data['MetaData'] = this.metaData ? this.metaData.toJSON() : undefined;
|
|
385
386
|
data['ExternalParameter'] = this.externalParameter ? this.externalParameter.toJSON() : undefined;
|
|
387
|
+
data['UnitAttribute'] = this.unitAttribute ? this.unitAttribute.toJSON() : undefined;
|
|
386
388
|
return data;
|
|
387
389
|
};
|
|
388
390
|
return AnnotatedObject;
|
|
@@ -675,6 +677,47 @@ var Icon = /** @class */ (function () {
|
|
|
675
677
|
return Icon;
|
|
676
678
|
}());
|
|
677
679
|
exports.Icon = Icon;
|
|
680
|
+
var UnitAttribute = /** @class */ (function () {
|
|
681
|
+
function UnitAttribute(data) {
|
|
682
|
+
this.unit = undefined;
|
|
683
|
+
this.preScaling = undefined;
|
|
684
|
+
this.stringFormat = undefined;
|
|
685
|
+
this.useRanges = undefined;
|
|
686
|
+
this.useEngineeringPrefix = undefined;
|
|
687
|
+
if (data) {
|
|
688
|
+
for (var property in data) {
|
|
689
|
+
if (Object.prototype.hasOwnProperty.call(data, property))
|
|
690
|
+
this[property] = data[property];
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
UnitAttribute.prototype.init = function (_data) {
|
|
695
|
+
if (_data) {
|
|
696
|
+
this.unit = _data['Unit'];
|
|
697
|
+
this.preScaling = _data['PreScaling'];
|
|
698
|
+
this.stringFormat = _data['StringFormat'];
|
|
699
|
+
this.useRanges = _data['UseRanges'];
|
|
700
|
+
this.useEngineeringPrefix = _data['UseEngineeringPrefix'];
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
UnitAttribute.fromJS = function (data) {
|
|
704
|
+
data = typeof data === 'object' ? data : {};
|
|
705
|
+
var result = new UnitAttribute();
|
|
706
|
+
result.init(data);
|
|
707
|
+
return result;
|
|
708
|
+
};
|
|
709
|
+
UnitAttribute.prototype.toJSON = function (data) {
|
|
710
|
+
data = typeof data === 'object' ? data : {};
|
|
711
|
+
data['Unit'] = this.unit;
|
|
712
|
+
data['PreScaling'] = this.preScaling;
|
|
713
|
+
data['StringFormat'] = this.stringFormat;
|
|
714
|
+
data['UseRanges'] = this.useRanges;
|
|
715
|
+
data['UseEngineeringPrefix'] = this.useEngineeringPrefix;
|
|
716
|
+
return data;
|
|
717
|
+
};
|
|
718
|
+
return UnitAttribute;
|
|
719
|
+
}());
|
|
720
|
+
exports.UnitAttribute = UnitAttribute;
|
|
678
721
|
var VisualStatus = /** @class */ (function () {
|
|
679
722
|
function VisualStatus(data) {
|
|
680
723
|
if (data) {
|
package/dist/mjs/DTOs.d.ts
CHANGED
|
@@ -133,6 +133,7 @@ export declare abstract class AnnotatedObject implements IAnnotatedObject {
|
|
|
133
133
|
display?: DisplayAttribute | undefined;
|
|
134
134
|
metaData?: MetaData | undefined;
|
|
135
135
|
externalParameter?: ExternalParameter | undefined;
|
|
136
|
+
unitAttribute?: UnitAttribute | undefined;
|
|
136
137
|
constructor(data?: IAnnotatedObject);
|
|
137
138
|
init(_data?: any): void;
|
|
138
139
|
static fromJS(data: any): AnnotatedObject;
|
|
@@ -144,6 +145,7 @@ export interface IAnnotatedObject {
|
|
|
144
145
|
display?: DisplayAttribute | undefined;
|
|
145
146
|
metaData?: MetaData | undefined;
|
|
146
147
|
externalParameter?: ExternalParameter | undefined;
|
|
148
|
+
unitAttribute?: UnitAttribute | undefined;
|
|
147
149
|
}
|
|
148
150
|
export declare class ComponentSettingsListItem extends AnnotatedObject implements IComponentSettingsListItem {
|
|
149
151
|
settings?: Setting[] | undefined;
|
|
@@ -226,6 +228,24 @@ export declare class Icon implements IIcon {
|
|
|
226
228
|
static fromJS(data: any): Icon;
|
|
227
229
|
toJSON(data?: any): any;
|
|
228
230
|
}
|
|
231
|
+
export interface IUnitAttribute {
|
|
232
|
+
unit: string | undefined;
|
|
233
|
+
preScaling: number | undefined;
|
|
234
|
+
stringFormat: string | undefined;
|
|
235
|
+
useRanges: boolean | undefined;
|
|
236
|
+
useEngineeringPrefix: boolean | undefined;
|
|
237
|
+
}
|
|
238
|
+
export declare class UnitAttribute implements IUnitAttribute {
|
|
239
|
+
unit: undefined;
|
|
240
|
+
preScaling: undefined;
|
|
241
|
+
stringFormat: undefined;
|
|
242
|
+
useRanges: undefined;
|
|
243
|
+
useEngineeringPrefix: undefined;
|
|
244
|
+
constructor(data?: IUnitAttribute);
|
|
245
|
+
init(_data?: any): void;
|
|
246
|
+
static fromJS(data: any): UnitAttribute;
|
|
247
|
+
toJSON(data?: any): any;
|
|
248
|
+
}
|
|
229
249
|
export interface IIcon {
|
|
230
250
|
iconName?: string | undefined;
|
|
231
251
|
invoke?: boolean | undefined;
|
package/dist/mjs/DTOs.js
CHANGED
|
@@ -314,6 +314,7 @@ export class AnnotatedObject {
|
|
|
314
314
|
this.display = _data['Display'] ? DisplayAttribute.fromJS(_data['Display']) : undefined;
|
|
315
315
|
this.metaData = _data['MetaData'] ? MetaData.fromJS(_data['MetaData']) : undefined;
|
|
316
316
|
this.externalParameter = _data['ExternalParameter'] ? ExternalParameter.fromJS(_data['ExternalParameter']) : undefined;
|
|
317
|
+
this.unitAttribute = _data['UnitAttribute'] ? UnitAttribute.fromJS(_data['UnitAttribute']) : undefined;
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
320
|
static fromJS(data) {
|
|
@@ -328,6 +329,7 @@ export class AnnotatedObject {
|
|
|
328
329
|
data['Display'] = this.display ? this.display.toJSON() : undefined;
|
|
329
330
|
data['MetaData'] = this.metaData ? this.metaData.toJSON() : undefined;
|
|
330
331
|
data['ExternalParameter'] = this.externalParameter ? this.externalParameter.toJSON() : undefined;
|
|
332
|
+
data['UnitAttribute'] = this.unitAttribute ? this.unitAttribute.toJSON() : undefined;
|
|
331
333
|
return data;
|
|
332
334
|
}
|
|
333
335
|
}
|
|
@@ -593,6 +595,45 @@ export class Icon {
|
|
|
593
595
|
return data;
|
|
594
596
|
}
|
|
595
597
|
}
|
|
598
|
+
export class UnitAttribute {
|
|
599
|
+
constructor(data) {
|
|
600
|
+
this.unit = undefined;
|
|
601
|
+
this.preScaling = undefined;
|
|
602
|
+
this.stringFormat = undefined;
|
|
603
|
+
this.useRanges = undefined;
|
|
604
|
+
this.useEngineeringPrefix = undefined;
|
|
605
|
+
if (data) {
|
|
606
|
+
for (const property in data) {
|
|
607
|
+
if (Object.prototype.hasOwnProperty.call(data, property))
|
|
608
|
+
this[property] = data[property];
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
init(_data) {
|
|
613
|
+
if (_data) {
|
|
614
|
+
this.unit = _data['Unit'];
|
|
615
|
+
this.preScaling = _data['PreScaling'];
|
|
616
|
+
this.stringFormat = _data['StringFormat'];
|
|
617
|
+
this.useRanges = _data['UseRanges'];
|
|
618
|
+
this.useEngineeringPrefix = _data['UseEngineeringPrefix'];
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
static fromJS(data) {
|
|
622
|
+
data = typeof data === 'object' ? data : {};
|
|
623
|
+
const result = new UnitAttribute();
|
|
624
|
+
result.init(data);
|
|
625
|
+
return result;
|
|
626
|
+
}
|
|
627
|
+
toJSON(data) {
|
|
628
|
+
data = typeof data === 'object' ? data : {};
|
|
629
|
+
data['Unit'] = this.unit;
|
|
630
|
+
data['PreScaling'] = this.preScaling;
|
|
631
|
+
data['StringFormat'] = this.stringFormat;
|
|
632
|
+
data['UseRanges'] = this.useRanges;
|
|
633
|
+
data['UseEngineeringPrefix'] = this.useEngineeringPrefix;
|
|
634
|
+
return data;
|
|
635
|
+
}
|
|
636
|
+
}
|
|
596
637
|
export class VisualStatus {
|
|
597
638
|
constructor(data) {
|
|
598
639
|
if (data) {
|