@arrowsphere/api-client 3.70.3 → 3.70.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
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.70.5] - 2023-11-29
7
+
8
+ ### Fixed
9
+ - Fix update issue support center
10
+
11
+ ## [3.70.4] - 2023-11-29
12
+
13
+ ### Changed
14
+ - Adds score by group for the Checks in Well Architected
15
+
16
+
6
17
  ## [3.70.3] - 2023-11-29
7
18
 
8
19
  ### Changed
@@ -44,7 +44,7 @@ class SupportCenterClient extends abstractRestfulClient_1.AbstractRestfulClient
44
44
  }
45
45
  async updateIssue(issueId, payload, parameters = {}) {
46
46
  this.path = `/issues/${issueId}`;
47
- return new getResult_1.GetResult(issue_1.Issue, await this.patch(payload, parameters));
47
+ return await this.patch(payload, parameters);
48
48
  }
49
49
  async listIssueComments(issueId, parameters = {}) {
50
50
  this.path = `/issues/${issueId}/comments`;
@@ -1,5 +1,5 @@
1
1
  import { Merge, Schema } from 'type-fest';
2
- import { AccountAggType, AccountByDateAggType, AccountType, CheckAggType, CheckByDateType, 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, 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
  };
@@ -47,7 +47,11 @@ export declare type FilterSchema = {
47
47
  name?: boolean;
48
48
  values?: FilterValuesSchema;
49
49
  };
50
- declare type CheckCountByDateAggSchema = Schema<CheckCountByDateAggType, boolean>;
50
+ export declare type CheckByGroupSchema = Schema<CheckByGroupType, boolean>;
51
+ declare type MissingFieldsInCheckCountByDateAggSchema = {
52
+ byGroup?: CheckByGroupSchema;
53
+ };
54
+ declare type CheckCountByDateAggSchema = Merge<Schema<CheckCountByDateAggType, boolean>, MissingFieldsInCheckCountByDateAggSchema>;
51
55
  declare type MissingFieldsInCheckAggSchema = {
52
56
  data?: CheckCountByDateAggSchema;
53
57
  };
@@ -112,8 +112,13 @@ export declare type SeveritiesAggType = {
112
112
  /**
113
113
  * Check Aggregation Types
114
114
  */
115
+ export declare type CheckByGroupType = {
116
+ groupName: string;
117
+ score: string;
118
+ };
115
119
  export declare type CheckCountByDateAggType = {
116
120
  accounts?: number;
121
+ byGroup?: CheckByGroupType[];
117
122
  customers?: number;
118
123
  date?: string;
119
124
  partners?: number;
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.70.3",
7
+ "version": "3.70.5",
8
8
  "description": "Node.js client for ArrowSphere's public API",
9
9
  "main": "build/index.js",
10
10
  "types": "build/index.d.ts",