@arrowsphere/api-client 3.52.1-rc.bdj.1 → 3.53.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.
Files changed (47) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/catalog/catalogGraphQLClient.d.ts +3 -1
  3. package/build/catalog/catalogGraphQLClient.js +20 -0
  4. package/build/catalog/types/FindOneProductQueryOutput.d.ts +7 -1
  5. package/build/catalog/types/catalogGraphQLQueries.d.ts +10 -2
  6. package/build/catalog/types/catalogGraphQLSchemas.d.ts +3 -1
  7. package/build/catalog/types/catalogGraphQLTypes.d.ts +16 -0
  8. package/build/catalog/types/queryProductArguments.d.ts +16 -0
  9. package/build/graphqlApi/types/entities/partnertag.d.ts +0 -1
  10. package/build/publicGraphQLClient.d.ts +2 -0
  11. package/build/publicGraphQLClient.js +6 -0
  12. package/build/securityScore/entities/getAdminData.d.ts +16 -0
  13. package/build/securityScore/entities/getAdminData.js +8 -0
  14. package/build/securityScore/entities/getCustomerAccountData.d.ts +16 -0
  15. package/build/securityScore/entities/getCustomerAccountData.js +8 -0
  16. package/build/securityScore/entities/getCustomerData.d.ts +16 -0
  17. package/build/securityScore/entities/getCustomerData.js +8 -0
  18. package/build/securityScore/entities/getPartnerData.d.ts +16 -0
  19. package/build/securityScore/entities/getPartnerData.js +8 -0
  20. package/build/securityScore/securityScoreGraphQLClient.d.ts +4 -0
  21. package/build/securityScore/securityScoreGraphQLClient.js +4 -0
  22. package/build/securityScore/types/queryArguments.d.ts +4 -0
  23. package/build/securityScore/types/queryArguments.js +4 -0
  24. package/build/securityScore/types/securityScoreGraphQLQueries.d.ts +16 -0
  25. package/build/securityScore/types/securityScoreGraphQLSchemas.d.ts +64 -0
  26. package/build/securityScore/types/securityScoreGraphQLTypes.d.ts +188 -0
  27. package/build/wellArchitected/entities/getAdminData.d.ts +42 -0
  28. package/build/wellArchitected/entities/getAdminData.js +95 -0
  29. package/build/wellArchitected/entities/getCustomerAccountData.d.ts +42 -0
  30. package/build/wellArchitected/entities/getCustomerAccountData.js +96 -0
  31. package/build/wellArchitected/entities/getCustomerData.d.ts +45 -0
  32. package/build/wellArchitected/entities/getCustomerData.js +103 -0
  33. package/build/wellArchitected/entities/getPartnerData.d.ts +42 -0
  34. package/build/wellArchitected/entities/getPartnerData.js +95 -0
  35. package/build/wellArchitected/index.d.ts +8 -0
  36. package/build/wellArchitected/index.js +25 -0
  37. package/build/wellArchitected/types/queryArguments.d.ts +109 -0
  38. package/build/wellArchitected/types/queryArguments.js +94 -0
  39. package/build/wellArchitected/types/wellArchitectedGraphQLQueries.d.ts +75 -0
  40. package/build/wellArchitected/types/wellArchitectedGraphQLQueries.js +8 -0
  41. package/build/wellArchitected/types/wellArchitectedGraphQLSchemas.d.ts +125 -0
  42. package/build/wellArchitected/types/wellArchitectedGraphQLSchemas.js +3 -0
  43. package/build/wellArchitected/types/wellArchitectedGraphQLTypes.d.ts +339 -0
  44. package/build/wellArchitected/types/wellArchitectedGraphQLTypes.js +3 -0
  45. package/build/wellArchitected/wellArchitectedGraphQLClient.d.ts +21 -0
  46. package/build/wellArchitected/wellArchitectedGraphQLClient.js +65 -0
  47. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
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
+
7
+ ## [3.53.0] - 2023-09-23
8
+
9
+ ### Changed
10
+ - Creating the Well Architected GraphQL client, to support both Security Dashboard & Cost Optimization Dashboard.
11
+
6
12
  ## [3.52.0] - 2023-09-15
7
13
 
8
14
  ### Changed
@@ -1,5 +1,5 @@
1
1
  import { AbstractGraphQLClient } from '../abstractGraphQLClient';
2
- import { GetPriceBandType, GetProductsType, GetProductType } from './types/catalogGraphQLTypes';
2
+ import { GetExchangeRatesType, GetExchangeRateValueType, GetPriceBandType, GetProductsType, GetProductType } from './types/catalogGraphQLTypes';
3
3
  import { CatalogQueries, CatalogQuery } from './types/catalogGraphQLQueries';
