testit-js-commons 5.0.4 → 5.0.6

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.
Files changed (46) hide show
  1. package/lib/adapters-api/dist/api/CustomAttributesApi.js +201 -0
  2. package/lib/adapters-api/dist/index.js +77 -0
  3. package/lib/adapters-api/dist/model/AutoTestApiResult.js +15 -0
  4. package/lib/adapters-api/dist/model/AutoTestCreateApiModel.js +15 -0
  5. package/lib/adapters-api/dist/model/AutoTestUpdateApiModel.js +30 -4
  6. package/lib/adapters-api/dist/model/CustomAttributeApiResult.js +54 -4
  7. package/lib/adapters-api/dist/model/CustomAttributeOptionPostApiModel.js +98 -0
  8. package/lib/adapters-api/dist/model/CustomAttributeOptionUpdateApiModel.js +124 -0
  9. package/lib/adapters-api/dist/model/CustomAttributeSearchApiModel.js +137 -0
  10. package/lib/adapters-api/dist/model/CustomAttributeSearchApiResult.js +281 -0
  11. package/lib/adapters-api/dist/model/GlobalCustomAttributePostApiModel.js +141 -0
  12. package/lib/adapters-api/dist/model/GlobalCustomAttributeUpdateApiModel.js +129 -0
  13. package/lib/adapters-api/dist/model/LayerApiModel.js +102 -0
  14. package/lib/adapters-api/dist/model/LayerApiResult.js +102 -0
  15. package/lib/adapters-api/dist/model/LayerSource.js +61 -0
  16. package/lib/adapters-api/dist/model/ProjectShortestApiResult.js +138 -0
  17. package/lib/adapters-api/dist/model/ProjectsFilterModel.js +13 -13
  18. package/lib/adapters-api/dist/model/TestResultShortResponse.js +15 -4
  19. package/lib/adapters-api/dist/model/TestResultsFilterApiModel.js +14 -0
  20. package/lib/adapters-api/dist/model/TestRunApiResult.js +45 -4
  21. package/lib/adapters-api/index.d.ts +718 -8
  22. package/lib/common/index.d.ts +1 -0
  23. package/lib/common/index.js +1 -0
  24. package/lib/common/test-layers.d.ts +11 -0
  25. package/lib/common/test-layers.js +13 -0
  26. package/lib/common/types/common.type.d.ts +2 -0
  27. package/lib/services/autotests/autotests.converter.d.ts +6 -2
  28. package/lib/services/autotests/autotests.converter.js +41 -16
  29. package/lib/services/autotests/autotests.converter.test.d.ts +1 -0
  30. package/lib/services/autotests/autotests.converter.test.js +39 -0
  31. package/lib/services/autotests/autotests.service.js +3 -3
  32. package/lib/services/autotests/autotests.type.d.ts +2 -0
  33. package/lib/services/syncstorage/syncstorage.runner.js +1 -1
  34. package/lib/services/testruns/testruns.converter.d.ts +3 -0
  35. package/lib/services/testruns/testruns.converter.js +12 -0
  36. package/lib/services/testruns/testruns.converter.test.d.ts +1 -0
  37. package/lib/services/testruns/testruns.converter.test.js +30 -0
  38. package/lib/services/testruns/testruns.service.d.ts +5 -2
  39. package/lib/services/testruns/testruns.service.js +58 -24
  40. package/lib/services/testruns/testruns.service.test.d.ts +1 -0
  41. package/lib/services/testruns/testruns.service.test.js +83 -0
  42. package/lib/services/testruns/testruns.type.d.ts +2 -0
  43. package/lib/strategy/base.strategy.d.ts +1 -0
  44. package/lib/strategy/base.strategy.js +5 -0
  45. package/lib/strategy/strategy.type.d.ts +1 -0
  46. package/package.json +1 -1
@@ -439,6 +439,109 @@ declare module 'adapters-api/api/ConfigurationsApi' {
439
439
  }): Promise<any>;
440
440
  }
441
441
 
