@arrowsphere/api-client 3.52.0-rc.nfo.1 → 3.52.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +18 -3
  2. package/build/catalog/catalogGraphQLClient.d.ts +1 -3
  3. package/build/catalog/catalogGraphQLClient.js +0 -20
  4. package/build/catalog/types/FindOneProductQueryOutput.d.ts +1 -7
  5. package/build/catalog/types/catalogGraphQLQueries.d.ts +2 -10
  6. package/build/catalog/types/catalogGraphQLSchemas.d.ts +1 -3
  7. package/build/catalog/types/catalogGraphQLTypes.d.ts +7 -15
  8. package/build/catalog/types/queryProductArguments.d.ts +0 -16
  9. package/build/graphqlApi/graphqlApiClient.js +1 -1
  10. package/build/index.d.ts +1 -1
  11. package/build/index.js +1 -2
  12. package/build/publicGraphQLClient.d.ts +0 -2
  13. package/build/publicGraphQLClient.js +0 -6
  14. package/build/supportCenter/supportCenterClient.d.ts +4 -1
  15. package/build/supportCenter/supportCenterClient.js +3 -0
  16. package/package.json +1 -1
  17. package/build/wellArchitected/entities/getAdminData.d.ts +0 -42
  18. package/build/wellArchitected/entities/getAdminData.js +0 -95
  19. package/build/wellArchitected/entities/getCustomerAccountData.d.ts +0 -42
  20. package/build/wellArchitected/entities/getCustomerAccountData.js +0 -96
  21. package/build/wellArchitected/entities/getCustomerData.d.ts +0 -45
  22. package/build/wellArchitected/entities/getCustomerData.js +0 -103
  23. package/build/wellArchitected/entities/getPartnerData.d.ts +0 -42
  24. package/build/wellArchitected/entities/getPartnerData.js +0 -95
  25. package/build/wellArchitected/index.d.ts +0 -8
  26. package/build/wellArchitected/index.js +0 -25
  27. package/build/wellArchitected/types/queryArguments.d.ts +0 -109
  28. package/build/wellArchitected/types/queryArguments.js +0 -94
  29. package/build/wellArchitected/types/wellArchitectedGraphQLQueries.d.ts +0 -75
  30. package/build/wellArchitected/types/wellArchitectedGraphQLQueries.js +0 -8
  31. package/build/wellArchitected/types/wellArchitectedGraphQLSchemas.d.ts +0 -125
  32. package/build/wellArchitected/types/wellArchitectedGraphQLSchemas.js +0 -3
  33. package/build/wellArchitected/types/wellArchitectedGraphQLTypes.d.ts +0 -339
  34. package/build/wellArchitected/types/wellArchitectedGraphQLTypes.js +0 -3
  35. package/build/wellArchitected/wellArchitectedGraphQLClient.d.ts +0 -21
  36. package/build/wellArchitected/wellArchitectedGraphQLClient.js +0 -65
package/CHANGELOG.md CHANGED
@@ -3,9 +3,24 @@
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
- ## [IN DEV]
7
- ### Well Architected
8
- - Creating the Well Architected GraphQL client, to support both Security Dashboard & Cost Optimization Dashboard.
6
+ ## [3.52.0] - 2023-09-15
7
+
8
+ ### Changed
9
+
10
+ - Add field program.hasProgramEnrollment
11
+ - Add field attributesParameters
12
+
13
+ ## [3.51.2] - 2023-09-14
14
+
15
+ ### Changed
16
+
17
+ - Update graphqlApi endpoint path
18
+
19
+ ## [3.51.1] - 2023-09-11
20
+
21
+ ### Changed
22
+
23
+ - Fix support center pagination issues
9
24
 
10
25
  ## [3.51.0] - 2023-08-21
11
26
 
@@ -1,5 +1,5 @@
1
1
  import { AbstractGraphQLClient } from '../abstractGraphQLClient';
2
- import { GetExchangeRatesType, GetExchangeRateValueType, GetPriceBandType, GetProductsType, GetProductType } from './types/catalogGraphQLTypes';
2
+ import { 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,6 +19,4 @@ 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>;
24
22
  }
@@ -60,26 +60,6 @@ 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
- }
83
63
  }
