@arrowsphere/api-client 3.98.0-rc.ckh.1 → 3.98.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,10 +3,10 @@
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.98.0] - 2024.02.13
7
6
 
7
+ ## [3.98.0] - 2024-02-14
8
8
  ### Added
9
- - [billing] add generate billing export async
9
+ - [Well Architected] Add the Reports to the different schema
10
10
 
11
11
  ## [3.97.0] - 2024.02.12
12
12
 
package/build/index.d.ts CHANGED
@@ -27,7 +27,6 @@ export * from './subscriptions/';
27
27
  export * from './supportCenter/';
28
28
  export * from './securityScore/';
29
29
  export * from './user/';
30
- export * from './billing/';
31
30
  export { WellArchitected };
32
31
  import * as WellArchitected from './wellArchitected';
33
32
  export { ContactInformation };
package/build/index.js CHANGED
@@ -56,7 +56,6 @@ __exportStar(require("./subscriptions/"), exports);
56
56
  __exportStar(require("./supportCenter/"), exports);
57
57
  __exportStar(require("./securityScore/"), exports);
58
58
  __exportStar(require("./user/"), exports);
59
- __exportStar(require("./billing/"), exports);
60
59
  const WellArchitected = __importStar(require("./wellArchitected"));
61
60
  exports.WellArchitected = WellArchitected;
62
61
  const ContactInformation = __importStar(require("./contact"));
@@ -17,7 +17,6 @@ import { RegisterClient, StandardsClient } from './security';
17
17
  import { PartnerClient } from './partner';
18
18
  import { OrganizationUnitClient } from './organisationUnit';
19
19
  import { QuotesClient } from './quotes';
20
- import { BillingClient } from './billing';
21
20
  /**
22
21
  * Public API Client class, should be the main entry point for your calls
23
22
  */
@@ -98,6 +97,5 @@ export declare class PublicApiClient extends AbstractRestfulClient {
98
97
  getUserClient(configuration?: ConfigurationsClient): UserClient;
99
98
  getNotificationsClient(configuration?: ConfigurationsClient): NotificationsClient;
100
99
  getOrganizationUnitClient(configuration?: ConfigurationsClient): OrganizationUnitClient;
101
- getBillingClient(configuration?: ConfigurationsClient): BillingClient;
102
100
  }
103
101
  export default PublicApiClient;
@@ -20,7 +20,6 @@ const security_1 = require("./security");
20
20
  const partner_1 = require("./partner");
21
21
  const organisationUnit_1 = require("./organisationUnit");
22
22
  const quotes_1 = require("./quotes");
23
- const billing_1 = require("./billing");
24
23
  /**
25
24
  * Public API Client class, should be the main entry point for your calls
26
25
  */
@@ -198,11 +197,6 @@ class PublicApiClient extends abstractRestfulClient_1.AbstractRestfulClient {
198
197
  this.applyConfig(client);
199
198
  return client;
200
199
  }
201
- getBillingClient(configuration) {
202
- const client = new billing_1.BillingClient(configuration);
203
- this.applyConfig(client);
204
- return client;
205
- }
206
200
  }
207
201
  exports.PublicApiClient = PublicApiClient;
208
202
  exports.default = PublicApiClient;
