@arrowsphere/api-client 3.38.0 → 3.39.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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.39.0] - 2023-06-20
7
+
8
+ ### Changed
9
+
10
+ - Update security score queries fields
11
+
6
12
  ## [3.38.0] - 2023-06-19
7
13
 
8
14
  ### Changed
@@ -1,10 +1,8 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, FilterType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
2
+ import { ChecksAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
4
  export declare enum GetCustomerAccountDataFields {
5
- COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
6
5
  COLUMN_CHECKS_AGG = "checksAgg",
7
- COLUMN_FILTERS = "filters",
8
6
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
9
7
  COLUMN_PAGINATION = "pagination",
10
8
  COLUMN_PERIOD = "period",
@@ -15,9 +13,7 @@ export declare enum GetCustomerAccountDataFields {
15
13
  COLUMN_STANDARDS = "standards"
16
14
  }
17
15
  export declare type GetCustomerAccountDataType = {
18
- [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
19
16
  [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
20
- [GetCustomerAccountDataFields.COLUMN_FILTERS]?: FilterType[];
21
17
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
22
18
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationsType;
23
19
  [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsType;
@@ -33,9 +29,7 @@ export declare type GetCustomerAccountDataGraphQLResultType = {
33
29
  export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAccountDataType> {
34
30
  #private;
35
31
  constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
36
- get avgCurrentScore(): number | undefined;
37
32
  get checksAgg(): ChecksAggType | undefined;
38
- get filters(): FilterType[] | undefined;
39
33
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
40
34
  get pagination(): PaginationsType | undefined;
41
35
  get period(): PeriodsType | undefined;
@@ -10,16 +10,14 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetCustomerAccountData_avgCurrentScore, _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_filters, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_pagination, _GetCustomerAccountData_period, _GetCustomerAccountData_results, _GetCustomerAccountData_scoresAgg, _GetCustomerAccountData_severitiesAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
13
+ var _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_pagination, _GetCustomerAccountData_period, _GetCustomerAccountData_results, _GetCustomerAccountData_scoresAgg, _GetCustomerAccountData_severitiesAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerAccountData = exports.GetCustomerAccountDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
17
17
  const queryArguments_1 = require("../types/queryArguments");
18
18
  var GetCustomerAccountDataFields;
19
19
  (function (GetCustomerAccountDataFields) {
20
- GetCustomerAccountDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
21
20
  GetCustomerAccountDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
22
- GetCustomerAccountDataFields["COLUMN_FILTERS"] = "filters";
23
21
  GetCustomerAccountDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
24
22
  GetCustomerAccountDataFields["COLUMN_PAGINATION"] = "pagination";
25
23
  GetCustomerAccountDataFields["COLUMN_PERIOD"] = "period";
@@ -32,9 +30,7 @@ var GetCustomerAccountDataFields;
32
30
  class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
33
31
  constructor(getCustomerAccountDataInput) {
34
32
  super(getCustomerAccountDataInput);
35
- _GetCustomerAccountData_avgCurrentScore.set(this, void 0);
36
33
  _GetCustomerAccountData_checksAgg.set(this, void 0);
37
- _GetCustomerAccountData_filters.set(this, void 0);
38
34
  _GetCustomerAccountData_monthlyTrendAgg.set(this, void 0);
39
35
  _GetCustomerAccountData_pagination.set(this, void 0);
40
36
  _GetCustomerAccountData_period.set(this, void 0);
@@ -43,9 +39,7 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
43
39
  _GetCustomerAccountData_severitiesAgg.set(this, void 0);
44
40
  _GetCustomerAccountData_standardsAgg.set(this, void 0);
45
41
  _GetCustomerAccountData_standards.set(this, void 0);
46
- __classPrivateFieldSet(this, _GetCustomerAccountData_avgCurrentScore, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
47
42
  __classPrivateFieldSet(this, _GetCustomerAccountData_checksAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_CHECKS_AGG], "f");
48
- __classPrivateFieldSet(this, _GetCustomerAccountData_filters, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_FILTERS], "f");
49
43
  __classPrivateFieldSet(this, _GetCustomerAccountData_monthlyTrendAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
50
44
  __classPrivateFieldSet(this, _GetCustomerAccountData_pagination, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PAGINATION], "f");
51
45
  __classPrivateFieldSet(this, _GetCustomerAccountData_period, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PERIOD], "f");
@@ -55,15 +49,9 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
55
49
  __classPrivateFieldSet(this, _GetCustomerAccountData_standardsAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG], "f");
56
50
  __classPrivateFieldSet(this, _GetCustomerAccountData_standards, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS], "f");
57
51
  }
58
- get avgCurrentScore() {
59
- return __classPrivateFieldGet(this, _GetCustomerAccountData_avgCurrentScore, "f");
60
- }
61
52
  get checksAgg() {
62
53
  return __classPrivateFieldGet(this, _GetCustomerAccountData_checksAgg, "f");
63
54
  }
64
- get filters() {
65
- return __classPrivateFieldGet(this, _GetCustomerAccountData_filters, "f");
66
- }
67
55
  get monthlyTrendAgg() {
68
56
  return __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f");
69
57
  }
@@ -90,10 +78,7 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
90
78
  }
91
79
  toJSON() {
92
80
  return {
93
- [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]: this
94
- .avgCurrentScore,
95
81
  [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
96
- [GetCustomerAccountDataFields.COLUMN_FILTERS]: this.filters,
97
82
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]: this
98
83
  .monthlyTrendAgg,
99
84
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]: this.pagination,
@@ -107,5 +92,5 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
107
92
  }
108
93
  }
109
94
  exports.GetCustomerAccountData = GetCustomerAccountData;
110
- _GetCustomerAccountData_avgCurrentScore = new WeakMap(), _GetCustomerAccountData_checksAgg = new WeakMap(), _GetCustomerAccountData_filters = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_pagination = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_results = new WeakMap(), _GetCustomerAccountData_scoresAgg = new WeakMap(), _GetCustomerAccountData_severitiesAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
95
+ _GetCustomerAccountData_checksAgg = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_pagination = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_results = new WeakMap(), _GetCustomerAccountData_scoresAgg = new WeakMap(), _GetCustomerAccountData_severitiesAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
111
96
  //# sourceMappingURL=getCustomerAccountData.js.map
@@ -1,11 +1,9 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { AccountsAggType, FilterType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, PaginationsType, PeriodsType, ChecksAggType, ScoresAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
2
+ import { AccountsAggType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, PaginationsType, PeriodsType, ChecksAggType, ScoresAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
4
  export declare enum GetCustomerDataFields {
5
5
  COLUMN_ACCOUNTS_AGG = "accountsAgg",
6
- COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
7
6
  COLUMN_CHECKS_AGG = "checksAgg",
8
- COLUMN_FILTERS = "filters",
9
7
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
10
8
  COLUMN_PAGINATION = "pagination",
11
9
  COLUMN_PERIOD = "period",
@@ -17,9 +15,7 @@ export declare enum GetCustomerDataFields {
17
15
  }
18
16
  export declare type GetCustomerDataType = {
19
17
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
20
- [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
21
18
  [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
22
- [GetCustomerDataFields.COLUMN_FILTERS]?: FilterType[];
23
19
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
24
20
  [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationsType;
25
21
  [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsType;
@@ -36,9 +32,7 @@ export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType>
36
32
  #private;
37
33
  constructor(getCustomerDataInput: GetCustomerDataType);
38
34
  get accountsAgg(): AccountsAggType | undefined;
39
- get avgCurrentScore(): number | undefined;
40
35
  get checksAgg(): ChecksAggType | undefined;
41
- get filters(): FilterType[] | undefined;
42
36
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
43
37
  get pagination(): PaginationsType | undefined;
44
38
  get period(): PeriodsType | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetCustomerData_accountsAgg, _GetCustomerData_avgCurrentScore, _GetCustomerData_checksAgg, _GetCustomerData_filters, _GetCustomerData_monthlyTrendAgg, _GetCustomerData_pagination, _GetCustomerData_period, _GetCustomerData_results, _GetCustomerData_scoresAgg, _GetCustomerData_severitiesAgg, _GetCustomerData_standards, _GetCustomerData_subscriptionReferences;
13
+ var _GetCustomerData_accountsAgg, _GetCustomerData_checksAgg, _GetCustomerData_monthlyTrendAgg, _GetCustomerData_pagination, _GetCustomerData_period, _GetCustomerData_results, _GetCustomerData_scoresAgg, _GetCustomerData_severitiesAgg, _GetCustomerData_standards, _GetCustomerData_subscriptionReferences;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerData = exports.GetCustomerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -18,9 +18,7 @@ const queryArguments_1 = require("../types/queryArguments");
18
18
  var GetCustomerDataFields;
19
19
  (function (GetCustomerDataFields) {
20
20
  GetCustomerDataFields["COLUMN_ACCOUNTS_AGG"] = "accountsAgg";
21
- GetCustomerDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
22
21
  GetCustomerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
23
- GetCustomerDataFields["COLUMN_FILTERS"] = "filters";
24
22
  GetCustomerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
25
23
  GetCustomerDataFields["COLUMN_PAGINATION"] = "pagination";
26
24
  GetCustomerDataFields["COLUMN_PERIOD"] = "period";
@@ -34,9 +32,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
34
32
  constructor(getCustomerDataInput) {
35
33
  super(getCustomerDataInput);
36
34
  _GetCustomerData_accountsAgg.set(this, void 0);
37
- _GetCustomerData_avgCurrentScore.set(this, void 0);
38
35
  _GetCustomerData_checksAgg.set(this, void 0);
39
- _GetCustomerData_filters.set(this, void 0);
40
36
  _GetCustomerData_monthlyTrendAgg.set(this, void 0);
41
37
  _GetCustomerData_pagination.set(this, void 0);
42
38
  _GetCustomerData_period.set(this, void 0);
@@ -46,9 +42,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
46
42
  _GetCustomerData_standards.set(this, void 0);
47
43
  _GetCustomerData_subscriptionReferences.set(this, void 0);
48
44
  __classPrivateFieldSet(this, _GetCustomerData_accountsAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_ACCOUNTS_AGG], "f");
49
- __classPrivateFieldSet(this, _GetCustomerData_avgCurrentScore, getCustomerDataInput[GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
50
45
  __classPrivateFieldSet(this, _GetCustomerData_checksAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_CHECKS_AGG], "f");
51
- __classPrivateFieldSet(this, _GetCustomerData_filters, getCustomerDataInput[GetCustomerDataFields.COLUMN_FILTERS], "f");
52
46
  __classPrivateFieldSet(this, _GetCustomerData_monthlyTrendAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
53
47
  __classPrivateFieldSet(this, _GetCustomerData_pagination, getCustomerDataInput[GetCustomerDataFields.COLUMN_PAGINATION], "f");
54
48
  __classPrivateFieldSet(this, _GetCustomerData_period, getCustomerDataInput[GetCustomerDataFields.COLUMN_PERIOD], "f");
@@ -61,15 +55,9 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
61
55
  get accountsAgg() {
62
56
  return __classPrivateFieldGet(this, _GetCustomerData_accountsAgg, "f");
63
57
  }
64
- get avgCurrentScore() {
65
- return __classPrivateFieldGet(this, _GetCustomerData_avgCurrentScore, "f");
66
- }
67
58
  get checksAgg() {
68
59
  return __classPrivateFieldGet(this, _GetCustomerData_checksAgg, "f");
69
60
  }
70
- get filters() {
71
- return __classPrivateFieldGet(this, _GetCustomerData_filters, "f");
72
- }
73
61
  get monthlyTrendAgg() {
74
62
  return __classPrivateFieldGet(this, _GetCustomerData_monthlyTrendAgg, "f");
75
63
  }
@@ -97,9 +85,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
97
85
  toJSON() {
98
86
  return {
99
87
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]: this.accountsAgg,
100
- [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]: this.avgCurrentScore,
101
88
  [GetCustomerDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
102
- [GetCustomerDataFields.COLUMN_FILTERS]: this.filters,
103
89
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
104
90
  [GetCustomerDataFields.COLUMN_PAGINATION]: this.pagination,
105
91
  [GetCustomerDataFields.COLUMN_PERIOD]: this.period,
@@ -113,5 +99,5 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
113
99
  }
114
100
  }
115
101
  exports.GetCustomerData = GetCustomerData;
116
- _GetCustomerData_accountsAgg = new WeakMap(), _GetCustomerData_avgCurrentScore = new WeakMap(), _GetCustomerData_checksAgg = new WeakMap(), _GetCustomerData_filters = new WeakMap(), _GetCustomerData_monthlyTrendAgg = new WeakMap(), _GetCustomerData_pagination = new WeakMap(), _GetCustomerData_period = new WeakMap(), _GetCustomerData_results = new WeakMap(), _GetCustomerData_scoresAgg = new WeakMap(), _GetCustomerData_severitiesAgg = new WeakMap(), _GetCustomerData_standards = new WeakMap(), _GetCustomerData_subscriptionReferences = new WeakMap();
102
+ _GetCustomerData_accountsAgg = new WeakMap(), _GetCustomerData_checksAgg = new WeakMap(), _GetCustomerData_monthlyTrendAgg = new WeakMap(), _GetCustomerData_pagination = new WeakMap(), _GetCustomerData_period = new WeakMap(), _GetCustomerData_results = new WeakMap(), _GetCustomerData_scoresAgg = new WeakMap(), _GetCustomerData_severitiesAgg = new WeakMap(), _GetCustomerData_standards = new WeakMap(), _GetCustomerData_subscriptionReferences = new WeakMap();
117
103
  //# sourceMappingURL=getCustomerData.js.map
@@ -1,11 +1,9 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, EndCustomersAggType, FilterType, MarketplacesAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/securityScoreGraphQLTypes';
2
+ import { ChecksAggType, EndCustomersAggType, MarketplacesAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
4
  export declare enum GetPartnerDataFields {
5
- COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
6
5
  COLUMN_CHECKS_AGG = "checksAgg",
7
6
  COLUMN_END_CUSTOMERS_AGG = "endCustomersAgg",
8
- COLUMN_FILTERS = "filters",
9
7
  COLUMN_MARKETPLACES_AGG = "marketplacesAgg",
10
8
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
11
9
  COLUMN_PAGINATION = "pagination",
@@ -15,10 +13,8 @@ export declare enum GetPartnerDataFields {
15
13
  COLUMN_SEVERITIES_AGG = "severitiesAgg"
16
14
  }
17
15
  export declare type GetPartnerDataType = {
18
- [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
19
16
  [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
20
17
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggType;
21
- [GetPartnerDataFields.COLUMN_FILTERS]?: FilterType[];
22
18
  [GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggType;
23
19
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
24
20
  [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationsType;
@@ -33,10 +29,8 @@ export declare type GetPartnerDataGraphQLResultType = {
33
29
  export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
34
30
  #private;
35
31
  constructor(getPartnerDataInput: GetPartnerDataType);
36
- get avgCurrentScore(): number | undefined;
37
32
  get checksAgg(): ChecksAggType | undefined;
38
33
  get endCustomersAgg(): EndCustomersAggType | undefined;
39
- get filters(): FilterType[] | undefined;
40
34
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
41
35
  get marketplacesAgg(): MarketplacesAggType | undefined;
42
36
  get period(): PeriodsType | undefined;
@@ -10,17 +10,15 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetPartnerData_avgCurrentScore, _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_filters, _GetPartnerData_marketplacesAgg, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
13
+ var _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_marketplacesAgg, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetPartnerData = exports.GetPartnerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
17
17
  const queryArguments_1 = require("../types/queryArguments");
18
18
  var GetPartnerDataFields;
19
19
  (function (GetPartnerDataFields) {
20
- GetPartnerDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
21
20
  GetPartnerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
22
21
  GetPartnerDataFields["COLUMN_END_CUSTOMERS_AGG"] = "endCustomersAgg";
23
- GetPartnerDataFields["COLUMN_FILTERS"] = "filters";
24
22
  GetPartnerDataFields["COLUMN_MARKETPLACES_AGG"] = "marketplacesAgg";
25
23
  GetPartnerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
26
24
  GetPartnerDataFields["COLUMN_PAGINATION"] = "pagination";
@@ -32,10 +30,8 @@ var GetPartnerDataFields;
32
30
  class GetPartnerData extends abstractEntity_1.AbstractEntity {
33
31
  constructor(getPartnerDataInput) {
34
32
  super(getPartnerDataInput);
35
- _GetPartnerData_avgCurrentScore.set(this, void 0);
36
33
  _GetPartnerData_checksAgg.set(this, void 0);
37
34
  _GetPartnerData_endCustomersAgg.set(this, void 0);
38
- _GetPartnerData_filters.set(this, void 0);
39
35
  _GetPartnerData_marketplacesAgg.set(this, void 0);
40
36
  _GetPartnerData_monthlyTrendAgg.set(this, void 0);
41
37
  _GetPartnerData_period.set(this, void 0);
@@ -43,10 +39,8 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
43
39
  _GetPartnerData_results.set(this, void 0);
44
40
  _GetPartnerData_scoresAgg.set(this, void 0);
45
41
  _GetPartnerData_severitiesAgg.set(this, void 0);
46
- __classPrivateFieldSet(this, _GetPartnerData_avgCurrentScore, getPartnerDataInput[GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
47
42
  __classPrivateFieldSet(this, _GetPartnerData_checksAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_CHECKS_AGG], "f");
48
43
  __classPrivateFieldSet(this, _GetPartnerData_endCustomersAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG], "f");
49
- __classPrivateFieldSet(this, _GetPartnerData_filters, getPartnerDataInput[GetPartnerDataFields.COLUMN_FILTERS], "f");
50
44
  __classPrivateFieldSet(this, _GetPartnerData_marketplacesAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG], "f");
51
45
  __classPrivateFieldSet(this, _GetPartnerData_monthlyTrendAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
52
46
  __classPrivateFieldSet(this, _GetPartnerData_period, getPartnerDataInput[GetPartnerDataFields.COLUMN_PERIOD], "f");
@@ -55,18 +49,12 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
55
49
  __classPrivateFieldSet(this, _GetPartnerData_scoresAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SCORES_AGG], "f");
56
50
  __classPrivateFieldSet(this, _GetPartnerData_severitiesAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SEVERITIES_AGG], "f");
57
51
  }
58
- get avgCurrentScore() {
59
- return __classPrivateFieldGet(this, _GetPartnerData_avgCurrentScore, "f");
60
- }
61
52
  get checksAgg() {
62
53
  return __classPrivateFieldGet(this, _GetPartnerData_checksAgg, "f");
63
54
  }
64
55
  get endCustomersAgg() {
65
56
  return __classPrivateFieldGet(this, _GetPartnerData_endCustomersAgg, "f");
66
57
  }
67
- get filters() {
68
- return __classPrivateFieldGet(this, _GetPartnerData_filters, "f");
69
- }
70
58
  get monthlyTrendAgg() {
71
59
  return __classPrivateFieldGet(this, _GetPartnerData_monthlyTrendAgg, "f");
72
60
  }
@@ -90,10 +78,8 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
90
78
  }
91
79
  toJSON() {
92
80
  return {
93
- [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]: this.avgCurrentScore,
94
81
  [GetPartnerDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
95
82
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]: this.endCustomersAgg,
96
- [GetPartnerDataFields.COLUMN_FILTERS]: this.filters,
97
83
  [GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]: this.marketplacesAgg,
98
84
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
99
85
  [GetPartnerDataFields.COLUMN_PERIOD]: this.period,
@@ -105,5 +91,5 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
105
91
  }
106
92
  }
107
93
  exports.GetPartnerData = GetPartnerData;
108
- _GetPartnerData_avgCurrentScore = new WeakMap(), _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_filters = new WeakMap(), _GetPartnerData_marketplacesAgg = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_period = new WeakMap(), _GetPartnerData_pagination = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_scoresAgg = new WeakMap(), _GetPartnerData_severitiesAgg = new WeakMap();
94
+ _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_marketplacesAgg = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_period = new WeakMap(), _GetPartnerData_pagination = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_scoresAgg = new WeakMap(), _GetPartnerData_severitiesAgg = new WeakMap();
109
95
  //# sourceMappingURL=getPartnerData.js.map
@@ -1,5 +1,5 @@
1
1
  import { SearchBodyArgument, PaginateArgument, SecurityScoreQueries } from './queryArguments';
2
- import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, FilterSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardWithCheckSchema, MarketplacesAggSchema } from './securityScoreGraphQLSchemas';
2
+ import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardWithCheckSchema, MarketplacesAggSchema } from './securityScoreGraphQLSchemas';
3
3
  import { GetPartnerDataFields } from '../entities/getPartnerData';
4
4
  import { GetCustomerDataFields } from '../entities/getCustomerData';
5
5
  import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
@@ -9,10 +9,8 @@ export declare type GetPartnerDataQuery = {
9
9
  searchBody?: SearchBodyArgument;
10
10
  paginate?: PaginateArgument;
11
11
  };
12
- [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
13
12
  [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
14
13
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggSchema;
15
- [GetPartnerDataFields.COLUMN_FILTERS]?: FilterSchema;
16
14
  [GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggSchema;
17
15
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
18
16
  [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
@@ -29,9 +27,7 @@ export declare type GetCustomerDataQuery = {
29
27
  paginate?: PaginateArgument;
30
28
  };
31
29
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggSchema;
32
- [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
33
30
  [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
34
- [GetCustomerDataFields.COLUMN_FILTERS]?: FilterSchema;
35
31
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
36
32
  [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
37
33
  [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
@@ -48,9 +44,7 @@ export declare type GetCustomerAccountDataQuery = {
48
44
  searchBody?: SearchBodyArgument;
49
45
  paginate?: PaginateArgument;
50
46
  };
51
- [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
52
47
  [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
53
- [GetCustomerAccountDataFields.COLUMN_FILTERS]?: FilterSchema;
54
48
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
55
49
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationSchema;
56
50
  [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsSchema;
@@ -45,8 +45,10 @@ export declare type CheckType = {
45
45
  severity?: string;
46
46
  };
47
47
  export declare type StandardType = {
48
+ currentScore?: number;
48
49
  checks?: CheckType[];
49
50
  failed?: number;
51
+ maxScore?: number;
50
52
  name?: string;
51
53
  passed?: number;
52
54
  reference?: string;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.38.0",
7
+ "version": "3.39.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",