@arrowsphere/api-client 3.208.0 → 3.209.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 +10 -0
- package/build/graphqlApi/types/entities/supportLevel.d.ts +9 -0
- package/build/graphqlApi/types/entities/supportLevel.js +3 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +5 -1
- package/build/graphqlApi/types/graphqlApiQueries.js +1 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +3 -0
- package/build/supportCenter/entities/issue/issue.d.ts +11 -7
- package/build/supportCenter/entities/issue/issue.js +17 -9
- package/build/supportCenter/payloads/issue.d.ts +7 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.209.0] - 2025.07.24
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- [graphql-api] add schema `supportLevel`
|
|
11
|
+
|
|
12
|
+
### Modified
|
|
13
|
+
- [graphql-api] add extra fields to IssueFields and fix some problems
|
|
14
|
+
|
|
15
|
+
|
|
6
16
|
## [3.208.0] - 2025.07.18
|
|
7
17
|
|
|
8
18
|
### Added
|
|
@@ -13,6 +13,7 @@ import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
|
13
13
|
import { SubscriptionType } from './entities/subscription';
|
|
14
14
|
import { UserHistoryType, UserType } from './entities/user';
|
|
15
15
|
import { WorkgroupType } from './entities/workgroup';
|
|
16
|
+
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
16
17
|
import { ContactsSchema, ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema, SpecialPriceRateSchema } from './graphqlApiSchemas';
|
|
17
18
|
/**
|
|
18
19
|
* For field __args
|
|
@@ -142,7 +143,8 @@ export declare enum SelectDataField {
|
|
|
142
143
|
SUBSCRIPTION = "subscription",
|
|
143
144
|
USER = "user",
|
|
144
145
|
USER_HISTORY = "userHistory",
|
|
145
|
-
WORKGROUP = "workgroup"
|
|
146
|
+
WORKGROUP = "workgroup",
|
|
147
|
+
SUPPORT_LEVEL = "supportLevel"
|
|
146
148
|
}
|
|
147
149
|
export declare type SelectAllResultType = {
|
|
148
150
|
[Queries.SELECT_ALL]: {
|
|
@@ -176,6 +178,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
176
178
|
[SelectDataField.USER]?: UserType[];
|
|
177
179
|
[SelectDataField.USER_HISTORY]?: UserHistoryType[];
|
|
178
180
|
[SelectDataField.WORKGROUP]?: WorkgroupType[];
|
|
181
|
+
[SelectDataField.SUPPORT_LEVEL]?: GraphqlApiSupportLevel[];
|
|
179
182
|
};
|
|
180
183
|
export declare enum ErrorsField {
|
|
181
184
|
CODE = "code",
|
|
@@ -258,6 +261,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
258
261
|
[SelectDataField.USER]?: UserType;
|
|
259
262
|
[SelectDataField.USER_HISTORY]?: UserHistoryType;
|
|
260
263
|
[SelectDataField.WORKGROUP]?: WorkgroupType;
|
|
264
|
+
[SelectDataField.SUPPORT_LEVEL]?: GraphqlApiSupportLevel;
|
|
261
265
|
};
|
|
262
266
|
export declare enum QueryVariablesField {
|
|
263
267
|
AGGREGATOR_FILTER = "aggregatorFilter",
|
|
@@ -115,6 +115,7 @@ var SelectDataField;
|
|
|
115
115
|
SelectDataField["USER"] = "user";
|
|
116
116
|
SelectDataField["USER_HISTORY"] = "userHistory";
|
|
117
117
|
SelectDataField["WORKGROUP"] = "workgroup";
|
|
118
|
+
SelectDataField["SUPPORT_LEVEL"] = "supportLevel";
|
|
118
119
|
})(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
|
|
119
120
|
var ErrorsField;
|
|
120
121
|
(function (ErrorsField) {
|
|
@@ -18,6 +18,7 @@ import { QuoteVersion } from './entities/quoteVersion';
|
|
|
18
18
|
import { Comment } from './entities/comment';
|
|
19
19
|
import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
20
20
|
import { GraphqlApiEavType } from './entities/eav';
|
|
21
|
+
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
21
22
|
import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/contributor';
|
|
22
23
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
23
24
|
declare type MissingFieldsOfCompanySchema = {
|
|
@@ -149,6 +150,7 @@ export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, bool
|
|
|
149
150
|
export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
|
|
150
151
|
export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
|
|
151
152
|
export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
|
|
153
|
+
export declare type SupportLevelSchema = Schema<GraphqlApiSupportLevel, boolean>;
|
|
152
154
|
export declare type SelectAllResultSchema = {
|
|
153
155
|
[SelectableField.DATA]?: SelectAllResponseDataSchema;
|
|
154
156
|
[SelectableField.ERRORS]?: ErrorsSchema;
|
|
@@ -178,6 +180,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
178
180
|
[SelectDataField.USER]?: UserSchema;
|
|
179
181
|
[SelectDataField.USER_HISTORY]?: UserHistorySchema;
|
|
180
182
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
183
|
+
[SelectDataField.SUPPORT_LEVEL]?: SupportLevelSchema;
|
|
181
184
|
};
|
|
182
185
|
export declare type SelectOneResultSchema = {
|
|
183
186
|
[SelectableField.DATA]?: SelectOneResponseDataSchema;
|
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
2
|
export declare enum IssueFields {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
COLUMN_ADDITIONAL_DATA = "additionalData",
|
|
4
|
+
COLUMN_CREATED = "created",
|
|
5
|
+
COLUMN_CREATED_BY = "createdBy",
|
|
5
6
|
COLUMN_DESCRIPTION = "description",
|
|
6
|
-
COLUMN_TOPIC_ID = "topicId",
|
|
7
7
|
COLUMN_END_CUSTOMER_REF = "endCustomerRef",
|
|
8
|
+
COLUMN_ID = "id",
|
|
8
9
|
COLUMN_LANGUAGE = "language",
|
|
9
10
|
COLUMN_OFFER = "offer",
|
|
10
11
|
COLUMN_PRIORITY = "priority",
|
|
12
|
+
COLUMN_PROGRAM = "program",
|
|
13
|
+
COLUMN_RESELLER = "reseller",
|
|
11
14
|
COLUMN_STATUS = "status",
|
|
12
|
-
COLUMN_CREATED_BY = "createdBy",
|
|
13
15
|
COLUMN_SUPPORT_PLAN = "supportPlan",
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
COLUMN_TITLE = "title",
|
|
17
|
+
COLUMN_TOPIC = "topic",
|
|
18
|
+
COLUMN_TOPIC_ID = "topicId",
|
|
17
19
|
COLUMN_UPDATED = "updated"
|
|
18
20
|
}
|
|
19
21
|
export declare enum IssueOfferFields {
|
|
@@ -69,6 +71,7 @@ export declare type IssueType = {
|
|
|
69
71
|
[IssueFields.COLUMN_TITLE]: string;
|
|
70
72
|
[IssueFields.COLUMN_DESCRIPTION]: string;
|
|
71
73
|
[IssueFields.COLUMN_TOPIC_ID]: string;
|
|
74
|
+
[IssueFields.COLUMN_TOPIC]: string;
|
|
72
75
|
[IssueFields.COLUMN_END_CUSTOMER_REF]?: string;
|
|
73
76
|
[IssueFields.COLUMN_LANGUAGE]?: string;
|
|
74
77
|
[IssueFields.COLUMN_OFFER]?: IssueOfferType;
|
|
@@ -120,6 +123,7 @@ export declare class Issue extends AbstractEntity<IssueType> {
|
|
|
120
123
|
get title(): string;
|
|
121
124
|
get description(): string;
|
|
122
125
|
get topicId(): string;
|
|
126
|
+
get topic(): string;
|
|
123
127
|
get endCustomerRef(): string | undefined;
|
|
124
128
|
get language(): string | undefined;
|
|
125
129
|
get offer(): IssueOffer | undefined;
|
|
@@ -10,26 +10,28 @@ 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 _IssueOffer_sku, _IssueOffer_name, _IssueOffer_vendor, _IssueCreatedBy_email, _IssueCreatedBy_firstName, _IssueCreatedBy_lastName, _IssueCreatedBy_phone, _IssueSupportPlan_sku, _IssueSupportPlan_label, _IssueSupportPlan_sourcePortal, _IssueAdditionalData_name, _IssueAdditionalData_value, _Issue_id, _Issue_title, _Issue_description, _Issue_topicId, _Issue_endCustomerRef, _Issue_language, _Issue_offer, _Issue_priority, _Issue_status, _Issue_createdBy, _Issue_supportPlan, _Issue_program, _Issue_additionalData, _Issue_created, _Issue_updated, _Issues_list;
|
|
13
|
+
var _IssueOffer_sku, _IssueOffer_name, _IssueOffer_vendor, _IssueCreatedBy_email, _IssueCreatedBy_firstName, _IssueCreatedBy_lastName, _IssueCreatedBy_phone, _IssueSupportPlan_sku, _IssueSupportPlan_label, _IssueSupportPlan_sourcePortal, _IssueAdditionalData_name, _IssueAdditionalData_value, _Issue_id, _Issue_title, _Issue_description, _Issue_topic, _Issue_topicId, _Issue_endCustomerRef, _Issue_language, _Issue_offer, _Issue_priority, _Issue_status, _Issue_createdBy, _Issue_supportPlan, _Issue_program, _Issue_additionalData, _Issue_created, _Issue_updated, _Issues_list;
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.Issues = exports.Issue = exports.IssueAdditionalData = exports.IssueSupportPlan = exports.IssueCreatedBy = exports.IssueOffer = exports.IssueStatusesType = exports.IssueAdditionalDataFields = exports.IssueSupportPlanFields = exports.IssueCreatedByFields = exports.IssueOfferFields = exports.IssueFields = void 0;
|
|
16
16
|
const abstractEntity_1 = require("../../../abstractEntity");
|
|
17
17
|
var IssueFields;
|
|
18
18
|
(function (IssueFields) {
|
|
19
|
-
IssueFields["
|
|
20
|
-
IssueFields["
|
|
19
|
+
IssueFields["COLUMN_ADDITIONAL_DATA"] = "additionalData";
|
|
20
|
+
IssueFields["COLUMN_CREATED"] = "created";
|
|
21
|
+
IssueFields["COLUMN_CREATED_BY"] = "createdBy";
|
|
21
22
|
IssueFields["COLUMN_DESCRIPTION"] = "description";
|
|
22
|
-
IssueFields["COLUMN_TOPIC_ID"] = "topicId";
|
|
23
23
|
IssueFields["COLUMN_END_CUSTOMER_REF"] = "endCustomerRef";
|
|
24
|
+
IssueFields["COLUMN_ID"] = "id";
|
|
24
25
|
IssueFields["COLUMN_LANGUAGE"] = "language";
|
|
25
26
|
IssueFields["COLUMN_OFFER"] = "offer";
|
|
26
27
|
IssueFields["COLUMN_PRIORITY"] = "priority";
|
|
28
|
+
IssueFields["COLUMN_PROGRAM"] = "program";
|
|
29
|
+
IssueFields["COLUMN_RESELLER"] = "reseller";
|
|
27
30
|
IssueFields["COLUMN_STATUS"] = "status";
|
|
28
|
-
IssueFields["COLUMN_CREATED_BY"] = "createdBy";
|
|
29
31
|
IssueFields["COLUMN_SUPPORT_PLAN"] = "supportPlan";
|
|
30
|
-
IssueFields["
|
|
31
|
-
IssueFields["
|
|
32
|
-
IssueFields["
|
|
32
|
+
IssueFields["COLUMN_TITLE"] = "title";
|
|
33
|
+
IssueFields["COLUMN_TOPIC"] = "topic";
|
|
34
|
+
IssueFields["COLUMN_TOPIC_ID"] = "topicId";
|
|
33
35
|
IssueFields["COLUMN_UPDATED"] = "updated";
|
|
34
36
|
})(IssueFields = exports.IssueFields || (exports.IssueFields = {}));
|
|
35
37
|
var IssueOfferFields;
|
|
@@ -187,6 +189,7 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
187
189
|
_Issue_id.set(this, void 0);
|
|
188
190
|
_Issue_title.set(this, void 0);
|
|
189
191
|
_Issue_description.set(this, void 0);
|
|
192
|
+
_Issue_topic.set(this, void 0);
|
|
190
193
|
_Issue_topicId.set(this, void 0);
|
|
191
194
|
_Issue_endCustomerRef.set(this, void 0);
|
|
192
195
|
_Issue_language.set(this, void 0);
|
|
@@ -202,6 +205,7 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
202
205
|
__classPrivateFieldSet(this, _Issue_id, input[IssueFields.COLUMN_ID], "f");
|
|
203
206
|
__classPrivateFieldSet(this, _Issue_title, input[IssueFields.COLUMN_TITLE], "f");
|
|
204
207
|
__classPrivateFieldSet(this, _Issue_description, input[IssueFields.COLUMN_DESCRIPTION], "f");
|
|
208
|
+
__classPrivateFieldSet(this, _Issue_topic, input[IssueFields.COLUMN_TOPIC], "f");
|
|
205
209
|
__classPrivateFieldSet(this, _Issue_topicId, input[IssueFields.COLUMN_TOPIC_ID], "f");
|
|
206
210
|
__classPrivateFieldSet(this, _Issue_endCustomerRef, input[IssueFields.COLUMN_END_CUSTOMER_REF], "f");
|
|
207
211
|
__classPrivateFieldSet(this, _Issue_language, input[IssueFields.COLUMN_LANGUAGE], "f");
|
|
@@ -239,6 +243,9 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
239
243
|
get topicId() {
|
|
240
244
|
return __classPrivateFieldGet(this, _Issue_topicId, "f");
|
|
241
245
|
}
|
|
246
|
+
get topic() {
|
|
247
|
+
return __classPrivateFieldGet(this, _Issue_topic, "f");
|
|
248
|
+
}
|
|
242
249
|
get endCustomerRef() {
|
|
243
250
|
return __classPrivateFieldGet(this, _Issue_endCustomerRef, "f");
|
|
244
251
|
}
|
|
@@ -279,6 +286,7 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
279
286
|
[IssueFields.COLUMN_TITLE]: this.title,
|
|
280
287
|
[IssueFields.COLUMN_DESCRIPTION]: this.description,
|
|
281
288
|
[IssueFields.COLUMN_TOPIC_ID]: this.topicId,
|
|
289
|
+
[IssueFields.COLUMN_TOPIC]: this.topic,
|
|
282
290
|
[IssueFields.COLUMN_END_CUSTOMER_REF]: this.endCustomerRef,
|
|
283
291
|
[IssueFields.COLUMN_LANGUAGE]: this.language,
|
|
284
292
|
[IssueFields.COLUMN_OFFER]: (_a = this.offer) === null || _a === void 0 ? void 0 : _a.toJSON(),
|
|
@@ -294,7 +302,7 @@ class Issue extends abstractEntity_1.AbstractEntity {
|
|
|
294
302
|
}
|
|
295
303
|
}
|
|
296
304
|
exports.Issue = Issue;
|
|
297
|
-
_Issue_id = new WeakMap(), _Issue_title = new WeakMap(), _Issue_description = new WeakMap(), _Issue_topicId = new WeakMap(), _Issue_endCustomerRef = new WeakMap(), _Issue_language = new WeakMap(), _Issue_offer = new WeakMap(), _Issue_priority = new WeakMap(), _Issue_status = new WeakMap(), _Issue_createdBy = new WeakMap(), _Issue_supportPlan = new WeakMap(), _Issue_program = new WeakMap(), _Issue_additionalData = new WeakMap(), _Issue_created = new WeakMap(), _Issue_updated = new WeakMap();
|
|
305
|
+
_Issue_id = new WeakMap(), _Issue_title = new WeakMap(), _Issue_description = new WeakMap(), _Issue_topic = new WeakMap(), _Issue_topicId = new WeakMap(), _Issue_endCustomerRef = new WeakMap(), _Issue_language = new WeakMap(), _Issue_offer = new WeakMap(), _Issue_priority = new WeakMap(), _Issue_status = new WeakMap(), _Issue_createdBy = new WeakMap(), _Issue_supportPlan = new WeakMap(), _Issue_program = new WeakMap(), _Issue_additionalData = new WeakMap(), _Issue_created = new WeakMap(), _Issue_updated = new WeakMap();
|
|
298
306
|
class Issues extends abstractEntity_1.AbstractEntity {
|
|
299
307
|
constructor(input) {
|
|
300
308
|
super(input);
|
|
@@ -5,14 +5,15 @@ export declare enum IssueProgramsType {
|
|
|
5
5
|
ARWS_AMS = "ARWS-AMS"
|
|
6
6
|
}
|
|
7
7
|
export declare type CreateIssuePayload = {
|
|
8
|
-
[IssueFields.
|
|
9
|
-
[IssueFields.COLUMN_DESCRIPTION]: string;
|
|
10
|
-
[IssueFields.COLUMN_TOPIC_ID]: string;
|
|
11
|
-
[IssueFields.COLUMN_PROGRAM]: IssueProgramsType;
|
|
12
|
-
[IssueFields.COLUMN_OFFER]?: IssueOfferType;
|
|
8
|
+
[IssueFields.COLUMN_ADDITIONAL_DATA]?: Array<IssueAdditionalDataType>;
|
|
13
9
|
[IssueFields.COLUMN_CREATED_BY]?: IssueCreatedByType;
|
|
10
|
+
[IssueFields.COLUMN_DESCRIPTION]: string;
|
|
14
11
|
[IssueFields.COLUMN_END_CUSTOMER_REF]?: string;
|
|
15
|
-
[IssueFields.
|
|
12
|
+
[IssueFields.COLUMN_OFFER]?: IssueOfferType;
|
|
13
|
+
[IssueFields.COLUMN_PROGRAM]: IssueProgramsType;
|
|
14
|
+
[IssueFields.COLUMN_RESELLER]?: string;
|
|
15
|
+
[IssueFields.COLUMN_TITLE]: string;
|
|
16
|
+
[IssueFields.COLUMN_TOPIC_ID]: string;
|
|
16
17
|
};
|
|
17
18
|
export declare type UpdateIssueStatusOperation = {
|
|
18
19
|
op: 'replace';
|
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.
|
|
7
|
+
"version": "3.209.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",
|
|
@@ -90,4 +90,4 @@
|
|
|
90
90
|
"type-fest": "^2.19.0",
|
|
91
91
|
"validatorjs": "3.22.1"
|
|
92
92
|
}
|
|
93
|
-
}
|
|
93
|
+
}
|