84
64
  exports.CatalogGraphQLClient = CatalogGraphQLClient;
85
65
  //# sourceMappingURL=catalogGraphQLClient.js.map
@@ -1,13 +1,7 @@
1
- import { ExchangeRateType, ExchangeRateValueType, PriceBandType, ProductType } from './catalogGraphQLTypes';
1
+ import { 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 { QueryExchangeRatesArguments, QueryExchangeRateValueArguments, QueryPriceBandArguments, QueryProductArguments } from './queryProductArguments';
2
- import { ExchangeRateSchema, ExchangeRateValueSchema, FiltersSchema, PaginationSchema, PriceBandSchema, ProductSchema } from './catalogGraphQLSchemas';
1
+ import { QueryPriceBandArguments, QueryProductArguments } from './queryProductArguments';
2
+ import { FiltersSchema, PaginationSchema, PriceBandSchema, ProductSchema } from './catalogGraphQLSchemas';
3
3
  import { Merge } from 'type-fest';
4
4
  /**
5
5
  * @deprecated
@@ -12,8 +12,6 @@ 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;
17
15
  getProducts?: GetPaginatedProductsQuery;
18
16
  priceBand?: GetPriceBandQuery;
19
17
  product?: GetProductQuery;
@@ -31,9 +29,3 @@ export declare type GetProductQuery = Merge<{
31
29
  export declare type GetPriceBandQuery = Merge<{
32
30
  __args: QueryPriceBandArguments;
33
31
  }, 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, ExchangeRateType, ExchangeRateValueType, FiltersType, IdentifiersType, PaginationType, PriceBandType, PricesType, ProductType, PromotionType, RelatedOfferType } from './catalogGraphQLTypes';
1
+ import { AttributeType, 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,6 +29,4 @@ 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>;
34
32
  export {};
@@ -7,12 +7,6 @@ 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
- };
16
10
  export declare type PaginatedProductsType = {
17
11
  filters?: Array<FiltersType>;
18
12
  pagination?: PaginationType;
@@ -42,6 +36,7 @@ export declare type ProductType = {
42
36
  classification?: string;
43
37
  arrowCategories?: Array<string>;
44
38
  arrowSubCategories?: Array<string>;
39
+ attributesParameters?: Array<AttributesParameters>;
45
40
  licenseAgreementType?: string;
46
41
  family?: FamilyType;
47
42
  isAddon?: boolean;
@@ -144,12 +139,14 @@ export declare type VendorType = {
144
139
  name?: string;
145
140
  };
146
141
  export declare type GraphqlProgramType = {
142
+ hasProgramEnrollment?: boolean;
147
143
  isEnabled?: boolean;
148
144
  legacyCode?: string;
149
145
  names?: ProgramNameType;
150
146
  };
151
147
  export declare type ProgramNameType = {
152
148
  full?: string;
149
+ short?: string;
153
150
  };
154
151
  export declare type PriceBandType = {
155
152
  actionFlags?: PriceBandActionFlagsType;
@@ -267,13 +264,8 @@ export declare type PromotionType = {
267
264
  applicableFor?: number;
268
265
  checkEligibility?: boolean;
269
266
  };
270
- export declare type ExchangeRateType = {
271
- toEur: string;
272
- unitTextName: string;
273
- unitTextSymbol: string;
274
- };
275
- export declare type ExchangeRateValueType = {
276
- unitTextName: string;
277
- unitTextSymbol: string;
278
- value: number;
267
+ export declare type AttributesParameters = {
268
+ name?: string;
269
+ label?: string;
270
+ position?: number;
279
271
  };
@@ -12,22 +12,6 @@ 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
- };
31
15
  export declare type PaginateArgument = {
32
16
  page: number;
33
17
  perPage: number;
@@ -8,7 +8,7 @@ class GraphqlApiClient extends abstractGraphQLClient_1.AbstractGraphQLClient {
8
8
  /**
9
9
  * The Path of graphql catalog API
10
10
  */
11
- this.GRAPHQL = '';
11
+ this.GRAPHQL = '/graphql';
12
12
  }