4
4
  export declare class CatalogGraphQLClient extends AbstractGraphQLClient {
5
5
  /**
@@ -19,4 +19,6 @@ export declare class CatalogGraphQLClient extends AbstractGraphQLClient {
19
19
  findProductsByQuery(query: Pick<CatalogQueries, 'getProducts'>): Promise<GetProductsType | null>;
20
20
  findOneProductByQuery(query: Pick<CatalogQueries, 'product'>): Promise<GetProductType | null>;
21
21
  findOnePriceBandByQuery(query: Pick<CatalogQueries, 'priceBand'>): Promise<GetPriceBandType | null>;
22
+ getExchangeRates(query: Pick<CatalogQueries, 'getExchangeRates'>): Promise<GetExchangeRatesType | null>;
23
+ findExchangeRateValue(query: Pick<CatalogQueries, 'exchangeRate'>): Promise<GetExchangeRateValueType | null>;
22
24
  }
@@ -60,6 +60,26 @@ class CatalogGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient
60
60
  return null;
61
61
  }
62
62
  }
63
+ async getExchangeRates(query) {
64
+ this.path = this.GRAPHQL;
65
+ const queryStr = this.stringifyQuery(query);
66
+ try {
67
+ return await this.post(queryStr);
68
+ }
69
+ catch (error) {
70
+ return null;
71
+ }
72
+ }
73
+ async findExchangeRateValue(query) {
74
+ this.path = this.GRAPHQL;
75
+ const queryStr = this.stringifyQuery(query);
76
+ try {
77
+ return await this.post(queryStr);
78
+ }
79
+ catch (error) {
80
+ return null;
81
+ }
82
+ }
63
83
  }
64
84
  exports.CatalogGraphQLClient = CatalogGraphQLClient;
65
85
  //# sourceMappingURL=catalogGraphQLClient.js.map
@@ -1,7 +1,13 @@
1
- import { PriceBandType, ProductType } from './catalogGraphQLTypes';
1
+ import { ExchangeRateType, ExchangeRateValueType, PriceBandType, ProductType } from './catalogGraphQLTypes';
2
2
  export declare type FindOneProductQueryOutput = {
3
3
  product: ProductType;
4
4
  };
5
5
  export declare type FindOnePriceBandQueryOutput = {
6
6
  priceBand: PriceBandType;
7
7
  };
8
+ export declare type FindExchangeRatesQueryOutput = {
9
+ exchangeRates: ExchangeRateType[];
10
+ };
11
+ export declare type FindExchangeRateValueQueryOutput = {
12
+ exchangeRate: ExchangeRateValueType;
13
+ };
@@ -1,5 +1,5 @@
1
- import { QueryPriceBandArguments, QueryProductArguments } from './queryProductArguments';
2
- import { FiltersSchema, PaginationSchema, PriceBandSchema, ProductSchema } from './catalogGraphQLSchemas';
1
+ import { QueryExchangeRatesArguments, QueryExchangeRateValueArguments, QueryPriceBandArguments, QueryProductArguments } from './queryProductArguments';
2
+ import { ExchangeRateSchema, ExchangeRateValueSchema, FiltersSchema, PaginationSchema, PriceBandSchema, ProductSchema } from './catalogGraphQLSchemas';
3
3
  import { Merge } from 'type-fest';
4
4
  /**
5
5
  * @deprecated
@@ -12,6 +12,8 @@ export declare type CatalogQuery = {
12
12
  * Represent the Catalog Schema of Public API
13
13
  */
14
14
  export declare type CatalogQueries = {
15
+ getExchangeRates?: GetExchangeRatesQuery;
16
+ exchangeRate?: GetExchangeRateValueQuery;
15
17
  getProducts?: GetPaginatedProductsQuery;
16
18
  priceBand?: GetPriceBandQuery;
17
19
  product?: GetProductQuery;
@@ -29,3 +31,9 @@ export declare type GetProductQuery = Merge<{
29
31
  export declare type GetPriceBandQuery = Merge<{
30
32
  __args: QueryPriceBandArguments;
31
33
  }, PriceBandSchema>;
34
+ export declare type GetExchangeRatesQuery = Merge<{
35
+ __args: QueryExchangeRatesArguments;
36
+ }, ExchangeRateSchema>;
37
+ export declare type GetExchangeRateValueQuery = Merge<{
38
+ __args: QueryExchangeRateValueArguments;
39
+ }, ExchangeRateValueSchema>;
@@ -1,4 +1,4 @@
1
- import { AttributeType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
1
+ import { AttributeType, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
2
2
  import { Merge, Schema } from 'type-fest';
3
3
  export declare type PaginationSchema = Schema<PaginationType, boolean>;
4
4
  export declare type FiltersSchema = Schema<FiltersType, boolean>;
@@ -29,4 +29,6 @@ declare type MissingFieldsOfPriceBandSchema = {
29
29
  */
30
30
  export declare type PriceBandSchema = Merge<Schema<PriceBandType, boolean>, MissingFieldsOfPriceBandSchema>;
31
31
  export declare type PriceBandPriceSchema = Schema<PricesType, boolean>;
32
+ export declare type ExchangeRateSchema = Schema<ExchangeRateType, boolean>;
33
+ export declare type ExchangeRateValueSchema = Schema<ExchangeRateValueType, boolean>;
32
34
  export {};
@@ -7,6 +7,12 @@ export declare type GetProductType = {
7
7
  export declare type GetPriceBandType = {
8
8
  priceBand?: PriceBandType;
9
9
  };
10
+ export declare type GetExchangeRatesType = {
11
+ exchangeRates?: ExchangeRateType[];
12
+ };
13
+ export declare type GetExchangeRateValueType = {
14
+ exchangeRate?: ExchangeRateValueType;
15
+ };
10
16
  export declare type PaginatedProductsType = {
11
17
  filters?: Array<FiltersType>;
12
18
  pagination?: PaginationType;
@@ -264,6 +270,16 @@ export declare type PromotionType = {
264
270
  applicableFor?: number;
265
271
  checkEligibility?: boolean;
266
272
  };
273
+ export declare type ExchangeRateType = {
274
+ toEur: string;
275
+ unitTextName: string;
276
+ unitTextSymbol: string;
277
+ };
278
+ export declare type ExchangeRateValueType = {
279
+ unitTextName: string;
280
+ unitTextSymbol: string;
281
+ value: number;
282
+ };
267
283
  export declare type AttributesParameters = {
268
284
  name?: string;
269
285
  label?: string;
@@ -12,6 +12,22 @@ export declare type QueryPriceBandArguments = {
12
12
  paginate?: PaginateArgument;
13
13
  searchBody: SearchBodyPriceBandsArgument;
14
14
  };
15
+ /**
16
+ * For field __args
17
+ */
18
+ export declare type QueryExchangeRatesArguments = {
19
+ paginate?: PaginateArgument;
20
+ searchBody?: SearchBodyArgument;
21
+ };
22
+ /**
23
+ * For field __args
24
+ */
25
+ export declare type QueryExchangeRateValueArguments = {
26
+ from: string;
27
+ paginate?: PaginateArgument;
28
+ searchBody?: SearchBodyArgument;
29
+ to: string;
30
+ };
15
31
  export declare type PaginateArgument = {
16
32
  page: number;
17
33
  perPage: number;
@@ -3,5 +3,4 @@ export declare type PartnertagType = {
3
3
  description?: string;
4
4
  id?: number;
5
5
  label?: string;
6
- labelsSerialized?: string;
7
6
  };
@@ -2,9 +2,11 @@ import { CatalogGraphQLClient } from './catalog/catalogGraphQLClient';
2
2
  import { AbstractGraphQLClient } from './abstractGraphQLClient';
3
3
  import { SecurityScoreGraphQLClient } from './securityScore';
4
4
  import { GraphqlApiClient } from './graphqlApi';
5
+ import { WellArchitectedGraphQLClient } from './wellArchitected';
5
6
  export declare class PublicGraphQLClient extends AbstractGraphQLClient {
6
7
  getCatalogGraphQLClient(): CatalogGraphQLClient;
7
8
  getSecurityScoreGraphQLClient(): SecurityScoreGraphQLClient;
9
+ getWellArchitectedGraphQLClient(): WellArchitectedGraphQLClient;
8
10
  getGraphqlApiClient(): GraphqlApiClient;
9
11
  private applyConfig;
10
12
  }
@@ -5,6 +5,7 @@ const catalogGraphQLClient_1 = require("./catalog/catalogGraphQLClient");
5
5
  const abstractGraphQLClient_1 = require("./abstractGraphQLClient");
6
6
  const securityScore_1 = require("./securityScore");
7
7
  const graphqlApi_1 = require("./graphqlApi");
8
+ const wellArchitected_1 = require("./wellArchitected");
8
9
  class PublicGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient {
9
10
  getCatalogGraphQLClient() {
10
11
  const client = new catalogGraphQLClient_1.CatalogGraphQLClient();
@@ -16,6 +17,11 @@ class PublicGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient
16
17
  this.applyConfig(client);
17
18
  return client;
18
19
  }
20
+ getWellArchitectedGraphQLClient() {
21
+ const client = new wellArchitected_1.WellArchitectedGraphQLClient();
22
+ this.applyConfig(client);
23
+ return client;
24
+ }
19
25
  getGraphqlApiClient() {
20
26
  const client = new graphqlApi_1.GraphqlApiClient();
21
27
  this.applyConfig(client);
@@ -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?: {