@arrowsphere/api-client 3.30.0-rc.bdj.1 → 3.30.0-rc.bdj.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.
@@ -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]?: [FilterType];
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]?: [ScoreResultType];
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]?: [StandardWithCheckType];
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(): [FilterType] | undefined;
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(): [ScoreResultType] | undefined;
43
+ get results(): ScoreResultType[] | undefined;
44
44
  get severitiesAgg(): SeveritiesAggType | undefined;
45
45
  get standardsAgg(): StandardsAggType | undefined;
46
- get standards(): [StandardWithCheckType] | undefined;
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]?: [FilterType];
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]?: [ScoreResultType];
26
+ [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
27
27
  [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
28
28
  [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
29
- [GetCustomerDataFields.COLUMN_STANDARDS]?: [StandardType];
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(): [FilterType] | undefined;
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(): [ScoreResultType] | undefined;
45
+ get results(): ScoreResultType[] | undefined;
46
46
  get scoresAgg(): ScoresAggType | undefined;
47
47
  get severitiesAgg(): SeveritiesAggType | undefined;
48
- get standards(): [StandardType] | undefined;
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]?: [FilterType];
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]?: [ScoreResultType];
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(): [FilterType] | undefined;
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(): [ScoreResultType] | undefined;
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]?: [SearchFilterArgument];
88
- [SearchBodyFields.FILTERS]?: [SearchFilterArgument];
89
- [SearchBodyFields.MARKETPLACE]?: [[string]];
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]?: [SortArgument];
93
- [SearchBodyFields.SUBSCRIPTION_REFERENCE]?: [[string]];
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]?: [string];
101
- [SearchFilterFields.VALUES]?: [[string]];
100
+ [SearchFilterFields.NAMES]?: string[];
101
+ [SearchFilterFields.VALUES]?: string[][];
102
102
  [SearchFilterFields.OPERATOR]?: OperatorArgument;
103
- [SearchFilterFields.FILTERS]?: [SearchFilterArgument];
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?: [FilterValuesType];
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?: [CheckType];
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?: [StandardType];
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?: [NameCountByDateAggType];
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: [SeverityAggType];
79
+ severities: SeverityAggType[];
80
80
  };
81
81
  export declare type CheckAggType = {
82
- data?: [NameCountByDateAggType];
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: [CheckAggType];
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?: [EndCustomerByDateAggType];
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: [EndCustomerAggType];
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: [ScoreByMonthAggType];
118
+ scores: ScoreByMonthAggType[];
119
119
  };
120
120
  export declare type ScoreByDateAggType = {
121
121
  avgCurrentScore?: number;
@@ -126,8 +126,7 @@ export declare type ScoreByDateAggType = {
126
126
  };
127
127
  export declare type ScoresAggType = {
128
128
  last?: ScoreByDateAggType;
129
- scores?: [ScoreByDateAggType];
130
- total?: number;
129
+ scores?: ScoreByDateAggType[];
131
130
  };
132
131
  export declare type AccountByDateAggType = {
133
132
  avgCurrentScore: number;
@@ -137,14 +136,14 @@ export declare type AccountByDateAggType = {
137
136
  total?: number;
138
137
  };
139
138
  export declare type AccountAggType = {
140
- data?: [AccountByDateAggType];
139
+ data?: AccountByDateAggType[];
141
140
  last?: AccountByDateAggType;
142
141
  name?: string;
143
142
  progression?: number;
144
143
  reference?: string;
145
144
  };
146
145
  export declare type AccountsAggType = {
147
- accounts: [AccountAggType];
146
+ accounts: AccountAggType[];
148
147
  };
149
148
  export declare type StandardByDateAggType = {
150
149
  date?: string;
@@ -154,14 +153,14 @@ export declare type StandardByDateAggType = {
154
153
  total?: number;
155
154
  };
156
155
  export declare type StandardAggType = {
157
- data?: [StandardByDateAggType];
156
+ data?: StandardByDateAggType[];
158
157
  last?: StandardByDateAggType;
159
158
  name?: string;
160
159
  progression?: number;
161
160
  reference?: string;
162
161
  };
163
162
  export declare type StandardsAggType = {
164
- standards: [StandardAggType];
163
+ standards: StandardAggType[];
165
164
  };
166
165
  export declare type MarketplaceSubscriptionReferenceAggType = {
167
166
  accounts?: number;
@@ -169,7 +168,7 @@ export declare type MarketplaceSubscriptionReferenceAggType = {
169
168
  name?: string;
170
169
  };
171
170
  export declare type MarketplaceSubscriptionReferencesAggType = {
172
- subscriptionReferences?: [MarketplaceSubscriptionReferenceAggType];
171
+ subscriptionReferences?: MarketplaceSubscriptionReferenceAggType[];
173
172
  };
174
173
  export declare type MarketplacePartnerAggByDateAggType = {
175
174
  accounts?: number;
@@ -182,21 +181,21 @@ export declare type MarketplaceByDateAggType = {
182
181
  date?: string;
183
182
  };
184
183
  export declare type MarketplacePartnerAggType = {
185
- data?: [MarketplacePartnerAggByDateAggType];
184
+ data?: MarketplacePartnerAggByDateAggType[];
186
185
  last?: MarketplacePartnerAggByDateAggType;
187
186
  name?: string;
188
187
  reference?: string;
189
188
  progression?: number;
190
189
  };
191
190
  export declare type MarketplaceAggType = {
192
- data?: [MarketplaceByDateAggType];
191
+ data?: MarketplaceByDateAggType[];
193
192
  last?: MarketplaceByDateAggType;
194
193
  name?: string;
195
- partners?: [MarketplacePartnerAggType];
194
+ partners?: MarketplacePartnerAggType[];
196
195
  progression?: number;
197
196
  };
198
197
  export declare type MarketplacesAggType = {
199
- marketplaces: [MarketplaceAggType];
198
+ marketplaces: MarketplaceAggType[];
200
199
  };
201
200
  export declare type CheckByDateType = {
202
201
  date?: string;
@@ -206,7 +205,7 @@ export declare type CheckByDateType = {
206
205
  score?: number;
207
206
  };
208
207
  export declare type ChecksByStandardType = {
209
- data?: [CheckByDateType];
208
+ data?: CheckByDateType[];
210
209
  description?: string;
211
210
  last?: CheckByDateType;
212
211
  name?: string;
@@ -215,7 +214,7 @@ export declare type ChecksByStandardType = {
215
214
  severity?: string;
216
215
  };
217
216
  export declare type StandardWithCheckType = {
218
- checks?: [ChecksByStandardType];
217
+ checks?: ChecksByStandardType[];
219
218
  name?: string;
220
219
  reference?: string;
221
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.1",
7
+ "version": "3.30.0-rc.bdj.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",