@arrowsphere/api-client 3.428.0 → 3.429.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 +9 -0
- package/build/graphqlApi/index.d.ts +1 -0
- package/build/graphqlApi/index.js +1 -0
- package/build/graphqlApi/types/entities/company.d.ts +1 -0
- package/build/graphqlApi/types/entities/contact.d.ts +2 -8
- package/build/graphqlApi/types/entities/securityRole.d.ts +6 -0
- package/build/graphqlApi/types/entities/securityRole.js +3 -0
- package/build/graphqlApi/types/entities/user.d.ts +5 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +4 -0
- package/build/graphqlApi/types/graphqlApiQueries.js +1 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +5 -0
- package/package.json +1 -1
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.429.0] - 2026.11.20
|
|
7
|
+
### Added
|
|
8
|
+
- [graphqlApi] Add `lastLoginAt`, `locked`, `canBeDeleted` and `role` to `UserType`, and the `SecurityRole` entity (`SecurityRoleType`, `SecurityRoleSchema`, `SelectDataField.SECURITY_ROLE`)
|
|
9
|
+
- [graphqlApi] Allow selecting `company` (common company fields) in `ContactsSchema`
|
|
10
|
+
- [graphqlApi] Add `typeName` (`Partner`, `EndCustomer` or `ArrowCompany`) to companies
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- [graphqlApi] `ContactsType.company` is now a `BaseCompanyType`: graphql-api no longer exposes `__typename` on the contact company, use `typeName` instead
|
|
14
|
+
|
|
6
15
|
## [3.428.0] - 2026.11.20
|
|
7
16
|
### Added
|
|
8
17
|
- [graphql-api] Add `erpSku` to quote `ItemData`
|
|
@@ -14,6 +14,7 @@ export * from './types/entities/partnertag';
|
|
|
14
14
|
export * from './types/entities/program';
|
|
15
15
|
export * from './types/entities/quote';
|
|
16
16
|
export * from './types/entities/report';
|
|
17
|
+
export * from './types/entities/securityRole';
|
|
17
18
|
export * from './types/entities/subscription';
|
|
18
19
|
export * from './types/entities/specialPriceRate';
|
|
19
20
|
export * from './types/entities/unit';
|
|
@@ -30,6 +30,7 @@ __exportStar(require("./types/entities/partnertag"), exports);
|
|
|
30
30
|
__exportStar(require("./types/entities/program"), exports);
|
|
31
31
|
__exportStar(require("./types/entities/quote"), exports);
|
|
32
32
|
__exportStar(require("./types/entities/report"), exports);
|
|
33
|
+
__exportStar(require("./types/entities/securityRole"), exports);
|
|
33
34
|
__exportStar(require("./types/entities/subscription"), exports);
|
|
34
35
|
__exportStar(require("./types/entities/specialPriceRate"), exports);
|
|
35
36
|
__exportStar(require("./types/entities/unit"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BaseCompanyType, EndCustomerType } from './company';
|
|
2
2
|
import { OrganizationUnitsType } from './organizationUnit';
|
|
3
3
|
import { UserType } from './user';
|
|
4
4
|
export declare type ContactsType = {
|
|
@@ -6,13 +6,7 @@ export declare type ContactsType = {
|
|
|
6
6
|
active?: boolean;
|
|
7
7
|
communicationEmail?: string;
|
|
8
8
|
companies?: EndCustomerType[];
|
|
9
|
-
company?:
|
|
10
|
-
__typename: 'EndCustomer';
|
|
11
|
-
}) | (PartnerType & {
|
|
12
|
-
__typename: 'Partner';
|
|
13
|
-
}) | (ArrowCompanyType & {
|
|
14
|
-
__typename: 'ArrowCompany';
|
|
15
|
-
});
|
|
9
|
+
company?: BaseCompanyType;
|
|
16
10
|
effectiveDate?: string;
|
|
17
11
|
email?: string;
|
|
18
12
|
erpId?: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContactsType } from './contact';
|
|
2
2
|
import { PartnertagType } from './partnertag';
|
|
3
|
+
import { SecurityRoleType } from './securityRole';
|
|
3
4
|
export declare type UserType = {
|
|
4
5
|
id?: number;
|
|
5
6
|
allowDirectLogin?: boolean;
|
|
@@ -7,6 +8,10 @@ export declare type UserType = {
|
|
|
7
8
|
login?: string;
|
|
8
9
|
userTags?: PartnertagType[];
|
|
9
10
|
validatedAt?: string;
|
|
11
|
+
lastLoginAt?: string;
|
|
12
|
+
locked?: boolean;
|
|
13
|
+
canBeDeleted?: boolean;
|
|
14
|
+
role?: SecurityRoleType;
|
|
10
15
|
};
|
|
11
16
|
export declare type UserHistoryType = {
|
|
12
17
|
id?: number;
|
|
@@ -11,6 +11,7 @@ import { QuoteType } from './entities/quote';
|
|
|
11
11
|
import { GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
12
12
|
import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
13
13
|
import { SubscriptionType } from './entities/subscription';
|
|
14
|
+
import { SecurityRoleType } from './entities/securityRole';
|
|
14
15
|
import { UserHistoryType, UserType } from './entities/user';
|
|
15
16
|
import { WorkgroupType } from './entities/workgroup';
|
|
16
17
|
import { GraphqlApiSupportLevel } from './entities/supportLevel';
|
|
@@ -148,6 +149,7 @@ export declare enum SelectDataField {
|
|
|
148
149
|
QUOTE = "quote",
|
|
149
150
|
REPORT = "report",
|
|
150
151
|
REPORT_STATUS = "reportStatus",
|
|
152
|
+
SECURITY_ROLE = "securityRole",
|
|
151
153
|
SPECIAL_PRICE_RATE = "specialPriceRate",
|
|
152
154
|
STAFF = "staff",
|
|
153
155
|
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
@@ -196,6 +198,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
196
198
|
[SelectDataField.QUOTE]?: QuoteType[];
|
|
197
199
|
[SelectDataField.REPORT]?: GraphqlApiReportType[];
|
|
198
200
|
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType[];
|
|
201
|
+
[SelectDataField.SECURITY_ROLE]?: SecurityRoleType[];
|
|
199
202
|
[SelectDataField.STAFF]?: GraphqlApiStaffType[];
|
|
200
203
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
201
204
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
@@ -286,6 +289,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
286
289
|
[SelectDataField.QUOTE]?: QuoteType;
|
|
287
290
|
[SelectDataField.REPORT]?: GraphqlApiReportType;
|
|
288
291
|
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType;
|
|
292
|
+
[SelectDataField.SECURITY_ROLE]?: SecurityRoleType;
|
|
289
293
|
[SelectDataField.STAFF]?: GraphqlApiStaffType;
|
|
290
294
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
291
295
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
@@ -114,6 +114,7 @@ var SelectDataField;
|
|
|
114
114
|
SelectDataField["QUOTE"] = "quote";
|
|
115
115
|
SelectDataField["REPORT"] = "report";
|
|
116
116
|
SelectDataField["REPORT_STATUS"] = "reportStatus";
|
|
117
|
+
SelectDataField["SECURITY_ROLE"] = "securityRole";
|
|
117
118
|
SelectDataField["SPECIAL_PRICE_RATE"] = "specialPriceRate";
|
|
118
119
|
SelectDataField["STAFF"] = "staff";
|
|
119
120
|
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
@@ -10,6 +10,7 @@ import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
|
10
10
|
import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, GraphqlApiOrderListType, GraphqlApiOrderSoftwareHistoryType, GraphqlApiOrderSoftwareType, GraphqlApiOrderSoftwareStatusType, OrderItemsType, OrdersType } from './entities/order';
|
|
11
11
|
import { GraphqlApiProgramType, ProgramBenefitType, ProgramLevelType, ProgramRequirementType, ProgramLevelOptionGroupType, ProgramLevelOptionType, SubscribedProgramType, SubscriptionExtraFieldType } from './entities/program';
|
|
12
12
|
import { LicenseBudgetNotificationType, LicenseBudgetType } from './entities/licenseBudget';
|
|
13
|
+
import { SecurityRoleType } from './entities/securityRole';
|
|
13
14
|
import { UserHistoryType, UserType } from './entities/user';
|
|
14
15
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
15
16
|
import { CurrencyType } from './entities/currency';
|
|
@@ -64,10 +65,12 @@ declare type MissingFieldsOfOrdersSchema = {
|
|
|
64
65
|
};
|
|
65
66
|
declare type MissingFieldsOfContactSchema = {
|
|
66
67
|
companies?: BaseCompanySchema;
|
|
68
|
+
company?: BaseCompanySchema;
|
|
67
69
|
organizationUnits?: OrganizationUnitSchema;
|
|
68
70
|
};
|
|
69
71
|
declare type MissingFieldsOfUserSchema = {
|
|
70
72
|
contact?: ContactsSchema;
|
|
73
|
+
role?: SecurityRoleSchema;
|
|
71
74
|
userTags?: PartnertagSchema;
|
|
72
75
|
};
|
|
73
76
|
declare type MissingFieldsOfLicenseBudgetSchema = {
|
|
@@ -103,6 +106,7 @@ declare type MissingFieldsOfItemDataSchema = {
|
|
|
103
106
|
export declare type ItemDataSchema = Merge<Schema<ItemData, boolean>, MissingFieldsOfItemDataSchema>;
|
|
104
107
|
export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
|
|
105
108
|
export declare type ContactsSchema = Merge<Schema<ContactsType, boolean>, MissingFieldsOfContactSchema>;
|
|
109
|
+
export declare type SecurityRoleSchema = Schema<SecurityRoleType, boolean>;
|
|
106
110
|
export declare type UserSchema = Merge<Schema<UserType, boolean>, MissingFieldsOfUserSchema>;
|
|
107
111
|
export declare type LicenseBudgetSchema = Merge<Schema<LicenseBudgetType, boolean>, MissingFieldsOfLicenseBudgetSchema>;
|
|
108
112
|
export declare type OrderItemsSchema = Merge<Schema<OrderItemsType, boolean>, MissingFieldsOfOrderItemSchema>;
|
|
@@ -218,6 +222,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
218
222
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
219
223
|
[SelectDataField.REPORT]?: ReportSchema;
|
|
220
224
|
[SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
|
|
225
|
+
[SelectDataField.SECURITY_ROLE]?: SecurityRoleSchema;
|
|
221
226
|
[SelectDataField.STAFF]?: GraphqlApiStaffSchema;
|
|
222
227
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
223
228
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
package/package.json
CHANGED