442
+ }
443
+ declare module 'adapters-api/api/CustomAttributesApi' {
444
+ /**
445
+ * API
446
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
447
+ *
448
+ * The version of the OpenAPI document: adapters
449
+ *
450
+ *
451
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
452
+ * https://openapi-generator.tech
453
+ * Do not edit the class manually.
454
+ *
455
+ */
456
+ /**
457
+ * CustomAttributes service.
458
+ * @module api/CustomAttributesApi
459
+ * @version 1.0.0
460
+ */
461
+ export default class CustomAttributesApi {
462
+ apiClient: any;
463
+ /**
464
+ * Constructs a new CustomAttributesApi.
465
+ * @alias module:api/CustomAttributesApi
466
+ * @class
467
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
468
+ * default to {@link module:ApiClient#instance} if unspecified.
469
+ */
470
+ constructor(apiClient: module);
471
+ /**
472
+ * Update global attribute
473
+ * @param {String} id Unique ID of attribute
474
+ * @param {Object} opts Optional parameters
475
+ * @param {module:model/GlobalCustomAttributeUpdateApiModel} [globalCustomAttributeUpdateApiModel]
476
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
477
+ */
478
+ adaptersCustomAttributesGlobalIdPutWithHttpInfo(id: string, opts: Object): Promise<any>;
479
+ /**
480
+ * Update global attribute
481
+ * @param {String} id Unique ID of attribute
482
+ * @param {Object} opts Optional parameters
483
+ * @param {module:model/GlobalCustomAttributeUpdateApiModel} opts.globalCustomAttributeUpdateApiModel
484
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
485
+ */
486
+ adaptersCustomAttributesGlobalIdPut(id: string, opts: Object): Promise<any>;
487
+ /**
488
+ * Create global attribute
489
+ * @param {Object} opts Optional parameters
490
+ * @param {module:model/GlobalCustomAttributePostApiModel} [globalCustomAttributePostApiModel]
491
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
492
+ */
493
+ adaptersCustomAttributesGlobalPostWithHttpInfo(opts: Object): Promise<any>;
494
+ /**
495
+ * Create global attribute
496
+ * @param {Object} opts Optional parameters
497
+ * @param {module:model/GlobalCustomAttributePostApiModel} opts.globalCustomAttributePostApiModel
498
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
499
+ */
500
+ adaptersCustomAttributesGlobalPost(opts: Object): Promise<any>;
501
+ /**
502
+ * Get attribute by ID
503
+ * @param {String} id Unique ID of attribute
504
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CustomAttributeApiResult} and HTTP response
505
+ */
506
+ adaptersCustomAttributesIdGetWithHttpInfo(id: string): Promise<any>;
507
+ /**
508
+ * Get attribute by ID
509
+ * @param {String} id Unique ID of attribute
510
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomAttributeApiResult}
511
+ */
512
+ adaptersCustomAttributesIdGet(id: string): Promise<any>;
513
+ /**
514
+ * Search for attributes
515
+ * @param {Object} opts Optional parameters
516
+ * @param {Number} [skip] Amount of items to be skipped (offset)
517
+ * @param {Number} [take] Amount of items to be taken (limit)
518
+ * @param {String} [orderBy] SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
519
+ * @param {String} [searchField] Property name for searching
520
+ * @param {String} [searchValue] Value for searching
521
+ * @param {module:model/CustomAttributeSearchApiModel} [customAttributeSearchApiModel]
522
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/CustomAttributeSearchApiResult>} and HTTP response
523
+ */
524
+ adaptersCustomAttributesSearchPostWithHttpInfo(opts: Object): Promise<any>;
525
+ /**
526
+ * Search for attributes
527
+ * @param {Object} opts Optional parameters
528
+ * @param {Number} opts.skip Amount of items to be skipped (offset)
529
+ * @param {Number} opts.take Amount of items to be taken (limit)
530
+ * @param {String} opts.orderBy SQL-like ORDER BY statement (column1 ASC|DESC , column2 ASC|DESC)
531
+ * @param {String} opts.searchField Property name for searching
532
+ * @param {String} opts.searchValue Value for searching
533
+ * @param {module:model/CustomAttributeSearchApiModel} opts.customAttributeSearchApiModel
534
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/CustomAttributeSearchApiResult>}
535
+ */
536
+ adaptersCustomAttributesSearchPost(opts: {
537
+ skip: number;
538
+ take: number;
539
+ orderBy: string;
540
+ searchField: string;
541
+ searchValue: string;
542
+ }): Promise<any>;
543
+ }
544
+
442
545
  }
