@arrowsphere/api-client 3.53.0 → 3.54.0

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/CHANGELOG.md CHANGED
@@ -3,6 +3,11 @@
3
3
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
4
4
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
 
6
+ ## [3.54.0] - 2023-09-21
7
+
8
+ ### Changed
9
+ - Changing the CheckCountByDateAggType type in Well Architected. **count** is deprecated and adding **score** and **scoreUnit**.
10
+
6
11
 
7
12
  ## [3.53.0] - 2023-09-23
8
13
 
package/build/index.d.ts CHANGED
@@ -21,7 +21,7 @@ export * from './shared/';
21
21
  export * from './security/';
22
22
  export * from './subscriptions/';
23
23
  export * from './supportCenter/';
24
+ export * from './securityScore/';
24
25
  export * from './user/';
25
- export * from './wellArchitected/';
26
26
  export { ContactInformation };
27
27
  import * as ContactInformation from './contact';
package/build/index.js CHANGED
@@ -50,9 +50,8 @@ __exportStar(require("./shared/"), exports);
50
50
  __exportStar(require("./security/"), exports);
51
51
  __exportStar(require("./subscriptions/"), exports);
52
52
  __exportStar(require("./supportCenter/"), exports);
53
- // export * from './securityScore/';
53
+ __exportStar(require("./securityScore/"), exports);
54
54
  __exportStar(require("./user/"), exports);
55
- __exportStar(require("./wellArchitected/"), exports);
56
55
  const ContactInformation = __importStar(require("./contact"));
57
56
  exports.ContactInformation = ContactInformation;
