@arrowsphere/api-client 3.29.0-rc.jpb.1 → 3.29.0-rc.jpb.3

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.
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.AbstractClient = exports.ExtraInformationFields = exports.ParameterKeys = void 0;
7
7
  const exception_1 = require("./exception");
8
8
  const querystring_1 = __importDefault(require("querystring"));
9
- const url_1 = require("url");
10
9
  const path_1 = __importDefault(require("path"));
11
10
  const axiosSingleton_1 = require("./axiosSingleton");
12
11
  const AbstractHttpClient_1 = require("./AbstractHttpClient");
@@ -212,7 +211,7 @@ class AbstractClient extends AbstractHttpClient_1.AbstractHttpClient {
212
211
  */
213
212
  generateUrl(parameters, options) {
214
213
  const params = { ...parameters, ...this.generatePagination() };
215
- const url = new url_1.URL(`${options.isAdmin ? path_1.default.join('admin', this.basePath) : this.basePath}${this.path}`, this.url);
214
+ const url = new URL(`${options.isAdmin ? path_1.default.join('admin', this.basePath) : this.basePath}${this.path}`, this.url);
216
215
  if (Object.values(params).length) {
217
216
  url.search = querystring_1.default.stringify(params);
218
217
  }
@@ -1,6 +1,6 @@
1
1
  export declare class PublicApiClientException extends Error {
2
2
  httpCode: number;
3
3
  httpError: string;
4
- config: any;
4
+ config?: any;
5
5
  constructor(message: string, httpError?: string, httpCode?: number, config?: {});
6
6
  }
@@ -167,6 +167,7 @@ class LicensesClient extends abstractClient_1.AbstractClient {
167
167
  */
168
168
  findRaw(postData = {}, parameters = {}) {
169
169
  this.path = this.FIND_PATH;
170
+ console.log({ parameters });
170
171
  return this.post(postData, parameters);
171
172
  }
172
173
  /**
@@ -1,29 +1,31 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { CheckByStandardType, FilterType, ScoreResultType, MonthlyTrendAggType, IssuesAggType, SeveritiesAggType, PeriodsType, StandardType, StandardsAggType } from '../types/securityScoreGraphQLTypes';
2
+ import { ChecksAggType, FilterType, 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
5
  COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
6
- COLUMN_CHECKS = "checks",
6
+ COLUMN_CHECKS_AGG = "checksAgg",
7
7
  COLUMN_FILTERS = "filters",
8
- COLUMN_ISSUE_AGG = "issueAgg",
9
8
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
9
+ COLUMN_PAGINATION = "pagination",
10
10
  COLUMN_PERIOD = "period",
11
- COLUMN_RESULT = "result",
12
- COLUMN_SEVERITY_AGG = "severityAgg",
11
+ COLUMN_RESULTS = "results",
12
+ COLUMN_SCORES_AGG = "scoresAgg",
13
+ COLUMN_SEVERITIES_AGG = "severitiesAgg",
13
14
  COLUMN_STANDARDS_AGG = "standardsAgg",
14
15
  COLUMN_STANDARDS = "standards"
15
16
  }
16
17
  export declare type GetCustomerAccountDataType = {
17
18
  [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
18
- [GetCustomerAccountDataFields.COLUMN_CHECKS]?: [CheckByStandardType];
19
+ [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
19
20
  [GetCustomerAccountDataFields.COLUMN_FILTERS]?: [FilterType];
20
- [GetCustomerAccountDataFields.COLUMN_ISSUE_AGG]?: IssuesAggType;
21
21
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
22
+ [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationsType;
22
23
  [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsType;
23
- [GetCustomerAccountDataFields.COLUMN_RESULT]?: ScoreResultType;
24
- [GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggType;
24
+ [GetCustomerAccountDataFields.COLUMN_RESULTS]?: [ScoreResultType];
25
+ [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
26
+ [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
27
  [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggType;
26
- [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: [StandardType];
28
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: [StandardWithCheckType];
27
29
  };
28
30
  export declare type GetCustomerAccountDataGraphQLResultType = {
29
31
  [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: GetCustomerAccountDataType;
@@ -32,13 +34,15 @@ export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAc
32
34
  #private;
33
35
  constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
34
36
  get avgCurrentScore(): number | undefined;
35
- get checks(): [CheckByStandardType] | undefined;
37
+ get checksAgg(): ChecksAggType | undefined;
36
38
  get filters(): [FilterType] | undefined;
37
- get issueAgg(): IssuesAggType | undefined;
38
39
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
40
+ get pagination(): PaginationsType | undefined;
39
41
  get period(): PeriodsType | undefined;
40
- get result(): ScoreResultType | undefined;
42
+ get scoresAgg(): ScoresAggType | undefined;
43
+ get results(): [ScoreResultType] | undefined;
44
+ get severitiesAgg(): SeveritiesAggType | undefined;
41
45
  get standardsAgg(): StandardsAggType | undefined;
42
- get standards(): [StandardType] | undefined;
46
+ get standards(): [StandardWithCheckType] | undefined;
43
47
  toJSON(): GetCustomerAccountDataType;
44
48
  }
@@ -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 _GetCustomerAccountData_avgCurrentScore, _GetCustomerAccountData_checks, _GetCustomerAccountData_filters, _GetCustomerAccountData_issueAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_period, _GetCustomerAccountData_result, _GetCustomerAccountData_severityAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
13
+ var _GetCustomerAccountData_avgCurrentScore, _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_filters, _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");
@@ -18,13 +18,14 @@ const queryArguments_1 = require("../types/queryArguments");
18
18
  var GetCustomerAccountDataFields;
19
19
  (function (GetCustomerAccountDataFields) {
20
20
  GetCustomerAccountDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
21
- GetCustomerAccountDataFields["COLUMN_CHECKS"] = "checks";
21
+ GetCustomerAccountDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
22
22
  GetCustomerAccountDataFields["COLUMN_FILTERS"] = "filters";
23
- GetCustomerAccountDataFields["COLUMN_ISSUE_AGG"] = "issueAgg";
24
23
  GetCustomerAccountDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
24
+ GetCustomerAccountDataFields["COLUMN_PAGINATION"] = "pagination";
25
25
  GetCustomerAccountDataFields["COLUMN_PERIOD"] = "period";
26
- GetCustomerAccountDataFields["COLUMN_RESULT"] = "result";
27
- GetCustomerAccountDataFields["COLUMN_SEVERITY_AGG"] = "severityAgg";
26
+ GetCustomerAccountDataFields["COLUMN_RESULTS"] = "results";
27
+ GetCustomerAccountDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
+ GetCustomerAccountDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
28
29
  GetCustomerAccountDataFields["COLUMN_STANDARDS_AGG"] = "standardsAgg";
29
30
  GetCustomerAccountDataFields["COLUMN_STANDARDS"] = "standards";
30
31
  })(GetCustomerAccountDataFields = exports.GetCustomerAccountDataFields || (exports.GetCustomerAccountDataFields = {}));
@@ -32,46 +33,54 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
32
33
  constructor(getCustomerAccountDataInput) {
33
34
  super(getCustomerAccountDataInput);
34
35
  _GetCustomerAccountData_avgCurrentScore.set(this, void 0);
35
- _GetCustomerAccountData_checks.set(this, void 0);
36
+ _GetCustomerAccountData_checksAgg.set(this, void 0);
36
37
  _GetCustomerAccountData_filters.set(this, void 0);
37
- _GetCustomerAccountData_issueAgg.set(this, void 0);
38
38
  _GetCustomerAccountData_monthlyTrendAgg.set(this, void 0);
39
+ _GetCustomerAccountData_pagination.set(this, void 0);
39
40
  _GetCustomerAccountData_period.set(this, void 0);
40
- _GetCustomerAccountData_result.set(this, void 0);
41
- _GetCustomerAccountData_severityAgg.set(this, void 0);
41
+ _GetCustomerAccountData_results.set(this, void 0);
42
+ _GetCustomerAccountData_scoresAgg.set(this, void 0);
43
+ _GetCustomerAccountData_severitiesAgg.set(this, void 0);
42
44
  _GetCustomerAccountData_standardsAgg.set(this, void 0);
43
45
  _GetCustomerAccountData_standards.set(this, void 0);
44
46
  __classPrivateFieldSet(this, _GetCustomerAccountData_avgCurrentScore, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
45
- __classPrivateFieldSet(this, _GetCustomerAccountData_checks, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_CHECKS], "f");
47
+ __classPrivateFieldSet(this, _GetCustomerAccountData_checksAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_CHECKS_AGG], "f");
46
48
  __classPrivateFieldSet(this, _GetCustomerAccountData_filters, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_FILTERS], "f");
47
- __classPrivateFieldSet(this, _GetCustomerAccountData_issueAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_ISSUE_AGG], "f");
48
49
  __classPrivateFieldSet(this, _GetCustomerAccountData_monthlyTrendAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
50
+ __classPrivateFieldSet(this, _GetCustomerAccountData_pagination, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PAGINATION], "f");
49
51
  __classPrivateFieldSet(this, _GetCustomerAccountData_period, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PERIOD], "f");
50
- __classPrivateFieldSet(this, _GetCustomerAccountData_result, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_RESULT], "f");
51
- __classPrivateFieldSet(this, _GetCustomerAccountData_severityAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG], "f");
52
+ __classPrivateFieldSet(this, _GetCustomerAccountData_results, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_RESULTS], "f");
53
+ __classPrivateFieldSet(this, _GetCustomerAccountData_scoresAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SCORES_AGG], "f");
54
+ __classPrivateFieldSet(this, _GetCustomerAccountData_severitiesAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG], "f");
52
55
  __classPrivateFieldSet(this, _GetCustomerAccountData_standardsAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG], "f");
53
56
  __classPrivateFieldSet(this, _GetCustomerAccountData_standards, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS], "f");
54
57
  }
55
58
  get avgCurrentScore() {
56
59
  return __classPrivateFieldGet(this, _GetCustomerAccountData_avgCurrentScore, "f");
57
60
  }
58
- get checks() {
59
- return __classPrivateFieldGet(this, _GetCustomerAccountData_checks, "f");
61
+ get checksAgg() {
62
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_checksAgg, "f");
60
63
  }
61
64
  get filters() {
62
65
  return __classPrivateFieldGet(this, _GetCustomerAccountData_filters, "f");
63
66
  }
64
- get issueAgg() {
65
- return __classPrivateFieldGet(this, _GetCustomerAccountData_issueAgg, "f");
66
- }
67
67
  get monthlyTrendAgg() {
68
68
  return __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f");
69
69
  }
70
+ get pagination() {
71
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_pagination, "f");
72
+ }
70
73
  get period() {
71
74
  return __classPrivateFieldGet(this, _GetCustomerAccountData_period, "f");
72
75
  }
73
- get result() {
74
- return __classPrivateFieldGet(this, _GetCustomerAccountData_result, "f");
76
+ get scoresAgg() {
77
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_scoresAgg, "f");
78
+ }
79
+ get results() {
80
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_results, "f");
81
+ }
82
+ get severitiesAgg() {
83
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_severitiesAgg, "f");
75
84
  }
76
85
  get standardsAgg() {
77
86
  return __classPrivateFieldGet(this, _GetCustomerAccountData_standardsAgg, "f");
@@ -81,19 +90,22 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
81
90
  }
82
91
  toJSON() {
83
92
  return {
84
- [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]: __classPrivateFieldGet(this, _GetCustomerAccountData_avgCurrentScore, "f"),
85
- [GetCustomerAccountDataFields.COLUMN_CHECKS]: __classPrivateFieldGet(this, _GetCustomerAccountData_checks, "f"),
86
- [GetCustomerAccountDataFields.COLUMN_FILTERS]: __classPrivateFieldGet(this, _GetCustomerAccountData_filters, "f"),
87
- [GetCustomerAccountDataFields.COLUMN_ISSUE_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_issueAgg, "f"),
88
- [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f"),
89
- [GetCustomerAccountDataFields.COLUMN_PERIOD]: __classPrivateFieldGet(this, _GetCustomerAccountData_period, "f"),
90
- [GetCustomerAccountDataFields.COLUMN_RESULT]: __classPrivateFieldGet(this, _GetCustomerAccountData_result, "f"),
91
- [GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_severityAgg, "f"),
92
- [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]: __classPrivateFieldGet(this, _GetCustomerAccountData_standardsAgg, "f"),
93
- [GetCustomerAccountDataFields.COLUMN_STANDARDS]: __classPrivateFieldGet(this, _GetCustomerAccountData_standards, "f"),
93
+ [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]: this
94
+ .avgCurrentScore,
95
+ [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
96
+ [GetCustomerAccountDataFields.COLUMN_FILTERS]: this.filters,
97
+ [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]: this
98
+ .monthlyTrendAgg,
99
+ [GetCustomerAccountDataFields.COLUMN_PAGINATION]: this.pagination,
100
+ [GetCustomerAccountDataFields.COLUMN_PERIOD]: this.period,
101
+ [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
102
+ [GetCustomerAccountDataFields.COLUMN_RESULTS]: this.results,
103
+ [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
104
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]: this.standardsAgg,
105
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]: this.standards,
94
106
  };
95
107
  }
96
108
  }
97
109
  exports.GetCustomerAccountData = GetCustomerAccountData;
98
- _GetCustomerAccountData_avgCurrentScore = new WeakMap(), _GetCustomerAccountData_checks = new WeakMap(), _GetCustomerAccountData_filters = new WeakMap(), _GetCustomerAccountData_issueAgg = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_result = new WeakMap(), _GetCustomerAccountData_severityAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
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();
99
111
  //# sourceMappingURL=getCustomerAccountData.js.map
@@ -1,27 +1,31 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { AccountsAggType, FilterType, ScoreResultType, MonthlyTrendAggType, IssuesAggType, SeveritiesAggType, PeriodsType, StandardType } from '../types/securityScoreGraphQLTypes';
2
+ import { AccountsAggType, FilterType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, PaginationsType, PeriodsType, StandardType, ChecksAggType, ScoresAggType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
4
  export declare enum GetCustomerDataFields {
5
5
  COLUMN_ACCOUNTS_AGG = "accountsAgg",
6
6
  COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
7
+ COLUMN_CHECKS_AGG = "checksAgg",
7
8
  COLUMN_FILTERS = "filters",
8
9
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
10
+ COLUMN_PAGINATION = "pagination",
9
11
  COLUMN_PERIOD = "period",
10
12
  COLUMN_RESULTS = "results",
11
- COLUMN_ISSUE_AGG = "issueAgg",
12
- COLUMN_SEVERITY_AGG = "severityAgg",
13
+ COLUMN_SCORES_AGG = "scoresAgg",
14
+ COLUMN_SEVERITIES_AGG = "severitiesAgg",
13
15
  COLUMN_STANDARDS = "standards",
14
16
  COLUMN_SUBSCRIPTION_REFERENCES = "subscriptionReferences"
15
17
  }
16
18
  export declare type GetCustomerDataType = {
17
19
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
18
20
  [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
21
+ [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
19
22
  [GetCustomerDataFields.COLUMN_FILTERS]?: [FilterType];
20
23
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
24
+ [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationsType;
21
25
  [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsType;
22
26
  [GetCustomerDataFields.COLUMN_RESULTS]?: [ScoreResultType];
23
- [GetCustomerDataFields.COLUMN_ISSUE_AGG]?: IssuesAggType;
24
- [GetCustomerDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggType;
27
+ [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
28
+ [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
29
  [GetCustomerDataFields.COLUMN_STANDARDS]?: [StandardType];
26
30
  [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: number;
27
31
  };
@@ -33,11 +37,14 @@ export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType>
33
37
  constructor(getCustomerDataInput: GetCustomerDataType);
34
38
  get accountsAgg(): AccountsAggType | undefined;
35
39
  get avgCurrentScore(): number | undefined;
40
+ get checksAgg(): ChecksAggType | undefined;
36
41
  get filters(): [FilterType] | undefined;
37
42
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
43
+ get pagination(): PaginationsType | undefined;
38
44
  get period(): PeriodsType | undefined;
39
45
  get results(): [ScoreResultType] | undefined;
40
- get issueAgg(): IssuesAggType | undefined;
46
+ get scoresAgg(): ScoresAggType | undefined;
47
+ get severitiesAgg(): SeveritiesAggType | undefined;
41
48
  get standards(): [StandardType] | undefined;
42
49
  get subscriptionReferences(): number | undefined;
43
50
  toJSON(): GetCustomerDataType;
@@ -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_filters, _GetCustomerData_monthlyTrendAgg, _GetCustomerData_period, _GetCustomerData_results, _GetCustomerData_issueAgg, _GetCustomerData_severityAgg, _GetCustomerData_standards, _GetCustomerData_subscriptionReferences;
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;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerData = exports.GetCustomerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -19,12 +19,14 @@ var GetCustomerDataFields;
19
19
  (function (GetCustomerDataFields) {
20
20
  GetCustomerDataFields["COLUMN_ACCOUNTS_AGG"] = "accountsAgg";
21
21
  GetCustomerDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
22
+ GetCustomerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
22
23
  GetCustomerDataFields["COLUMN_FILTERS"] = "filters";
23
24
  GetCustomerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
25
+ GetCustomerDataFields["COLUMN_PAGINATION"] = "pagination";
24
26
  GetCustomerDataFields["COLUMN_PERIOD"] = "period";
25
27
  GetCustomerDataFields["COLUMN_RESULTS"] = "results";
26
- GetCustomerDataFields["COLUMN_ISSUE_AGG"] = "issueAgg";
27
- GetCustomerDataFields["COLUMN_SEVERITY_AGG"] = "severityAgg";
28
+ GetCustomerDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
29
+ GetCustomerDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
28
30
  GetCustomerDataFields["COLUMN_STANDARDS"] = "standards";
29
31
  GetCustomerDataFields["COLUMN_SUBSCRIPTION_REFERENCES"] = "subscriptionReferences";
30
32
  })(GetCustomerDataFields = exports.GetCustomerDataFields || (exports.GetCustomerDataFields = {}));
@@ -33,22 +35,26 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
33
35
  super(getCustomerDataInput);
34
36
  _GetCustomerData_accountsAgg.set(this, void 0);
35
37
  _GetCustomerData_avgCurrentScore.set(this, void 0);
38
+ _GetCustomerData_checksAgg.set(this, void 0);
36
39
  _GetCustomerData_filters.set(this, void 0);
37
40
  _GetCustomerData_monthlyTrendAgg.set(this, void 0);
41
+ _GetCustomerData_pagination.set(this, void 0);
38
42
  _GetCustomerData_period.set(this, void 0);
39
43
  _GetCustomerData_results.set(this, void 0);
40
- _GetCustomerData_issueAgg.set(this, void 0);
41
- _GetCustomerData_severityAgg.set(this, void 0);
44
+ _GetCustomerData_scoresAgg.set(this, void 0);
45
+ _GetCustomerData_severitiesAgg.set(this, void 0);
42
46
  _GetCustomerData_standards.set(this, void 0);
43
47
  _GetCustomerData_subscriptionReferences.set(this, void 0);
44
48
  __classPrivateFieldSet(this, _GetCustomerData_accountsAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_ACCOUNTS_AGG], "f");
45
49
  __classPrivateFieldSet(this, _GetCustomerData_avgCurrentScore, getCustomerDataInput[GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
50
+ __classPrivateFieldSet(this, _GetCustomerData_checksAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_CHECKS_AGG], "f");
46
51
  __classPrivateFieldSet(this, _GetCustomerData_filters, getCustomerDataInput[GetCustomerDataFields.COLUMN_FILTERS], "f");
47
52
  __classPrivateFieldSet(this, _GetCustomerData_monthlyTrendAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
53
+ __classPrivateFieldSet(this, _GetCustomerData_pagination, getCustomerDataInput[GetCustomerDataFields.COLUMN_PAGINATION], "f");
48
54
  __classPrivateFieldSet(this, _GetCustomerData_period, getCustomerDataInput[GetCustomerDataFields.COLUMN_PERIOD], "f");
49
55
  __classPrivateFieldSet(this, _GetCustomerData_results, getCustomerDataInput[GetCustomerDataFields.COLUMN_RESULTS], "f");
50
- __classPrivateFieldSet(this, _GetCustomerData_issueAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_ISSUE_AGG], "f");
51
- __classPrivateFieldSet(this, _GetCustomerData_severityAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_SEVERITY_AGG], "f");
56
+ __classPrivateFieldSet(this, _GetCustomerData_scoresAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_SCORES_AGG], "f");
57
+ __classPrivateFieldSet(this, _GetCustomerData_severitiesAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_SEVERITIES_AGG], "f");
52
58
  __classPrivateFieldSet(this, _GetCustomerData_standards, getCustomerDataInput[GetCustomerDataFields.COLUMN_STANDARDS], "f");
53
59
  __classPrivateFieldSet(this, _GetCustomerData_subscriptionReferences, getCustomerDataInput[GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES], "f");
54
60
  }
@@ -58,20 +64,29 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
58
64
  get avgCurrentScore() {
59
65
  return __classPrivateFieldGet(this, _GetCustomerData_avgCurrentScore, "f");
60
66
  }
67
+ get checksAgg() {
68
+ return __classPrivateFieldGet(this, _GetCustomerData_checksAgg, "f");
69
+ }
61
70
  get filters() {
62
71
  return __classPrivateFieldGet(this, _GetCustomerData_filters, "f");
63
72
  }
64
73
  get monthlyTrendAgg() {
65
74
  return __classPrivateFieldGet(this, _GetCustomerData_monthlyTrendAgg, "f");
66
75
  }
76
+ get pagination() {
77
+ return __classPrivateFieldGet(this, _GetCustomerData_pagination, "f");
78
+ }
67
79
  get period() {
68
80
  return __classPrivateFieldGet(this, _GetCustomerData_period, "f");
69
81
  }
70
82
  get results() {
71
83
  return __classPrivateFieldGet(this, _GetCustomerData_results, "f");
72
84
  }
73
- get issueAgg() {
74
- return __classPrivateFieldGet(this, _GetCustomerData_issueAgg, "f");
85
+ get scoresAgg() {
86
+ return __classPrivateFieldGet(this, _GetCustomerData_scoresAgg, "f");
87
+ }
88
+ get severitiesAgg() {
89
+ return __classPrivateFieldGet(this, _GetCustomerData_severitiesAgg, "f");
75
90
  }
76
91
  get standards() {
77
92
  return __classPrivateFieldGet(this, _GetCustomerData_standards, "f");
@@ -81,19 +96,22 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
81
96
  }
82
97
  toJSON() {
83
98
  return {
84
- [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]: __classPrivateFieldGet(this, _GetCustomerData_accountsAgg, "f"),
85
- [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]: __classPrivateFieldGet(this, _GetCustomerData_avgCurrentScore, "f"),
86
- [GetCustomerDataFields.COLUMN_FILTERS]: __classPrivateFieldGet(this, _GetCustomerData_filters, "f"),
87
- [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]: __classPrivateFieldGet(this, _GetCustomerData_monthlyTrendAgg, "f"),
88
- [GetCustomerDataFields.COLUMN_PERIOD]: __classPrivateFieldGet(this, _GetCustomerData_period, "f"),
89
- [GetCustomerDataFields.COLUMN_RESULTS]: __classPrivateFieldGet(this, _GetCustomerData_results, "f"),
90
- [GetCustomerDataFields.COLUMN_ISSUE_AGG]: __classPrivateFieldGet(this, _GetCustomerData_issueAgg, "f"),
91
- [GetCustomerDataFields.COLUMN_SEVERITY_AGG]: __classPrivateFieldGet(this, _GetCustomerData_severityAgg, "f"),
92
- [GetCustomerDataFields.COLUMN_STANDARDS]: __classPrivateFieldGet(this, _GetCustomerData_standards, "f"),
93
- [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]: __classPrivateFieldGet(this, _GetCustomerData_subscriptionReferences, "f"),
99
+ [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]: this.accountsAgg,
100
+ [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]: this.avgCurrentScore,
101
+ [GetCustomerDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
102
+ [GetCustomerDataFields.COLUMN_FILTERS]: this.filters,
103
+ [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
104
+ [GetCustomerDataFields.COLUMN_PAGINATION]: this.pagination,
105
+ [GetCustomerDataFields.COLUMN_PERIOD]: this.period,
106
+ [GetCustomerDataFields.COLUMN_RESULTS]: this.results,
107
+ [GetCustomerDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
108
+ [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
109
+ [GetCustomerDataFields.COLUMN_STANDARDS]: this.standards,
110
+ [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]: this
111
+ .subscriptionReferences,
94
112
  };
95
113
  }
96
114
  }
97
115
  exports.GetCustomerData = GetCustomerData;
98
- _GetCustomerData_accountsAgg = new WeakMap(), _GetCustomerData_avgCurrentScore = new WeakMap(), _GetCustomerData_filters = new WeakMap(), _GetCustomerData_monthlyTrendAgg = new WeakMap(), _GetCustomerData_period = new WeakMap(), _GetCustomerData_results = new WeakMap(), _GetCustomerData_issueAgg = new WeakMap(), _GetCustomerData_severityAgg = new WeakMap(), _GetCustomerData_standards = new WeakMap(), _GetCustomerData_subscriptionReferences = new WeakMap();
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();
99
117
  //# sourceMappingURL=getCustomerData.js.map
@@ -1,25 +1,29 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { FilterType, ScoreResultType, MonthlyTrendAggType, EndCustomersAggType, IssuesAggType, SeveritiesAggType, PeriodsType } from '../types/securityScoreGraphQLTypes';
2
+ import { EndCustomersAggType, FilterType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, SeveritiesAggType, ScoresAggType, ChecksAggType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
4
  export declare enum GetPartnerDataFields {
5
- COLUMN_FILTERS = "filters",
6
- COLUMN_RESULTS = "results",
7
5
  COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
8
- COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
6
+ COLUMN_CHECKS_AGG = "checksAgg",
9
7
  COLUMN_END_CUSTOMERS_AGG = "endCustomersAgg",
10
- COLUMN_ISSUE_AGG = "issueAgg",
11
- COLUMN_SEVERITY_AGG = "severityAgg",
12
- COLUMN_PERIOD = "period"
8
+ COLUMN_FILTERS = "filters",
9
+ COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
10
+ COLUMN_PAGINATION = "pagination",
11
+ COLUMN_PERIOD = "period",
12
+ COLUMN_RESULTS = "results",
13
+ COLUMN_SCORES_AGG = "scoresAgg",
14
+ COLUMN_SEVERITIES_AGG = "severitiesAgg"
13
15
  }
14
16
  export declare type GetPartnerDataType = {
15
- [GetPartnerDataFields.COLUMN_FILTERS]?: [FilterType];
16
- [GetPartnerDataFields.COLUMN_RESULTS]?: [ScoreResultType];
17
17
  [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
18
- [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
18
+ [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
19
19
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggType;
20
- [GetPartnerDataFields.COLUMN_ISSUE_AGG]?: IssuesAggType;
21
- [GetPartnerDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggType;
20
+ [GetPartnerDataFields.COLUMN_FILTERS]?: [FilterType];
21
+ [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
22
+ [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationsType;
22
23
  [GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsType;
24
+ [GetPartnerDataFields.COLUMN_RESULTS]?: [ScoreResultType];
25
+ [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
26
+ [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
23
27
  };
24
28
  export declare type GetPartnerDataGraphQLResultType = {
25
29
  [SecurityScoreQueries.GET_PARTNER_DATA]: GetPartnerDataType;
@@ -27,13 +31,15 @@ export declare type GetPartnerDataGraphQLResultType = {
27
31
  export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
28
32
  #private;
29
33
  constructor(getPartnerDataInput: GetPartnerDataType);
30
- get filters(): [FilterType] | undefined;
31
- get results(): [ScoreResultType] | undefined;
32
34
  get avgCurrentScore(): number | undefined;
33
- get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
35
+ get checksAgg(): ChecksAggType | undefined;
34
36
  get endCustomersAgg(): EndCustomersAggType | undefined;
35
- get issueAgg(): IssuesAggType | undefined;
36
- get severityAgg(): SeveritiesAggType | undefined;
37
+ get filters(): [FilterType] | undefined;
38
+ get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
37
39
  get period(): PeriodsType | undefined;
40
+ get pagination(): PaginationsType | undefined;
41
+ get results(): [ScoreResultType] | undefined;
42
+ get scoresAgg(): ScoresAggType | undefined;
43
+ get severitiesAgg(): SeveritiesAggType | undefined;
38
44
  toJSON(): GetPartnerDataType;
39
45
  }
@@ -10,79 +10,93 @@ 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_filters, _GetPartnerData_results, _GetPartnerData_avgCurrentScore, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_issueAgg, _GetPartnerData_severityAgg, _GetPartnerData_period;
13
+ var _GetPartnerData_avgCurrentScore, _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_filters, _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_FILTERS"] = "filters";
21
- GetPartnerDataFields["COLUMN_RESULTS"] = "results";
22
20
  GetPartnerDataFields["COLUMN_AVG_CURRENT_SCORE"] = "avgCurrentScore";
23
- GetPartnerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
21
+ GetPartnerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
24
22
  GetPartnerDataFields["COLUMN_END_CUSTOMERS_AGG"] = "endCustomersAgg";
25
- GetPartnerDataFields["COLUMN_ISSUE_AGG"] = "issueAgg";
26
- GetPartnerDataFields["COLUMN_SEVERITY_AGG"] = "severityAgg";
23
+ GetPartnerDataFields["COLUMN_FILTERS"] = "filters";
24
+ GetPartnerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
25
+ GetPartnerDataFields["COLUMN_PAGINATION"] = "pagination";
27
26
  GetPartnerDataFields["COLUMN_PERIOD"] = "period";
27
+ GetPartnerDataFields["COLUMN_RESULTS"] = "results";
28
+ GetPartnerDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
29
+ GetPartnerDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
28
30
  })(GetPartnerDataFields = exports.GetPartnerDataFields || (exports.GetPartnerDataFields = {}));
29
31
  class GetPartnerData extends abstractEntity_1.AbstractEntity {
30
32
  constructor(getPartnerDataInput) {
31
33
  super(getPartnerDataInput);
32
- _GetPartnerData_filters.set(this, void 0);
33
- _GetPartnerData_results.set(this, void 0);
34
34
  _GetPartnerData_avgCurrentScore.set(this, void 0);
35
- _GetPartnerData_monthlyTrendAgg.set(this, void 0);
35
+ _GetPartnerData_checksAgg.set(this, void 0);
36
36
  _GetPartnerData_endCustomersAgg.set(this, void 0);
37
- _GetPartnerData_issueAgg.set(this, void 0);
38
- _GetPartnerData_severityAgg.set(this, void 0);
37
+ _GetPartnerData_filters.set(this, void 0);
38
+ _GetPartnerData_monthlyTrendAgg.set(this, void 0);
39
39
  _GetPartnerData_period.set(this, void 0);
40
- __classPrivateFieldSet(this, _GetPartnerData_filters, getPartnerDataInput[GetPartnerDataFields.COLUMN_FILTERS], "f");
41
- __classPrivateFieldSet(this, _GetPartnerData_results, getPartnerDataInput[GetPartnerDataFields.COLUMN_RESULTS], "f");
40
+ _GetPartnerData_pagination.set(this, void 0);
41
+ _GetPartnerData_results.set(this, void 0);
42
+ _GetPartnerData_scoresAgg.set(this, void 0);
43
+ _GetPartnerData_severitiesAgg.set(this, void 0);
42
44
  __classPrivateFieldSet(this, _GetPartnerData_avgCurrentScore, getPartnerDataInput[GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE], "f");
43
- __classPrivateFieldSet(this, _GetPartnerData_monthlyTrendAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
45
+ __classPrivateFieldSet(this, _GetPartnerData_checksAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_CHECKS_AGG], "f");
44
46
  __classPrivateFieldSet(this, _GetPartnerData_endCustomersAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG], "f");
45
- __classPrivateFieldSet(this, _GetPartnerData_issueAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_ISSUE_AGG], "f");
46
- __classPrivateFieldSet(this, _GetPartnerData_severityAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SEVERITY_AGG], "f");
47
+ __classPrivateFieldSet(this, _GetPartnerData_filters, getPartnerDataInput[GetPartnerDataFields.COLUMN_FILTERS], "f");
48
+ __classPrivateFieldSet(this, _GetPartnerData_monthlyTrendAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
47
49
  __classPrivateFieldSet(this, _GetPartnerData_period, getPartnerDataInput[GetPartnerDataFields.COLUMN_PERIOD], "f");
48
- }
49
- get filters() {
50
- return __classPrivateFieldGet(this, _GetPartnerData_filters, "f");
51
- }
52
- get results() {
53
- return __classPrivateFieldGet(this, _GetPartnerData_results, "f");
50
+ __classPrivateFieldSet(this, _GetPartnerData_pagination, getPartnerDataInput[GetPartnerDataFields.COLUMN_PAGINATION], "f");
51
+ __classPrivateFieldSet(this, _GetPartnerData_results, getPartnerDataInput[GetPartnerDataFields.COLUMN_RESULTS], "f");
52
+ __classPrivateFieldSet(this, _GetPartnerData_scoresAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SCORES_AGG], "f");
53
+ __classPrivateFieldSet(this, _GetPartnerData_severitiesAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SEVERITIES_AGG], "f");
54
54
  }
55
55
  get avgCurrentScore() {
56
56
  return __classPrivateFieldGet(this, _GetPartnerData_avgCurrentScore, "f");
57
57
  }
58
- get monthlyTrendAgg() {
59
- return __classPrivateFieldGet(this, _GetPartnerData_monthlyTrendAgg, "f");
58
+ get checksAgg() {
59
+ return __classPrivateFieldGet(this, _GetPartnerData_checksAgg, "f");
60
60
  }
61
61
  get endCustomersAgg() {
62
62
  return __classPrivateFieldGet(this, _GetPartnerData_endCustomersAgg, "f");
63
63
  }
64
- get issueAgg() {
65
- return __classPrivateFieldGet(this, _GetPartnerData_issueAgg, "f");
64
+ get filters() {
65
+ return __classPrivateFieldGet(this, _GetPartnerData_filters, "f");
66
66
  }
67
- get severityAgg() {
68
- return __classPrivateFieldGet(this, _GetPartnerData_severityAgg, "f");
67
+ get monthlyTrendAgg() {
68
+ return __classPrivateFieldGet(this, _GetPartnerData_monthlyTrendAgg, "f");
69
69
  }
70
70
  get period() {
71
71
  return __classPrivateFieldGet(this, _GetPartnerData_period, "f");
72
72
  }
73
+ get pagination() {
74
+ return __classPrivateFieldGet(this, _GetPartnerData_pagination, "f");
75
+ }
76
+ get results() {
77
+ return __classPrivateFieldGet(this, _GetPartnerData_results, "f");
78
+ }
79
+ get scoresAgg() {
80
+ return __classPrivateFieldGet(this, _GetPartnerData_scoresAgg, "f");
81
+ }
82
+ get severitiesAgg() {
83
+ return __classPrivateFieldGet(this, _GetPartnerData_severitiesAgg, "f");
84
+ }
73
85
  toJSON() {
74
86
  return {
75
- [GetPartnerDataFields.COLUMN_FILTERS]: __classPrivateFieldGet(this, _GetPartnerData_filters, "f"),
76
- [GetPartnerDataFields.COLUMN_RESULTS]: __classPrivateFieldGet(this, _GetPartnerData_results, "f"),
77
- [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]: __classPrivateFieldGet(this, _GetPartnerData_avgCurrentScore, "f"),
78
- [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]: __classPrivateFieldGet(this, _GetPartnerData_monthlyTrendAgg, "f"),
79
- [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]: __classPrivateFieldGet(this, _GetPartnerData_endCustomersAgg, "f"),
80
- [GetPartnerDataFields.COLUMN_ISSUE_AGG]: __classPrivateFieldGet(this, _GetPartnerData_issueAgg, "f"),
81
- [GetPartnerDataFields.COLUMN_SEVERITY_AGG]: __classPrivateFieldGet(this, _GetPartnerData_severityAgg, "f"),
82
- [GetPartnerDataFields.COLUMN_PERIOD]: __classPrivateFieldGet(this, _GetPartnerData_period, "f"),
87
+ [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]: this.avgCurrentScore,
88
+ [GetPartnerDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
89
+ [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]: this.endCustomersAgg,
90
+ [GetPartnerDataFields.COLUMN_FILTERS]: this.filters,
91
+ [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
92
+ [GetPartnerDataFields.COLUMN_PERIOD]: this.period,
93
+ [GetPartnerDataFields.COLUMN_PAGINATION]: this.pagination,
94
+ [GetPartnerDataFields.COLUMN_RESULTS]: this.results,
95
+ [GetPartnerDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
96
+ [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
83
97
  };
84
98
  }
85
99
  }
86
100
  exports.GetPartnerData = GetPartnerData;
87
- _GetPartnerData_filters = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_avgCurrentScore = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_issueAgg = new WeakMap(), _GetPartnerData_severityAgg = new WeakMap(), _GetPartnerData_period = new WeakMap();
101
+ _GetPartnerData_avgCurrentScore = new WeakMap(), _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_filters = 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();
88
102
  //# sourceMappingURL=getPartnerData.js.map
@@ -1,5 +1,5 @@
1
1
  import { SearchBodyArgument, PaginateArgument, SecurityScoreQueries } from './queryArguments';
2
- import { AccountsAggSchema, CheckByStandardSchema, EndCustomersAggSchema, FilterSchema, IssuesAggSchema, MonthlyTrendAggSchema, PeriodsSchema, ScoreResultSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema } from './securityScoreGraphQLSchemas';
2
+ import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, FilterSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema, StandardWithCheckSchema } from './securityScoreGraphQLSchemas';
3
3
  import { GetPartnerDataFields } from '../entities/getPartnerData';
4
4
  import { GetCustomerDataFields } from '../entities/getCustomerData';
5
5
  import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
@@ -9,29 +9,34 @@ export declare type GetPartnerDataQuery = {
9
9
  searchBody?: SearchBodyArgument;
10
10
  paginate?: PaginateArgument;
11
11
  };
12
- [GetPartnerDataFields.COLUMN_FILTERS]?: FilterSchema;
13
- [GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
14
12
  [GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
15
- [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
13
+ [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
16
14
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggSchema;
17
- [GetPartnerDataFields.COLUMN_ISSUE_AGG]?: IssuesAggSchema;
18
- [GetPartnerDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggSchema;
15
+ [GetPartnerDataFields.COLUMN_FILTERS]?: FilterSchema;
16
+ [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
17
+ [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
19
18
  [GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
19
+ [GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
20
+ [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
21
+ [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
20
22
  };
21
23
  };
22
24
  export declare type GetCustomerDataQuery = {
23
25
  [SecurityScoreQueries.GET_CUSTOMER_DATA]: {
24
26
  __args?: {
25
27
  searchBody?: SearchBodyArgument;
28
+ paginate?: PaginateArgument;
26
29
  };
27
- [GetCustomerDataFields.COLUMN_FILTERS]?: FilterSchema;
28
30
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggSchema;
29
- [GetCustomerDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggSchema;
30
- [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
31
31
  [GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
32
+ [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
33
+ [GetCustomerDataFields.COLUMN_FILTERS]?: FilterSchema;
32
34
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
33
- [GetCustomerDataFields.COLUMN_ISSUE_AGG]?: IssuesAggSchema;
35
+ [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
36
+ [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
34
37
  [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
38
+ [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
39
+ [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
35
40
  [GetCustomerDataFields.COLUMN_STANDARDS]?: StandardSchema;
36
41
  [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: boolean;
37
42
  };
@@ -40,16 +45,18 @@ export declare type GetCustomerAccountDataQuery = {
40
45
  [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: {
41
46
  __args?: {
42
47
  searchBody?: SearchBodyArgument;
48
+ paginate?: PaginateArgument;
43
49
  };
44
- [GetCustomerAccountDataFields.COLUMN_FILTERS]?: [FilterSchema];
45
- [GetCustomerAccountDataFields.COLUMN_ISSUE_AGG]?: IssuesAggSchema;
46
50
  [GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: boolean;
47
- [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggSchema;
48
- [GetCustomerAccountDataFields.COLUMN_SEVERITY_AGG]?: SeveritiesAggSchema;
49
- [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsSchema;
50
- [GetCustomerAccountDataFields.COLUMN_CHECKS]?: CheckByStandardSchema;
51
+ [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
52
+ [GetCustomerAccountDataFields.COLUMN_FILTERS]?: FilterSchema;
51
53
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
52
- [GetCustomerAccountDataFields.COLUMN_RESULT]?: ScoreResultSchema;
53
- [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardSchema;
54
+ [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationSchema;
55
+ [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsSchema;
56
+ [GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
57
+ [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
58
+ [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
59
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggSchema;
60
+ [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckSchema;
54
61
  };
55
62
  };
@@ -1,55 +1,47 @@
1
1
  import { Merge, Schema } from 'type-fest';
2
- import { AccountType, CheckType, CheckByStandardType, CompareAccountAggType, CompareEndCustomerAggType, CompareStandardAggType, FilterValuesType, IssueDataAggType, MonthlyTrendAggType, NameCountByDateType, PeriodsType, RegistrationType, ScoreByMonthType, StandardAggType, StandardType } from './securityScoreGraphQLTypes';
2
+ import { AccountType, CheckType, FilterValuesType, MonthlyTrendAggType, PeriodsType, RegistrationType, StandardAggType, StandardType, EndCustomerByDateAggType, AccountByDateAggType, CheckAggType, PaginationsType, ScoreByDateAggType, StandardWithCheckType, ChecksByStandardType, CheckByDateType, NameCountByDateAggType, EndCustomerAggType, SeverityAggType, AccountAggType, StandardByDateAggType, ScoreByMonthAggType, ScoresAggType } from './securityScoreGraphQLTypes';
3
3
  declare type MissingFieldsOfMonthlyTrendAggSchema = {
4
- scores?: Schema<ScoreByMonthType, boolean>;
4
+ scores?: Schema<ScoreByMonthAggType, boolean>;
5
5
  };
6
6
  export declare type MonthlyTrendAggSchema = Merge<Schema<MonthlyTrendAggType, boolean>, MissingFieldsOfMonthlyTrendAggSchema>;
7
- declare type CompareEndCustomerAggSchema = Schema<CompareEndCustomerAggType, boolean>;
8
- declare type EndCustomerAggSchema = {
9
- reference?: boolean;
10
- name?: boolean;
11
- data?: CompareEndCustomerAggSchema;
12
- progression?: boolean;
7
+ export declare type PaginationSchema = Schema<PaginationsType, boolean>;
8
+ declare type EndCustomerByDateAggSchema = Schema<EndCustomerByDateAggType, boolean>;
9
+ declare type MissingFieldsInEndCustomerAggSchema = {
10
+ data?: EndCustomerByDateAggSchema;
13
11
  };
12
+ declare type EndCustomerAggSchema = Merge<Schema<EndCustomerAggType, boolean>, MissingFieldsInEndCustomerAggSchema>;
14
13
  export declare type EndCustomersAggSchema = {
15
- customers: EndCustomerAggSchema;
14
+ customers?: EndCustomerAggSchema;
16
15
  };
17
- declare type CompareAccountAggSchema = Schema<CompareAccountAggType, boolean>;
18
- export declare type AccountAggSchema = {
19
- accountRef?: boolean;
20
- data?: CompareAccountAggSchema;
21
- progression?: boolean;
16
+ declare type AccountByDateAggSchema = Schema<AccountByDateAggType, boolean>;
17
+ declare type MissingFieldsInAccountAggSchema = {
18
+ data?: AccountByDateAggSchema;
22
19
  };
20
+ declare type AccountAggSchema = Merge<Schema<AccountAggType, boolean>, MissingFieldsInAccountAggSchema>;
23
21
  export declare type AccountsAggSchema = {
24
- accounts: AccountAggSchema;
22
+ accounts?: AccountAggSchema;
25
23
  };
26
24
  declare type FilterValuesSchema = Schema<FilterValuesType, boolean>;
27
25
  export declare type FilterSchema = {
28
26
  name?: boolean;
29
27
  values?: FilterValuesSchema;
30
28
  };
31
- declare type NameCountByDateSchema = Schema<NameCountByDateType, boolean>;
32
- declare type NameAggSchema = {
33
- name?: boolean;
34
- data?: NameCountByDateSchema;
35
- progression?: boolean;
36
- };
37
- declare type MissingFieldsInIssueDataAggSchema = {
38
- data?: NameCountByDateSchema;
29
+ declare type NameCountByDateAggSchema = Schema<NameCountByDateAggType, boolean>;
30
+ declare type MissingFieldsInCheckDataAggSchema = {
31
+ data?: NameCountByDateAggSchema;
39
32
  };
40
- declare type IssueDataAggSchema = Merge<Schema<IssueDataAggType, boolean>, MissingFieldsInIssueDataAggSchema>;
41
- export declare type IssuesAggSchema = {
42
- issues: IssueDataAggSchema;
33
+ declare type CheckAggAggSchema = Merge<Schema<CheckAggType, boolean>, MissingFieldsInCheckDataAggSchema>;
34
+ export declare type ChecksAggSchema = {
35
+ checks?: CheckAggAggSchema;
43
36
  };
44
37
  export declare type PeriodsSchema = Schema<PeriodsType, boolean>;
45
- export declare type CheckByStandardSchema = Schema<CheckByStandardType, boolean>;
38
+ declare type CheckSchema = Schema<CheckType, boolean>;
46
39
  declare type MissingFieldsInStandardType = {
47
40
  checks?: CheckSchema;
48
41
  };
49
- export declare type CheckSchema = Schema<CheckType, boolean>;
50
42
  export declare type StandardSchema = Merge<Schema<StandardType, boolean>, MissingFieldsInStandardType>;
51
43
  declare type MissingFieldsInAccountSchema = {
52
- standards: StandardSchema;
44
+ standards?: StandardSchema;
53
45
  };
54
46
  declare type AccountSchema = Merge<Schema<AccountType, boolean>, MissingFieldsInAccountSchema>;
55
47
  declare type RegistrationSchema = Schema<RegistrationType, boolean>;
@@ -57,15 +49,30 @@ export declare type ScoreResultSchema = {
57
49
  account?: AccountSchema;
58
50
  registration?: RegistrationSchema;
59
51
  };
52
+ export declare type SeverityAggSchema = Merge<Schema<SeverityAggType, boolean>, MissingFieldsInCheckDataAggSchema>;
60
53
  export declare type SeveritiesAggSchema = {
61
- severities: NameAggSchema;
54
+ severities?: SeverityAggSchema;
62
55
  };
63
- declare type CompareStandardAggSchema = Schema<CompareStandardAggType, boolean>;
56
+ declare type StandardByDateAggSchema = Schema<StandardByDateAggType, boolean>;
64
57
  declare type MissingFieldsInStandardAggSchema = {
65
- data?: CompareStandardAggSchema;
58
+ data?: StandardByDateAggSchema;
66
59
  };
67
60
  declare type StandardAggSchema = Merge<Schema<StandardAggType, boolean>, MissingFieldsInStandardAggSchema>;
68
61
  export declare type StandardsAggSchema = {
69
- standards: StandardAggSchema;
62
+ standards?: StandardAggSchema;
63
+ };
64
+ declare type ScoreByDateAggSchema = Schema<ScoreByDateAggType, boolean>;
65
+ declare type MissingFieldsInScoresAggSchema = {
66
+ scores?: ScoreByDateAggSchema;
67
+ };
68
+ export declare type ScoresAggSchema = Merge<Schema<ScoresAggType, boolean>, MissingFieldsInScoresAggSchema>;
69
+ declare type CheckByDateSchema = Schema<CheckByDateType, boolean>;
70
+ declare type MissingFieldsInChecksByStandardSchema = {
71
+ data?: CheckByDateSchema;
72
+ };
73
+ declare type ChecksByStandardSchema = Merge<Schema<ChecksByStandardType, boolean>, MissingFieldsInChecksByStandardSchema>;
74
+ declare type MissingFieldsInStandardWithCheckSchema = {
75
+ checks?: ChecksByStandardSchema;
70
76
  };
77
+ export declare type StandardWithCheckSchema = Merge<Schema<StandardWithCheckType, boolean>, MissingFieldsInStandardWithCheckSchema>;
71
78
  export {};
@@ -3,163 +3,188 @@ export declare type FilterType = {
3
3
  values?: [FilterValuesType];
4
4
  };
5
5
  export declare type FilterValuesType = {
6
- value?: string;
7
6
  count?: number;
7
+ value?: string;
8
+ };
9
+ export declare type PaginationsType = {
10
+ currentPage?: number;
11
+ next?: string;
12
+ perPage?: number;
13
+ previous?: string;
14
+ total?: number;
15
+ totalPage?: number;
8
16
  };
9
17
  export declare type SubscriptionRegistrationType = {
10
18
  reference: string;
11
19
  };
12
20
  export declare type CustomerRegistrationType = {
13
- reference?: string;
14
21
  name?: string;
22
+ reference?: string;
15
23
  };
16
24
  export declare type ResellerRegistrationType = {
17
- reference?: string;
18
25
  name?: string;
26
+ reference?: string;
19
27
  };
20
28
  export declare type RegistrationType = {
21
29
  accountReference?: string;
22
- subscription?: SubscriptionRegistrationType;
23
30
  customer?: CustomerRegistrationType;
31
+ marketplace?: string;
24
32
  reseller?: ResellerRegistrationType;
33
+ subscription?: SubscriptionRegistrationType;
25
34
  vendorCode?: string;
26
- marketplace?: string;
27
35
  };
28
36
  export declare type CheckType = {
29
- name?: string;
30
37
  description?: string;
31
- processed?: number;
32
- isFailed?: boolean;
33
38
  flagged?: number;
39
+ isFailed?: boolean;
40
+ name?: string;
41
+ processed?: number;
34
42
  reference?: string;
35
43
  score?: number;
36
44
  severity?: string;
37
45
  };
38
46
  export declare type StandardType = {
39
- name?: string;
40
- reference?: string;
41
47
  checks?: [CheckType];
42
48
  failed?: number;
49
+ name?: string;
43
50
  passed?: number;
51
+ reference?: string;
44
52
  score?: number;
45
53
  total?: number;
46
54
  };
47
55
  export declare type AccountType = {
48
- reference?: string;
49
- name?: string;
50
- standards?: [StandardType];
51
56
  failed?: number;
57
+ name?: string;
52
58
  passed?: number;
59
+ reference?: string;
53
60
  score?: number;
61
+ standards?: [StandardType];
54
62
  total?: number;
55
63
  };
56
64
  export declare type ScoreResultType = {
57
65
  account?: AccountType;
58
66
  registration?: RegistrationType;
59
67
  };
60
- export declare type NameCountByDateType = {
68
+ export declare type NameCountByDateAggType = {
61
69
  count?: number;
62
70
  date?: string;
63
71
  };
64
- export declare type NameAggType = {
72
+ export declare type SeverityAggType = {
73
+ data?: [NameCountByDateAggType];
74
+ last?: NameCountByDateAggType;
65
75
  name?: string;
66
- data?: [NameCountByDateType];
67
- last?: NameCountByDateType;
68
76
  progression?: number;
69
77
  };
70
- export declare type IssueDataAggType = {
78
+ export declare type SeveritiesAggType = {
79
+ severities: [SeverityAggType];
80
+ };
81
+ export declare type CheckAggType = {
82
+ data?: [NameCountByDateAggType];
83
+ last?: NameCountByDateAggType;
71
84
  name?: string;
85
+ progression?: number;
72
86
  reference?: string;
73
87
  vendorCode?: string;
74
- last?: NameCountByDateType;
75
- data?: [NameCountByDateType];
76
- progression?: number;
77
88
  };
78
- export declare type SeveritiesAggType = {
79
- severities: [NameAggType];
80
- };
81
- export declare type IssuesAggType = {
82
- issues: [IssueDataAggType];
89
+ export declare type ChecksAggType = {
90
+ checks: [CheckAggType];
83
91
  };
84
- export declare type CompareEndCustomerAggType = {
85
- date?: string;
92
+ export declare type EndCustomerByDateAggType = {
86
93
  accounts?: number;
87
94
  avgCurrentScore?: number;
95
+ date?: string;
88
96
  failed?: number;
89
97
  passed?: number;
98
+ total?: number;
90
99
  subscriptionReferences?: number;
91
100
  };
92
101
  export declare type EndCustomerAggType = {
93
- reference?: string;
102
+ data?: [EndCustomerByDateAggType];
103
+ last?: EndCustomerByDateAggType;
94
104
  name?: string;
95
- data?: [CompareEndCustomerAggType];
96
105
  progression?: number;
106
+ reference?: string;
97
107
  };
98
108
  export declare type EndCustomersAggType = {
99
109
  customers: [EndCustomerAggType];
100
110
  };
101
- export declare type ScoreByMonthType = {
102
- date?: string;
111
+ export declare type ScoreByMonthAggType = {
103
112
  avgCurrentScore?: number;
104
- };
105
- export declare type PeriodsType = {
106
- from?: string;
107
- to?: string;
113
+ date?: string;
108
114
  };
109
115
  export declare type MonthlyTrendAggType = {
110
- period?: PeriodsType;
111
- avgCurrentScore?: number;
112
- scores?: [ScoreByMonthType];
116
+ avgCurrentScore: number;
117
+ period: PeriodsType;
118
+ scores: [ScoreByMonthAggType];
113
119
  };
114
- export declare type CompareAccountAggType = {
115
- date?: string;
120
+ export declare type ScoreByDateAggType = {
116
121
  avgCurrentScore?: number;
122
+ date?: string;
117
123
  failed?: number;
118
124
  passed?: number;
125
+ total?: number;
126
+ };
127
+ export declare type ScoresAggType = {
128
+ last?: ScoreByDateAggType;
129
+ scores?: [ScoreByDateAggType];
130
+ total?: number;
131
+ };
132
+ export declare type AccountByDateAggType = {
133
+ avgCurrentScore: number;
134
+ date: string;
135
+ failed: number;
136
+ passed: number;
137
+ total?: number;
119
138
  };
120
139
  export declare type AccountAggType = {
140
+ data?: [AccountByDateAggType];
141
+ last?: AccountByDateAggType;
121
142
  name?: string;
122
- last?: CompareAccountAggType;
123
- reference?: string;
124
- data?: [CompareAccountAggType];
125
143
  progression?: number;
144
+ reference?: string;
126
145
  };
127
146
  export declare type AccountsAggType = {
128
147
  accounts: [AccountAggType];
129
148
  };
130
- export declare type CompareStandardAggType = {
149
+ export declare type StandardByDateAggType = {
131
150
  date?: string;
132
151
  score?: number;
133
152
  failed?: number;
134
153
  passed?: number;
154
+ total?: number;
135
155
  };
136
156
  export declare type StandardAggType = {
157
+ data?: [StandardByDateAggType];
158
+ last?: StandardByDateAggType;
137
159
  name?: string;
138
- reference?: string;
139
- last?: CompareStandardAggType;
140
- data?: [CompareStandardAggType];
141
160
  progression?: number;
161
+ reference?: string;
142
162
  };
143
163
  export declare type StandardsAggType = {
144
164
  standards: [StandardAggType];
145
165
  };
146
- export declare type CompareCheckType = {
166
+ export declare type CheckByDateType = {
147
167
  date?: string;
148
- processed?: number;
149
- isFailed?: boolean;
150
168
  flagged?: number;
169
+ isFailed?: boolean;
170
+ processed?: number;
151
171
  score?: number;
152
172
  };
153
173
  export declare type ChecksByStandardType = {
154
- data?: [CompareCheckType];
155
- last?: CompareCheckType;
156
- name?: string;
174
+ data?: [CheckByDateType];
157
175
  description?: string;
176
+ last?: CheckByDateType;
177
+ name?: string;
178
+ progression?: number;
158
179
  reference?: string;
159
180
  severity?: string;
160
- progression?: number;
161
181
  };
162
- export declare type CheckByStandardType = {
163
- standard?: string;
182
+ export declare type StandardWithCheckType = {
164
183
  checks?: [ChecksByStandardType];
184
+ name?: string;
185
+ reference?: string;
186
+ };
187
+ export declare type PeriodsType = {
188
+ from?: string;
189
+ to?: string;
165
190
  };
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.29.0-rc.jpb.1",
7
+ "version": "3.29.0-rc.jpb.3",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",