@arrowsphere/api-client 3.369.0 → 3.371.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 +7 -0
- package/build/customers/customersClient.d.ts +7 -0
- package/build/customers/customersClient.js +9 -1
- package/build/graphqlApi/index.d.ts +1 -0
- package/build/graphqlApi/index.js +1 -0
- package/build/graphqlApi/types/entities/softwareProduct.d.ts +17 -0
- package/build/graphqlApi/types/entities/softwareProduct.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/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,13 @@
|
|
|
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.371.0] - 2026.05.28
|
|
7
|
+
### Added
|
|
8
|
+
- [graphql-api] Add `softwareProduct` entity
|
|
9
|
+
|
|
10
|
+
## [3.370.0] - 2026.05.21
|
|
11
|
+
### Added
|
|
12
|
+
- [customer] New endpoint for GDAP relationship export
|
|
6
13
|
|
|
7
14
|
## [3.369.0] - 2026.05.19
|
|
8
15
|
### Added
|
|
@@ -144,6 +144,12 @@ export declare enum UploadAttachmentInputFields {
|
|
|
144
144
|
export declare type BulkActionInputType = {
|
|
145
145
|
[UploadAttachmentInputFields.COLUMN_FILE_ENCODED]: string;
|
|
146
146
|
};
|
|
147
|
+
export declare enum ExportGdapRelationshipInputFields {
|
|
148
|
+
COLUMN_CUSTOMERS_REF = "customersRef"
|
|
149
|
+
}
|
|
150
|
+
export declare type PostExportGdapListType = {
|
|
151
|
+
[ExportGdapRelationshipInputFields.COLUMN_CUSTOMERS_REF]: string[];
|
|
152
|
+
};
|
|
147
153
|
export declare type CustomersFilterInputType = {
|
|
148
154
|
[CustomersFilterInputFields.COMPANY_ID]?: string;
|
|
149
155
|
[CustomersFilterInputFields.COMPANY_NAME]?: string;
|
|
@@ -184,6 +190,7 @@ export declare class CustomersClient extends AbstractRestfulClient {
|
|
|
184
190
|
postCustomerProvision(customerReference: string, payload: PostCustomerMigrationPayload): Promise<void>;
|
|
185
191
|
getCustomerProvision(customerReference: string, program: string): Promise<GetResult<CustomerProvision>>;
|
|
186
192
|
getUnknownLicenses(customerReference: string, parameters?: Parameters): Promise<GetResult<DataUnknownLicenses>>;
|
|
193
|
+
postExportGdapRelationship(customerRefs: PostExportGdapListType): Promise<void>;
|
|
187
194
|
getCustomerVendorCredentials(customerReference: string, vendorReference: string, parameters?: Parameters): Promise<GetResult<CustomerCredentials>>;
|
|
188
195
|
postBulkUploadCustomer(bulkActionInput: BulkActionInputType): Promise<void>;
|
|
189
196
|
postExportCustomers(payload: ExportCustomersInputType): Promise<void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomersClient = exports.UploadAttachmentInputFields = exports.PostCustomerInvitationActivateFields = exports.PostCustomerInvitationFields = exports.CustomersFilterInputFields = exports.ExportCustomersInputFields = exports.CustomerContactPayloadFields = exports.CustomerMigrationPayloadFields = exports.CustomerMigrationAttributeFields = void 0;
|
|
3
|
+
exports.CustomersClient = exports.ExportGdapRelationshipInputFields = exports.UploadAttachmentInputFields = exports.PostCustomerInvitationActivateFields = exports.PostCustomerInvitationFields = exports.CustomersFilterInputFields = exports.ExportCustomersInputFields = exports.CustomerContactPayloadFields = exports.CustomerMigrationPayloadFields = exports.CustomerMigrationAttributeFields = void 0;
|
|
4
4
|
const abstractRestfulClient_1 = require("../abstractRestfulClient");
|
|
5
5
|
const getResult_1 = require("../getResult");
|
|
6
6
|
const dataCustomers_1 = require("./entities/dataCustomers");
|
|
@@ -67,6 +67,10 @@ var UploadAttachmentInputFields;
|
|
|
67
67
|
(function (UploadAttachmentInputFields) {
|
|
68
68
|
UploadAttachmentInputFields["COLUMN_FILE_ENCODED"] = "fileEncoded";
|
|
69
69
|
})(UploadAttachmentInputFields = exports.UploadAttachmentInputFields || (exports.UploadAttachmentInputFields = {}));
|
|
70
|
+
var ExportGdapRelationshipInputFields;
|
|
71
|
+
(function (ExportGdapRelationshipInputFields) {
|
|
72
|
+
ExportGdapRelationshipInputFields["COLUMN_CUSTOMERS_REF"] = "customersRef";
|
|
73
|
+
})(ExportGdapRelationshipInputFields = exports.ExportGdapRelationshipInputFields || (exports.ExportGdapRelationshipInputFields = {}));
|
|
70
74
|
class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
71
75
|
constructor() {
|
|
72
76
|
super(...arguments);
|
|
@@ -156,6 +160,10 @@ class CustomersClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
156
160
|
this.path = `/${customerReference}/unknownlicenses`;
|
|
157
161
|
return new getResult_1.GetResult(dataUnknownLicenses_1.DataUnknownLicenses, await this.get(parameters));
|
|
158
162
|
}
|
|
163
|
+
async postExportGdapRelationship(customerRefs) {
|
|
164
|
+
this.path = '/exportGdapRelationship';
|
|
165
|
+
await this.post(customerRefs);
|
|
166
|
+
}
|
|
159
167
|
async getCustomerVendorCredentials(customerReference, vendorReference, parameters = {}) {
|
|
160
168
|
this.path = `/${customerReference}/vendor/${vendorReference}/credentials`;
|
|
161
169
|
return new getResult_1.GetResult(customerCredentials_1.CustomerCredentials, await this.get(parameters));
|
|
@@ -41,4 +41,5 @@ __exportStar(require("./types/entities/quoteVersion"), exports);
|
|
|
41
41
|
__exportStar(require("./types/entities/comment"), exports);
|
|
42
42
|
__exportStar(require("./types/entities/programAgreement"), exports);
|
|
43
43
|
__exportStar(require("./types/entities/providerAgreementHistory"), exports);
|
|
44
|
+
__exportStar(require("./types/entities/softwareProduct"), exports);
|
|
44
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare type SoftwareProductType = {
|
|
2
|
+
id?: string;
|
|
3
|
+
companyId?: number;
|
|
4
|
+
vendorName?: string;
|
|
5
|
+
programName?: string;
|
|
6
|
+
subscriptionId?: number;
|
|
7
|
+
productName?: string;
|
|
8
|
+
versionName?: string;
|
|
9
|
+
sku?: string;
|
|
10
|
+
tierMin?: number;
|
|
11
|
+
tierMax?: number;
|
|
12
|
+
sellPrice?: number;
|
|
13
|
+
price?: number;
|
|
14
|
+
unitSymbol?: string;
|
|
15
|
+
unitIfUsernoshow?: string;
|
|
16
|
+
priority?: number;
|
|
17
|
+
};
|
|
@@ -15,6 +15,7 @@ import { UserHistoryType, UserType } from './entities/user';
|
|
|
15
15
|
import { WorkgroupType } from './entities/workgroup';
|
|
16
16
|
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
17
17
|
import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
|
|
18
|
+
import { SoftwareProductType } from './entities/softwareProduct';
|
|
18
19
|
import { ContactsSchema, ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema, SpecialPriceRateSchema } from './graphqlApiSchemas';
|
|
19
20
|
/**
|
|
20
21
|
* For field __args
|
|
@@ -148,7 +149,8 @@ export declare enum SelectDataField {
|
|
|
148
149
|
USER_HISTORY = "userHistory",
|
|
149
150
|
WORKGROUP = "workgroup",
|
|
150
151
|
SUPPORT_LEVEL = "supportLevel",
|
|
151
|
-
PROGRAM_AGREEMENT = "programAgreement"
|
|
152
|
+
PROGRAM_AGREEMENT = "programAgreement",
|
|
153
|
+
SOFTWARE_PRODUCT = "softwareProduct"
|
|
152
154
|
}
|
|
153
155
|
export declare type SelectAllResultType = {
|
|
154
156
|
[Queries.SELECT_ALL]: {
|
|
@@ -190,6 +192,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
190
192
|
[SelectDataField.WORKGROUP]?: WorkgroupType[];
|
|
191
193
|
[SelectDataField.SUPPORT_LEVEL]?: GraphqlApiSupportLevel[];
|
|
192
194
|
[SelectDataField.PROGRAM_AGREEMENT]?: GraphqlApiProgramAgreementType[];
|
|
195
|
+
[SelectDataField.SOFTWARE_PRODUCT]?: SoftwareProductType[];
|
|
193
196
|
};
|
|
194
197
|
export declare enum ErrorsField {
|
|
195
198
|
CODE = "code",
|
|
@@ -273,6 +276,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
273
276
|
[SelectDataField.USER_HISTORY]?: UserHistoryType;
|
|
274
277
|
[SelectDataField.WORKGROUP]?: WorkgroupType;
|
|
275
278
|
[SelectDataField.SUPPORT_LEVEL]?: GraphqlApiSupportLevel;
|
|
279
|
+
[SelectDataField.SOFTWARE_PRODUCT]?: SoftwareProductType;
|
|
276
280
|
};
|
|
277
281
|
export declare enum QueryVariablesField {
|
|
278
282
|
AGGREGATOR_FILTER = "aggregatorFilter",
|
|
@@ -119,6 +119,7 @@ var SelectDataField;
|
|
|
119
119
|
SelectDataField["WORKGROUP"] = "workgroup";
|
|
120
120
|
SelectDataField["SUPPORT_LEVEL"] = "supportLevel";
|
|
121
121
|
SelectDataField["PROGRAM_AGREEMENT"] = "programAgreement";
|
|
122
|
+
SelectDataField["SOFTWARE_PRODUCT"] = "softwareProduct";
|
|
122
123
|
})(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
|
|
123
124
|
var ErrorsField;
|
|
124
125
|
(function (ErrorsField) {
|
|
@@ -20,6 +20,7 @@ import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportT
|
|
|
20
20
|
import { GraphqlApiEavType } from './entities/eav';
|
|
21
21
|
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
22
22
|
import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
|
|
23
|
+
import { SoftwareProductType } from './entities/softwareProduct';
|
|
23
24
|
import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/contributor';
|
|
24
25
|
import { AttributesParameters } from '../../catalog';
|
|
25
26
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
@@ -154,6 +155,7 @@ export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
|
|
|
154
155
|
export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
|
|
155
156
|
export declare type SupportLevelSchema = Schema<GraphqlApiSupportLevel, boolean>;
|
|
156
157
|
export declare type ProgramAgreementSchema = Schema<GraphqlApiProgramAgreementType, boolean>;
|
|
158
|
+
export declare type SoftwareProductSchema = Schema<SoftwareProductType, boolean>;
|
|
157
159
|
export declare type ExportResultSchema = {
|
|
158
160
|
[SelectableField.DATA]?: SelectAllResponseDataSchema;
|
|
159
161
|
[SelectableField.ERRORS]?: ErrorsSchema;
|
|
@@ -189,6 +191,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
189
191
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
190
192
|
[SelectDataField.SUPPORT_LEVEL]?: SupportLevelSchema;
|
|
191
193
|
[SelectDataField.PROGRAM_AGREEMENT]?: ProgramAgreementSchema;
|
|
194
|
+
[SelectDataField.SOFTWARE_PRODUCT]?: SoftwareProductSchema;
|
|
192
195
|
};
|
|
193
196
|
export declare type SelectOneResultSchema = {
|
|
194
197
|
[SelectableField.DATA]?: SelectOneResponseDataSchema;
|
package/package.json
CHANGED