@arrowsphere/api-client 3.208.0 → 3.210.0-rc-bdj-1
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/customers/customersClient.d.ts +2 -0
- package/build/customers/customersClient.js +5 -0
- package/build/customers/entities/customerCredentials.d.ts +22 -0
- package/build/customers/entities/customerCredentials.js +59 -0
- package/build/customers/index.d.ts +1 -0
- package/build/customers/index.js +1 -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
|
|
@@ -9,6 +9,7 @@ import { CustomerContact, CustomerContactRoleType, CustomerContactTypeType } fro
|
|
|
9
9
|
import { CustomerFields, CustomerType } from './entities/customers/customer';
|
|
10
10
|
import { ContactFields } from './entities/customers/contact/contact';
|
|
11
11
|
import { CustomerProvision } from './entities/customerProvision';
|
|
12
|
+
import { CustomerCredentials } from './entities/customerCredentials';
|
|
12
13
|
export declare enum CustomerMigrationAttributeFields {
|
|
13
14
|
NAME = "name",
|
|
14
15
|
VALUE = "value"
|
|
@@ -137,4 +138,5 @@ export declare class CustomersClient extends AbstractRestfulClient {
|
|
|
137
138
|
postCustomerProvision(customerReference: string, payload: PostCustomerMigrationPayload): Promise<void>;
|
|
138
139
|
getCustomerProvision(customerReference: string, program: string): Promise<GetResult<CustomerProvision>>;
|
|
139
140
|
getUnknownLicenses(customerReference: string, parameters?: Parameters): Promise<GetResult<DataUnknownLicenses>>;
|
|
141
|
+
getCustomerVendorCredentials(customerReference: string, vendorReference: string, parameters?: Parameters): Promise<GetResult<CustomerCredentials>>;
|
|
140
142
|
}
|
|
@@ -12,6 +12,7 @@ const customerContact_1 = require("./entities/customers/customerContact/customer
|
|
|
12
12
|
const customer_1 = require("./entities/customers/customer");
|
|
13
13
|
const contact_1 = require("./entities/customers/contact/contact");
|
|
14
14
|
const customerProvision_1 = require("./entities/customerProvision");
|
|
15
|
+
const customerCredentials_1 = require("./entities/customerCredentials");
|
|
15
16
|
var CustomerMigrationAttributeFields;
|
|
16
17
|
(function (CustomerMigrationAttributeFields) {
|
|
17
18
|
CustomerMigrationAttributeFields["NAME"] = "name";
|
|
@@ -128,6 +129,10 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
128
129
|
this.path = `/${customerReference}/unknownlicenses`;
|
|
129
130
|
return new getResult_1.GetResult(dataUnknownLicenses_1.DataUnknownLicenses, await this.get(parameters));
|
|
130
131
|
}
|
|
132
|
+
async getCustomerVendorCredentials(customerReference, vendorReference, parameters = {}) {
|
|
133
|
+
this.path = `/${customerReference}/vendor/${vendorReference}/credentials`;
|
|
134
|
+
return new getResult_1.GetResult(customerCredentials_1.CustomerCredentials, await this.get(parameters));
|
|
135
|
+
}
|
|
131
136
|
}
|
|
132
137
|
exports.CustomersClient = CustomersClient;
|
|
133
138
|
//# sourceMappingURL=customersClient.js.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../abstractEntity';
|
|
2
|
+
export declare enum CustomerCredentialsFields {
|
|
3
|
+
COLUMN_PASSWORD = "password",
|
|
4
|
+
COLUMN_URL = "url",
|
|
5
|
+
COLUMN_USERNAME = "username",
|
|
6
|
+
COLUMN_VENDOR = "vendor"
|
|
7
|
+
}
|
|
8
|
+
export declare type CustomerCredentialsType = {
|
|
9
|
+
[CustomerCredentialsFields.COLUMN_PASSWORD]: string;
|
|
10
|
+
[CustomerCredentialsFields.COLUMN_URL]: string;
|
|
11
|
+
[CustomerCredentialsFields.COLUMN_USERNAME]: string;
|
|
12
|
+
[CustomerCredentialsFields.COLUMN_VENDOR]: string;
|
|
13
|
+
};
|
|
14
|
+
export declare class CustomerCredentials extends AbstractEntity<CustomerCredentialsType> {
|
|
15
|
+
#private;
|
|
16
|
+
constructor(data: CustomerCredentialsType);
|
|
17
|
+
get password(): string;
|
|
18
|
+
get url(): string;
|
|
19
|
+
get username(): string;
|
|
20
|
+
get vendor(): string;
|
|
21
|
+
toJSON(): CustomerCredentialsType;
|
|
22
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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 _CustomerCredentials_password, _CustomerCredentials_url, _CustomerCredentials_username, _CustomerCredentials_vendor;
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CustomerCredentials = exports.CustomerCredentialsFields = void 0;
|
|
16
|
+
const abstractEntity_1 = require("../../abstractEntity");
|
|
17
|
+
var CustomerCredentialsFields;
|
|
18
|
+
(function (CustomerCredentialsFields) {
|
|
19
|
+
CustomerCredentialsFields["COLUMN_PASSWORD"] = "password";
|
|
20
|
+
CustomerCredentialsFields["COLUMN_URL"] = "url";
|
|
21
|
+
CustomerCredentialsFields["COLUMN_USERNAME"] = "username";
|
|
22
|
+
CustomerCredentialsFields["COLUMN_VENDOR"] = "vendor";
|
|
23
|
+
})(CustomerCredentialsFields = exports.CustomerCredentialsFields || (exports.CustomerCredentialsFields = {}));
|
|
24
|
+
class CustomerCredentials extends abstractEntity_1.AbstractEntity {
|
|
25
|
+
constructor(data) {
|
|
26
|
+
super(data);
|
|
27
|
+
_CustomerCredentials_password.set(this, void 0);
|
|
28
|
+
_CustomerCredentials_url.set(this, void 0);
|
|
29
|
+
_CustomerCredentials_username.set(this, void 0);
|
|
30
|
+
_CustomerCredentials_vendor.set(this, void 0);
|
|
31
|
+
__classPrivateFieldSet(this, _CustomerCredentials_password, data.password, "f");
|
|
32
|
+
__classPrivateFieldSet(this, _CustomerCredentials_url, data.url, "f");
|
|
33
|
+
__classPrivateFieldSet(this, _CustomerCredentials_username, data.username, "f");
|
|
34
|
+
__classPrivateFieldSet(this, _CustomerCredentials_vendor, data.vendor, "f");
|
|
35
|
+
}
|
|
36
|
+
get password() {
|
|
37
|
+
return __classPrivateFieldGet(this, _CustomerCredentials_password, "f");
|
|
38
|
+
}
|
|
39
|
+
get url() {
|
|
40
|
+
return __classPrivateFieldGet(this, _CustomerCredentials_url, "f");
|
|
41
|
+
}
|
|
42
|
+
get username() {
|
|
43
|
+
return __classPrivateFieldGet(this, _CustomerCredentials_username, "f");
|
|
44
|
+
}
|
|
45
|
+
get vendor() {
|
|
46
|
+
return __classPrivateFieldGet(this, _CustomerCredentials_vendor, "f");
|
|
47
|
+
}
|
|
48
|
+
toJSON() {
|
|
49
|
+
return {
|
|
50
|
+
[CustomerCredentialsFields.COLUMN_PASSWORD]: this.password,
|
|
51
|
+
[CustomerCredentialsFields.COLUMN_URL]: this.url,
|
|
52
|
+
[CustomerCredentialsFields.COLUMN_USERNAME]: this.username,
|
|
53
|
+
[CustomerCredentialsFields.COLUMN_VENDOR]: this.vendor,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.CustomerCredentials = CustomerCredentials;
|
|
58
|
+
_CustomerCredentials_password = new WeakMap(), _CustomerCredentials_url = new WeakMap(), _CustomerCredentials_username = new WeakMap(), _CustomerCredentials_vendor = new WeakMap();
|
|
59
|
+
//# sourceMappingURL=customerCredentials.js.map
|
|
@@ -11,3 +11,4 @@ export * from './entities/invitations/company/company';
|
|
|
11
11
|
export * from './entities/invitations/contact/invitationContact';
|
|
12
12
|
export * from './entities/unknownLicenses/relation';
|
|
13
13
|
export * from './entities/unknownLicenses/unknownLicense';
|
|
14
|
+
export * from './entities/customerCredentials';
|
package/build/customers/index.js
CHANGED
|
@@ -27,4 +27,5 @@ __exportStar(require("./entities/invitations/company/company"), exports);
|
|
|
27
27
|
__exportStar(require("./entities/invitations/contact/invitationContact"), exports);
|
|
28
28
|
__exportStar(require("./entities/unknownLicenses/relation"), exports);
|
|
29
29
|
__exportStar(require("./entities/unknownLicenses/unknownLicense"), exports);
|
|
30
|
+
__exportStar(require("./entities/customerCredentials"), exports);
|
|
30
31
|
//# sourceMappingURL=index.js.map
|
|
@@ -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.210.0-rc-bdj-1",
|
|
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
|
+
}
|