@arrowsphere/api-client 3.29.0 → 3.30.0-rc.bdj.1
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/getPartnerData.d.ts +4 -1
- package/build/securityScore/entities/getPartnerData.js +9 -2
- package/build/securityScore/types/queryArguments.d.ts +3 -3
- package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +2 -1
- package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +15 -1
- package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +35 -0
- package/package.json +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
-
import { EndCustomersAggType, FilterType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType,
|
|
2
|
+
import { ChecksAggType, EndCustomersAggType, FilterType, MarketplacesAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/securityScoreGraphQLTypes';
|
|
3
3
|
import { SecurityScoreQueries } from '../types/queryArguments';
|
|
4
4
|
export declare enum GetPartnerDataFields {
|
|
5
5
|
COLUMN_AVG_CURRENT_SCORE = "avgCurrentScore",
|
|
6
6
|
COLUMN_CHECKS_AGG = "checksAgg",
|
|
7
7
|
COLUMN_END_CUSTOMERS_AGG = "endCustomersAgg",
|
|
8
8
|
COLUMN_FILTERS = "filters",
|
|
9
|
+
COLUMN_MARKETPLACES_AGG = "marketplacesAgg",
|
|
9
10
|
COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
|
|
10
11
|
COLUMN_PAGINATION = "pagination",
|
|
11
12
|
COLUMN_PERIOD = "period",
|
|
@@ -18,6 +19,7 @@ export declare type GetPartnerDataType = {
|
|
|
18
19
|
[GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
|
|
19
20
|
[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggType;
|
|
20
21
|
[GetPartnerDataFields.COLUMN_FILTERS]?: [FilterType];
|
|
22
|
+
[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggType;
|
|
21
23
|
[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
|
|
22
24
|
[GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationsType;
|
|
23
25
|
[GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsType;
|
|
@@ -36,6 +38,7 @@ export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
|
|
|
36
38
|
get endCustomersAgg(): EndCustomersAggType | undefined;
|
|
37
39
|
get filters(): [FilterType] | undefined;
|
|
38
40
|
get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
|
|
41
|
+
get marketplacesAgg(): MarketplacesAggType | undefined;
|
|
39
42
|
get period(): PeriodsType | undefined;
|
|
40
43
|
get pagination(): PaginationsType | undefined;
|
|
41
44
|
get results(): [ScoreResultType] | undefined;
|
|
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
11
11
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
12
12
|
};
|
|
13
|
-
var _GetPartnerData_avgCurrentScore, _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_filters, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
|
|
13
|
+
var _GetPartnerData_avgCurrentScore, _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_filters, _GetPartnerData_marketplacesAgg, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.GetPartnerData = exports.GetPartnerDataFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../abstractEntity");
|
|
@@ -21,6 +21,7 @@ var GetPartnerDataFields;
|
|
|
21
21
|
GetPartnerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
|
|
22
22
|
GetPartnerDataFields["COLUMN_END_CUSTOMERS_AGG"] = "endCustomersAgg";
|
|
23
23
|
GetPartnerDataFields["COLUMN_FILTERS"] = "filters";
|
|
24
|
+
GetPartnerDataFields["COLUMN_MARKETPLACES_AGG"] = "marketplacesAgg";
|
|
24
25
|
GetPartnerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
|
|
25
26
|
GetPartnerDataFields["COLUMN_PAGINATION"] = "pagination";
|
|
26
27
|
GetPartnerDataFields["COLUMN_PERIOD"] = "period";
|
|
@@ -35,6 +36,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
|
|
|
35
36
|
_GetPartnerData_checksAgg.set(this, void 0);
|
|
36
37
|
_GetPartnerData_endCustomersAgg.set(this, void 0);
|
|
37
38
|
_GetPartnerData_filters.set(this, void 0);
|
|
39
|
+
_GetPartnerData_marketplacesAgg.set(this, void 0);
|
|
38
40
|
_GetPartnerData_monthlyTrendAgg.set(this, void 0);
|
|
39
41
|
_GetPartnerData_period.set(this, void 0);
|
|
40
42
|
_GetPartnerData_pagination.set(this, void 0);
|
|
@@ -45,6 +47,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
|
|
|
45
47
|
__classPrivateFieldSet(this, _GetPartnerData_checksAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_CHECKS_AGG], "f");
|
|
46
48
|
__classPrivateFieldSet(this, _GetPartnerData_endCustomersAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG], "f");
|
|
47
49
|
__classPrivateFieldSet(this, _GetPartnerData_filters, getPartnerDataInput[GetPartnerDataFields.COLUMN_FILTERS], "f");
|
|
50
|
+
__classPrivateFieldSet(this, _GetPartnerData_marketplacesAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG], "f");
|
|
48
51
|
__classPrivateFieldSet(this, _GetPartnerData_monthlyTrendAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
|
|
49
52
|
__classPrivateFieldSet(this, _GetPartnerData_period, getPartnerDataInput[GetPartnerDataFields.COLUMN_PERIOD], "f");
|
|
50
53
|
__classPrivateFieldSet(this, _GetPartnerData_pagination, getPartnerDataInput[GetPartnerDataFields.COLUMN_PAGINATION], "f");
|
|
@@ -67,6 +70,9 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
|
|
|
67
70
|
get monthlyTrendAgg() {
|
|
68
71
|
return __classPrivateFieldGet(this, _GetPartnerData_monthlyTrendAgg, "f");
|
|
69
72
|
}
|
|
73
|
+
get marketplacesAgg() {
|
|
74
|
+
return __classPrivateFieldGet(this, _GetPartnerData_marketplacesAgg, "f");
|
|
75
|
+
}
|
|
70
76
|
get period() {
|
|
71
77
|
return __classPrivateFieldGet(this, _GetPartnerData_period, "f");
|
|
72
78
|
}
|
|
@@ -88,6 +94,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
|
|
|
88
94
|
[GetPartnerDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
|
|
89
95
|
[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]: this.endCustomersAgg,
|
|
90
96
|
[GetPartnerDataFields.COLUMN_FILTERS]: this.filters,
|
|
97
|
+
[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]: this.marketplacesAgg,
|
|
91
98
|
[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
|
|
92
99
|
[GetPartnerDataFields.COLUMN_PERIOD]: this.period,
|
|
93
100
|
[GetPartnerDataFields.COLUMN_PAGINATION]: this.pagination,
|
|
@@ -98,5 +105,5 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
|
|
|
98
105
|
}
|
|
99
106
|
}
|
|
100
107
|
exports.GetPartnerData = GetPartnerData;
|
|
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();
|
|
108
|
+
_GetPartnerData_avgCurrentScore = new WeakMap(), _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_filters = new WeakMap(), _GetPartnerData_marketplacesAgg = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_period = new WeakMap(), _GetPartnerData_pagination = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_scoresAgg = new WeakMap(), _GetPartnerData_severitiesAgg = new WeakMap();
|
|
102
109
|
//# sourceMappingURL=getPartnerData.js.map
|
|
@@ -84,13 +84,13 @@ export declare type PaginateArgument = {
|
|
|
84
84
|
[PaginateFields.PER_PAGE]?: number;
|
|
85
85
|
};
|
|
86
86
|
export declare type SearchBodyArgument = {
|
|
87
|
-
[SearchBodyFields.FILTERS]?: [SearchFilterArgument];
|
|
88
87
|
[SearchBodyFields.EXCLUSION_FILTERS]?: [SearchFilterArgument];
|
|
89
|
-
[SearchBodyFields.
|
|
90
|
-
[SearchBodyFields.SUBSCRIPTION_REFERENCE]?: [[string]];
|
|
88
|
+
[SearchBodyFields.FILTERS]?: [SearchFilterArgument];
|
|
91
89
|
[SearchBodyFields.MARKETPLACE]?: [[string]];
|
|
92
90
|
[SearchBodyFields.MONTHLY_TREND_PERIOD]?: PeriodInputArgument;
|
|
93
91
|
[SearchBodyFields.PERIOD]?: PeriodInputArgument;
|
|
92
|
+
[SearchBodyFields.SORT]?: [SortArgument];
|
|
93
|
+
[SearchBodyFields.SUBSCRIPTION_REFERENCE]?: [[string]];
|
|
94
94
|
};
|
|
95
95
|
export declare type PeriodInputArgument = {
|
|
96
96
|
[PeriodInputFields.FROM]: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SearchBodyArgument, PaginateArgument, SecurityScoreQueries } from './queryArguments';
|
|
2
|
-
import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, FilterSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema, StandardWithCheckSchema } from './securityScoreGraphQLSchemas';
|
|
2
|
+
import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, FilterSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema, StandardWithCheckSchema, MarketplacesAggSchema } from './securityScoreGraphQLSchemas';
|
|
3
3
|
import { GetPartnerDataFields } from '../entities/getPartnerData';
|
|
4
4
|
import { GetCustomerDataFields } from '../entities/getCustomerData';
|
|
5
5
|
import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
|
|
@@ -13,6 +13,7 @@ export declare type GetPartnerDataQuery = {
|
|
|
13
13
|
[GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggSchema;
|
|
14
14
|
[GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggSchema;
|
|
15
15
|
[GetPartnerDataFields.COLUMN_FILTERS]?: FilterSchema;
|
|
16
|
+
[GetPartnerDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggSchema;
|
|
16
17
|
[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
|
|
17
18
|
[GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
|
|
18
19
|
[GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Merge, Schema } from 'type-fest';
|
|
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';
|
|
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, MarketplaceAggType, MarketplaceByDateAggType, MarketplacePartnerAggType, MarketplacePartnerAggByDateAggType } from './securityScoreGraphQLTypes';
|
|
3
3
|
declare type MissingFieldsOfMonthlyTrendAggSchema = {
|
|
4
4
|
scores?: Schema<ScoreByMonthAggType, boolean>;
|
|
5
5
|
};
|
|
@@ -75,4 +75,18 @@ declare type MissingFieldsInStandardWithCheckSchema = {
|
|
|
75
75
|
checks?: ChecksByStandardSchema;
|
|
76
76
|
};
|
|
77
77
|
export declare type StandardWithCheckSchema = Merge<Schema<StandardWithCheckType, boolean>, MissingFieldsInStandardWithCheckSchema>;
|
|
78
|
+
declare type MarketplacePartnerAggByDateAggSchema = Schema<MarketplacePartnerAggByDateAggType, boolean>;
|
|
79
|
+
declare type MissingFieldsInMarketplacePartnerAggSchema = {
|
|
80
|
+
data?: MarketplacePartnerAggByDateAggSchema;
|
|
81
|
+
};
|
|
82
|
+
declare type MarketplacePartnerAggSchema = Merge<Schema<MarketplacePartnerAggType, boolean>, MissingFieldsInMarketplacePartnerAggSchema>;
|
|
83
|
+
declare type MarketplaceByDateAggSchema = Schema<MarketplaceByDateAggType, boolean>;
|
|
84
|
+
declare type MissingFieldsInMarketplaceAggSchema = {
|
|
85
|
+
data?: MarketplaceByDateAggSchema;
|
|
86
|
+
partners?: MarketplacePartnerAggSchema;
|
|
87
|
+
};
|
|
88
|
+
declare type MarketplaceAggSchema = Merge<Schema<MarketplaceAggType, boolean>, MissingFieldsInMarketplaceAggSchema>;
|
|
89
|
+
export declare type MarketplacesAggSchema = {
|
|
90
|
+
marketplaces?: MarketplaceAggSchema;
|
|
91
|
+
};
|
|
78
92
|
export {};
|
|
@@ -163,6 +163,41 @@ export declare type StandardAggType = {
|
|
|
163
163
|
export declare type StandardsAggType = {
|
|
164
164
|
standards: [StandardAggType];
|
|
165
165
|
};
|
|
166
|
+
export declare type MarketplaceSubscriptionReferenceAggType = {
|
|
167
|
+
accounts?: number;
|
|
168
|
+
avgCurrentScore?: number;
|
|
169
|
+
name?: string;
|
|
170
|
+
};
|
|
171
|
+
export declare type MarketplaceSubscriptionReferencesAggType = {
|
|
172
|
+
subscriptionReferences?: [MarketplaceSubscriptionReferenceAggType];
|
|
173
|
+
};
|
|
174
|
+
export declare type MarketplacePartnerAggByDateAggType = {
|
|
175
|
+
accounts?: number;
|
|
176
|
+
avgCurrentScore?: number;
|
|
177
|
+
date?: string;
|
|
178
|
+
subscriptionReferencesAgg?: MarketplaceSubscriptionReferencesAggType;
|
|
179
|
+
};
|
|
180
|
+
export declare type MarketplaceByDateAggType = {
|
|
181
|
+
avgCurrentScore?: number;
|
|
182
|
+
date?: string;
|
|
183
|
+
};
|
|
184
|
+
export declare type MarketplacePartnerAggType = {
|
|
185
|
+
data?: [MarketplacePartnerAggByDateAggType];
|
|
186
|
+
last?: MarketplacePartnerAggByDateAggType;
|
|
187
|
+
name?: string;
|
|
188
|
+
reference?: string;
|
|
189
|
+
progression?: number;
|
|
190
|
+
};
|
|
191
|
+
export declare type MarketplaceAggType = {
|
|
192
|
+
data?: [MarketplaceByDateAggType];
|
|
193
|
+
last?: MarketplaceByDateAggType;
|
|
194
|
+
name?: string;
|
|
195
|
+
partners?: [MarketplacePartnerAggType];
|
|
196
|
+
progression?: number;
|
|
197
|
+
};
|
|
198
|
+
export declare type MarketplacesAggType = {
|
|
199
|
+
marketplaces: [MarketplaceAggType];
|
|
200
|
+
};
|
|
166
201
|
export declare type CheckByDateType = {
|
|
167
202
|
date?: string;
|
|
168
203
|
flagged?: number;
|
package/package.json
CHANGED