@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 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
@@ -74,6 +74,7 @@ export declare type ProductType = {
74
74
  isAddon?: boolean;
75
75
  isBundle?: boolean;
76
76
  isEnabled?: boolean;
77
+ isForPartnerOnly?: boolean;
77
78
  isIndirectBusiness?: boolean;
78
79
  isTrial?: boolean;
79
80
  lastUpdate?: string;
@@ -26,3 +26,4 @@ export * from './types/entities/comment';
26
26
  export * from './types/entities/programAgreement';
27
27
  export * from './types/entities/providerAgreementHistory';
28
28
  export * from './types/entities/softwareProduct';
29
+ export * from './types/entities/supportLevel';
@@ -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
- return new getResult_1.GetResult(issue_1.Issues, await this.get(parameters));
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
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/ArrowSphere/nodejs-api-client.git"
6
6
  },
7
- "version": "3.371.0",
7
+ "version": "3.373.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",