@arrowsphere/api-client 3.30.0-rc.bdj.2 → 3.30.0-rc.bdj.4
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/build/securityScore/entities/getCustomerAccountData.d.ts +6 -6
- package/build/securityScore/entities/getCustomerData.d.ts +6 -6
- package/build/securityScore/entities/getPartnerData.d.ts +4 -4
- package/build/securityScore/types/queryArguments.d.ts +8 -8
- package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +22 -22
- package/package.json +1 -1
|
@@ -17,15 +17,15 @@ export declare enum GetCustomerAccountDataFields {
|
|
|
17
17
|
export declare type GetCustomerAccountDataType = {
|
|
18
18
|
[GetCustomerAccountDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
|
|
19
19
|
[GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
|
|
20
|
-
[GetCustomerAccountDataFields.COLUMN_FILTERS]?: [
|
|
20
|
+
[GetCustomerAccountDataFields.COLUMN_FILTERS]?: FilterType[];
|
|
21
21
|
[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
|
|
22
22
|
[GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationsType;
|
|
23
23
|
[GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsType;
|
|
24
|
-
[GetCustomerAccountDataFields.COLUMN_RESULTS]?: [
|
|
24
|
+
[GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultType[];
|
|
25
25
|
[GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
|
|
26
26
|
[GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
|
|
27
27
|
[GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggType;
|
|
28
|
-
[GetCustomerAccountDataFields.COLUMN_STANDARDS]?: [
|
|
28
|
+
[GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckType[];
|
|
29
29
|
};
|
|
30
30
|
export declare type GetCustomerAccountDataGraphQLResultType = {
|
|
31
31
|
[SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: GetCustomerAccountDataType;
|
|
@@ -35,14 +35,14 @@ export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAc
|
|
|
35
35
|
constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
|
|
36
36
|
get avgCurrentScore(): number | undefined;
|
|
37
37
|
get checksAgg(): ChecksAggType | undefined;
|
|
38
|
-
get filters(): [
|
|
38
|
+
get filters(): FilterType[] | undefined;
|
|
39
39
|
get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
|
|
40
40
|
get pagination(): PaginationsType | undefined;
|
|
41
41
|
get period(): PeriodsType | undefined;
|
|
42
42
|
get scoresAgg(): ScoresAggType | undefined;
|
|
43
|
-
get results(): [
|
|
43
|
+
get results(): ScoreResultType[] | undefined;
|
|
44
44
|
get severitiesAgg(): SeveritiesAggType | undefined;
|
|
45
45
|
get standardsAgg(): StandardsAggType | undefined;
|
|
46
|
-
get standards(): [
|
|
46
|
+
get standards(): StandardWithCheckType[] | undefined;
|
|
47
47
|
toJSON(): GetCustomerAccountDataType;
|
|
48
48
|
}
|
|
@@ -19,14 +19,14 @@ export declare type GetCustomerDataType = {
|
|
|
19
19
|
[GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
|
|
20
20
|
[GetCustomerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
|
|
21
21
|
[GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
|
|
22
|
-
[GetCustomerDataFields.COLUMN_FILTERS]?: [
|
|
22
|
+
[GetCustomerDataFields.COLUMN_FILTERS]?: FilterType[];
|
|
23
23
|
[GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
|
|
24
24
|
[GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationsType;
|
|
25
25
|
[GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsType;
|
|
26
|
-
[GetCustomerDataFields.COLUMN_RESULTS]?: [
|
|
26
|
+
[GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
|
|
27
27
|
[GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
|
|
28
28
|
[GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
|
|
29
|
-
[GetCustomerDataFields.COLUMN_STANDARDS]?: [
|
|
29
|
+
[GetCustomerDataFields.COLUMN_STANDARDS]?: StandardType[];
|
|
30
30
|
[GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: number;
|
|
31
31
|
};
|
|
32
32
|
export declare type GetCustomerDataGraphQLResultType = {
|
|
@@ -38,14 +38,14 @@ export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType>
|
|
|
38
38
|
get accountsAgg(): AccountsAggType | undefined;
|
|
39
39
|
get avgCurrentScore(): number | undefined;
|
|
40
40
|
get checksAgg(): ChecksAggType | undefined;
|
|
41
|
-
get filters(): [
|
|
41
|
+
get filters(): FilterType[] | undefined;
|
|
42
42
|
get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
|
|
43
43
|
get pagination(): PaginationsType | undefined;
|
|
44
44
|
get period(): PeriodsType | undefined;
|
|
45
|
-
get results(): [
|
|
45
|
+
get results(): ScoreResultType[] | undefined;
|
|
46
46
|
get scoresAgg(): ScoresAggType | undefined;
|
|
47
47
|
get severitiesAgg(): SeveritiesAggType | undefined;
|
|
48
|
-
get standards(): [
|
|
48
|
+
get standards(): StandardType[] | undefined;
|
|
49
49
|
get subscriptionReferences(): number | undefined;
|
|
50
50
|
toJSON(): GetCustomerDataType;
|
|
51
51
|
}
|
|
@@ -18,12 +18,12 @@ export declare type GetPartnerDataType = {
|
|
|
18
18
|
[GetPartnerDataFields.COLUMN_AVG_CURRENT_SCORE]?: number;
|
|
19
19
|
[GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
|
|
20
20
|
[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggType;
|
|
21
|
-
[GetPartnerDataFields.COLUMN_FILTERS]?: [
|
|
21
|
+
[GetPartnerDataFields.COLUMN_FILTERS]?: FilterType[];
|
|
22
22
|
[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggType;
|
|
23
23
|
[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
|
|
24
24
|
[GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationsType;
|
|
25
25
|
[GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsType;
|
|
26
|
-
[GetPartnerDataFields.COLUMN_RESULTS]?: [
|
|
26
|
+
[GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
|
|
27
27
|
[GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
|
|
28
28
|
[GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
|
|
29
29
|
};
|
|
@@ -36,12 +36,12 @@ export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
|
|
|
36
36
|
get avgCurrentScore(): number | undefined;
|
|
37
37
|
get checksAgg(): ChecksAggType | undefined;
|
|
38
38
|
get endCustomersAgg(): EndCustomersAggType | undefined;
|
|
39
|
-
get filters(): [
|
|
39
|
+
get filters(): FilterType[] | undefined;
|
|
40
40
|
get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
|
|
41
41
|
get marketplacesAgg(): MarketplacesAggType | undefined;
|
|
42
42
|
get period(): PeriodsType | undefined;
|
|
43
43
|
get pagination(): PaginationsType | undefined;
|
|
44
|
-
get results(): [
|
|
44
|
+
get results(): ScoreResultType[] | undefined;
|
|
45
45
|
get scoresAgg(): ScoresAggType | undefined;
|
|
46
46
|
get severitiesAgg(): SeveritiesAggType | undefined;
|
|
47
47
|
toJSON(): GetPartnerDataType;
|
|
@@ -84,23 +84,23 @@ export declare type PaginateArgument = {
|
|
|
84
84
|
[PaginateFields.PER_PAGE]?: number;
|
|
85
85
|
};
|
|
86
86
|
export declare type SearchBodyArgument = {
|
|
87
|
-
[SearchBodyFields.EXCLUSION_FILTERS]?: [
|
|
88
|
-
[SearchBodyFields.FILTERS]?: [
|
|
89
|
-
[SearchBodyFields.MARKETPLACE]?: [[
|
|
87
|
+
[SearchBodyFields.EXCLUSION_FILTERS]?: SearchFilterArgument[];
|
|
88
|
+
[SearchBodyFields.FILTERS]?: SearchFilterArgument[];
|
|
89
|
+
[SearchBodyFields.MARKETPLACE]?: string[][];
|
|
90
90
|
[SearchBodyFields.MONTHLY_TREND_PERIOD]?: PeriodInputArgument;
|
|
91
91
|
[SearchBodyFields.PERIOD]?: PeriodInputArgument;
|
|
92
|
-
[SearchBodyFields.SORT]?: [
|
|
93
|
-
[SearchBodyFields.SUBSCRIPTION_REFERENCE]?: [[
|
|
92
|
+
[SearchBodyFields.SORT]?: SortArgument[];
|
|
93
|
+
[SearchBodyFields.SUBSCRIPTION_REFERENCE]?: string[][];
|
|
94
94
|
};
|
|
95
95
|
export declare type PeriodInputArgument = {
|
|
96
96
|
[PeriodInputFields.FROM]: string;
|
|
97
97
|
[PeriodInputFields.TO]: string;
|
|
98
98
|
};
|
|
99
99
|
export declare type SearchFilterArgument = {
|
|
100
|
-
[SearchFilterFields.NAMES]?: [
|
|
101
|
-
[SearchFilterFields.VALUES]?: [[
|
|
100
|
+
[SearchFilterFields.NAMES]?: string[];
|
|
101
|
+
[SearchFilterFields.VALUES]?: string[][];
|
|
102
102
|
[SearchFilterFields.OPERATOR]?: OperatorArgument;
|
|
103
|
-
[SearchFilterFields.FILTERS]?: [
|
|
103
|
+
[SearchFilterFields.FILTERS]?: SearchFilterArgument[];
|
|
104
104
|
};
|
|
105
105
|
export declare type SortArgument = {
|
|
106
106
|
[SortFields.NAME]?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare type FilterType = {
|
|
2
2
|
name?: string;
|
|
3
|
-
values?: [
|
|
3
|
+
values?: FilterValuesType[];
|
|
4
4
|
};
|
|
5
5
|
export declare type FilterValuesType = {
|
|
6
6
|
count?: number;
|
|
@@ -44,7 +44,7 @@ export declare type CheckType = {
|
|
|
44
44
|
severity?: string;
|
|
45
45
|
};
|
|
46
46
|
export declare type StandardType = {
|
|
47
|
-
checks?: [
|
|
47
|
+
checks?: CheckType[];
|
|
48
48
|
failed?: number;
|
|
49
49
|
name?: string;
|
|
50
50
|
passed?: number;
|
|
@@ -58,7 +58,7 @@ export declare type AccountType = {
|
|
|
58
58
|
passed?: number;
|
|
59
59
|
reference?: string;
|
|
60
60
|
score?: number;
|
|
61
|
-
standards?: [
|
|
61
|
+
standards?: StandardType[];
|
|
62
62
|
total?: number;
|
|
63
63
|
};
|
|
64
64
|
export declare type ScoreResultType = {
|
|
@@ -70,16 +70,16 @@ export declare type NameCountByDateAggType = {
|
|
|
70
70
|
date?: string;
|
|
71
71
|
};
|
|
72
72
|
export declare type SeverityAggType = {
|
|
73
|
-
data?: [
|
|
73
|
+
data?: NameCountByDateAggType[];
|
|
74
74
|
last?: NameCountByDateAggType;
|
|
75
75
|
name?: string;
|
|
76
76
|
progression?: number;
|
|
77
77
|
};
|
|
78
78
|
export declare type SeveritiesAggType = {
|
|
79
|
-
severities: [
|
|
79
|
+
severities: SeverityAggType[];
|
|
80
80
|
};
|
|
81
81
|
export declare type CheckAggType = {
|
|
82
|
-
data?: [
|
|
82
|
+
data?: NameCountByDateAggType[];
|
|
83
83
|
last?: NameCountByDateAggType;
|
|
84
84
|
name?: string;
|
|
85
85
|
progression?: number;
|
|
@@ -87,7 +87,7 @@ export declare type CheckAggType = {
|
|
|
87
87
|
vendorCode?: string;
|
|
88
88
|
};
|
|
89
89
|
export declare type ChecksAggType = {
|
|
90
|
-
checks: [
|
|
90
|
+
checks: CheckAggType[];
|
|
91
91
|
};
|
|
92
92
|
export declare type EndCustomerByDateAggType = {
|
|
93
93
|
accounts?: number;
|
|
@@ -99,14 +99,14 @@ export declare type EndCustomerByDateAggType = {
|
|
|
99
99
|
subscriptionReferences?: number;
|
|
100
100
|
};
|
|
101
101
|
export declare type EndCustomerAggType = {
|
|
102
|
-
data?: [
|
|
102
|
+
data?: EndCustomerByDateAggType[];
|
|
103
103
|
last?: EndCustomerByDateAggType;
|
|
104
104
|
name?: string;
|
|
105
105
|
progression?: number;
|
|
106
106
|
reference?: string;
|
|
107
107
|
};
|
|
108
108
|
export declare type EndCustomersAggType = {
|
|
109
|
-
customers: [
|
|
109
|
+
customers: EndCustomerAggType[];
|
|
110
110
|
};
|
|
111
111
|
export declare type ScoreByMonthAggType = {
|
|
112
112
|
avgCurrentScore?: number;
|
|
@@ -115,7 +115,7 @@ export declare type ScoreByMonthAggType = {
|
|
|
115
115
|
export declare type MonthlyTrendAggType = {
|
|
116
116
|
avgCurrentScore: number;
|
|
117
117
|
period: PeriodsType;
|
|
118
|
-
scores: [
|
|
118
|
+
scores: ScoreByMonthAggType[];
|
|
119
119
|
};
|
|
120
120
|
export declare type ScoreByDateAggType = {
|
|
121
121
|
avgCurrentScore?: number;
|
|
@@ -126,7 +126,7 @@ export declare type ScoreByDateAggType = {
|
|
|
126
126
|
};
|
|
127
127
|
export declare type ScoresAggType = {
|
|
128
128
|
last?: ScoreByDateAggType;
|
|
129
|
-
scores?: [
|
|
129
|
+
scores?: ScoreByDateAggType[];
|
|
130
130
|
};
|
|
131
131
|
export declare type AccountByDateAggType = {
|
|
132
132
|
avgCurrentScore: number;
|
|
@@ -136,14 +136,14 @@ export declare type AccountByDateAggType = {
|
|
|
136
136
|
total?: number;
|
|
137
137
|
};
|
|
138
138
|
export declare type AccountAggType = {
|
|
139
|
-
data?: [
|
|
139
|
+
data?: AccountByDateAggType[];
|
|
140
140
|
last?: AccountByDateAggType;
|
|
141
141
|
name?: string;
|
|
142
142
|
progression?: number;
|
|
143
143
|
reference?: string;
|
|
144
144
|
};
|
|
145
145
|
export declare type AccountsAggType = {
|
|
146
|
-
accounts: [
|
|
146
|
+
accounts: AccountAggType[];
|
|
147
147
|
};
|
|
148
148
|
export declare type StandardByDateAggType = {
|
|
149
149
|
date?: string;
|
|
@@ -153,14 +153,14 @@ export declare type StandardByDateAggType = {
|
|
|
153
153
|
total?: number;
|
|
154
154
|
};
|
|
155
155
|
export declare type StandardAggType = {
|
|
156
|
-
data?: [
|
|
156
|
+
data?: StandardByDateAggType[];
|
|
157
157
|
last?: StandardByDateAggType;
|
|
158
158
|
name?: string;
|
|
159
159
|
progression?: number;
|
|
160
160
|
reference?: string;
|
|
161
161
|
};
|
|
162
162
|
export declare type StandardsAggType = {
|
|
163
|
-
standards: [
|
|
163
|
+
standards: StandardAggType[];
|
|
164
164
|
};
|
|
165
165
|
export declare type MarketplaceSubscriptionReferenceAggType = {
|
|
166
166
|
accounts?: number;
|
|
@@ -168,7 +168,7 @@ export declare type MarketplaceSubscriptionReferenceAggType = {
|
|
|
168
168
|
name?: string;
|
|
169
169
|
};
|
|
170
170
|
export declare type MarketplaceSubscriptionReferencesAggType = {
|
|
171
|
-
subscriptionReferences?: [
|
|
171
|
+
subscriptionReferences?: MarketplaceSubscriptionReferenceAggType[];
|
|
172
172
|
};
|
|
173
173
|
export declare type MarketplacePartnerAggByDateAggType = {
|
|
174
174
|
accounts?: number;
|
|
@@ -181,21 +181,21 @@ export declare type MarketplaceByDateAggType = {
|
|
|
181
181
|
date?: string;
|
|
182
182
|
};
|
|
183
183
|
export declare type MarketplacePartnerAggType = {
|
|
184
|
-
data?: [
|
|
184
|
+
data?: MarketplacePartnerAggByDateAggType[];
|
|
185
185
|
last?: MarketplacePartnerAggByDateAggType;
|
|
186
186
|
name?: string;
|
|
187
187
|
reference?: string;
|
|
188
188
|
progression?: number;
|
|
189
189
|
};
|
|
190
190
|
export declare type MarketplaceAggType = {
|
|
191
|
-
data?: [
|
|
191
|
+
data?: MarketplaceByDateAggType[];
|
|
192
192
|
last?: MarketplaceByDateAggType;
|
|
193
193
|
name?: string;
|
|
194
|
-
partners?: [
|
|
194
|
+
partners?: MarketplacePartnerAggType[];
|
|
195
195
|
progression?: number;
|
|
196
196
|
};
|
|
197
197
|
export declare type MarketplacesAggType = {
|
|
198
|
-
marketplaces: [
|
|
198
|
+
marketplaces: MarketplaceAggType[];
|
|
199
199
|
};
|
|
200
200
|
export declare type CheckByDateType = {
|
|
201
201
|
date?: string;
|
|
@@ -205,7 +205,7 @@ export declare type CheckByDateType = {
|
|
|
205
205
|
score?: number;
|
|
206
206
|
};
|
|
207
207
|
export declare type ChecksByStandardType = {
|
|
208
|
-
data?: [
|
|
208
|
+
data?: CheckByDateType[];
|
|
209
209
|
description?: string;
|
|
210
210
|
last?: CheckByDateType;
|
|
211
211
|
name?: string;
|
|
@@ -214,7 +214,7 @@ export declare type ChecksByStandardType = {
|
|
|
214
214
|
severity?: string;
|
|
215
215
|
};
|
|
216
216
|
export declare type StandardWithCheckType = {
|
|
217
|
-
checks?: [
|
|
217
|
+
checks?: ChecksByStandardType[];
|
|
218
218
|
name?: string;
|
|
219
219
|
reference?: string;
|
|
220
220
|
};
|
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.30.0-rc.bdj.
|
|
7
|
+
"version": "3.30.0-rc.bdj.4",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|