13
13
  async find(request) {
14
14
  this.path = this.GRAPHQL;
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
@@ -2,11 +2,9 @@ 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';
6
5
  export declare class PublicGraphQLClient extends AbstractGraphQLClient {
7
6
  getCatalogGraphQLClient(): CatalogGraphQLClient;
8
7
  getSecurityScoreGraphQLClient(): SecurityScoreGraphQLClient;
9
- getWellArchitectedGraphQLClient(): WellArchitectedGraphQLClient;
10
8
  getGraphqlApiClient(): GraphqlApiClient;
11
9
  private applyConfig;
12
10
  }
@@ -5,7 +5,6 @@ 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");
9
8
  class PublicGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient {
10
9
  getCatalogGraphQLClient() {
11
10
  const client = new catalogGraphQLClient_1.CatalogGraphQLClient();
@@ -17,11 +16,6 @@ class PublicGraphQLClient extends abstractGraphQLClient_1.AbstractGraphQLClient
17
16
  this.applyConfig(client);
18
17
  return client;
19
18
  }
20
- getWellArchitectedGraphQLClient() {
21
- const client = new wellArchitected_1.WellArchitectedGraphQLClient();
22
- this.applyConfig(client);
23
- return client;
24
- }
25
19
  getGraphqlApiClient() {
26
20
  const client = new graphqlApi_1.GraphqlApiClient();
27
21
  this.applyConfig(client);
@@ -15,7 +15,10 @@ export declare enum ListIssueParametersFields {
15
15
  SKU = "sku",
16
16
  SORT = "sort",
17
17
  STATUSES = "statuses",
18
- TITLE = "title"
18
+ TITLE = "title",
19
+ PAGE = "page",
20
+ PER_PAGE = "per_page",
21
+ PER_PAGE_CAMEL = "perPage"
19
22
  }
20
23
  export declare type ListIssueParametersType = ParametersWithPaginationType & {
21
24
  [ListIssueParametersFields.DIR]?: string;
@@ -17,6 +17,9 @@ var ListIssueParametersFields;
17
17
  ListIssueParametersFields["SORT"] = "sort";
18
18
  ListIssueParametersFields["STATUSES"] = "statuses";
19
19
  ListIssueParametersFields["TITLE"] = "title";
20
+ ListIssueParametersFields["PAGE"] = "page";
21
+ ListIssueParametersFields["PER_PAGE"] = "per_page";
22
+ ListIssueParametersFields["PER_PAGE_CAMEL"] = "perPage";
20
23
  })(ListIssueParametersFields = exports.ListIssueParametersFields || (exports.ListIssueParametersFields = {}));
21
24
  class SupportCenterClient extends abstractRestfulClient_1.AbstractRestfulClient {
22
25
  constructor() {
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.52.0-rc.nfo.1",
7
+ "version": "3.52.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",
@@ -1,42 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, MarketplacesAggType, MonthlyTrendAggType, WellArchitectedPaginationType, PartnersAggType, WellArchitectedPeriodType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/wellArchitectedGraphQLTypes';
3
- import { WellArchitectedQueries } from '../types/queryArguments';
4
- export declare enum GetAdminDataFields {
5
- COLUMN_CHECKS_AGG = "checksAgg",
6
- COLUMN_MARKETPLACES_AGG = "marketplacesAgg",
7
- COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
8
- COLUMN_PARTNERS_AGG = "partnersAgg",
9
- COLUMN_PAGINATION = "pagination",
10
- COLUMN_PERIOD = "period",
11
- COLUMN_RESULTS = "results",
12
- COLUMN_SCORES_AGG = "scoresAgg",
13
- COLUMN_SEVERITIES_AGG = "severitiesAgg"
14
- }
15
- export declare type GetAdminDataType = {
16
- [GetAdminDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
17
- [GetAdminDataFields.COLUMN_MARKETPLACES_AGG]?: MarketplacesAggType;
18
- [GetAdminDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
19
- [GetAdminDataFields.COLUMN_PARTNERS_AGG]?: PartnersAggType;
20
- [GetAdminDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
21
- [GetAdminDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
22
- [GetAdminDataFields.COLUMN_RESULTS]?: ScoreResultType[];
23
- [GetAdminDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
- [GetAdminDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
- };
26
- export declare type GetAdminDataGraphQLResultType = {
27
- [WellArchitectedQueries.GET_ADMIN_DATA]: GetAdminDataType;
28
- };
29
- export declare class GetAdminData extends AbstractEntity<GetAdminDataType> {
30
- #private;
31
- constructor(getAdminDataInput: GetAdminDataType);
32
- get checksAgg(): ChecksAggType | undefined;
33
- get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
34
- get marketplacesAgg(): MarketplacesAggType | undefined;
35
- get partnersAgg(): PartnersAggType | undefined;
36
- get period(): WellArchitectedPeriodType | undefined;
37
- get pagination(): WellArchitectedPaginationType | undefined;
38
- get results(): ScoreResultType[] | undefined;
39
- get scoresAgg(): ScoresAggType | undefined;
40
- get severitiesAgg(): SeveritiesAggType | undefined;
41
- toJSON(): GetAdminDataType;
42
- }
@@ -1,95 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _GetAdminData_checksAgg, _GetAdminData_marketplacesAgg, _GetAdminData_monthlyTrendAgg, _GetAdminData_partnersAgg, _GetAdminData_period, _GetAdminData_pagination, _GetAdminData_results, _GetAdminData_scoresAgg, _GetAdminData_severitiesAgg;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.GetAdminData = exports.GetAdminDataFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const queryArguments_1 = require("../types/queryArguments");
18
- var GetAdminDataFields;
19
- (function (GetAdminDataFields) {
20
- GetAdminDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
21
- GetAdminDataFields["COLUMN_MARKETPLACES_AGG"] = "marketplacesAgg";
22
- GetAdminDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
23
- GetAdminDataFields["COLUMN_PARTNERS_AGG"] = "partnersAgg";
24
- GetAdminDataFields["COLUMN_PAGINATION"] = "pagination";
25
- GetAdminDataFields["COLUMN_PERIOD"] = "period";
26
- GetAdminDataFields["COLUMN_RESULTS"] = "results";
27
- GetAdminDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
- GetAdminDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
29
- })(GetAdminDataFields = exports.GetAdminDataFields || (exports.GetAdminDataFields = {}));
30
- class GetAdminData extends abstractEntity_1.AbstractEntity {
31
- constructor(getAdminDataInput) {
32
- super(getAdminDataInput);
33
- _GetAdminData_checksAgg.set(this, void 0);
34
- _GetAdminData_marketplacesAgg.set(this, void 0);
35
- _GetAdminData_monthlyTrendAgg.set(this, void 0);
36
- _GetAdminData_partnersAgg.set(this, void 0);
37
- _GetAdminData_period.set(this, void 0);
38
- _GetAdminData_pagination.set(this, void 0);
39
- _GetAdminData_results.set(this, void 0);
40
- _GetAdminData_scoresAgg.set(this, void 0);
41
- _GetAdminData_severitiesAgg.set(this, void 0);
42
- __classPrivateFieldSet(this, _GetAdminData_checksAgg, getAdminDataInput[GetAdminDataFields.COLUMN_CHECKS_AGG], "f");
43
- __classPrivateFieldSet(this, _GetAdminData_marketplacesAgg, getAdminDataInput[GetAdminDataFields.COLUMN_MARKETPLACES_AGG], "f");
44
- __classPrivateFieldSet(this, _GetAdminData_monthlyTrendAgg, getAdminDataInput[GetAdminDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
45
- __classPrivateFieldSet(this, _GetAdminData_partnersAgg, getAdminDataInput[GetAdminDataFields.COLUMN_PARTNERS_AGG], "f");
46
- __classPrivateFieldSet(this, _GetAdminData_period, getAdminDataInput[GetAdminDataFields.COLUMN_PERIOD], "f");
47
- __classPrivateFieldSet(this, _GetAdminData_pagination, getAdminDataInput[GetAdminDataFields.COLUMN_PAGINATION], "f");
48
- __classPrivateFieldSet(this, _GetAdminData_results, getAdminDataInput[GetAdminDataFields.COLUMN_RESULTS], "f");
49
- __classPrivateFieldSet(this, _GetAdminData_scoresAgg, getAdminDataInput[GetAdminDataFields.COLUMN_SCORES_AGG], "f");
50
- __classPrivateFieldSet(this, _GetAdminData_severitiesAgg, getAdminDataInput[GetAdminDataFields.COLUMN_SEVERITIES_AGG], "f");
51
- }
52
- get checksAgg() {
53
- return __classPrivateFieldGet(this, _GetAdminData_checksAgg, "f");
54
- }
55
- get monthlyTrendAgg() {
56
- return __classPrivateFieldGet(this, _GetAdminData_monthlyTrendAgg, "f");
57
- }
58
- get marketplacesAgg() {
59
- return __classPrivateFieldGet(this, _GetAdminData_marketplacesAgg, "f");
60
- }
61
- get partnersAgg() {
62
- return __classPrivateFieldGet(this, _GetAdminData_partnersAgg, "f");
63
- }
64
- get period() {
65
- return __classPrivateFieldGet(this, _GetAdminData_period, "f");
66
- }
67
- get pagination() {
68
- return __classPrivateFieldGet(this, _GetAdminData_pagination, "f");
69
- }
70
- get results() {
71
- return __classPrivateFieldGet(this, _GetAdminData_results, "f");
72
- }
73
- get scoresAgg() {
74
- return __classPrivateFieldGet(this, _GetAdminData_scoresAgg, "f");
75
- }
76
- get severitiesAgg() {
77
- return __classPrivateFieldGet(this, _GetAdminData_severitiesAgg, "f");
78
- }
79
- toJSON() {
80
- return {
81
- [GetAdminDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
82
- [GetAdminDataFields.COLUMN_MARKETPLACES_AGG]: this.marketplacesAgg,
83
- [GetAdminDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
84
- [GetAdminDataFields.COLUMN_PARTNERS_AGG]: this.partnersAgg,
85
- [GetAdminDataFields.COLUMN_PERIOD]: this.period,
86
- [GetAdminDataFields.COLUMN_PAGINATION]: this.pagination,
87
- [GetAdminDataFields.COLUMN_RESULTS]: this.results,
88
- [GetAdminDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
89
- [GetAdminDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
90
- };
91
- }
92
- }
93
- exports.GetAdminData = GetAdminData;
94
- _GetAdminData_checksAgg = new WeakMap(), _GetAdminData_marketplacesAgg = new WeakMap(), _GetAdminData_monthlyTrendAgg = new WeakMap(), _GetAdminData_partnersAgg = new WeakMap(), _GetAdminData_period = new WeakMap(), _GetAdminData_pagination = new WeakMap(), _GetAdminData_results = new WeakMap(), _GetAdminData_scoresAgg = new WeakMap(), _GetAdminData_severitiesAgg = new WeakMap();
95
- //# sourceMappingURL=getAdminData.js.map
@@ -1,42 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, MonthlyTrendAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
3
- import { WellArchitectedQueries } from '../types/queryArguments';
4
- export declare enum GetCustomerAccountDataFields {
5
- COLUMN_CHECKS_AGG = "checksAgg",
6
- COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
7
- COLUMN_PAGINATION = "pagination",
8
- COLUMN_PERIOD = "period",
9
- COLUMN_RESULTS = "results",
10
- COLUMN_SCORES_AGG = "scoresAgg",
11
- COLUMN_SEVERITIES_AGG = "severitiesAgg",
12
- COLUMN_STANDARDS_AGG = "standardsAgg",
13
- COLUMN_STANDARDS = "standards"
14
- }
15
- export declare type GetCustomerAccountDataType = {
16
- [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
17
- [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
18
- [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
19
- [GetCustomerAccountDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
20
- [GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultType[];
21
- [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
22
- [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
23
- [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]?: StandardsAggType;
24
- [GetCustomerAccountDataFields.COLUMN_STANDARDS]?: StandardWithCheckType[];
25
- };
26
- export declare type GetCustomerAccountDataGraphQLResultType = {
27
- [WellArchitectedQueries.GET_CUSTOMER_ACCOUNT_DATA]: GetCustomerAccountDataType;
28
- };
29
- export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAccountDataType> {
30
- #private;
31
- constructor(getCustomerAccountDataInput: GetCustomerAccountDataType);
32
- get checksAgg(): ChecksAggType | undefined;
33
- get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
34
- get pagination(): WellArchitectedPaginationType | undefined;
35
- get period(): WellArchitectedPeriodType | undefined;
36
- get scoresAgg(): ScoresAggType | undefined;
37
- get results(): ScoreResultType[] | undefined;
38
- get severitiesAgg(): SeveritiesAggType | undefined;
39
- get standardsAgg(): StandardsAggType | undefined;
40
- get standards(): StandardWithCheckType[] | undefined;
41
- toJSON(): GetCustomerAccountDataType;
42
- }
@@ -1,96 +0,0 @@
1
- "use strict";
2
- var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
3
- if (kind === "m") throw new TypeError("Private method is not writable");
4
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
5
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
6
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
7
- };
8
- var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
9
- if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
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
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
- };
13
- var _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_pagination, _GetCustomerAccountData_period, _GetCustomerAccountData_results, _GetCustomerAccountData_scoresAgg, _GetCustomerAccountData_severitiesAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.GetCustomerAccountData = exports.GetCustomerAccountDataFields = void 0;
16
- const abstractEntity_1 = require("../../abstractEntity");
17
- const queryArguments_1 = require("../types/queryArguments");
18
- var GetCustomerAccountDataFields;
19
- (function (GetCustomerAccountDataFields) {
20
- GetCustomerAccountDataFields["COLUMN_CHECKS_AGG"] = "checksAgg";
21
- GetCustomerAccountDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
22
- GetCustomerAccountDataFields["COLUMN_PAGINATION"] = "pagination";
23
- GetCustomerAccountDataFields["COLUMN_PERIOD"] = "period";
24
- GetCustomerAccountDataFields["COLUMN_RESULTS"] = "results";
25
- GetCustomerAccountDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
26
- GetCustomerAccountDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
27
- GetCustomerAccountDataFields["COLUMN_STANDARDS_AGG"] = "standardsAgg";
28
- GetCustomerAccountDataFields["COLUMN_STANDARDS"] = "standards";
29
- })(GetCustomerAccountDataFields = exports.GetCustomerAccountDataFields || (exports.GetCustomerAccountDataFields = {}));
30
- class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
31
- constructor(getCustomerAccountDataInput) {
32
- super(getCustomerAccountDataInput);
33
- _GetCustomerAccountData_checksAgg.set(this, void 0);
34
- _GetCustomerAccountData_monthlyTrendAgg.set(this, void 0);
35
- _GetCustomerAccountData_pagination.set(this, void 0);
36
- _GetCustomerAccountData_period.set(this, void 0);
37
- _GetCustomerAccountData_results.set(this, void 0);
38
- _GetCustomerAccountData_scoresAgg.set(this, void 0);
39
- _GetCustomerAccountData_severitiesAgg.set(this, void 0);
40
- _GetCustomerAccountData_standardsAgg.set(this, void 0);
41
- _GetCustomerAccountData_standards.set(this, void 0);
42
- __classPrivateFieldSet(this, _GetCustomerAccountData_checksAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_CHECKS_AGG], "f");
43
- __classPrivateFieldSet(this, _GetCustomerAccountData_monthlyTrendAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
44
- __classPrivateFieldSet(this, _GetCustomerAccountData_pagination, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PAGINATION], "f");
45
- __classPrivateFieldSet(this, _GetCustomerAccountData_period, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PERIOD], "f");
46
- __classPrivateFieldSet(this, _GetCustomerAccountData_results, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_RESULTS], "f");
47
- __classPrivateFieldSet(this, _GetCustomerAccountData_scoresAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SCORES_AGG], "f");
48
- __classPrivateFieldSet(this, _GetCustomerAccountData_severitiesAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG], "f");
49
- __classPrivateFieldSet(this, _GetCustomerAccountData_standardsAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG], "f");
50
- __classPrivateFieldSet(this, _GetCustomerAccountData_standards, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_STANDARDS], "f");
51
- }
52
- get checksAgg() {
53
- return __classPrivateFieldGet(this, _GetCustomerAccountData_checksAgg, "f");
54
- }
55
- get monthlyTrendAgg() {
56
- return __classPrivateFieldGet(this, _GetCustomerAccountData_monthlyTrendAgg, "f");
57
- }
58
- get pagination() {
59
- return __classPrivateFieldGet(this, _GetCustomerAccountData_pagination, "f");
60
- }
61
- get period() {
62
- return __classPrivateFieldGet(this, _GetCustomerAccountData_period, "f");
63
- }
64
- get scoresAgg() {
65
- return __classPrivateFieldGet(this, _GetCustomerAccountData_scoresAgg, "f");
66
- }
67
- get results() {
68
- return __classPrivateFieldGet(this, _GetCustomerAccountData_results, "f");
69
- }
70
- get severitiesAgg() {
71
- return __classPrivateFieldGet(this, _GetCustomerAccountData_severitiesAgg, "f");
72
- }
73
- get standardsAgg() {
74
- return __classPrivateFieldGet(this, _GetCustomerAccountData_standardsAgg, "f");
75
- }
76
- get standards() {
77
- return __classPrivateFieldGet(this, _GetCustomerAccountData_standards, "f");
78
- }
79
- toJSON() {
80
- return {
81
- [GetCustomerAccountDataFields.COLUMN_CHECKS_AGG]: this.checksAgg,
82
- [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]: this
83
- .monthlyTrendAgg,
84
- [GetCustomerAccountDataFields.COLUMN_PAGINATION]: this.pagination,
85
- [GetCustomerAccountDataFields.COLUMN_PERIOD]: this.period,
86
- [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
87
- [GetCustomerAccountDataFields.COLUMN_RESULTS]: this.results,
88
- [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
89
- [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]: this.standardsAgg,
90
- [GetCustomerAccountDataFields.COLUMN_STANDARDS]: this.standards,
91
- };
92
- }
93
- }
94
- exports.GetCustomerAccountData = GetCustomerAccountData;
95
- _GetCustomerAccountData_checksAgg = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_pagination = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_results = new WeakMap(), _GetCustomerAccountData_scoresAgg = new WeakMap(), _GetCustomerAccountData_severitiesAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
96
- //# sourceMappingURL=getCustomerAccountData.js.map
@@ -1,45 +0,0 @@
1
- import { AbstractEntity } from '../../abstractEntity';
2
- import { AccountsAggType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ChecksAggType, ScoresAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
3
- import { WellArchitectedQueries } from '../types/queryArguments';
4
- export declare enum GetCustomerDataFields {
5
- COLUMN_ACCOUNTS_AGG = "accountsAgg",
6
- COLUMN_CHECKS_AGG = "checksAgg",
7
- COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
8
- COLUMN_PAGINATION = "pagination",
9
- COLUMN_PERIOD = "period",
10
- COLUMN_RESULTS = "results",
11
- COLUMN_SCORES_AGG = "scoresAgg",
12
- COLUMN_SEVERITIES_AGG = "severitiesAgg",
13
- COLUMN_STANDARDS = "standards",
14
- COLUMN_SUBSCRIPTION_REFERENCES = "subscriptionReferences"
15
- }
16
- export declare type GetCustomerDataType = {
17
- [GetCustomerDataFields.COLUMN_ACCOUNTS_AGG]?: AccountsAggType;
18
- [GetCustomerDataFields.COLUMN_CHECKS_AGG]?: ChecksAggType;
19
- [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
20
- [GetCustomerDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
21
- [GetCustomerDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
22
- [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
23
- [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
- [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
- [GetCustomerDataFields.COLUMN_STANDARDS]?: StandardWithCheckType[];
26
- [GetCustomerDataFields.COLUMN_SUBSCRIPTION_REFERENCES]?: number;
27
- };
28
- export declare type GetCustomerDataGraphQLResultType = {
29
- [WellArchitectedQueries.GET_CUSTOMER_DATA]: GetCustomerDataType;
30
- };
31
- export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType> {
32
- #private;
33
- constructor(getCustomerDataInput: GetCustomerDataType);
34
- get accountsAgg(): AccountsAggType | undefined;
35
- get checksAgg(): ChecksAggType | undefined;
36
- get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
37
- get pagination(): WellArchitectedPaginationType | undefined;
38
- get period(): WellArchitectedPeriodType | undefined;
39
- get results(): ScoreResultType[] | undefined;
40
- get scoresAgg(): ScoresAggType | undefined;
41
- get severitiesAgg(): SeveritiesAggType | undefined;
42
- get standards(): StandardWithCheckType[] | undefined;
43
- get subscriptionReferences(): number | undefined;
44
- toJSON(): GetCustomerDataType;
45
- }