443
546
  declare module 'adapters-api/api/ParametersApi' {
444
547
  /**
@@ -1555,13 +1658,19 @@ declare module 'adapters-api/index' {
1555
1658
  import CustomAttributeModel from 'adapters-api/model/CustomAttributeModel';
1556
1659
  import CustomAttributeOptionApiResult from 'adapters-api/model/CustomAttributeOptionApiResult';
1557
1660
  import CustomAttributeOptionModel from 'adapters-api/model/CustomAttributeOptionModel';
1661
+ import CustomAttributeOptionPostApiModel from 'adapters-api/model/CustomAttributeOptionPostApiModel';
1662
+ import CustomAttributeOptionUpdateApiModel from 'adapters-api/model/CustomAttributeOptionUpdateApiModel';
1558
1663
  import CustomAttributePutModel from 'adapters-api/model/CustomAttributePutModel';
1664
+ import CustomAttributeSearchApiModel from 'adapters-api/model/CustomAttributeSearchApiModel';
1665
+ import CustomAttributeSearchApiResult from 'adapters-api/model/CustomAttributeSearchApiResult';
1559
1666
  import CustomAttributeType from 'adapters-api/model/CustomAttributeType';
1560
1667
  import CustomAttributeTypesEnum from 'adapters-api/model/CustomAttributeTypesEnum';
1561
1668
  import DateTimeRangeSelectorModel from 'adapters-api/model/DateTimeRangeSelectorModel';
1562
1669
  import DeletionState from 'adapters-api/model/DeletionState';
1563
1670
  import DetailedProjectApiResult from 'adapters-api/model/DetailedProjectApiResult';
1564
1671
  import FailureCategoryModel from 'adapters-api/model/FailureCategoryModel';
1672
+ import GlobalCustomAttributePostApiModel from 'adapters-api/model/GlobalCustomAttributePostApiModel';
1673
+ import GlobalCustomAttributeUpdateApiModel from 'adapters-api/model/GlobalCustomAttributeUpdateApiModel';
1565
1674
  import GuidExtractionModel from 'adapters-api/model/GuidExtractionModel';
1566
1675
  import ImageResizeType from 'adapters-api/model/ImageResizeType';
1567
1676
  import Int32RangeSelectorModel from 'adapters-api/model/Int32RangeSelectorModel';
@@ -1571,6 +1680,9 @@ declare module 'adapters-api/index' {
1571
1680
  import LabelApiModel from 'adapters-api/model/LabelApiModel';
1572
1681
  import LabelApiResult from 'adapters-api/model/LabelApiResult';
1573
1682
  import LabelShortModel from 'adapters-api/model/LabelShortModel';
1683
+ import LayerApiModel from 'adapters-api/model/LayerApiModel';
1684
+ import LayerApiResult from 'adapters-api/model/LayerApiResult';
1685
+ import LayerSource from 'adapters-api/model/LayerSource';
1574
1686
  import LinkApiResult from 'adapters-api/model/LinkApiResult';
1575
1687
  import LinkCreateApiModel from 'adapters-api/model/LinkCreateApiModel';
1576
1688
  import LinkModel from 'adapters-api/model/LinkModel';
@@ -1591,6 +1703,7 @@ declare module 'adapters-api/index' {
1591
1703
  import ProblemDetails from 'adapters-api/model/ProblemDetails';
1592
1704
  import ProjectApiResult from 'adapters-api/model/ProjectApiResult';
1593
1705
  import ProjectAttributesFilterModel from 'adapters-api/model/ProjectAttributesFilterModel';
1706
+ import ProjectShortestApiResult from 'adapters-api/model/ProjectShortestApiResult';
1594
1707
  import ProjectTypeModel from 'adapters-api/model/ProjectTypeModel';
1595
1708
  import ProjectsFilterModel from 'adapters-api/model/ProjectsFilterModel';
1596
1709
  import SectionModel from 'adapters-api/model/SectionModel';
@@ -1638,6 +1751,7 @@ declare module 'adapters-api/index' {
1638
1751
  import AttachmentsApi from 'adapters-api/api/AttachmentsApi';
1639
1752
  import AutoTestsApi from 'adapters-api/api/AutoTestsApi';
1640
1753
  import ConfigurationsApi from 'adapters-api/api/ConfigurationsApi';
1754
+ import CustomAttributesApi from 'adapters-api/api/CustomAttributesApi';
1641
1755
  import ParametersApi from 'adapters-api/api/ParametersApi';
1642
1756
  import ProjectAttributesApi from 'adapters-api/api/ProjectAttributesApi';
1643
1757
  import ProjectSectionsApi from 'adapters-api/api/ProjectSectionsApi';
@@ -1890,11 +2004,31 @@ declare module 'adapters-api/index' {
1890
2004
  * @property {module:model/CustomAttributeOptionModel}
1891
2005
  */
1892
2006
  CustomAttributeOptionModel,
2007
+ /**
2008
+ * The CustomAttributeOptionPostApiModel model constructor.
2009
+ * @property {module:model/CustomAttributeOptionPostApiModel}
2010
+ */
2011
+ CustomAttributeOptionPostApiModel,
2012
+ /**
2013
+ * The CustomAttributeOptionUpdateApiModel model constructor.
2014
+ * @property {module:model/CustomAttributeOptionUpdateApiModel}
2015
+ */
2016
+ CustomAttributeOptionUpdateApiModel,
1893
2017
  /**
1894
2018
  * The CustomAttributePutModel model constructor.
1895
2019
  * @property {module:model/CustomAttributePutModel}
1896
2020
  */
1897
2021
  CustomAttributePutModel,
2022
+ /**
2023
+ * The CustomAttributeSearchApiModel model constructor.
2024
+ * @property {module:model/CustomAttributeSearchApiModel}
2025
+ */
2026
+ CustomAttributeSearchApiModel,
2027
+ /**
2028
+ * The CustomAttributeSearchApiResult model constructor.
2029
+ * @property {module:model/CustomAttributeSearchApiResult}
2030
+ */
2031
+ CustomAttributeSearchApiResult,
1898
2032
  /**
1899
2033
  * The CustomAttributeType model constructor.
1900
2034
  * @property {module:model/CustomAttributeType}
@@ -1925,6 +2059,16 @@ declare module 'adapters-api/index' {
1925
2059
  * @property {module:model/FailureCategoryModel}
1926
2060
  */
1927
2061
  FailureCategoryModel,
2062
+ /**
2063
+ * The GlobalCustomAttributePostApiModel model constructor.
2064
+ * @property {module:model/GlobalCustomAttributePostApiModel}
2065
+ */
2066
+ GlobalCustomAttributePostApiModel,
2067
+ /**
2068
+ * The GlobalCustomAttributeUpdateApiModel model constructor.
2069
+ * @property {module:model/GlobalCustomAttributeUpdateApiModel}
2070
+ */
2071
+ GlobalCustomAttributeUpdateApiModel,
1928
2072
  /**
1929
2073
  * The GuidExtractionModel model constructor.
1930
2074
  * @property {module:model/GuidExtractionModel}
@@ -1970,6 +2114,21 @@ declare module 'adapters-api/index' {
1970
2114
  * @property {module:model/LabelShortModel}
1971
2115
  */
1972
2116
  LabelShortModel,
2117
+ /**
2118
+ * The LayerApiModel model constructor.
2119
+ * @property {module:model/LayerApiModel}
2120
+ */
2121
+ LayerApiModel,
2122
+ /**
2123
+ * The LayerApiResult model constructor.
2124
+ * @property {module:model/LayerApiResult}
2125
+ */
2126
+ LayerApiResult,
2127
+ /**
2128
+ * The LayerSource model constructor.
2129
+ * @property {module:model/LayerSource}
2130
+ */
2131
+ LayerSource,
1973
2132
  /**
1974
2133
  * The LinkApiResult model constructor.
1975
2134
  * @property {module:model/LinkApiResult}
@@ -2070,6 +2229,11 @@ declare module 'adapters-api/index' {
2070
2229
  * @property {module:model/ProjectAttributesFilterModel}
2071
2230
  */
2072
2231
  ProjectAttributesFilterModel,
2232
+ /**
2233
+ * The ProjectShortestApiResult model constructor.
2234
+ * @property {module:model/ProjectShortestApiResult}
2235
+ */
2236
+ ProjectShortestApiResult,
2073
2237
  /**
2074
2238
  * The ProjectTypeModel model constructor.
2075
2239
  * @property {module:model/ProjectTypeModel}
@@ -2306,6 +2470,11 @@ declare module 'adapters-api/index' {
2306
2470
  */
2307
2471
  ConfigurationsApi,
2308
2472
  /**
2473
+ * The CustomAttributesApi service constructor.
2474
+ * @property {module:api/CustomAttributesApi}
2475
+ */
2476
+ CustomAttributesApi,
2477
+ /**
2309
2478
  * The ParametersApi service constructor.
2310
2479
  * @property {module:api/ParametersApi}
2311
2480
  */
@@ -3689,14 +3858,15 @@ declare module 'adapters-api/model/AutoTestUpdateApiModel' {
3689
3858
  * @param projectId {String} Unique ID of the autotest project
3690
3859
  * @param externalId {String} External ID of the autotest
3691
3860
  * @param name {String} Name of the autotest
3861
+ * @param resetLayer {Boolean} Indicates if the autotest layer should be reset.
3692
3862
  */
3693
- constructor(projectId: string, externalId: string, name: string);
3863
+ constructor(projectId: string, externalId: string, name: string, resetLayer: boolean);
3694
3864
  /**
3695
3865
  * Initializes the fields of this object.
3696
3866
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
3697
3867
  * Only for internal use.
3698
3868
  */
3699
- static initialize(obj: any, projectId: any, externalId: any, name: any): void;
3869
+ static initialize(obj: any, projectId: any, externalId: any, name: any, resetLayer: any): void;
3700
3870
  /**
3701
3871
  * Constructs a <code>AutoTestUpdateApiModel</code> from a plain JavaScript object, optionally creating a new instance.
3702
3872
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -4328,14 +4498,17 @@ declare module 'adapters-api/model/CustomAttributeApiResult' {
4328
4498
  * @param isEnabled {Boolean} Indicates if the attribute is enabled
4329
4499
  * @param isRequired {Boolean} Indicates if the attribute value is mandatory to specify
4330
4500
  * @param isGlobal {Boolean} Indicates if the attribute is available across all projects
4501
+ * @param isReadOnly {Boolean} Indicates if the attribute is read-only
4502
+ * @param isSystem {Boolean} Indicates if the attribute is system
4503
+ * @param targets {Array.<String>} Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)
4331
4504
  */
4332
- constructor(id: string, options: Array<any>, type: module, isDeleted: boolean, name: string, isEnabled: boolean, isRequired: boolean, isGlobal: boolean);
4505
+ constructor(id: string, options: Array<any>, type: module, isDeleted: boolean, name: string, isEnabled: boolean, isRequired: boolean, isGlobal: boolean, isReadOnly: boolean, isSystem: boolean, targets: Array<string>);
4333
4506
  /**
4334
4507
  * Initializes the fields of this object.
4335
4508
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4336
4509
  * Only for internal use.
4337
4510
  */
4338
- static initialize(obj: any, id: any, options: any, type: any, isDeleted: any, name: any, isEnabled: any, isRequired: any, isGlobal: any): void;
4511
+ static initialize(obj: any, id: any, options: any, type: any, isDeleted: any, name: any, isEnabled: any, isRequired: any, isGlobal: any, isReadOnly: any, isSystem: any, targets: any): void;
4339
4512
  /**
4340
4513
  * Constructs a <code>CustomAttributeApiResult</code> from a plain JavaScript object, optionally creating a new instance.
4341
4514
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -4526,6 +4699,112 @@ declare module 'adapters-api/model/CustomAttributeOptionModel' {
4526
4699
  }
4527
4700
  export default CustomAttributeOptionModel;
4528
4701
 
4702
+ }
4703
+ declare module 'adapters-api/model/CustomAttributeOptionPostApiModel' {
4704
+ /**
4705
+ * API
4706
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4707
+ *
4708
+ * The version of the OpenAPI document: adapters
4709
+ *
4710
+ *
4711
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4712
+ * https://openapi-generator.tech
4713
+ * Do not edit the class manually.
4714
+ *
4715
+ */
4716
+ /**
4717
+ * The CustomAttributeOptionPostApiModel model module.
4718
+ * @module model/CustomAttributeOptionPostApiModel
4719
+ * @version 1.0.0
4720
+ */
4721
+ class CustomAttributeOptionPostApiModel {
4722
+ /**
4723
+ * Constructs a new <code>CustomAttributeOptionPostApiModel</code>.
4724
+ * @alias module:model/CustomAttributeOptionPostApiModel
4725
+ * @param isDefault {Boolean} Indicates if the attribute option is used by default
4726
+ */
4727
+ constructor(isDefault: boolean);
4728
+ /**
4729
+ * Initializes the fields of this object.
4730
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4731
+ * Only for internal use.
4732
+ */
4733
+ static initialize(obj: any, isDefault: any): void;
4734
+ /**
4735
+ * Constructs a <code>CustomAttributeOptionPostApiModel</code> from a plain JavaScript object, optionally creating a new instance.
4736
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
4737
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4738
+ * @param {module:model/CustomAttributeOptionPostApiModel} obj Optional instance to populate.
4739
+ * @return {module:model/CustomAttributeOptionPostApiModel} The populated <code>CustomAttributeOptionPostApiModel</code> instance.
4740
+ */
4741
+ static constructFromObject(data: Object, obj: module): module;
4742
+ /**
4743
+ * Validates the JSON data with respect to <code>CustomAttributeOptionPostApiModel</code>.
4744
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4745
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>CustomAttributeOptionPostApiModel</code>.
4746
+ */
4747
+ static validateJSON(data: Object): boolean;
4748
+ }
4749
+ namespace CustomAttributeOptionPostApiModel {
4750
+ var RequiredProperties: string[];
4751
+ }
4752
+ export default CustomAttributeOptionPostApiModel;
4753
+
4754
+ }
4755
+ declare module 'adapters-api/model/CustomAttributeOptionUpdateApiModel' {
4756
+ /**
4757
+ * API
4758
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4759
+ *
4760
+ * The version of the OpenAPI document: adapters
4761
+ *
4762
+ *
4763
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4764
+ * https://openapi-generator.tech
4765
+ * Do not edit the class manually.
4766
+ *
4767
+ */
4768
+ /**
4769
+ * The CustomAttributeOptionUpdateApiModel model module.
4770
+ * @module model/CustomAttributeOptionUpdateApiModel
4771
+ * @version 1.0.0
4772
+ */
4773
+ class CustomAttributeOptionUpdateApiModel {
4774
+ /**
4775
+ * Constructs a new <code>CustomAttributeOptionUpdateApiModel</code>.
4776
+ * @alias module:model/CustomAttributeOptionUpdateApiModel
4777
+ * @param id {String} Unique ID of the attribute option
4778
+ * @param isDefault {Boolean} Indicates if the attribute option is used by default
4779
+ * @param isDeleted {Boolean} Indicates if the attributes option is deleted
4780
+ */
4781
+ constructor(id: string, isDefault: boolean, isDeleted: boolean);
4782
+ /**
4783
+ * Initializes the fields of this object.
4784
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4785
+ * Only for internal use.
4786
+ */
4787
+ static initialize(obj: any, id: any, isDefault: any, isDeleted: any): void;
4788
+ /**
4789
+ * Constructs a <code>CustomAttributeOptionUpdateApiModel</code> from a plain JavaScript object, optionally creating a new instance.
4790
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
4791
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4792
+ * @param {module:model/CustomAttributeOptionUpdateApiModel} obj Optional instance to populate.
4793
+ * @return {module:model/CustomAttributeOptionUpdateApiModel} The populated <code>CustomAttributeOptionUpdateApiModel</code> instance.
4794
+ */
4795
+ static constructFromObject(data: Object, obj: module): module;
4796
+ /**
4797
+ * Validates the JSON data with respect to <code>CustomAttributeOptionUpdateApiModel</code>.
4798
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4799
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>CustomAttributeOptionUpdateApiModel</code>.
4800
+ */
4801
+ static validateJSON(data: Object): boolean;
4802
+ }
4803
+ namespace CustomAttributeOptionUpdateApiModel {
4804
+ var RequiredProperties: string[];
4805
+ }
4806
+ export default CustomAttributeOptionUpdateApiModel;
4807
+
4529
4808
  }
4530
4809
  declare module 'adapters-api/model/CustomAttributePutModel' {
4531
4810
  /**
@@ -4584,6 +4863,118 @@ declare module 'adapters-api/model/CustomAttributePutModel' {
4584
4863
  }
4585
4864
  export default CustomAttributePutModel;
4586
4865
 
4866
+ }
4867
+ declare module 'adapters-api/model/CustomAttributeSearchApiModel' {
4868
+ /**
4869
+ * API
4870
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4871
+ *
4872
+ * The version of the OpenAPI document: adapters
4873
+ *
4874
+ *
4875
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4876
+ * https://openapi-generator.tech
4877
+ * Do not edit the class manually.
4878
+ *
4879
+ */
4880
+ /**
4881
+ * The CustomAttributeSearchApiModel model module.
4882
+ * @module model/CustomAttributeSearchApiModel
4883
+ * @version 1.0.0
4884
+ */
4885
+ class CustomAttributeSearchApiModel {
4886
+ /**
4887
+ * Constructs a new <code>CustomAttributeSearchApiModel</code>.
4888
+ * @alias module:model/CustomAttributeSearchApiModel
4889
+ */
4890
+ constructor();
4891
+ /**
4892
+ * Initializes the fields of this object.
4893
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4894
+ * Only for internal use.
4895
+ */
4896
+ static initialize(obj: any): void;
4897
+ /**
4898
+ * Constructs a <code>CustomAttributeSearchApiModel</code> from a plain JavaScript object, optionally creating a new instance.
4899
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
4900
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4901
+ * @param {module:model/CustomAttributeSearchApiModel} obj Optional instance to populate.
4902
+ * @return {module:model/CustomAttributeSearchApiModel} The populated <code>CustomAttributeSearchApiModel</code> instance.
4903
+ */
4904
+ static constructFromObject(data: Object, obj: module): module;
4905
+ /**
4906
+ * Validates the JSON data with respect to <code>CustomAttributeSearchApiModel</code>.
4907
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4908
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>CustomAttributeSearchApiModel</code>.
4909
+ */
4910
+ static validateJSON(data: Object): boolean;
4911
+ }
4912
+ export default CustomAttributeSearchApiModel;
4913
+
4914
+ }
4915
+ declare module 'adapters-api/model/CustomAttributeSearchApiResult' {
4916
+ /**
4917
+ * API
4918
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4919
+ *
4920
+ * The version of the OpenAPI document: adapters
4921
+ *
4922
+ *
4923
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
4924
+ * https://openapi-generator.tech
4925
+ * Do not edit the class manually.
4926
+ *
4927
+ */
4928
+ /**
4929
+ * The CustomAttributeSearchApiResult model module.
4930
+ * @module model/CustomAttributeSearchApiResult
4931
+ * @version 1.0.0
4932
+ */
4933
+ class CustomAttributeSearchApiResult {
4934
+ /**
4935
+ * Constructs a new <code>CustomAttributeSearchApiResult</code>.
4936
+ * @alias module:model/CustomAttributeSearchApiResult
4937
+ * @param workItemUsage {Array.<module:model/ProjectShortestApiResult>} Projects where attribute is used in work items
4938
+ * @param testPlanUsage {Array.<module:model/ProjectShortestApiResult>} Projects where attribute is used in test plans
4939
+ * @param id {String} Unique ID of the attribute
4940
+ * @param options {Array.<module:model/CustomAttributeOptionApiResult>} Collection of the attribute options Available for attributes of type `options` and `multiple options` only
4941
+ * @param type {module:model/CustomAttributeType} Type of the attribute
4942
+ * @param isDeleted {Boolean} Indicates if the attribute is deleted
4943
+ * @param name {String} Name of the attribute
4944
+ * @param isEnabled {Boolean} Indicates if the attribute is enabled
4945
+ * @param isRequired {Boolean} Indicates if the attribute value is mandatory to specify
4946
+ * @param isGlobal {Boolean} Indicates if the attribute is available across all projects
4947
+ * @param isReadOnly {Boolean} Indicates if the attribute is read-only
4948
+ * @param isSystem {Boolean} Indicates if the attribute is system
4949
+ * @param targets {Array.<String>} Collection of the attribute targets Defines where the attribute can be used (e.g., TestCases, AutoTestCases, TestPlans)
4950
+ */
4951
+ constructor(workItemUsage: Array<any>, testPlanUsage: Array<any>, id: string, options: Array<any>, type: module, isDeleted: boolean, name: string, isEnabled: boolean, isRequired: boolean, isGlobal: boolean, isReadOnly: boolean, isSystem: boolean, targets: Array<string>);
4952
+ /**
4953
+ * Initializes the fields of this object.
4954
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
4955
+ * Only for internal use.
4956
+ */
4957
+ static initialize(obj: any, workItemUsage: any, testPlanUsage: any, id: any, options: any, type: any, isDeleted: any, name: any, isEnabled: any, isRequired: any, isGlobal: any, isReadOnly: any, isSystem: any, targets: any): void;
4958
+ /**
4959
+ * Constructs a <code>CustomAttributeSearchApiResult</code> from a plain JavaScript object, optionally creating a new instance.
4960
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
4961
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4962
+ * @param {module:model/CustomAttributeSearchApiResult} obj Optional instance to populate.
4963
+ * @return {module:model/CustomAttributeSearchApiResult} The populated <code>CustomAttributeSearchApiResult</code> instance.
4964
+ */
4965
+ static constructFromObject(data: Object, obj: module): module;
4966
+ /**
4967
+ * Validates the JSON data with respect to <code>CustomAttributeSearchApiResult</code>.
4968
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
4969
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>CustomAttributeSearchApiResult</code>.
4970
+ */
4971
+ static validateJSON(data: Object): boolean;
4972
+ }
4973
+ namespace CustomAttributeSearchApiResult {
4974
+ var RequiredProperties: string[];
4975
+ }
4976
+ export default CustomAttributeSearchApiResult;
4977
+
4587
4978
  }
4588
4979
  declare module 'adapters-api/model/CustomAttributeType' {
4589
4980
  /**
@@ -4902,6 +5293,111 @@ declare module 'adapters-api/model/FailureCategoryModel' {
4902
5293
  static constructFromObject(object: any): module;
4903
5294
  }
4904
5295
 
5296
+ }
5297
+ declare module 'adapters-api/model/GlobalCustomAttributePostApiModel' {
5298
+ /**
5299
+ * API
5300
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5301
+ *
5302
+ * The version of the OpenAPI document: adapters
5303
+ *
5304
+ *
5305
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5306
+ * https://openapi-generator.tech
5307
+ * Do not edit the class manually.
5308
+ *
5309
+ */
5310
+ /**
5311
+ * The GlobalCustomAttributePostApiModel model module.
5312
+ * @module model/GlobalCustomAttributePostApiModel
5313
+ * @version 1.0.0
5314
+ */
5315
+ class GlobalCustomAttributePostApiModel {
5316
+ /**
5317
+ * Constructs a new <code>GlobalCustomAttributePostApiModel</code>.
5318
+ * @alias module:model/GlobalCustomAttributePostApiModel
5319
+ * @param name {String} Name of attribute
5320
+ * @param type {module:model/CustomAttributeType} Type of attribute
5321
+ */
5322
+ constructor(name: string, type: module);
5323
+ /**
5324
+ * Initializes the fields of this object.
5325
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
5326
+ * Only for internal use.
5327
+ */
5328
+ static initialize(obj: any, name: any, type: any): void;
5329
+ /**
5330
+ * Constructs a <code>GlobalCustomAttributePostApiModel</code> from a plain JavaScript object, optionally creating a new instance.
5331
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
5332
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5333
+ * @param {module:model/GlobalCustomAttributePostApiModel} obj Optional instance to populate.
5334
+ * @return {module:model/GlobalCustomAttributePostApiModel} The populated <code>GlobalCustomAttributePostApiModel</code> instance.
5335
+ */
5336
+ static constructFromObject(data: Object, obj: module): module;
5337
+ /**
5338
+ * Validates the JSON data with respect to <code>GlobalCustomAttributePostApiModel</code>.
5339
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5340
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GlobalCustomAttributePostApiModel</code>.
5341
+ */
5342
+ static validateJSON(data: Object): boolean;
5343
+ }
5344
+ namespace GlobalCustomAttributePostApiModel {
5345
+ var RequiredProperties: string[];
5346
+ }
5347
+ export default GlobalCustomAttributePostApiModel;
5348
+
5349
+ }
5350
+ declare module 'adapters-api/model/GlobalCustomAttributeUpdateApiModel' {
5351
+ /**
5352
+ * API
5353
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5354
+ *
5355
+ * The version of the OpenAPI document: adapters
5356
+ *
5357
+ *
5358
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5359
+ * https://openapi-generator.tech
5360
+ * Do not edit the class manually.
5361
+ *
5362
+ */
5363
+ /**
5364
+ * The GlobalCustomAttributeUpdateApiModel model module.
5365
+ * @module model/GlobalCustomAttributeUpdateApiModel
5366
+ * @version 1.0.0
5367
+ */
5368
+ class GlobalCustomAttributeUpdateApiModel {
5369
+ /**
5370
+ * Constructs a new <code>GlobalCustomAttributeUpdateApiModel</code>.
5371
+ * @alias module:model/GlobalCustomAttributeUpdateApiModel
5372
+ * @param name {String} Name of attribute
5373
+ */
5374
+ constructor(name: string);
5375
+ /**
5376
+ * Initializes the fields of this object.
5377
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
5378
+ * Only for internal use.
5379
+ */
5380
+ static initialize(obj: any, name: any): void;
5381
+ /**
5382
+ * Constructs a <code>GlobalCustomAttributeUpdateApiModel</code> from a plain JavaScript object, optionally creating a new instance.
5383
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
5384
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5385
+ * @param {module:model/GlobalCustomAttributeUpdateApiModel} obj Optional instance to populate.
5386
+ * @return {module:model/GlobalCustomAttributeUpdateApiModel} The populated <code>GlobalCustomAttributeUpdateApiModel</code> instance.
5387
+ */
5388
+ static constructFromObject(data: Object, obj: module): module;
5389
+ /**
5390
+ * Validates the JSON data with respect to <code>GlobalCustomAttributeUpdateApiModel</code>.
5391
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5392
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>GlobalCustomAttributeUpdateApiModel</code>.
5393
+ */
5394
+ static validateJSON(data: Object): boolean;
5395
+ }
5396
+ namespace GlobalCustomAttributeUpdateApiModel {
5397
+ var RequiredProperties: string[];
5398
+ }
5399
+ export default GlobalCustomAttributeUpdateApiModel;
5400
+
4905
5401
  }
4906
5402
  declare module 'adapters-api/model/GuidExtractionModel' {
4907
5403
  /**
@@ -5346,6 +5842,162 @@ declare module 'adapters-api/model/LabelShortModel' {
5346
5842
  }
5347
5843
  export default LabelShortModel;
5348
5844
 
5845
+ }
5846
+ declare module 'adapters-api/model/LayerApiModel' {
5847
+ /**
5848
+ * API
5849
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5850
+ *
5851
+ * The version of the OpenAPI document: adapters
5852
+ *
5853
+ *
5854
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5855
+ * https://openapi-generator.tech
5856
+ * Do not edit the class manually.
5857
+ *
5858
+ */
5859
+ /**
5860
+ * The LayerApiModel model module.
5861
+ * @module model/LayerApiModel
5862
+ * @version 1.0.0
5863
+ */
5864
+ class LayerApiModel {
5865
+ /**
5866
+ * Constructs a new <code>LayerApiModel</code>.
5867
+ * Model of auto test layer for use in requests.
5868
+ * @alias module:model/LayerApiModel
5869
+ * @param name {String} Name of the test pyramid layer. Available layers: * Unit * Component * API * UI * E2E * Contract
5870
+ * @param source {module:model/LayerSource} Source of the test pyramid layer.
5871
+ */
5872
+ constructor(name: string, source: module);
5873
+ /**
5874
+ * Initializes the fields of this object.
5875
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
5876
+ * Only for internal use.
5877
+ */
5878
+ static initialize(obj: any, name: any, source: any): void;
5879
+ /**
5880
+ * Constructs a <code>LayerApiModel</code> from a plain JavaScript object, optionally creating a new instance.
5881
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
5882
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5883
+ * @param {module:model/LayerApiModel} obj Optional instance to populate.
5884
+ * @return {module:model/LayerApiModel} The populated <code>LayerApiModel</code> instance.
5885
+ */
5886
+ static constructFromObject(data: Object, obj: module): module;
5887
+ /**
5888
+ * Validates the JSON data with respect to <code>LayerApiModel</code>.
5889
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5890
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>LayerApiModel</code>.
5891
+ */
5892
+ static validateJSON(data: Object): boolean;
5893
+ }
5894
+ namespace LayerApiModel {
5895
+ var RequiredProperties: string[];
5896
+ }
5897
+ export default LayerApiModel;
5898
+
5899
+ }
5900
+ declare module 'adapters-api/model/LayerApiResult' {
5901
+ /**
5902
+ * API
5903
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5904
+ *
5905
+ * The version of the OpenAPI document: adapters
5906
+ *
5907
+ *
5908
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5909
+ * https://openapi-generator.tech
5910
+ * Do not edit the class manually.
5911
+ *
5912
+ */
5913
+ /**
5914
+ * The LayerApiResult model module.
5915
+ * @module model/LayerApiResult
5916
+ * @version 1.0.0
5917
+ */
5918
+ class LayerApiResult {
5919
+ /**
5920
+ * Constructs a new <code>LayerApiResult</code>.
5921
+ * Model of auto test layer for use in responses.
5922
+ * @alias module:model/LayerApiResult
5923
+ * @param name {String} Name of the test pyramid layer.
5924
+ * @param source {module:model/LayerSource} Source of the test pyramid layer.
5925
+ */
5926
+ constructor(name: string, source: module);
5927
+ /**
5928
+ * Initializes the fields of this object.
5929
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
5930
+ * Only for internal use.
5931
+ */
5932
+ static initialize(obj: any, name: any, source: any): void;
5933
+ /**
5934
+ * Constructs a <code>LayerApiResult</code> from a plain JavaScript object, optionally creating a new instance.
5935
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
5936
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5937
+ * @param {module:model/LayerApiResult} obj Optional instance to populate.
5938
+ * @return {module:model/LayerApiResult} The populated <code>LayerApiResult</code> instance.
5939
+ */
5940
+ static constructFromObject(data: Object, obj: module): module;
5941
+ /**
5942
+ * Validates the JSON data with respect to <code>LayerApiResult</code>.
5943
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
5944
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>LayerApiResult</code>.
5945
+ */
5946
+ static validateJSON(data: Object): boolean;
5947
+ }
5948
+ namespace LayerApiResult {
5949
+ var RequiredProperties: string[];
5950
+ }
5951
+ export default LayerApiResult;
5952
+
5953
+ }
5954
+ declare module 'adapters-api/model/LayerSource' {
5955
+ /**
5956
+ * API
5957
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5958
+ *
5959
+ * The version of the OpenAPI document: adapters
5960
+ *
5961
+ *
5962
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
5963
+ * https://openapi-generator.tech
5964
+ * Do not edit the class manually.
5965
+ *
5966
+ */
5967
+ /**
5968
+ * Enum class LayerSource.
5969
+ * @enum {}
5970
+ * @readonly
5971
+ */
5972
+ export default class LayerSource {
5973
+ /**
5974
+ * value: "Manual"
5975
+ * @const
5976
+ */
5977
+ "Manual": string;
5978
+ /**
5979
+ * value: "Report"
5980
+ * @const
5981
+ */
5982
+ "Report": string;
5983
+ /**
5984
+ * value: "Run"
5985
+ * @const
5986
+ */
5987
+ "Run": string;
5988
+ /**
5989
+ * value: "Rule"
5990
+ * @const
5991
+ */
5992
+ "Rule": string;
5993
+ /**
5994
+ * Returns a <code>LayerSource</code> enum value from a Javascript object name.
5995
+ * @param {Object} data The plain JavaScript object containing the name of the enum value.
5996
+ * @return {module:model/LayerSource} The enum <code>LayerSource</code> value.
5997
+ */
5998
+ static constructFromObject(object: any): module;
5999
+ }
6000
+
5349
6001
  }
5350
6002
  declare module 'adapters-api/model/LinkApiResult' {
5351
6003
  /**
@@ -6449,6 +7101,62 @@ declare module 'adapters-api/model/ProjectsFilterModel' {
6449
7101
  }
6450
7102
  export default ProjectsFilterModel;
6451
7103
 
7104
+ }
7105
+ declare module 'adapters-api/model/ProjectShortestApiResult' {
7106
+ /**
7107
+ * API
7108
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7109
+ *
7110
+ * The version of the OpenAPI document: adapters
7111
+ *
7112
+ *
7113
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
7114
+ * https://openapi-generator.tech
7115
+ * Do not edit the class manually.
7116
+ *
7117
+ */
7118
+ /**
7119
+ * The ProjectShortestApiResult model module.
7120
+ * @module model/ProjectShortestApiResult
7121
+ * @version 1.0.0
7122
+ */
7123
+ class ProjectShortestApiResult {
7124
+ /**
7125
+ * Constructs a new <code>ProjectShortestApiResult</code>.
7126
+ * @alias module:model/ProjectShortestApiResult
7127
+ * @param id {String} Unique ID of project
7128
+ * @param isDeleted {Boolean} Indicates whether the project is deleted
7129
+ * @param globalId {Number} Global ID of project
7130
+ * @param name {String} Name of project
7131
+ * @param type {module:model/ProjectTypeModel} Type of the project
7132
+ */
7133
+ constructor(id: string, isDeleted: boolean, globalId: number, name: string, type: module);
7134
+ /**
7135
+ * Initializes the fields of this object.
7136
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
7137
+ * Only for internal use.
7138
+ */
7139
+ static initialize(obj: any, id: any, isDeleted: any, globalId: any, name: any, type: any): void;
7140
+ /**
7141
+ * Constructs a <code>ProjectShortestApiResult</code> from a plain JavaScript object, optionally creating a new instance.
7142
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
7143
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
7144
+ * @param {module:model/ProjectShortestApiResult} obj Optional instance to populate.
7145
+ * @return {module:model/ProjectShortestApiResult} The populated <code>ProjectShortestApiResult</code> instance.
7146
+ */
7147
+ static constructFromObject(data: Object, obj: module): module;
7148
+ /**
7149
+ * Validates the JSON data with respect to <code>ProjectShortestApiResult</code>.
7150
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
7151
+ * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ProjectShortestApiResult</code>.
7152
+ */
7153
+ static validateJSON(data: Object): boolean;
7154
+ }
7155
+ namespace ProjectShortestApiResult {
7156
+ var RequiredProperties: string[];
7157
+ }
7158
+ export default ProjectShortestApiResult;
7159
+
6452
7160
  }
6453
7161
  declare module 'adapters-api/model/ProjectTypeModel' {
6454
7162
  /**
@@ -7259,6 +7967,7 @@ declare module 'adapters-api/model/TestResultShortResponse' {
7259
7967
  * @alias module:model/TestResultShortResponse
7260
7968
  * @param id {String} Unique ID of the test result
7261
7969
  * @param name {String} Name of autotest represented by the test result
7970
+ * @param autotestGlobalId {Number} Global ID of autotest represented by the test result
7262
7971
  * @param autoTestTags {Array.<String>} Tags of the autotest represented by the test result
7263
7972
  * @param testRunId {String} Unique ID of test run where the test result is located
7264
7973
  * @param configurationId {String} Unique ID of configuration which the test result uses
@@ -7269,13 +7978,13 @@ declare module 'adapters-api/model/TestResultShortResponse' {
7269
7978
  * @param attachments {Array.<module:model/AttachmentApiResult>} Collection of files attached to the test result
7270
7979
  * @param rerunCompletedCount {Number} Run count
7271
7980
  */
7272
- constructor(id: string, name: string, autoTestTags: Array<string>, testRunId: string, configurationId: string, configurationName: string, status: module, resultReasons: Array<any>, links: Array<any>, attachments: Array<any>, rerunCompletedCount: number);
7981
+ constructor(id: string, name: string, autotestGlobalId: number, autoTestTags: Array<string>, testRunId: string, configurationId: string, configurationName: string, status: module, resultReasons: Array<any>, links: Array<any>, attachments: Array<any>, rerunCompletedCount: number);
7273
7982
  /**
7274
7983
  * Initializes the fields of this object.
7275
7984
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
7276
7985
  * Only for internal use.
7277
7986
  */
7278
- static initialize(obj: any, id: any, name: any, autoTestTags: any, testRunId: any, configurationId: any, configurationName: any, status: any, resultReasons: any, links: any, attachments: any, rerunCompletedCount: any): void;
7987
+ static initialize(obj: any, id: any, name: any, autotestGlobalId: any, autoTestTags: any, testRunId: any, configurationId: any, configurationName: any, status: any, resultReasons: any, links: any, attachments: any, rerunCompletedCount: any): void;
7279
7988
  /**
7280
7989
  * Constructs a <code>TestResultShortResponse</code> from a plain JavaScript object, optionally creating a new instance.
7281
7990
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -7424,19 +8133,20 @@ declare module 'adapters-api/model/TestRunApiResult' {
7424
8133
  * @alias module:model/TestRunApiResult
7425
8134
  * @param id {String} Test run unique identifier
7426
8135
  * @param name {String} Test run name
8136
+ * @param projectId {String} Project unique identifier This property is used to link test run with project.
7427
8137
  * @param stateName {module:model/TestRunState} Test run state
7428
8138
  * @param status {module:model/TestStatusApiResult} Test run status
7429
8139
  * @param attachments {Array.<module:model/AttachmentApiResult>} Collection of attachments related to the test run
7430
8140
  * @param links {Array.<module:model/LinkApiResult>} Collection of links related to the test run
7431
8141
  * @param tags {Array.<String>} Collection of tags associated with the test run
7432
8142
  */
7433
- constructor(id: string, name: string, stateName: module, status: module, attachments: Array<any>, links: Array<any>, tags: Array<string>);
8143
+ constructor(id: string, name: string, projectId: string, stateName: module, status: module, attachments: Array<any>, links: Array<any>, tags: Array<string>);
7434
8144
  /**
7435
8145
  * Initializes the fields of this object.
7436
8146
  * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
7437
8147
  * Only for internal use.
7438
8148
  */
7439
- static initialize(obj: any, id: any, name: any, stateName: any, status: any, attachments: any, links: any, tags: any): void;
8149
+ static initialize(obj: any, id: any, name: any, projectId: any, stateName: any, status: any, attachments: any, links: any, tags: any): void;
7440
8150
  /**
7441
8151
  * Constructs a <code>TestRunApiResult</code> from a plain JavaScript object, optionally creating a new instance.
7442
8152
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.