@arrowsphere/api-client 3.371.0 → 3.373.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 +9 -0
- package/build/catalog/types/catalogGraphQLTypes.d.ts +1 -0
- package/build/graphqlApi/index.d.ts +1 -0
- package/build/graphqlApi/index.js +1 -0
- package/build/supportCenter/supportCenterClient.d.ts +1 -1
- package/build/supportCenter/supportCenterClient.js +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
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.373.0] - 2026.06.03
|
|
7
|
+
### Added
|
|
8
|
+
- [graphql-api] Add new field to ProductType: `isForPartnerOnly`
|
|
9
|
+
|
|
10
|
+
## [3.372.0] - 2026.06.03
|
|
11
|
+
### Updated
|
|
12
|
+
- [graphql-api] Enable direct import of GraphqlApiSupportLevel type from API client
|
|
13
|
+
- [support-center] Allow statuses to be an array in ListIssueParameters type
|
|
14
|
+
|
|
6
15
|
## [3.371.0] - 2026.05.28
|
|
7
16
|
### Added
|
|
8
17
|
- [graphql-api] Add `softwareProduct` entity
|
|
@@ -42,4 +42,5 @@ __exportStar(require("./types/entities/comment"), exports);
|
|
|
42
42
|
__exportStar(require("./types/entities/programAgreement"), exports);
|
|
43
43
|
__exportStar(require("./types/entities/providerAgreementHistory"), exports);
|
|
44
44
|
__exportStar(require("./types/entities/softwareProduct"), exports);
|
|
45
|
+
__exportStar(require("./types/entities/supportLevel"), exports);
|
|
45
46
|
//# sourceMappingURL=index.js.map
|
|
@@ -27,7 +27,7 @@ export declare type ListIssueParametersType = ParametersWithPaginationType & {
|
|
|
27
27
|
[ListIssueParametersFields.RESELLER_REF]?: string;
|
|
28
28
|
[ListIssueParametersFields.SKU]?: string;
|
|
29
29
|
[ListIssueParametersFields.SORT]?: 'title' | 'updated' | 'status';
|
|
30
|
-
[ListIssueParametersFields.STATUSES]?: IssueStatusesType;
|
|
30
|
+
[ListIssueParametersFields.STATUSES]?: IssueStatusesType | IssueStatusesType[];
|
|
31
31
|
[ListIssueParametersFields.TITLE]?: string;
|
|
32
32
|
};
|
|
33
33
|
export declare class SupportCenterClient extends AbstractRestfulClient {
|
|
@@ -32,7 +32,12 @@ class SupportCenterClient extends abstractRestfulClient_1.AbstractRestfulClient
|
|
|
32
32
|
}
|
|
33
33
|
async listIssues(parameters = {}) {
|
|
34
34
|
this.path = `/issues`;
|
|
35
|
-
|
|
35
|
+
const processedParams = { ...parameters };
|
|
36
|
+
const statuses = parameters[ListIssueParametersFields.STATUSES];
|
|
37
|
+
if (statuses && Array.isArray(statuses)) {
|
|
38
|
+
processedParams[ListIssueParametersFields.STATUSES] = statuses.join(',');
|
|
39
|
+
}
|
|
40
|
+
return new getResult_1.GetResult(issue_1.Issues, await this.get(processedParams));
|
|
36
41
|
}
|
|
37
42
|
async createIssue(issuePayload, parameters = {}) {
|
|
38
43
|
this.path = `/issues`;
|
package/package.json
CHANGED