@arrowsphere/api-client 3.28.0-rc.bdj.3 → 3.28.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.
@@ -1,19 +1,19 @@
1
1
  import { SearchBodyArgument, PaginateArgument } from './queryArguments';
2
- import { AccountsAggType, CheckType, EndCustomersAggType, FilterType, IssuesAggType, MonthlyTrendAggType, PeriodsType, ScoreResultType, SeveritiesAggType, StandardsAggType, StandardType } from './securityScoreGraphQLTypes';
2
+ import { AccountsAggSchema, CheckSchema, EndCustomersAggSchema, FilterSchema, IssuesAggSchema, MonthlyTrendAggSchema, PeriodsSchema, ScoreResultSchema, SeveritiesAggSchema, StandardsAggSchema, StandardSchema } from './securityScoreGraphQLSchemas';
3
3
  export declare type GetPartnerDataQuery = {
4
4
  getPartnerData: {
5
5
  __args?: {
6
6
  searchBody?: SearchBodyArgument;
7
7
  paginate?: PaginateArgument;
8
8
  };
9
- filters?: [FilterType];
10
- results?: [ScoreResultType];
11
- avgCurrentScore?: number;
12
- monthlyTrendAgg?: MonthlyTrendAggType;
13
- endCustomersAgg?: EndCustomersAggType;
14
- issueAgg?: IssuesAggType;
15
- severityAgg?: SeveritiesAggType;
16
- period?: PeriodsType;
9
+ filters?: FilterSchema;
10
+ results?: ScoreResultSchema;
11
+ avgCurrentScore?: boolean;
12
+ monthlyTrendAgg?: MonthlyTrendAggSchema;
13
+ endCustomersAgg?: EndCustomersAggSchema;
14
+ issueAgg?: IssuesAggSchema;
15
+ severityAgg?: SeveritiesAggSchema;
16
+ period?: PeriodsSchema;
17
17
  };
18
18
  };
19
19
  export declare type GetCustomerDataQuery = {
@@ -21,15 +21,15 @@ export declare type GetCustomerDataQuery = {
21
21
  __args?: {
22
22
  searchBody?: SearchBodyArgument;
23
23
  };
24
- accountsAgg?: AccountsAggType;
25
- avgCurrentScore?: number;
26
- filters?: [FilterType];
27
- monthlyTrendAgg?: MonthlyTrendAggType;
28
- period?: PeriodsType;
29
- results?: [ScoreResultType];
30
- severityAgg?: SeveritiesAggType;
31
- standards?: [StandardType];
32
- subscriptionReferences?: number;
24
+ filters?: FilterSchema;
25
+ accountsAgg?: AccountsAggSchema;
26
+ severityAgg?: SeveritiesAggSchema;
27
+ period?: PeriodsSchema;
28
+ avgCurrentScore?: boolean;
29
+ monthlyTrendAgg?: MonthlyTrendAggSchema;
30
+ results?: ScoreResultSchema;
31
+ standards?: StandardSchema;
32
+ subscriptionReferences?: boolean;
33
33
  };
34
34
  };
35
35
  export declare type GetCustomerAccountDataQuery = {
@@ -37,14 +37,14 @@ export declare type GetCustomerAccountDataQuery = {
37
37
  __args?: {
38
38
  searchBody?: SearchBodyArgument;
39
39
  };
40
+ filters?: [FilterSchema];
40
41
  avgCurrentScore?: boolean;
41
- checks?: [CheckType];
42
- filters?: [FilterType];
43
- monthlyTrendAgg?: MonthlyTrendAggType;
44
- period?: PeriodsType;
45
- result?: ScoreResultType;
46
- severityAgg?: SeveritiesAggType;
47
- standardsAgg?: StandardsAggType;
48
- standards?: [StandardType];
42
+ standardsAgg?: StandardsAggSchema;
43
+ severityAgg?: SeveritiesAggSchema;
44
+ period?: PeriodsSchema;
45
+ checks?: CheckSchema;
46
+ monthlyTrendAgg?: MonthlyTrendAggSchema;
47
+ result?: ScoreResultSchema;
48
+ standards?: StandardSchema;
49
49
  };
50
50
  };
@@ -0,0 +1,70 @@
1
+ import { Merge, Schema } from 'type-fest';
2
+ import { AccountType, CheckType, CompareAccountAggType, CompareEndCustomerAggType, CompareStandardAggType, FilterValuesType, IssueDataAggType, MonthlyTrendAggType, NameCountByDateType, PeriodsType, RegistrationType, ScoreByMonthType, StandardAggType, StandardType } from './securityScoreGraphQLTypes';
3
+ declare type MissingFieldsOfMonthlyTrendAggSchema = {
4
+ scores?: Schema<ScoreByMonthType, boolean>;
5
+ };
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;
13
+ };
14
+ export declare type EndCustomersAggSchema = {
15
+ customers: EndCustomerAggSchema;
16
+ };
17
+ declare type CompareAccountAggSchema = Schema<CompareAccountAggType, boolean>;
18
+ export declare type AccountAggSchema = {
19
+ accountRef?: boolean;
20
+ data?: CompareAccountAggSchema;
21
+ progression?: boolean;
22
+ };
23
+ export declare type AccountsAggSchema = {
24
+ accounts: AccountAggSchema;
25
+ };
26
+ declare type FilterValuesSchema = Schema<FilterValuesType, boolean>;
27
+ export declare type FilterSchema = {
28
+ name?: boolean;
29
+ values?: FilterValuesSchema;
30
+ };
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;
39
+ };
40
+ declare type IssueDataAggSchema = Merge<Schema<IssueDataAggType, boolean>, MissingFieldsInIssueDataAggSchema>;
41
+ export declare type IssuesAggSchema = {
42
+ issues: IssueDataAggSchema;
43
+ };
44
+ export declare type PeriodsSchema = Schema<PeriodsType, boolean>;
45
+ export declare type CheckSchema = Schema<CheckType, boolean>;
46
+ declare type MissingFieldsInStandardType = {
47
+ checks?: CheckSchema;
48
+ };
49
+ export declare type StandardSchema = Merge<Schema<StandardType, boolean>, MissingFieldsInStandardType>;
50
+ declare type MissingFieldsInAccountSchema = {
51
+ standards: StandardSchema;
52
+ };
53
+ declare type AccountSchema = Merge<Schema<AccountType, boolean>, MissingFieldsInAccountSchema>;
54
+ declare type RegistrationSchema = Schema<RegistrationType, boolean>;
55
+ export declare type ScoreResultSchema = {
56
+ account?: AccountSchema;
57
+ registration?: RegistrationSchema;
58
+ };
59
+ export declare type SeveritiesAggSchema = {
60
+ severities: NameAggSchema;
61
+ };
62
+ declare type CompareStandardAggSchema = Schema<CompareStandardAggType, boolean>;
63
+ declare type MissingFieldsInStandardAggSchema = {
64
+ data?: CompareStandardAggSchema;
65
+ };
66
+ declare type StandardAggSchema = Merge<Schema<StandardAggType, boolean>, MissingFieldsInStandardAggSchema>;
67
+ export declare type StandardsAggSchema = {
68
+ standards: StandardAggSchema;
69
+ };
70
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=securityScoreGraphQLSchemas.js.map
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.28.0-rc.bdj.3",
7
+ "version": "3.28.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",