58
57
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,10 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { ChecksAggType, MarketplacesAggType, MonthlyTrendAggType, PaginationsType, PartnersAggType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
+ /**
5
+ * @deprecated
6
+ * Prefer using equivalent type in the wellArchitected
7
+ */
4
8
  export declare enum GetAdminDataFields {
5
9
  COLUMN_CHECKS_AGG = "checksAgg",
6
10
  COLUMN_MARKETPLACES_AGG = "marketplacesAgg",
@@ -12,6 +16,10 @@ export declare enum GetAdminDataFields {
12
16
  COLUMN_SCORES_AGG = "scoresAgg",
13
17
  COLUMN_SEVERITIES_AGG = "severitiesAgg"
14
18
  }
19
+ /**
20
+ * @deprecated
21
+ * Prefer using equivalent type in the wellArchitected
22
+ */
15
23
  export declare type GetAdminDataType = {
16
24
  [GetAdminDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
17
25
  [GetAdminDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggType;
@@ -23,9 +31,17 @@ export declare type GetAdminDataType = {
23
31
  [GetAdminDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
32
  [GetAdminDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
33
  };
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent type in the wellArchitected
37
+ */
26
38
  export declare type GetAdminDataGraphQLResultType = {
27
39
  [SecurityScoreQueries.GET_ADMIN_DATA]: GetAdminDataType;
28
40
  };
41
+ /**
42
+ * @deprecated
43
+ * Prefer using equivalent class in the wellArchitected
44
+ */
29
45
  export declare class GetAdminData extends AbstractEntity<GetAdminDataType> {
30
46
  #private;
31
47
  constructor(getAdminDataInput: GetAdminDataType);
@@ -15,6 +15,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetAdminData = exports.GetAdminDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
17
17
  const queryArguments_1 = require("../types/queryArguments");
18
+ /**
19
+ * @deprecated
20
+ * Prefer using equivalent type in the wellArchitected
21
+ */
18
22
  var GetAdminDataFields;
19
23
  (function (GetAdminDataFields) {
20
24
  GetAdminDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
@@ -27,6 +31,10 @@ var GetAdminDataFields;
27
31
  GetAdminDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
32
  GetAdminDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
29
33
  })(GetAdminDataFields = exports.GetAdminDataFields || (exports.GetAdminDataFields = {}));
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent class in the wellArchitected
37
+ */
30
38
  class GetAdminData extends abstractEntity_1.AbstractEntity {
31
39
  constructor(getAdminDataInput) {
32
40
  super(getAdminDataInput);
@@ -1,6 +1,10 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { ChecksAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
+ /**
5
+ * @deprecated
6
+ * Prefer using equivalent type in the wellArchitected
7
+ */
4
8
  export declare enum GetCustomerAccountDataFields {
5
9
  COLUMN_CHECKS_AGG = "checksAgg",
6
10
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
@@ -12,6 +16,10 @@ export declare enum GetCustomerAccountDataFields {
12
16
  COLUMN_STANDARDS_AGG = "standardsAgg",
13
17
  COLUMN_STANDARDS = "standards"
14
18
  }
19
+ /**
20
+ * @deprecated
21
+ * Prefer using equivalent type in the wellArchitected
22
+ */
15
23
  export declare type GetCustomerAccountDataType = {
16
24
  [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
17
25
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
@@ -23,9 +31,17 @@ export declare type GetCustomerAccountDataType = {
23
31
  [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggType;
24
32
  [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckType[];
25
33
  };
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent type in the wellArchitected
37
+ */
26
38
  export declare type GetCustomerAccountDataGraphQLResultType = {
27
39
  [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: GetCustomerAccountDataType;
28
40
  };
41
+ /**
42
+ * @deprecated
43
+ * Prefer using equivalent type in the wellArchitected
44
+ */
29
45
  export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAccountDataType> {
30
46
  #private;
31
47
  constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
@@ -15,6 +15,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerAccountData = exports.GetCustomerAccountDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
17
17
  const queryArguments_1 = require("../types/queryArguments");
18
+ /**
19
+ * @deprecated
20
+ * Prefer using equivalent type in the wellArchitected
21
+ */
18
22
  var GetCustomerAccountDataFields;
19
23
  (function (GetCustomerAccountDataFields) {
20
24
  GetCustomerAccountDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
@@ -27,6 +31,10 @@ var GetCustomerAccountDataFields;
27
31
  GetCustomerAccountDataFields["COLUMN_STANDARDS_AGG"] = "standardsAgg";
28
32
  GetCustomerAccountDataFields["COLUMN_STANDARDS"] = "standards";
29
33
  })(GetCustomerAccountDataFields = exports.GetCustomerAccountDataFields || (exports.GetCustomerAccountDataFields = {}));
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent type in the wellArchitected
37
+ */
30
38
  class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
31
39
  constructor(getCustomerAccountDataInput) {
32
40
  super(getCustomerAccountDataInput);
@@ -1,6 +1,10 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { AccountsAggType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, PaginationsType, PeriodsType, ChecksAggType, ScoresAggType, StandardWithCheckType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
+ /**
5
+ * @deprecated
6
+ * Prefer using equivalent type in the wellArchitected
7
+ */
4
8
  export declare enum GetCustomerDataFields {
5
9
  COLUMN_ACCOUNTS_AGG = "accountsAgg",
6
10
  COLUMN_CHECKS_AGG = "checksAgg",
@@ -13,6 +17,10 @@ export declare enum GetCustomerDataFields {
13
17
  COLUMN_STANDARDS = "standards",
14
18
  COLUMN_SUBSCRIPTION_REFERENCES = "subscriptionReferences"
15
19
  }
20
+ /**
21
+ * @deprecated
22
+ * Prefer using equivalent type in the wellArchitected
23
+ */
16
24
  export declare type GetCustomerDataType = {
17
25
  [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
18
26
  [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
@@ -25,9 +33,17 @@ export declare type GetCustomerDataType = {
25
33
  [GetCustomerDataFields.COLUMN_STANDARDS]?: StandardWithCheckType[];
26
34
  [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: number;
27
35
  };
36
+ /**
37
+ * @deprecated
38
+ * Prefer using equivalent type in the wellArchitected
39
+ */
28
40
  export declare type GetCustomerDataGraphQLResultType = {
29
41
  [SecurityScoreQueries.GET_CUSTOMER_DATA]: GetCustomerDataType;
30
42
  };
43
+ /**
44
+ * @deprecated
45
+ * Prefer using equivalent type in the wellArchitected
46
+ */
31
47
  export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType> {
32
48
  #private;
33
49
  constructor(getCustomerDataInput: GetCustomerDataType);
@@ -15,6 +15,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerData = exports.GetCustomerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
17
17
  const queryArguments_1 = require("../types/queryArguments");
18
+ /**
19
+ * @deprecated
20
+ * Prefer using equivalent type in the wellArchitected
21
+ */
18
22
  var GetCustomerDataFields;
19
23
  (function (GetCustomerDataFields) {
20
24
  GetCustomerDataFields["COLUMN_ACCOUNTS_AGG"] = "accountsAgg";
@@ -28,6 +32,10 @@ var GetCustomerDataFields;
28
32
  GetCustomerDataFields["COLUMN_STANDARDS"] = "standards";
29
33
  GetCustomerDataFields["COLUMN_SUBSCRIPTION_REFERENCES"] = "subscriptionReferences";
30
34
  })(GetCustomerDataFields = exports.GetCustomerDataFields || (exports.GetCustomerDataFields = {}));
35
+ /**
36
+ * @deprecated
37
+ * Prefer using equivalent type in the wellArchitected
38
+ */
31
39
  class GetCustomerData extends abstractEntity_1.AbstractEntity {
32
40
  constructor(getCustomerDataInput) {
33
41
  super(getCustomerDataInput);
@@ -1,6 +1,10 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
2
  import { ChecksAggType, EndCustomersAggType, MarketplacesAggType, MonthlyTrendAggType, PaginationsType, PeriodsType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/securityScoreGraphQLTypes';
3
3
  import { SecurityScoreQueries } from '../types/queryArguments';
4
+ /**
5
+ * @deprecated
6
+ * Prefer using equivalent type in the wellArchitected
7
+ */
4
8
  export declare enum GetPartnerDataFields {
5
9
  COLUMN_CHECKS_AGG = "checksAgg",
6
10
  COLUMN_END_CUSTOMERS_AGG = "endCustomersAgg",
@@ -12,6 +16,10 @@ export declare enum GetPartnerDataFields {
12
16
  COLUMN_SCORES_AGG = "scoresAgg",
13
17
  COLUMN_SEVERITIES_AGG = "severitiesAgg"
14
18
  }
19
+ /**
20
+ * @deprecated
21
+ * Prefer using equivalent type in the wellArchitected
22
+ */
15
23
  export declare type GetPartnerDataType = {
16
24
  [GetPartnerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
17
25
  [GetPartnerDataFields.COLUMN_END_CUSTOMERS_AGG]?: EndCustomersAggType;
@@ -23,9 +31,17 @@ export declare type GetPartnerDataType = {
23
31
  [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
32
  [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
33
  };
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent type in the wellArchitected
37
+ */
26
38
  export declare type GetPartnerDataGraphQLResultType = {
27
39
  [SecurityScoreQueries.GET_PARTNER_DATA]: GetPartnerDataType;
28
40
  };
41
+ /**
42
+ * @deprecated
43
+ * Prefer using equivalent type in the wellArchitected
44
+ */
29
45
  export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
30
46
  #private;
31
47
  constructor(getPartnerDataInput: GetPartnerDataType);
@@ -15,6 +15,10 @@ 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
+ /**
19
+ * @deprecated
20
+ * Prefer using equivalent type in the wellArchitected
21
+ */
18
22
  var GetPartnerDataFields;
19
23
  (function (GetPartnerDataFields) {
20
24
  GetPartnerDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
@@ -27,6 +31,10 @@ var GetPartnerDataFields;
27
31
  GetPartnerDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
32
  GetPartnerDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
29
33
  })(GetPartnerDataFields = exports.GetPartnerDataFields || (exports.GetPartnerDataFields = {}));
34
+ /**
35
+ * @deprecated
36
+ * Prefer using equivalent type in the wellArchitected
37
+ */
30
38
  class GetPartnerData extends abstractEntity_1.AbstractEntity {
31
39
  constructor(getPartnerDataInput) {
32
40
  super(getPartnerDataInput);
@@ -4,6 +4,10 @@ import { GetCustomerDataType } from './entities/getCustomerData';
4
4
  import { GetCustomerAccountDataType } from './entities/getCustomerAccountData';
5
5
  import { GetPartnerDataQuery, GetCustomerDataQuery, GetCustomerAccountDataQuery, GetAdminDataQuery } from './types/securityScoreGraphQLQueries';
6
6
  import { GetAdminDataType } from './entities/getAdminData';
7
+ /**
8
+ * @deprecated
9
+ * Prefer using equivalent class in the wellArchitected -> WellArchitectedGraphQLClient
10
+ */
7
11
  export declare class SecurityScoreGraphQLClient extends AbstractGraphQLClient {
8
12
  /**
9
13
  * The base path of the API
@@ -7,6 +7,10 @@ const getCustomerData_1 = require("./entities/getCustomerData");
7
7
  const getCustomerAccountData_1 = require("./entities/getCustomerAccountData");
8
8
  const queryArguments_1 = require("./types/queryArguments");
9
9
  const getAdminData_1 = require("./entities/getAdminData");
10
+ /**
11
+ * @deprecated
12
+ * Prefer using equivalent class in the wellArchitected -> WellArchitectedGraphQLClient
13
+ */
10
14
  class SecurityScoreGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient {
11
15
  constructor() {
12
16
  super(...arguments);
@@ -6,6 +6,10 @@ export declare enum OperatorArgument {
6
6
  AND = "AND",
7
7
  BETWEEN = "BETWEEN"
8
8
  }
9
+ /**
10
+ * @deprecated
11
+ * Prefer using equivalent type in the wellArchitected
12
+ */
9
13
  export declare enum PeriodInputFields {
10
14
  FROM = "from",
11
15
  TO = "to"
@@ -10,6 +10,10 @@ var OperatorArgument;
10
10
  OperatorArgument["AND"] = "AND";
11
11
  OperatorArgument["BETWEEN"] = "BETWEEN";
12
12
  })(OperatorArgument = exports.OperatorArgument || (exports.OperatorArgument = {}));
13
+ /**
14
+ * @deprecated
15
+ * Prefer using equivalent type in the wellArchitected
16
+ */
13
17
  var PeriodInputFields;
14
18
  (function (PeriodInputFields) {
15
19
  PeriodInputFields["FROM"] = "from";
@@ -4,6 +4,10 @@ import { GetPartnerDataFields } from '../entities/getPartnerData';
4
4
  import { GetCustomerDataFields } from '../entities/getCustomerData';
5
5
  import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
6
6
  import { GetAdminDataFields } from '../entities/getAdminData';
7
+ /**
8
+ * @deprecated
9
+ * Prefer using equivalent type in the wellArchitected
10
+ */
7
11
  export declare type GetPartnerDataQuery = {
8
12
  [SecurityScoreQueries.GET_PARTNER_DATA]: {
9
13
  __args?: {
@@ -21,6 +25,10 @@ export declare type GetPartnerDataQuery = {
21
25
  [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
22
26
  };
23
27
  };
28
+ /**
29
+ * @deprecated
30
+ * Prefer using equivalent type in the wellArchitected
31
+ */
24
32
  export declare type GetCustomerDataQuery = {
25
33
  [SecurityScoreQueries.GET_CUSTOMER_DATA]: {
26
34
  __args?: {
@@ -39,6 +47,10 @@ export declare type GetCustomerDataQuery = {
39
47
  [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: boolean;
40
48
  };
41
49
  };
50
+ /**
51
+ * @deprecated
52
+ * Prefer using equivalent type in the wellArchitected
53
+ */
42
54
  export declare type GetCustomerAccountDataQuery = {
43
55
  [SecurityScoreQueries.GET_CUSTOMER_ACCOUNT_DATA]: {
44
56
  __args?: {
@@ -56,6 +68,10 @@ export declare type GetCustomerAccountDataQuery = {
56
68
  [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckSchema;
57
69
  };
58
70
  };
71
+ /**
72
+ * @deprecated
73
+ * Prefer using equivalent type in the wellArchitected
74
+ */
59
75
  export declare type GetAdminDataQuery = {
60
76
  [SecurityScoreQueries.GET_ADMIN_DATA]: {
61
77
  __args?: {
@@ -3,7 +3,15 @@ import { AccountType, CheckType, FilterValuesType, MonthlyTrendAggType, PeriodsT
3
3
  declare type MissingFieldsOfMonthlyTrendAggSchema = {
4
4
  scores?: Schema<ScoreByMonthAggType, boolean>;
5
5
  };
6
+ /**
7
+ * @deprecated
8
+ * Prefer using equivalent type in the wellArchitected
9
+ */
6
10
  export declare type MonthlyTrendAggSchema = Merge<Schema<MonthlyTrendAggType, boolean>, MissingFieldsOfMonthlyTrendAggSchema>;
11
+ /**
12
+ * @deprecated
13
+ * Prefer using equivalent type in the wellArchitected
14
+ */
7
15
  export declare type PaginationSchema = Schema<PaginationsType, boolean>;
8
16
  declare type EndCustomerByDateAggSchema = Schema<EndCustomerByDateAggType, boolean>;
9
17
  declare type MissingFieldsInEndCustomerAggSchema = {
@@ -25,6 +33,10 @@ declare type MissingFieldsInUnregisteredEndCustomerAggSchema = {
25
33
  offers?: UnregisteredOffersSchema;
26
34
  };
27
35
  declare type UnregisteredEndCustomerAggSchema = Merge<UnregisteredEndCustomerAggTypeSchema, MissingFieldsInUnregisteredEndCustomerAggSchema>;
36
+ /**
37
+ * @deprecated
38
+ * Prefer using equivalent type in the wellArchitected
39
+ */
28
40
  export declare type EndCustomersAggSchema = {
29
41
  customers?: EndCustomerAggSchema;
30
42
  unregisteredCustomers?: UnregisteredEndCustomerAggSchema;
@@ -34,11 +46,19 @@ declare type MissingFieldsInAccountAggSchema = {
34
46
  data?: AccountByDateAggSchema;
35
47
  };
36
48
  declare type AccountAggSchema = Merge<Schema<AccountAggType, boolean>, MissingFieldsInAccountAggSchema>;
49
+ /**
50
+ * @deprecated
51
+ * Prefer using equivalent type in the wellArchitected
52
+ */
37
53
  export declare type AccountsAggSchema = {
38
54
  accounts?: AccountAggSchema;
39
55
  unregisteredAccounts?: UnregisteredOffersSchema;
40
56
  };
41
57
  declare type FilterValuesSchema = Schema<FilterValuesType, boolean>;
58
+ /**
59
+ * @deprecated
60
+ * Prefer using equivalent type in the wellArchitected
61
+ */
42
62
  export declare type FilterSchema = {
43
63
  name?: boolean;
44
64
  values?: FilterValuesSchema;
@@ -52,25 +72,49 @@ declare type MissingFieldsInCheckAggSchema = {
52
72
  data?: CheckCountByDateAggSchema;
53
73
  };
54
74
  declare type CheckAggSchema = Merge<Schema<CheckAggType, boolean>, MissingFieldsInCheckAggSchema>;
75
+ /**
76
+ * @deprecated
77
+ * Prefer using equivalent type in the wellArchitected
78
+ */
55
79
  export declare type ChecksAggSchema = {
56
80
  checks?: CheckAggSchema;
57
81
  };
82
+ /**
83
+ * @deprecated
84
+ * Prefer using equivalent type in the wellArchitected
85
+ */
58
86
  export declare type PeriodsSchema = Schema<PeriodsType, boolean>;
59
87
  declare type CheckSchema = Schema<CheckType, boolean>;
60
88
  declare type MissingFieldsInStandardType = {
61
89
  checks?: CheckSchema;
62
90
  };
91
+ /**
92
+ * @deprecated
93
+ * Prefer using equivalent type in the wellArchitected
94
+ */
63
95
  export declare type StandardSchema = Merge<Schema<StandardType, boolean>, MissingFieldsInStandardType>;
64
96
  declare type MissingFieldsInAccountSchema = {
65
97
  standards?: StandardSchema;
66
98
  };
67
99
  declare type AccountSchema = Merge<Schema<AccountType, boolean>, MissingFieldsInAccountSchema>;
68
100
  declare type RegistrationSchema = Schema<RegistrationType, boolean>;
101
+ /**
102
+ * @deprecated
103
+ * Prefer using equivalent type in the wellArchitected
104
+ */
69
105
  export declare type ScoreResultSchema = {
70
106
  account?: AccountSchema;
71
107
  registration?: RegistrationSchema;
72
108
  };
109
+ /**
110
+ * @deprecated
111
+ * Prefer using equivalent type in the wellArchitected
112
+ */
73
113
  export declare type SeverityAggSchema = Merge<Schema<SeverityAggType, boolean>, MissingFieldsInSeverityAggSchema>;
114
+ /**
115
+ * @deprecated
116
+ * Prefer using equivalent type in the wellArchitected
117
+ */
74
118
  export declare type SeveritiesAggSchema = {
75
119
  severities?: SeverityAggSchema;
76
120
  };
@@ -79,6 +123,10 @@ declare type MissingFieldsInStandardAggSchema = {
79
123
  data?: StandardByDateAggSchema;
80
124
  };
81
125
  declare type StandardAggSchema = Merge<Schema<StandardAggType, boolean>, MissingFieldsInStandardAggSchema>;
126
+ /**
127
+ * @deprecated
128
+ * Prefer using equivalent type in the wellArchitected
129
+ */
82
130
  export declare type StandardsAggSchema = {
83
131
  standards?: StandardAggSchema;
84
132
  };
@@ -86,6 +134,10 @@ declare type ScoreByDateAggSchema = Schema<ScoreByDateAggType, boolean>;
86
134
  declare type MissingFieldsInScoresAggSchema = {
87
135
  scores?: ScoreByDateAggSchema;
88
136
  };
137
+ /**
138
+ * @deprecated
139
+ * Prefer using equivalent type in the wellArchitected
140
+ */
89
141
  export declare type ScoresAggSchema = Merge<Schema<ScoresAggType, boolean>, MissingFieldsInScoresAggSchema>;
90
142
  declare type CheckByDateSchema = Schema<CheckByDateType, boolean>;
91
143
  declare type MissingFieldsInChecksByStandardSchema = {
@@ -95,6 +147,10 @@ declare type ChecksByStandardSchema = Merge<Schema<ChecksByStandardType, boolean
95
147
  declare type MissingFieldsInStandardWithCheckSchema = {
96
148
  checks?: ChecksByStandardSchema;
97
149
  };
150
+ /**
151
+ * @deprecated
152
+ * Prefer using equivalent type in the wellArchitected
153
+ */
98
154
  export declare type StandardWithCheckSchema = Merge<Schema<StandardWithCheckType, boolean>, MissingFieldsInStandardWithCheckSchema>;
99
155
  declare type MarketplacePartnerAggByDateAggSchema = Schema<MarketplacePartnerAggByDateAggType, boolean>;
100
156
  declare type MissingFieldsInMarketplacePartnerAggSchema = {
@@ -107,6 +163,10 @@ declare type MissingFieldsInMarketplaceAggSchema = {
107
163
  partners?: MarketplacePartnerAggSchema;
108
164
  };
109
165
  declare type MarketplaceAggSchema = Merge<Schema<MarketplaceAggType, boolean>, MissingFieldsInMarketplaceAggSchema>;
166
+ /**
167
+ * @deprecated
168
+ * Prefer using equivalent type in the wellArchitected
169
+ */
110
170
  export declare type MarketplacesAggSchema = {
111
171
  marketplaces?: MarketplaceAggSchema;
112
172
  };
@@ -115,6 +175,10 @@ declare type MissingFieldsInPartnerAggSchema = {
115
175
  data?: PartnerByDateAggTypeSchema;
116
176
  };
117
177
  declare type PartnerAggSchema = Merge<Schema<PartnerAggType, boolean>, MissingFieldsInPartnerAggSchema>;
178
+ /**
179
+ * @deprecated
180
+ * Prefer using equivalent type in the wellArchitected
181
+ */
118
182
  export declare type PartnersAggSchema = {
119
183
  partners?: PartnerAggSchema;
120
184
  };
@@ -1,11 +1,23 @@
1
+ /**
2
+ * @deprecated
3
+ * Prefer using equivalent type in the wellArchitected
4
+ */
1
5
  export declare type FilterType = {
2
6
  name?: string;
3
7
  values?: FilterValuesType[];
4
8
  };
9
+ /**
10
+ * @deprecated
11
+ * Prefer using equivalent type in the wellArchitected
12
+ */
5
13
  export declare type FilterValuesType = {
6
14
  count?: number;
7
15
  value?: string;
8
16
  };
17
+ /**
18
+ * @deprecated
19
+ * Prefer using equivalent type in the wellArchitected
20
+ */
9
21
  export declare type PaginationsType = {
10
22
  currentPage?: number;
11
23
  next?: string;
@@ -14,17 +26,33 @@ export declare type PaginationsType = {
14
26
  total?: number;
15
27
  totalPage?: number;
16
28
  };
29
+ /**
30
+ * @deprecated
31
+ * Prefer using equivalent type in the wellArchitected
32
+ */
17
33
  export declare type SubscriptionRegistrationType = {
18
34
  reference: string;
19
35
  };
36
+ /**
37
+ * @deprecated
38
+ * Prefer using equivalent type in the wellArchitected
39
+ */
20
40
  export declare type CustomerRegistrationType = {
21
41
  name?: string;
22
42
  reference?: string;
23
43
  };
44
+ /**
45
+ * @deprecated
46
+ * Prefer using equivalent type in the wellArchitected
47
+ */
24
48
  export declare type ResellerRegistrationType = {
25
49
  name?: string;
26
50
  reference?: string;
27
51
  };
52
+ /**
53
+ * @deprecated
54
+ * Prefer using equivalent type in the wellArchitected
55
+ */
28
56
  export declare type RegistrationType = {
29
57
  accountReference?: string;
30
58
  customer?: CustomerRegistrationType;
@@ -33,6 +61,10 @@ export declare type RegistrationType = {
33
61
  subscription?: SubscriptionRegistrationType;
34
62
  vendorCode?: string;
35
63
  };
64
+ /**
65
+ * @deprecated
66
+ * Prefer using equivalent type in the wellArchitected
67
+ */
36
68
  export declare type CheckType = {
37
69
  description?: string;
38
70
  flagged?: number;
@@ -44,6 +76,10 @@ export declare type CheckType = {
44
76
  score?: number;
45
77
  severity?: string;
46
78
  };
79
+ /**
80
+ * @deprecated
81
+ * Prefer using equivalent type in the wellArchitected
82
+ */
47
83
  export declare type StandardType = {
48
84
  currentScore?: number;
49
85
  checks?: CheckType[];
@@ -55,6 +91,10 @@ export declare type StandardType = {
55
91
  score?: number;
56
92
  total?: number;
57
93
  };
94
+ /**
95
+ * @deprecated
96
+ * Prefer using equivalent type in the wellArchitected
97
+ */
58
98
  export declare type AccountType = {
59
99
  failed?: number;
60
100
  name?: string;
@@ -64,23 +104,43 @@ export declare type AccountType = {
64
104
  standards?: StandardType[];
65
105
  total?: number;
66
106
  };
107
+ /**
108
+ * @deprecated
109
+ * Prefer using equivalent type in the wellArchitected
110
+ */
67
111
  export declare type ScoreResultType = {
68
112
  account?: AccountType;
69
113
  registration?: RegistrationType;
70
114
  };
115
+ /**
116
+ * @deprecated
117
+ * Prefer using equivalent type in the wellArchitected
118
+ */
71
119
  export declare type NameCountByDateAggType = {
72
120
  count?: number;
73
121
  date?: string;
74
122
  };
123
+ /**
124
+ * @deprecated
125
+ * Prefer using equivalent type in the wellArchitected
126
+ */
75
127
  export declare type SeverityAggType = {
76
128
  data?: NameCountByDateAggType[];
77
129
  last?: NameCountByDateAggType;
78
130
  name?: string;
79
131
  progression?: number;
80
132
  };
133
+ /**
134
+ * @deprecated
135
+ * Prefer using equivalent type in the wellArchitected
136
+ */
81
137
  export declare type SeveritiesAggType = {
82
138
  severities?: SeverityAggType[];
83
139
  };
140
+ /**
141
+ * @deprecated
142
+ * Prefer using equivalent type in the wellArchitected
143
+ */
84
144
  export declare type CheckCountByDateAggType = {
85
145
  count?: number;
86
146
  accounts?: number;
@@ -88,6 +148,10 @@ export declare type CheckCountByDateAggType = {
88
148
  partners?: number;
89
149
  date?: string;
90
150
  };
151
+ /**
152
+ * @deprecated
153
+ * Prefer using equivalent type in the wellArchitected
154
+ */
91
155
  export declare type CheckAggType = {
92
156
  data?: CheckCountByDateAggType[];
93
157
  last?: CheckCountByDateAggType;
@@ -96,9 +160,17 @@ export declare type CheckAggType = {
96
160
  reference?: string;
97
161
  vendorCode?: string;
98
162
  };
163
+ /**
164
+ * @deprecated
165
+ * Prefer using equivalent type in the wellArchitected
166
+ */
99
167
  export declare type ChecksAggType = {
100
168
  checks: CheckAggType[];
101
169
  };
170
+ /**
171
+ * @deprecated
172
+ * Prefer using equivalent type in the wellArchitected
173
+ */
102
174
  export declare type EndCustomerByDateAggType = {
103
175
  accounts?: number;
104
176
  avgCurrentScore?: number;
@@ -109,6 +181,10 @@ export declare type EndCustomerByDateAggType = {
109
181
  total?: number;
110
182
  subscriptionReferences?: number;
111
183
  };
184
+ /**
185
+ * @deprecated
186
+ * Prefer using equivalent type in the wellArchitected
187
+ */
112
188
  export declare type EndCustomerAggType = {
113
189
  data?: EndCustomerByDateAggType[];
114
190
  last?: EndCustomerByDateAggType;
@@ -116,33 +192,61 @@ export declare type EndCustomerAggType = {
116
192
  progression?: number;
117
193
  reference?: string;
118
194
  };
195
+ /**
196
+ * @deprecated
197
+ * Prefer using equivalent type in the wellArchitected
198
+ */
119
199
  export declare type UnregisteredOfferIaasSubscriptionType = {
120
200
  partnerRef?: string;
121
201
  friendlyName?: string;
122
202
  vendorSubscriptionId?: string;
123
203
  };
204
+ /**
205
+ * @deprecated
206
+ * Prefer using equivalent type in the wellArchitected
207
+ */
124
208
  export declare type UnregisteredOfferIaasType = {
125
209
  sku?: string;
126
210
  name?: string;
127
211
  subscriptions?: UnregisteredOfferIaasSubscriptionType[];
128
212
  };
213
+ /**
214
+ * @deprecated
215
+ * Prefer using equivalent type in the wellArchitected
216
+ */
129
217
  export declare type UnregisteredOfferSaasType = {
130
218
  name?: string;
131
219
  subscription?: string;
132
220
  };
221
+ /**
222
+ * @deprecated
223
+ * Prefer using equivalent type in the wellArchitected
224
+ */
133
225
  export declare type UnregisteredOffersType = {
134
226
  iaas?: UnregisteredOfferIaasType[];
135
227
  saas?: UnregisteredOfferSaasType[];
136
228
  };
229
+ /**
230
+ * @deprecated
231
+ * Prefer using equivalent type in the wellArchitected
232
+ */
137
233
  export declare type UnregisteredEndCustomerAggType = {
138
234
  name?: string;
139
235
  reference?: string;
140
236
  offers?: UnregisteredOffersType;
141
237
  };
238
+ /**
239
+ * @deprecated
240
+ * Prefer using equivalent type in the wellArchitected
241
+ */
142
242
  export declare type EndCustomersAggType = {
143
243
  customers?: EndCustomerAggType[];
144
244
  unregisteredCustomers?: UnregisteredEndCustomerAggType[];
145
245
  };
246
+ /**
247
+ * @deprecated
248
+ * Prefer using equivalent type in the wellArchitected
249
+ */
146
250
  export declare type PartnerByDateAggType = {
147
251
  avgCurrentScore?: number;
148
252
  date?: string;
@@ -151,6 +255,10 @@ export declare type PartnerByDateAggType = {
151
255
  passed?: number;
152
256
  total?: number;
153
257
  };
258
+ /**
259
+ * @deprecated
260
+ * Prefer using equivalent type in the wellArchitected
261
+ */
154
262
  export declare type PartnerAggType = {
155
263
  data?: PartnerByDateAggType[];
156
264
  last?: PartnerByDateAggType;
@@ -158,18 +266,34 @@ export declare type PartnerAggType = {
158
266
  progression?: number;
159
267
  reference?: string;
160
268
  };
269
+ /**
270
+ * @deprecated
271
+ * Prefer using equivalent type in the wellArchitected
272
+ */
161
273
  export declare type PartnersAggType = {
162
274
  partners?: PartnerAggType[];
163
275
  };
276
+ /**
277
+ * @deprecated
278
+ * Prefer using equivalent type in the wellArchitected
279
+ */
164
280
  export declare type ScoreByMonthAggType = {
165
281
  avgCurrentScore?: number;
166
282
  date?: string;
167
283
  };
284
+ /**
285
+ * @deprecated
286
+ * Prefer using equivalent type in the wellArchitected
287
+ */
168
288
  export declare type MonthlyTrendAggType = {
169
289
  avgCurrentScore?: number;
170
290
  period?: PeriodsType;
171
291
  scores?: ScoreByMonthAggType[];
172
292
  };
293
+ /**
294
+ * @deprecated
295
+ * Prefer using equivalent type in the wellArchitected
296
+ */
173
297
  export declare type ScoreByDateAggType = {
174
298
  avgCurrentScore?: number;
175
299
  date?: string;
@@ -177,10 +301,18 @@ export declare type ScoreByDateAggType = {
177
301
  passed?: number;
178
302
  total?: number;
179
303
  };
304
+ /**
305
+ * @deprecated
306
+ * Prefer using equivalent type in the wellArchitected
307
+ */
180
308
  export declare type ScoresAggType = {
181
309
  last?: ScoreByDateAggType;
182
310
  scores?: ScoreByDateAggType[];
183
311
  };
312
+ /**
313
+ * @deprecated
314
+ * Prefer using equivalent type in the wellArchitected
315
+ */
184
316
  export declare type AccountByDateAggType = {
185
317
  avgCurrentScore?: number;
186
318
  date?: string;
@@ -189,6 +321,10 @@ export declare type AccountByDateAggType = {
189
321
  passed?: number;
190
322
  total?: number;
191
323
  };
324
+ /**
325
+ * @deprecated
326
+ * Prefer using equivalent type in the wellArchitected
327
+ */
192
328
  export declare type AccountAggType = {
193
329
  data?: AccountByDateAggType[];
194
330
  last?: AccountByDateAggType;
@@ -196,10 +332,18 @@ export declare type AccountAggType = {
196
332
  progression?: number;
197
333
  reference?: string;
198
334
  };
335
+ /**
336
+ * @deprecated
337
+ * Prefer using equivalent type in the wellArchitected
338
+ */
199
339
  export declare type AccountsAggType = {
200
340
  accounts?: AccountAggType[];
201
341
  unregisteredAccounts?: UnregisteredOffersType;
202
342
  };
343
+ /**
344
+ * @deprecated
345
+ * Prefer using equivalent type in the wellArchitected
346
+ */
203
347
  export declare type StandardByDateAggType = {
204
348
  date?: string;
205
349
  score?: number;
@@ -207,6 +351,10 @@ export declare type StandardByDateAggType = {
207
351
  passed?: number;
208
352
  total?: number;
209
353
  };
354
+ /**
355
+ * @deprecated
356
+ * Prefer using equivalent type in the wellArchitected
357
+ */
210
358
  export declare type StandardAggType = {
211
359
  data?: StandardByDateAggType[];
212
360
  last?: StandardByDateAggType;
@@ -214,9 +362,17 @@ export declare type StandardAggType = {
214
362
  progression?: number;
215
363
  reference?: string;
216
364
  };
365
+ /**
366
+ * @deprecated
367
+ * Prefer using equivalent type in the wellArchitected
368
+ */
217
369
  export declare type StandardsAggType = {
218
370
  standards: StandardAggType[];
219
371
  };
372
+ /**
373
+ * @deprecated
374
+ * Prefer using equivalent type in the wellArchitected
375
+ */
220
376
  export declare type MarketplacePartnerAggByDateAggType = {
221
377
  avgCurrentScore?: number;
222
378
  date?: string;
@@ -224,10 +380,18 @@ export declare type MarketplacePartnerAggByDateAggType = {
224
380
  passed?: number;
225
381
  total?: number;
226
382
  };
383
+ /**
384
+ * @deprecated
385
+ * Prefer using equivalent type in the wellArchitected
386
+ */
227
387
  export declare type MarketplaceByDateAggType = {
228
388
  avgCurrentScore?: number;
229
389
  date?: string;
230
390
  };
391
+ /**
392
+ * @deprecated
393
+ * Prefer using equivalent type in the wellArchitected
394
+ */
231
395
  export declare type MarketplacePartnerAggType = {
232
396
  data?: MarketplacePartnerAggByDateAggType[];
233
397
  last?: MarketplacePartnerAggByDateAggType;
@@ -235,6 +399,10 @@ export declare type MarketplacePartnerAggType = {
235
399
  reference?: string;
236
400
  progression?: number;
237
401
  };
402
+ /**
403
+ * @deprecated
404
+ * Prefer using equivalent type in the wellArchitected
405
+ */
238
406
  export declare type MarketplaceAggType = {
239
407
  data?: MarketplaceByDateAggType[];
240
408
  last?: MarketplaceByDateAggType;
@@ -242,9 +410,17 @@ export declare type MarketplaceAggType = {
242
410
  partners?: MarketplacePartnerAggType[];
243
411
  progression?: number;
244
412
  };
413
+ /**
414
+ * @deprecated
415
+ * Prefer using equivalent type in the wellArchitected
416
+ */
245
417
  export declare type MarketplacesAggType = {
246
418
  marketplaces: MarketplaceAggType[];
247
419
  };
420
+ /**
421
+ * @deprecated
422
+ * Prefer using equivalent type in the wellArchitected
423
+ */
248
424
  export declare type CheckByDateType = {
249
425
  date?: string;
250
426
  flagged?: number;
@@ -253,6 +429,10 @@ export declare type CheckByDateType = {
253
429
  processed?: number;
254
430
  score?: number;
255
431
  };
432
+ /**
433
+ * @deprecated
434
+ * Prefer using equivalent type in the wellArchitected
435
+ */
256
436
  export declare type ChecksByStandardType = {
257
437
  data?: CheckByDateType[];
258
438
  description?: string;
@@ -262,11 +442,19 @@ export declare type ChecksByStandardType = {
262
442
  reference?: string;
263
443
  severity?: string;
264
444
  };
445
+ /**
446
+ * @deprecated
447
+ * Prefer using equivalent type in the wellArchitected
448
+ */
265
449
  export declare type StandardWithCheckType = {
266
450
  checks?: ChecksByStandardType[];
267
451
  name?: string;
268
452
  reference?: string;
269
453
  };
454
+ /**
455
+ * @deprecated
456
+ * Prefer using equivalent type in the wellArchitected
457
+ */
270
458
  export declare type PeriodsType = {
271
459
  from?: string;
272
460
  to?: string;
@@ -102,10 +102,11 @@ export declare type SeveritiesAggType = {
102
102
  */
103
103
  export declare type CheckCountByDateAggType = {
104
104
  accounts?: number;
105
- count?: number;
106
105
  customers?: number;
107
106
  date?: string;
108
107
  partners?: number;
108
+ score?: number;
109
+ scoreUnit?: string;
109
110
  };
110
111
  export declare type CheckAggType = {
111
112
  data?: CheckCountByDateAggType[];
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.53.0",
7
+ "version": "3.54.0",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",