@@ -1,5 +1,5 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, MarketplacesAggType, MonthlyTrendAggType, WellArchitectedPaginationType, PartnersAggType, WellArchitectedPeriodType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/wellArchitectedGraphQLTypes';
2
+ import { ChecksAggType, MarketplacesAggType, MonthlyTrendAggType, WellArchitectedPaginationType, PartnersAggType, WellArchitectedPeriodType, ReportsAggType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/wellArchitectedGraphQLTypes';
3
3
  import { WellArchitectedQueries } from '../types/queryArguments';
4
4
  export declare enum GetAdminDataFields {
5
5
  COLUMN_CHECKS_AGG = "checksAgg",
@@ -8,6 +8,7 @@ export declare enum GetAdminDataFields {
8
8
  COLUMN_PARTNERS_AGG = "partnersAgg",
9
9
  COLUMN_PAGINATION = "pagination",
10
10
  COLUMN_PERIOD = "period",
11
+ COLUMN_REPORTS_AGG = "reportsAgg",
11
12
  COLUMN_RESULTS = "results",
12
13
  COLUMN_SCORES_AGG = "scoresAgg",
13
14
  COLUMN_SEVERITIES_AGG = "severitiesAgg"
@@ -20,6 +21,7 @@ export declare type GetAdminDataType = {
20
21
  [GetAdminDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
21
22
  [GetAdminDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
22
23
  [GetAdminDataFields.COLUMN_RESULTS]?: ScoreResultType[];
24
+ [GetAdminDataFields.COLUMN_REPORTS_AGG]?: ReportsAggType[];
23
25
  [GetAdminDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
26
  [GetAdminDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
25
27
  };
@@ -35,6 +37,7 @@ export declare class GetAdminData extends AbstractEntity<GetAdminDataType> {
35
37
  get partnersAgg(): PartnersAggType | undefined;
36
38
  get period(): WellArchitectedPeriodType | undefined;
37
39
  get pagination(): WellArchitectedPaginationType | undefined;
40
+ get reportsAgg(): ReportsAggType[] | undefined;
38
41
  get results(): ScoreResultType[] | undefined;
39
42
  get scoresAgg(): ScoresAggType | undefined;
40
43
  get severitiesAgg(): SeveritiesAggType | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetAdminData_checksAgg, _GetAdminData_marketplacesAgg, _GetAdminData_monthlyTrendAgg, _GetAdminData_partnersAgg, _GetAdminData_period, _GetAdminData_pagination, _GetAdminData_results, _GetAdminData_scoresAgg, _GetAdminData_severitiesAgg;
13
+ var _GetAdminData_checksAgg, _GetAdminData_marketplacesAgg, _GetAdminData_monthlyTrendAgg, _GetAdminData_partnersAgg, _GetAdminData_period, _GetAdminData_pagination, _GetAdminData_reportsAgg, _GetAdminData_results, _GetAdminData_scoresAgg, _GetAdminData_severitiesAgg;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetAdminData = exports.GetAdminDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -23,6 +23,7 @@ var GetAdminDataFields;
23
23
  GetAdminDataFields["COLUMN_PARTNERS_AGG"] = "partnersAgg";
24
24
  GetAdminDataFields["COLUMN_PAGINATION"] = "pagination";
25
25
  GetAdminDataFields["COLUMN_PERIOD"] = "period";
26
+ GetAdminDataFields["COLUMN_REPORTS_AGG"] = "reportsAgg";
26
27
  GetAdminDataFields["COLUMN_RESULTS"] = "results";
27
28
  GetAdminDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
29
  GetAdminDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
@@ -36,6 +37,7 @@ class GetAdminData extends abstractEntity_1.AbstractEntity {
36
37
  _GetAdminData_partnersAgg.set(this, void 0);
37
38
  _GetAdminData_period.set(this, void 0);
38
39
  _GetAdminData_pagination.set(this, void 0);
40
+ _GetAdminData_reportsAgg.set(this, void 0);
39
41
  _GetAdminData_results.set(this, void 0);
40
42
  _GetAdminData_scoresAgg.set(this, void 0);
41
43
  _GetAdminData_severitiesAgg.set(this, void 0);
@@ -45,6 +47,7 @@ class GetAdminData extends abstractEntity_1.AbstractEntity {
45
47
  __classPrivateFieldSet(this, _GetAdminData_partnersAgg, getAdminDataInput[GetAdminDataFields.COLUMN_PARTNERS_AGG], "f");
46
48
  __classPrivateFieldSet(this, _GetAdminData_period, getAdminDataInput[GetAdminDataFields.COLUMN_PERIOD], "f");
47
49
  __classPrivateFieldSet(this, _GetAdminData_pagination, getAdminDataInput[GetAdminDataFields.COLUMN_PAGINATION], "f");
50
+ __classPrivateFieldSet(this, _GetAdminData_reportsAgg, getAdminDataInput[GetAdminDataFields.COLUMN_REPORTS_AGG], "f");
48
51
  __classPrivateFieldSet(this, _GetAdminData_results, getAdminDataInput[GetAdminDataFields.COLUMN_RESULTS], "f");
49
52
  __classPrivateFieldSet(this, _GetAdminData_scoresAgg, getAdminDataInput[GetAdminDataFields.COLUMN_SCORES_AGG], "f");
50
53
  __classPrivateFieldSet(this, _GetAdminData_severitiesAgg, getAdminDataInput[GetAdminDataFields.COLUMN_SEVERITIES_AGG], "f");
@@ -67,6 +70,9 @@ class GetAdminData extends abstractEntity_1.AbstractEntity {
67
70
  get pagination() {
68
71
  return __classPrivateFieldGet(this, _GetAdminData_pagination, "f");
69
72
  }
73
+ get reportsAgg() {
74
+ return __classPrivateFieldGet(this, _GetAdminData_reportsAgg, "f");
75
+ }
70
76
  get results() {
71
77
  return __classPrivateFieldGet(this, _GetAdminData_results, "f");
72
78
  }
@@ -84,6 +90,7 @@ class GetAdminData extends abstractEntity_1.AbstractEntity {
84
90
  [GetAdminDataFields.COLUMN_PARTNERS_AGG]: this.partnersAgg,
85
91
  [GetAdminDataFields.COLUMN_PERIOD]: this.period,
86
92
  [GetAdminDataFields.COLUMN_PAGINATION]: this.pagination,
93
+ [GetAdminDataFields.COLUMN_REPORTS_AGG]: this.reportsAgg,
87
94
  [GetAdminDataFields.COLUMN_RESULTS]: this.results,
88
95
  [GetAdminDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
89
96
  [GetAdminDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
@@ -91,5 +98,5 @@ class GetAdminData extends abstractEntity_1.AbstractEntity {
91
98
  }
92
99
  }
93
100
  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();
101
+ _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_reportsAgg = new WeakMap(), _GetAdminData_results = new WeakMap(), _GetAdminData_scoresAgg = new WeakMap(), _GetAdminData_severitiesAgg = new WeakMap();
95
102
  //# sourceMappingURL=getAdminData.js.map
@@ -1,11 +1,12 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, MonthlyTrendAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
2
+ import { ChecksAggType, MonthlyTrendAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ReportsAggType, ScoreResultType, ScoresAggType, SeveritiesAggType, StandardsAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
3
3
  import { WellArchitectedQueries } from '../types/queryArguments';
4
4
  export declare enum GetCustomerAccountDataFields {
5
5
  COLUMN_CHECKS_AGG = "checksAgg",
6
6
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
7
7
  COLUMN_PAGINATION = "pagination",
8
8
  COLUMN_PERIOD = "period",
9
+ COLUMN_REPORTS_AGG = "reportsAgg",
9
10
  COLUMN_RESULTS = "results",
10
11
  COLUMN_SCORES_AGG = "scoresAgg",
11
12
  COLUMN_SEVERITIES_AGG = "severitiesAgg",
@@ -17,6 +18,7 @@ export declare type GetCustomerAccountDataType = {
17
18
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
18
19
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
19
20
  [GetCustomerAccountDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
21
+ [GetCustomerAccountDataFields.COLUMN_REPORTS_AGG]?: ReportsAggType[];
20
22
  [GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultType[];
21
23
  [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
22
24
  [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
@@ -34,6 +36,7 @@ export declare class GetCustomerAccountData extends AbstractEntity<GetCustomerAc
34
36
  get pagination(): WellArchitectedPaginationType | undefined;
35
37
  get period(): WellArchitectedPeriodType | undefined;
36
38
  get scoresAgg(): ScoresAggType | undefined;
39
+ get reportsAgg(): ReportsAggType[] | undefined;
37
40
  get results(): ScoreResultType[] | undefined;
38
41
  get severitiesAgg(): SeveritiesAggType | undefined;
39
42
  get standardsAgg(): StandardsAggType | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_pagination, _GetCustomerAccountData_period, _GetCustomerAccountData_results, _GetCustomerAccountData_scoresAgg, _GetCustomerAccountData_severitiesAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
13
+ var _GetCustomerAccountData_checksAgg, _GetCustomerAccountData_monthlyTrendAgg, _GetCustomerAccountData_pagination, _GetCustomerAccountData_period, _GetCustomerAccountData_reportsAgg, _GetCustomerAccountData_results, _GetCustomerAccountData_scoresAgg, _GetCustomerAccountData_severitiesAgg, _GetCustomerAccountData_standardsAgg, _GetCustomerAccountData_standards;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerAccountData = exports.GetCustomerAccountDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -21,6 +21,7 @@ var GetCustomerAccountDataFields;
21
21
  GetCustomerAccountDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
22
22
  GetCustomerAccountDataFields["COLUMN_PAGINATION"] = "pagination";
23
23
  GetCustomerAccountDataFields["COLUMN_PERIOD"] = "period";
24
+ GetCustomerAccountDataFields["COLUMN_REPORTS_AGG"] = "reportsAgg";
24
25
  GetCustomerAccountDataFields["COLUMN_RESULTS"] = "results";
25
26
  GetCustomerAccountDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
26
27
  GetCustomerAccountDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
@@ -34,6 +35,7 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
34
35
  _GetCustomerAccountData_monthlyTrendAgg.set(this, void 0);
35
36
  _GetCustomerAccountData_pagination.set(this, void 0);
36
37
  _GetCustomerAccountData_period.set(this, void 0);
38
+ _GetCustomerAccountData_reportsAgg.set(this, void 0);
37
39
  _GetCustomerAccountData_results.set(this, void 0);
38
40
  _GetCustomerAccountData_scoresAgg.set(this, void 0);
39
41
  _GetCustomerAccountData_severitiesAgg.set(this, void 0);
@@ -43,6 +45,7 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
43
45
  __classPrivateFieldSet(this, _GetCustomerAccountData_monthlyTrendAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
44
46
  __classPrivateFieldSet(this, _GetCustomerAccountData_pagination, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PAGINATION], "f");
45
47
  __classPrivateFieldSet(this, _GetCustomerAccountData_period, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_PERIOD], "f");
48
+ __classPrivateFieldSet(this, _GetCustomerAccountData_reportsAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_REPORTS_AGG], "f");
46
49
  __classPrivateFieldSet(this, _GetCustomerAccountData_results, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_RESULTS], "f");
47
50
  __classPrivateFieldSet(this, _GetCustomerAccountData_scoresAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SCORES_AGG], "f");
48
51
  __classPrivateFieldSet(this, _GetCustomerAccountData_severitiesAgg, getCustomerAccountDataInput[GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG], "f");
@@ -64,6 +67,9 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
64
67
  get scoresAgg() {
65
68
  return __classPrivateFieldGet(this, _GetCustomerAccountData_scoresAgg, "f");
66
69
  }
70
+ get reportsAgg() {
71
+ return __classPrivateFieldGet(this, _GetCustomerAccountData_reportsAgg, "f");
72
+ }
67
73
  get results() {
68
74
  return __classPrivateFieldGet(this, _GetCustomerAccountData_results, "f");
69
75
  }
@@ -84,6 +90,7 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
84
90
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]: this.pagination,
85
91
  [GetCustomerAccountDataFields.COLUMN_PERIOD]: this.period,
86
92
  [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
93
+ [GetCustomerAccountDataFields.COLUMN_REPORTS_AGG]: this.reportsAgg,
87
94
  [GetCustomerAccountDataFields.COLUMN_RESULTS]: this.results,
88
95
  [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
89
96
  [GetCustomerAccountDataFields.COLUMN_STANDARDS_AGG]: this.standardsAgg,
@@ -92,5 +99,5 @@ class GetCustomerAccountData extends abstractEntity_1.AbstractEntity {
92
99
  }
93
100
  }
94
101
  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();
102
+ _GetCustomerAccountData_checksAgg = new WeakMap(), _GetCustomerAccountData_monthlyTrendAgg = new WeakMap(), _GetCustomerAccountData_pagination = new WeakMap(), _GetCustomerAccountData_period = new WeakMap(), _GetCustomerAccountData_reportsAgg = new WeakMap(), _GetCustomerAccountData_results = new WeakMap(), _GetCustomerAccountData_scoresAgg = new WeakMap(), _GetCustomerAccountData_severitiesAgg = new WeakMap(), _GetCustomerAccountData_standardsAgg = new WeakMap(), _GetCustomerAccountData_standards = new WeakMap();
96
103
  //# sourceMappingURL=getCustomerAccountData.js.map
@@ -1,5 +1,5 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { AccountsAggType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ChecksAggType, ScoresAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
2
+ import { AccountsAggType, ScoreResultType, MonthlyTrendAggType, SeveritiesAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ChecksAggType, ReportsAggType, ScoresAggType, StandardWithCheckType } from '../types/wellArchitectedGraphQLTypes';
3
3
  import { WellArchitectedQueries } from '../types/queryArguments';
4
4
  export declare enum GetCustomerDataFields {
5
5
  COLUMN_ACCOUNTS_AGG = "accountsAgg",
@@ -7,6 +7,7 @@ export declare enum GetCustomerDataFields {
7
7
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
8
8
  COLUMN_PAGINATION = "pagination",
9
9
  COLUMN_PERIOD = "period",
10
+ COLUMN_REPORTS_AGG = "reportsAgg",
10
11
  COLUMN_RESULTS = "results",
11
12
  COLUMN_SCORES_AGG = "scoresAgg",
12
13
  COLUMN_SEVERITIES_AGG = "severitiesAgg",
@@ -19,6 +20,7 @@ export declare type GetCustomerDataType = {
19
20
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
20
21
  [GetCustomerDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
21
22
  [GetCustomerDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
23
+ [GetCustomerDataFields.COLUMN_REPORTS_AGG]?: ReportsAggType[];
22
24
  [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
23
25
  [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
26
  [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
@@ -36,6 +38,7 @@ export declare class GetCustomerData extends AbstractEntity<GetCustomerDataType>
36
38
  get monthlyTrendAgg(): MonthlyTrendAggType | undefined;
37
39
  get pagination(): WellArchitectedPaginationType | undefined;
38
40
  get period(): WellArchitectedPeriodType | undefined;
41
+ get reportsAgg(): ReportsAggType[] | undefined;
39
42
  get results(): ScoreResultType[] | undefined;
40
43
  get scoresAgg(): ScoresAggType | undefined;
41
44
  get severitiesAgg(): SeveritiesAggType | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetCustomerData_accountsAgg, _GetCustomerData_checksAgg, _GetCustomerData_monthlyTrendAgg, _GetCustomerData_pagination, _GetCustomerData_period, _GetCustomerData_results, _GetCustomerData_scoresAgg, _GetCustomerData_severitiesAgg, _GetCustomerData_standards, _GetCustomerData_subscriptionReferences;
13
+ var _GetCustomerData_accountsAgg, _GetCustomerData_checksAgg, _GetCustomerData_monthlyTrendAgg, _GetCustomerData_pagination, _GetCustomerData_period, _GetCustomerData_reportsAgg, _GetCustomerData_results, _GetCustomerData_scoresAgg, _GetCustomerData_severitiesAgg, _GetCustomerData_standards, _GetCustomerData_subscriptionReferences;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetCustomerData = exports.GetCustomerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -22,6 +22,7 @@ var GetCustomerDataFields;
22
22
  GetCustomerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
23
23
  GetCustomerDataFields["COLUMN_PAGINATION"] = "pagination";
24
24
  GetCustomerDataFields["COLUMN_PERIOD"] = "period";
25
+ GetCustomerDataFields["COLUMN_REPORTS_AGG"] = "reportsAgg";
25
26
  GetCustomerDataFields["COLUMN_RESULTS"] = "results";
26
27
  GetCustomerDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
27
28
  GetCustomerDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
@@ -36,6 +37,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
36
37
  _GetCustomerData_monthlyTrendAgg.set(this, void 0);
37
38
  _GetCustomerData_pagination.set(this, void 0);
38
39
  _GetCustomerData_period.set(this, void 0);
40
+ _GetCustomerData_reportsAgg.set(this, void 0);
39
41
  _GetCustomerData_results.set(this, void 0);
40
42
  _GetCustomerData_scoresAgg.set(this, void 0);
41
43
  _GetCustomerData_severitiesAgg.set(this, void 0);
@@ -46,6 +48,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
46
48
  __classPrivateFieldSet(this, _GetCustomerData_monthlyTrendAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
47
49
  __classPrivateFieldSet(this, _GetCustomerData_pagination, getCustomerDataInput[GetCustomerDataFields.COLUMN_PAGINATION], "f");
48
50
  __classPrivateFieldSet(this, _GetCustomerData_period, getCustomerDataInput[GetCustomerDataFields.COLUMN_PERIOD], "f");
51
+ __classPrivateFieldSet(this, _GetCustomerData_reportsAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_REPORTS_AGG], "f");
49
52
  __classPrivateFieldSet(this, _GetCustomerData_results, getCustomerDataInput[GetCustomerDataFields.COLUMN_RESULTS], "f");
50
53
  __classPrivateFieldSet(this, _GetCustomerData_scoresAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_SCORES_AGG], "f");
51
54
  __classPrivateFieldSet(this, _GetCustomerData_severitiesAgg, getCustomerDataInput[GetCustomerDataFields.COLUMN_SEVERITIES_AGG], "f");
@@ -67,6 +70,9 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
67
70
  get period() {
68
71
  return __classPrivateFieldGet(this, _GetCustomerData_period, "f");
69
72
  }
73
+ get reportsAgg() {
74
+ return __classPrivateFieldGet(this, _GetCustomerData_reportsAgg, "f");
75
+ }
70
76
  get results() {
71
77
  return __classPrivateFieldGet(this, _GetCustomerData_results, "f");
72
78
  }
@@ -89,6 +95,7 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
89
95
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
90
96
  [GetCustomerDataFields.COLUMN_PAGINATION]: this.pagination,
91
97
  [GetCustomerDataFields.COLUMN_PERIOD]: this.period,
98
+ [GetCustomerDataFields.COLUMN_REPORTS_AGG]: __classPrivateFieldGet(this, _GetCustomerData_reportsAgg, "f"),
92
99
  [GetCustomerDataFields.COLUMN_RESULTS]: this.results,
93
100
  [GetCustomerDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
94
101
  [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
@@ -99,5 +106,5 @@ class GetCustomerData extends abstractEntity_1.AbstractEntity {
99
106
  }
100
107
  }
101
108
  exports.GetCustomerData = GetCustomerData;
102
- _GetCustomerData_accountsAgg = new WeakMap(), _GetCustomerData_checksAgg = new WeakMap(), _GetCustomerData_monthlyTrendAgg = new WeakMap(), _GetCustomerData_pagination = new WeakMap(), _GetCustomerData_period = new WeakMap(), _GetCustomerData_results = new WeakMap(), _GetCustomerData_scoresAgg = new WeakMap(), _GetCustomerData_severitiesAgg = new WeakMap(), _GetCustomerData_standards = new WeakMap(), _GetCustomerData_subscriptionReferences = new WeakMap();
109
+ _GetCustomerData_accountsAgg = new WeakMap(), _GetCustomerData_checksAgg = new WeakMap(), _GetCustomerData_monthlyTrendAgg = new WeakMap(), _GetCustomerData_pagination = new WeakMap(), _GetCustomerData_period = new WeakMap(), _GetCustomerData_reportsAgg = new WeakMap(), _GetCustomerData_results = new WeakMap(), _GetCustomerData_scoresAgg = new WeakMap(), _GetCustomerData_severitiesAgg = new WeakMap(), _GetCustomerData_standards = new WeakMap(), _GetCustomerData_subscriptionReferences = new WeakMap();
103
110
  //# sourceMappingURL=getCustomerData.js.map
@@ -1,5 +1,5 @@
1
1
  import { AbstractEntity } from '../../abstractEntity';
2
- import { ChecksAggType, EndCustomersAggType, MarketplacesAggType, MonthlyTrendAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/wellArchitectedGraphQLTypes';
2
+ import { ChecksAggType, EndCustomersAggType, MarketplacesAggType, MonthlyTrendAggType, WellArchitectedPaginationType, WellArchitectedPeriodType, ReportsAggType, ScoreResultType, ScoresAggType, SeveritiesAggType } from '../types/wellArchitectedGraphQLTypes';
3
3
  import { WellArchitectedQueries } from '../types/queryArguments';
4
4
  export declare enum GetPartnerDataFields {
5
5
  COLUMN_CHECKS_AGG = "checksAgg",
@@ -8,6 +8,7 @@ export declare enum GetPartnerDataFields {
8
8
  COLUMN_MONTHLY_TREND_AGG = "monthlyTrendAgg",
9
9
  COLUMN_PAGINATION = "pagination",
10
10
  COLUMN_PERIOD = "period",
11
+ COLUMN_REPORTS_AGG = "reportsAgg",
11
12
  COLUMN_RESULTS = "results",
12
13
  COLUMN_SCORES_AGG = "scoresAgg",
13
14
  COLUMN_SEVERITIES_AGG = "severitiesAgg"
@@ -19,6 +20,7 @@ export declare type GetPartnerDataType = {
19
20
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggType;
20
21
  [GetPartnerDataFields.COLUMN_PAGINATION]?: WellArchitectedPaginationType;
21
22
  [GetPartnerDataFields.COLUMN_PERIOD]?: WellArchitectedPeriodType;
23
+ [GetPartnerDataFields.COLUMN_REPORTS_AGG]?: ReportsAggType[];
22
24
  [GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultType[];
23
25
  [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggType;
24
26
  [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggType;
@@ -35,6 +37,7 @@ export declare class GetPartnerData extends AbstractEntity<GetPartnerDataType> {
35
37
  get marketplacesAgg(): MarketplacesAggType | undefined;
36
38
  get period(): WellArchitectedPeriodType | undefined;
37
39
  get pagination(): WellArchitectedPaginationType | undefined;
40
+ get reportsAgg(): ReportsAggType[] | undefined;
38
41
  get results(): ScoreResultType[] | undefined;
39
42
  get scoresAgg(): ScoresAggType | undefined;
40
43
  get severitiesAgg(): SeveritiesAggType | undefined;
@@ -10,7 +10,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
10
10
  if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
11
11
  return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
12
12
  };
13
- var _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_marketplacesAgg, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
13
+ var _GetPartnerData_checksAgg, _GetPartnerData_endCustomersAgg, _GetPartnerData_marketplacesAgg, _GetPartnerData_monthlyTrendAgg, _GetPartnerData_period, _GetPartnerData_pagination, _GetPartnerData_reportsAgg, _GetPartnerData_results, _GetPartnerData_scoresAgg, _GetPartnerData_severitiesAgg;
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.GetPartnerData = exports.GetPartnerDataFields = void 0;
16
16
  const abstractEntity_1 = require("../../abstractEntity");
@@ -23,6 +23,7 @@ var GetPartnerDataFields;
23
23
  GetPartnerDataFields["COLUMN_MONTHLY_TREND_AGG"] = "monthlyTrendAgg";
24
24
  GetPartnerDataFields["COLUMN_PAGINATION"] = "pagination";
25
25
  GetPartnerDataFields["COLUMN_PERIOD"] = "period";
26
+ GetPartnerDataFields["COLUMN_REPORTS_AGG"] = "reportsAgg";
26
27
  GetPartnerDataFields["COLUMN_RESULTS"] = "results";
27
28
  GetPartnerDataFields["COLUMN_SCORES_AGG"] = "scoresAgg";
28
29
  GetPartnerDataFields["COLUMN_SEVERITIES_AGG"] = "severitiesAgg";
@@ -36,6 +37,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
36
37
  _GetPartnerData_monthlyTrendAgg.set(this, void 0);
37
38
  _GetPartnerData_period.set(this, void 0);
38
39
  _GetPartnerData_pagination.set(this, void 0);
40
+ _GetPartnerData_reportsAgg.set(this, void 0);
39
41
  _GetPartnerData_results.set(this, void 0);
40
42
  _GetPartnerData_scoresAgg.set(this, void 0);
41
43
  _GetPartnerData_severitiesAgg.set(this, void 0);
@@ -45,6 +47,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
45
47
  __classPrivateFieldSet(this, _GetPartnerData_monthlyTrendAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG], "f");
46
48
  __classPrivateFieldSet(this, _GetPartnerData_period, getPartnerDataInput[GetPartnerDataFields.COLUMN_PERIOD], "f");
47
49
  __classPrivateFieldSet(this, _GetPartnerData_pagination, getPartnerDataInput[GetPartnerDataFields.COLUMN_PAGINATION], "f");
50
+ __classPrivateFieldSet(this, _GetPartnerData_reportsAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_REPORTS_AGG], "f");
48
51
  __classPrivateFieldSet(this, _GetPartnerData_results, getPartnerDataInput[GetPartnerDataFields.COLUMN_RESULTS], "f");
49
52
  __classPrivateFieldSet(this, _GetPartnerData_scoresAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SCORES_AGG], "f");
50
53
  __classPrivateFieldSet(this, _GetPartnerData_severitiesAgg, getPartnerDataInput[GetPartnerDataFields.COLUMN_SEVERITIES_AGG], "f");
@@ -67,6 +70,9 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
67
70
  get pagination() {
68
71
  return __classPrivateFieldGet(this, _GetPartnerData_pagination, "f");
69
72
  }
73
+ get reportsAgg() {
74
+ return __classPrivateFieldGet(this, _GetPartnerData_reportsAgg, "f");
75
+ }
70
76
  get results() {
71
77
  return __classPrivateFieldGet(this, _GetPartnerData_results, "f");
72
78
  }
@@ -84,6 +90,7 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
84
90
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]: this.monthlyTrendAgg,
85
91
  [GetPartnerDataFields.COLUMN_PERIOD]: this.period,
86
92
  [GetPartnerDataFields.COLUMN_PAGINATION]: this.pagination,
93
+ [GetPartnerDataFields.COLUMN_REPORTS_AGG]: __classPrivateFieldGet(this, _GetPartnerData_reportsAgg, "f"),
87
94
  [GetPartnerDataFields.COLUMN_RESULTS]: this.results,
88
95
  [GetPartnerDataFields.COLUMN_SCORES_AGG]: this.scoresAgg,
89
96
  [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]: this.severitiesAgg,
@@ -91,5 +98,5 @@ class GetPartnerData extends abstractEntity_1.AbstractEntity {
91
98
  }
92
99
  }
93
100
  exports.GetPartnerData = GetPartnerData;
94
- _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_marketplacesAgg = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_period = new WeakMap(), _GetPartnerData_pagination = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_scoresAgg = new WeakMap(), _GetPartnerData_severitiesAgg = new WeakMap();
101
+ _GetPartnerData_checksAgg = new WeakMap(), _GetPartnerData_endCustomersAgg = new WeakMap(), _GetPartnerData_marketplacesAgg = new WeakMap(), _GetPartnerData_monthlyTrendAgg = new WeakMap(), _GetPartnerData_period = new WeakMap(), _GetPartnerData_pagination = new WeakMap(), _GetPartnerData_reportsAgg = new WeakMap(), _GetPartnerData_results = new WeakMap(), _GetPartnerData_scoresAgg = new WeakMap(), _GetPartnerData_severitiesAgg = new WeakMap();
95
102
  //# sourceMappingURL=getPartnerData.js.map
@@ -1,3 +1,4 @@
1
+ import { EnumType } from 'json-to-graphql-query';
1
2
  /**
2
3
  * For field __args
3
4
  */
@@ -14,6 +15,10 @@ export declare enum PaginateFields {
14
15
  PAGE = "page",
15
16
  PER_PAGE = "perPage"
16
17
  }
18
+ export declare enum ReportName {
19
+ SUSTAINABILITY_BEGESV4 = "SUSTAINABILITY_BEGESV4",
20
+ SUSTAINABILITY_GHG = "SUSTAINABILITY_GHG"
21
+ }
17
22
  export declare enum SearchBodyFields {
18
23
  FILTERS = "filters",
19
24
  EXCLUSION_FILTERS = "exclusionFilters",
@@ -21,7 +26,8 @@ export declare enum SearchBodyFields {
21
26
  SUBSCRIPTION_REFERENCE = "subscriptionReference",
22
27
  MARKETPLACE = "marketplace",
23
28
  MONTHLY_TREND_PERIOD = "monthlyTrendPeriod",
24
- PERIOD = "period"
29
+ PERIOD = "period",
30
+ REPORTS = "reports"
25
31
  }
26
32
  export declare enum SearchFilterFields {
27
33
  NAMES = "names",
@@ -91,6 +97,7 @@ export declare type SearchBodyArgument = {
91
97
  [SearchBodyFields.MARKETPLACE]?: string[][];
92
98
  [SearchBodyFields.MONTHLY_TREND_PERIOD]?: PeriodInputArgument;
93
99
  [SearchBodyFields.PERIOD]?: PeriodInputArgument;
100
+ [SearchBodyFields.REPORTS]?: EnumType[];
94
101
  [SearchBodyFields.SORT]?: SortArgument[];
95
102
  [SearchBodyFields.SUBSCRIPTION_REFERENCE]?: string[][];
96
103
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WellArchitectedQueries = exports.SortFields = exports.SearchFilterValues = exports.SearchFilterFields = exports.SearchBodyFields = exports.PaginateFields = exports.PeriodInputFields = exports.OperatorArgument = void 0;
3
+ exports.WellArchitectedQueries = exports.SortFields = exports.SearchFilterValues = exports.SearchFilterFields = exports.SearchBodyFields = exports.ReportName = exports.PaginateFields = exports.PeriodInputFields = exports.OperatorArgument = void 0;
4
4
  /**
5
5
  * For field __args
6
6
  */
@@ -20,6 +20,11 @@ var PaginateFields;
20
20
  PaginateFields["PAGE"] = "page";
21
21
  PaginateFields["PER_PAGE"] = "perPage";
22
22
  })(PaginateFields = exports.PaginateFields || (exports.PaginateFields = {}));
23
+ var ReportName;
24
+ (function (ReportName) {
25
+ ReportName["SUSTAINABILITY_BEGESV4"] = "SUSTAINABILITY_BEGESV4";
26
+ ReportName["SUSTAINABILITY_GHG"] = "SUSTAINABILITY_GHG";
27
+ })(ReportName = exports.ReportName || (exports.ReportName = {}));
23
28
  var SearchBodyFields;
24
29
  (function (SearchBodyFields) {
25
30
  SearchBodyFields["FILTERS"] = "filters";
@@ -29,6 +34,7 @@ var SearchBodyFields;
29
34
  SearchBodyFields["MARKETPLACE"] = "marketplace";
30
35
  SearchBodyFields["MONTHLY_TREND_PERIOD"] = "monthlyTrendPeriod";
31
36
  SearchBodyFields["PERIOD"] = "period";
37
+ SearchBodyFields["REPORTS"] = "reports";
32
38
  })(SearchBodyFields = exports.SearchBodyFields || (exports.SearchBodyFields = {}));
33
39
  var SearchFilterFields;
34
40
  (function (SearchFilterFields) {
@@ -1,5 +1,5 @@
1
1
  import { SearchBodyArgument, PaginateArgument, WellArchitectedQueries } from './queryArguments';
2
- import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardWithCheckSchema, MarketplacesAggSchema, PartnersAggSchema } from './wellArchitectedGraphQLSchemas';
2
+ import { AccountsAggSchema, ChecksAggSchema, EndCustomersAggSchema, MonthlyTrendAggSchema, PaginationSchema, PeriodsSchema, ReportsAggSchema, ScoreResultSchema, ScoresAggSchema, SeveritiesAggSchema, StandardsAggSchema, StandardWithCheckSchema, MarketplacesAggSchema, PartnersAggSchema } from './wellArchitectedGraphQLSchemas';
3
3
  import { GetPartnerDataFields } from '../entities/getPartnerData';
4
4
  import { GetCustomerDataFields } from '../entities/getCustomerData';
5
5
  import { GetCustomerAccountDataFields } from '../entities/getCustomerAccountData';
@@ -16,6 +16,7 @@ export declare type GetPartnerDataQuery = {
16
16
  [GetPartnerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
17
17
  [GetPartnerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
18
18
  [GetPartnerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
19
+ [GetPartnerDataFields.COLUMN_REPORTS_AGG]?: ReportsAggSchema;
19
20
  [GetPartnerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
20
21
  [GetPartnerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
21
22
  [GetPartnerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
@@ -32,6 +33,7 @@ export declare type GetCustomerDataQuery = {
32
33
  [GetCustomerDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
33
34
  [GetCustomerDataFields.COLUMN_PAGINATION]?: PaginationSchema;
34
35
  [GetCustomerDataFields.COLUMN_PERIOD]?: PeriodsSchema;
36
+ [GetCustomerDataFields.COLUMN_REPORTS_AGG]?: ReportsAggSchema;
35
37
  [GetCustomerDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
36
38
  [GetCustomerDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
37
39
  [GetCustomerDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
@@ -49,6 +51,7 @@ export declare type GetCustomerAccountDataQuery = {
49
51
  [GetCustomerAccountDataFields.COLUMN_MONTHLY_TREND_AGG]?: MonthlyTrendAggSchema;
50
52
  [GetCustomerAccountDataFields.COLUMN_PAGINATION]?: PaginationSchema;
51
53
  [GetCustomerAccountDataFields.COLUMN_PERIOD]?: PeriodsSchema;
54
+ [GetCustomerAccountDataFields.COLUMN_REPORTS_AGG]?: ReportsAggSchema;
52
55
  [GetCustomerAccountDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
53
56
  [GetCustomerAccountDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
54
57
  [GetCustomerAccountDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
@@ -68,6 +71,7 @@ export declare type GetAdminDataQuery = {
68
71
  [GetAdminDataFields.COLUMN_PARTNERS_AGG]?: PartnersAggSchema;
69
72
  [GetAdminDataFields.COLUMN_PAGINATION]?: PaginationSchema;
70
73
  [GetAdminDataFields.COLUMN_PERIOD]?: PeriodsSchema;
74
+ [GetAdminDataFields.COLUMN_REPORTS_AGG]?: ReportsAggSchema;
71
75
  [GetAdminDataFields.COLUMN_RESULTS]?: ScoreResultSchema;
72
76
  [GetAdminDataFields.COLUMN_SCORES_AGG]?: ScoresAggSchema;
73
77
  [GetAdminDataFields.COLUMN_SEVERITIES_AGG]?: SeveritiesAggSchema;
@@ -1,5 +1,5 @@
1
1
  import { Merge, Schema } from 'type-fest';
2
- import { AccountAggType, AccountByDateAggType, AccountType, CheckAggType, CheckByDateType, CheckByGroupType, CheckCountByDateAggType, ChecksByStandardType, CheckType, EndCustomerAggType, EndCustomerByDateAggType, ExtraDataType, FilterValuesType, MarketplaceAggType, MarketplaceByDateAggType, MarketplacePartnerAggByDateAggType, MarketplacePartnerAggType, MonthlyTrendAggType, PartnerAggType, PartnerByDateAggType, RegistrationType, ScoreByDateAggType, ScoreByMonthAggType, ScoreByMonthSeverityType, ScoresAggType, SeverityAggType, SeverityByDateAggType, StandardAggType, StandardByDateAggType, StandardType, StandardWithCheckType, UnregisteredEndCustomerAggType, UnregisteredOfferIaasSubscriptionType, UnregisteredOfferIaasType, UnregisteredOfferSaasType, WellArchitectedPaginationType, WellArchitectedPeriodType } from './wellArchitectedGraphQLTypes';
2
+ import { AccountAggType, AccountByDateAggType, AccountType, CheckAggType, CheckByDateType, CheckByGroupType, CheckCountByDateAggType, ChecksByStandardType, CheckType, EndCustomerAggType, EndCustomerByDateAggType, ExtraDataType, FilterValuesType, MarketplaceAggType, MarketplaceByDateAggType, MarketplacePartnerAggByDateAggType, MarketplacePartnerAggType, MonthlyTrendAggType, PartnerAggType, PartnerByDateAggType, RegistrationType, ReportsAggType, ScoreByDateAggType, ScoreByMonthAggType, ScoreByMonthSeverityType, ScoresAggType, SeverityAggType, SeverityByDateAggType, StandardAggType, StandardByDateAggType, StandardType, StandardWithCheckType, UnregisteredEndCustomerAggType, UnregisteredOfferIaasSubscriptionType, UnregisteredOfferIaasType, UnregisteredOfferSaasType, WellArchitectedPaginationType, WellArchitectedPeriodType } from './wellArchitectedGraphQLTypes';
3
3
  declare type MissingFieldsOfScoreByMonthAggSchema = {
4
4
  severities: Schema<ScoreByMonthSeverityType, boolean>;
5
5
  };
@@ -131,4 +131,5 @@ declare type PartnerAggSchema = Merge<Schema<PartnerAggType, boolean>, MissingFi
131
131
  export declare type PartnersAggSchema = {
132
132
  partners?: PartnerAggSchema;
133
133
  };
134
+ export declare type ReportsAggSchema = Schema<ReportsAggType, boolean>;
134
135
  export {};
@@ -86,6 +86,14 @@ export declare type ScoreResultType = {
86
86
  account?: AccountType;
87
87
  registration?: RegistrationType;
88
88
  };
89
+ declare enum ReportName {
90
+ SUSTAINABILITY_BEGESV4 = 0,
91
+ SUSTAINABILITY_GHG = 1
92
+ }
93
+ export declare type ReportsAggType = {
94
+ name: ReportName;
95
+ statusCode: number;
96
+ };
89
97
  /**
90
98
  * Generic Types
91
99
  */
@@ -358,3 +366,4 @@ export declare type StandardWithCheckType = {
358
366
  name?: string;
359
367
  reference?: string;
360
368
  };
369
+ export {};
@@ -1,3 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ var ReportName;
4
+ (function (ReportName) {
5
+ ReportName[ReportName["SUSTAINABILITY_BEGESV4"] = 0] = "SUSTAINABILITY_BEGESV4";
6
+ ReportName[ReportName["SUSTAINABILITY_GHG"] = 1] = "SUSTAINABILITY_GHG";
7
+ })(ReportName || (ReportName = {}));
3
8
  //# sourceMappingURL=wellArchitectedGraphQLTypes.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.98.0-rc.ckh.1",
7
+ "version": "3.98.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,59 +0,0 @@
1
- import { AbstractRestfulClient } from '../abstractRestfulClient';
2
- import { GetResult } from '../getResult';
3
- import { BillingExportAsyncRequest } from './entities/export/exportAsyncRequest';
4
- export declare type GenerateExportAsyncRequestPayload = {
5
- outputFormat?: {
6
- file: 'csv' | 'xlsx';
7
- date: string;
8
- };
9
- exportTypeReference: string;
10
- filters: {
11
- issueDate?: {
12
- from: string;
13
- to: string;
14
- };
15
- validationDate?: {
16
- from: string;
17
- to: string;
18
- };
19
- reportPeriod?: {
20
- from: string;
21
- to: string;
22
- };
23
- subscriptionDate?: {
24
- from: string;
25
- to: string;
26
- };
27
- createdAt?: {
28
- from: string;
29
- to: string;
30
- };
31
- classifications?: string[];
32
- vendors?: string[];
33
- programs?: string[];
34
- marketplaces?: string[];
35
- sequences?: string[];
36
- references?: string[];
37
- resellerXspRefs?: string[];
38
- resellerCompanyTags?: string[];
39
- customerXspRefs?: string[];
40
- vendorSubscriptionIds?: string[];
41
- friendlyNames?: string[];
42
- arrowSku?: string;
43
- };
44
- callbackUrl: string;
45
- };
46
- export declare class BillingClient extends AbstractRestfulClient {
47
- /**
48
- * The base path of the API
49
- */
50
- protected basePath: string;
51
- /**
52
- * Generates a billing export asynchronously.
53
- *
54
- * @param {GenerateExportAsyncRequestPayload} payload - The request payload for generating the export.
55
- *
56
- * @return {Promise<GetResult<BillingExportAsyncRequest>>} - A promise that resolves to the result of the export request.
57
- */
58
- generateExportAsync(payload: GenerateExportAsyncRequestPayload): Promise<GetResult<BillingExportAsyncRequest>>;
59
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BillingClient = void 0;
4
- const abstractRestfulClient_1 = require("../abstractRestfulClient");
5
- const getResult_1 = require("../getResult");
6
- const exportAsyncRequest_1 = require("./entities/export/exportAsyncRequest");
7
- class BillingClient extends abstractRestfulClient_1.AbstractRestfulClient {
8
- constructor() {
9
- super(...arguments);
10
- /**
11
- * The base path of the API
12
- */
13
- this.basePath = '/billing/erp';
14
- }
15
- /**
16
- * Generates a billing export asynchronously.
17
- *
18
- * @param {GenerateExportAsyncRequestPayload} payload - The request payload for generating the export.
19
- *
20
- * @return {Promise<GetResult<BillingExportAsyncRequest>>} - A promise that resolves to the result of the export request.
21
- */
22
- async generateExportAsync(payload) {
23
- this.path = `/exports/async`;
24
- return new getResult_1.GetResult(exportAsyncRequest_1.BillingExportAsyncRequest, await this.post(payload));
25
- }
26
- }
27
- exports.BillingClient = BillingClient;
28
- //# sourceMappingURL=billingClient.js.map
@@ -1,13 +0,0 @@
1
- import { AbstractEntity } from '../../../abstractEntity';
2
- export declare enum BillingExportAsyncRequestFields {
3
- COLUMN_REQUEST_REF = "requestRef"
4
- }
5
- export declare type BillingExportAsyncRequestType = {
6
- [BillingExportAsyncRequestFields.COLUMN_REQUEST_REF]: string;
7
- };
8
- export declare class BillingExportAsyncRequest extends AbstractEntity<BillingExportAsyncRequestType> {
9
- #private;
10
- constructor(billingExportAsyncRequestResponse: BillingExportAsyncRequestType);
11
- get requestRef(): string;
12
- toJSON(): BillingExportAsyncRequestType;
13
- }
@@ -1,38 +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 _BillingExportAsyncRequest_requestRef;
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.BillingExportAsyncRequest = exports.BillingExportAsyncRequestFields = void 0;
16
- const abstractEntity_1 = require("../../../abstractEntity");
17
- var BillingExportAsyncRequestFields;
18
- (function (BillingExportAsyncRequestFields) {
19
- BillingExportAsyncRequestFields["COLUMN_REQUEST_REF"] = "requestRef";
20
- })(BillingExportAsyncRequestFields = exports.BillingExportAsyncRequestFields || (exports.BillingExportAsyncRequestFields = {}));
21
- class BillingExportAsyncRequest extends abstractEntity_1.AbstractEntity {
22
- constructor(billingExportAsyncRequestResponse) {
23
- super(billingExportAsyncRequestResponse);
24
- _BillingExportAsyncRequest_requestRef.set(this, void 0);
25
- __classPrivateFieldSet(this, _BillingExportAsyncRequest_requestRef, billingExportAsyncRequestResponse[BillingExportAsyncRequestFields.COLUMN_REQUEST_REF], "f");
26
- }
27
- get requestRef() {
28
- return __classPrivateFieldGet(this, _BillingExportAsyncRequest_requestRef, "f");
29
- }
30
- toJSON() {
31
- return {
32
- [BillingExportAsyncRequestFields.COLUMN_REQUEST_REF]: this.requestRef,
33
- };
34
- }
35
- }
36
- exports.BillingExportAsyncRequest = BillingExportAsyncRequest;
37
- _BillingExportAsyncRequest_requestRef = new WeakMap();
38
- //# sourceMappingURL=exportAsyncRequest.js.map
@@ -1,2 +0,0 @@
1
- export * from './entities/export/exportAsyncRequest';
2
- export * from './billingClient';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./entities/export/exportAsyncRequest"), exports);
18
- __exportStar(require("./billingClient"), exports);
19
- //# sourceMappingURL=index.js.map