@arrowsphere/api-client 3.223.0 → 3.225.0-rc-abo-2
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 +6 -0
- package/build/graphqlApi/index.d.ts +2 -0
- package/build/graphqlApi/index.js +2 -0
- package/build/graphqlApi/types/entities/programAgreement.d.ts +16 -0
- package/build/graphqlApi/types/entities/programAgreement.js +3 -0
- package/build/graphqlApi/types/entities/providerAgreementHistory.d.ts +11 -0
- package/build/graphqlApi/types/entities/providerAgreementHistory.js +3 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +4 -1
- package/build/graphqlApi/types/graphqlApiQueries.js +1 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +3 -0
- package/build/licenses/entities/license/dynamicAttributesMappingResult.d.ts +8 -0
- package/build/licenses/entities/license/dynamicAttributesMappingResult.js +14 -0
- package/build/licenses/licensesClient.d.ts +2 -0
- package/build/licenses/licensesClient.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
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.224.0] - 2025.11.05
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
|
|
10
|
+
- [graphql-api] Add ProgramAgreement
|
|
11
|
+
|
|
6
12
|
## [3.223.0] - 2025.10.16
|
|
7
13
|
|
|
8
14
|
### Added
|
|
@@ -23,3 +23,5 @@ export * from './types/entities/workgroup';
|
|
|
23
23
|
export * from './graphqlApiClient';
|
|
24
24
|
export * from './types/entities/quoteVersion';
|
|
25
25
|
export * from './types/entities/comment';
|
|
26
|
+
export * from './types/entities/programAgreement';
|
|
27
|
+
export * from './types/entities/providerAgreementHistory';
|
|
@@ -39,4 +39,6 @@ __exportStar(require("./types/entities/workgroup"), exports);
|
|
|
39
39
|
__exportStar(require("./graphqlApiClient"), exports);
|
|
40
40
|
__exportStar(require("./types/entities/quoteVersion"), exports);
|
|
41
41
|
__exportStar(require("./types/entities/comment"), exports);
|
|
42
|
+
__exportStar(require("./types/entities/programAgreement"), exports);
|
|
43
|
+
__exportStar(require("./types/entities/providerAgreementHistory"), exports);
|
|
42
44
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WorkgroupType } from './workgroup';
|
|
2
|
+
import { GraphqlApiProgramType } from './program';
|
|
3
|
+
import { SubscriptionType } from './subscription';
|
|
4
|
+
import { GraphqlApiProviderAgreementHistoryType } from './providerAgreementHistory';
|
|
5
|
+
export declare type GraphqlApiProgramAgreementType = {
|
|
6
|
+
id?: number;
|
|
7
|
+
createDate?: string;
|
|
8
|
+
endDateValidity?: string;
|
|
9
|
+
idFile?: string;
|
|
10
|
+
startDateValidity?: string;
|
|
11
|
+
url?: string;
|
|
12
|
+
workgroup?: WorkgroupType;
|
|
13
|
+
program?: GraphqlApiProgramType;
|
|
14
|
+
providerAgreementHistory?: GraphqlApiProviderAgreementHistoryType[];
|
|
15
|
+
subscription?: SubscriptionType;
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UserType } from './user';
|
|
2
|
+
import { SubscriptionType } from './subscription';
|
|
3
|
+
export declare type GraphqlApiProviderAgreementHistoryType = {
|
|
4
|
+
id?: number;
|
|
5
|
+
version?: number;
|
|
6
|
+
validateDate?: string;
|
|
7
|
+
impersonateUser: UserType;
|
|
8
|
+
user: UserType;
|
|
9
|
+
subscription: SubscriptionType;
|
|
10
|
+
subscriptionId: number;
|
|
11
|
+
};
|
|
@@ -14,6 +14,7 @@ import { SubscriptionType } from './entities/subscription';
|
|
|
14
14
|
import { UserHistoryType, UserType } from './entities/user';
|
|
15
15
|
import { WorkgroupType } from './entities/workgroup';
|
|
16
16
|
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
17
|
+
import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
|
|
17
18
|
import { ContactsSchema, ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema, SpecialPriceRateSchema } from './graphqlApiSchemas';
|
|
18
19
|
/**
|
|
19
20
|
* For field __args
|
|
@@ -146,7 +147,8 @@ export declare enum SelectDataField {
|
|
|
146
147
|
USER = "user",
|
|
147
148
|
USER_HISTORY = "userHistory",
|
|
148
149
|
WORKGROUP = "workgroup",
|
|
149
|
-
SUPPORT_LEVEL = "supportLevel"
|
|
150
|
+
SUPPORT_LEVEL = "supportLevel",
|
|
151
|
+
PROGRAM_AGREEMENT = "programAgreement"
|
|
150
152
|
}
|
|
151
153
|
export declare type SelectAllResultType = {
|
|
152
154
|
[Queries.SELECT_ALL]: {
|
|
@@ -187,6 +189,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
187
189
|
[SelectDataField.USER_HISTORY]?: UserHistoryType[];
|
|
188
190
|
[SelectDataField.WORKGROUP]?: WorkgroupType[];
|
|
189
191
|
[SelectDataField.SUPPORT_LEVEL]?: GraphqlApiSupportLevel[];
|
|
192
|
+
[SelectDataField.PROGRAM_AGREEMENT]?: GraphqlApiProgramAgreementType[];
|
|
190
193
|
};
|
|
191
194
|
export declare enum ErrorsField {
|
|
192
195
|
CODE = "code",
|
|
@@ -118,6 +118,7 @@ var SelectDataField;
|
|
|
118
118
|
SelectDataField["USER_HISTORY"] = "userHistory";
|
|
119
119
|
SelectDataField["WORKGROUP"] = "workgroup";
|
|
120
120
|
SelectDataField["SUPPORT_LEVEL"] = "supportLevel";
|
|
121
|
+
SelectDataField["PROGRAM_AGREEMENT"] = "programAgreement";
|
|
121
122
|
})(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
|
|
122
123
|
var ErrorsField;
|
|
123
124
|
(function (ErrorsField) {
|
|
@@ -19,6 +19,7 @@ import { Comment } from './entities/comment';
|
|
|
19
19
|
import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
20
20
|
import { GraphqlApiEavType } from './entities/eav';
|
|
21
21
|
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
22
|
+
import { GraphqlApiProgramAgreementType } from './entities/programAgreement';
|
|
22
23
|
import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/contributor';
|
|
23
24
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
24
25
|
declare type MissingFieldsOfCompanySchema = {
|
|
@@ -151,6 +152,7 @@ export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
|
|
|
151
152
|
export declare type UserHistorySchema = Schema<UserHistoryType, boolean>;
|
|
152
153
|
export declare type WorkgroupSchema = Schema<WorkgroupType, boolean>;
|
|
153
154
|
export declare type SupportLevelSchema = Schema<GraphqlApiSupportLevel, boolean>;
|
|
155
|
+
export declare type ProgramAgreementSchema = Schema<GraphqlApiProgramAgreementType, boolean>;
|
|
154
156
|
export declare type ExportResultSchema = {
|
|
155
157
|
[SelectableField.DATA]?: SelectAllResponseDataSchema;
|
|
156
158
|
[SelectableField.ERRORS]?: ErrorsSchema;
|
|
@@ -185,6 +187,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
185
187
|
[SelectDataField.USER_HISTORY]?: UserHistorySchema;
|
|
186
188
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
187
189
|
[SelectDataField.SUPPORT_LEVEL]?: SupportLevelSchema;
|
|
190
|
+
[SelectDataField.PROGRAM_AGREEMENT]?: ProgramAgreementSchema;
|
|
188
191
|
};
|
|
189
192
|
export declare type SelectOneResultSchema = {
|
|
190
193
|
[SelectableField.DATA]?: SelectOneResponseDataSchema;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AbstractEntity } from '../../../abstractEntity';
|
|
2
|
+
export declare type DynamicAttributesMappingResultData = {
|
|
3
|
+
[key: string]: string;
|
|
4
|
+
};
|
|
5
|
+
export declare class DynamicAttributesMappingResult extends AbstractEntity<DynamicAttributesMappingResultData> {
|
|
6
|
+
constructor(data: DynamicAttributesMappingResultData);
|
|
7
|
+
toJSON(): DynamicAttributesMappingResultData;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DynamicAttributesMappingResult = void 0;
|
|
4
|
+
const abstractEntity_1 = require("../../../abstractEntity");
|
|
5
|
+
class DynamicAttributesMappingResult extends abstractEntity_1.AbstractEntity {
|
|
6
|
+
constructor(data) {
|
|
7
|
+
super(data);
|
|
8
|
+
}
|
|
9
|
+
toJSON() {
|
|
10
|
+
return this.entityDataInput;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.DynamicAttributesMappingResult = DynamicAttributesMappingResult;
|
|
14
|
+
//# sourceMappingURL=dynamicAttributesMappingResult.js.map
|
|
@@ -28,6 +28,7 @@ import { ConsumptionDailyPrediction } from '../consumption';
|
|
|
28
28
|
import { GetScheduledTasksResult } from './entities/schedule/getScheduledTasksResult';
|
|
29
29
|
import { GetScheduleTaskResult } from './entities/schedule/getScheduleTaskResult';
|
|
30
30
|
import { LicenceCouponCodeHistoryResult } from './entities/history/licenceCouponCodeHistoryResult';
|
|
31
|
+
import { DynamicAttributesMappingResult } from './entities/license/dynamicAttributesMappingResult';
|
|
31
32
|
/**
|
|
32
33
|
* Parameters passable to the request for refining search.
|
|
33
34
|
*/
|
|
@@ -433,4 +434,5 @@ export declare class LicensesClient extends AbstractRestfulClient {
|
|
|
433
434
|
rewriteRateHistory(licenseReference: string, payload: RewriteRateHistoryInputType, parameters?: Parameters): Promise<void>;
|
|
434
435
|
private createFilters;
|
|
435
436
|
private createKeywords;
|
|
437
|
+
getLicenseDynamicAttributesMapping(parameters?: Parameters): Promise<GetResult<DynamicAttributesMappingResult>>;
|
|
436
438
|
}
|
|
@@ -22,6 +22,7 @@ const consumption_1 = require("../consumption");
|
|
|
22
22
|
const getScheduledTasksResult_1 = require("./entities/schedule/getScheduledTasksResult");
|
|
23
23
|
const getScheduleTaskResult_1 = require("./entities/schedule/getScheduleTaskResult");
|
|
24
24
|
const licenceCouponCodeHistoryResult_1 = require("./entities/history/licenceCouponCodeHistoryResult");
|
|
25
|
+
const dynamicAttributesMappingResult_1 = require("./entities/license/dynamicAttributesMappingResult");
|
|
25
26
|
/**
|
|
26
27
|
* Parameters passable to the request for refining search.
|
|
27
28
|
*/
|
|
@@ -570,6 +571,10 @@ class LicensesClient extends abstractRestfulClient_1.AbstractRestfulClient {
|
|
|
570
571
|
return acc;
|
|
571
572
|
}, {});
|
|
572
573
|
}
|
|
574
|
+
async getLicenseDynamicAttributesMapping(parameters = {}) {
|
|
575
|
+
this.path = '/license-mapping';
|
|
576
|
+
return new getResult_1.GetResult(dynamicAttributesMappingResult_1.DynamicAttributesMappingResult, await this.get(parameters));
|
|
577
|
+
}
|
|
573
578
|
}
|
|
574
579
|
exports.LicensesClient = LicensesClient;
|
|
575
580
|
//# sourceMappingURL=licensesClient.js.map
|
package/package.json
CHANGED