@arrowsphere/api-client 3.178.0-rc-bdj-2 → 3.178.0-rc.ybo.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 +5 -0
- package/build/graphqlApi/types/entities/company.d.ts +3 -3
- package/build/graphqlApi/types/entities/contact.d.ts +0 -2
- package/build/graphqlApi/types/entities/organizationUnit.d.ts +0 -6
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +0 -2
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +19 -6
- package/build/licenses/entities/event/licenseEvent.d.ts +1 -0
- package/build/licenses/entities/event/licenseEvent.js +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
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
|
+
## [Unreleased]
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
- [licence] add activation expired to licence events
|
|
10
|
+
|
|
6
11
|
## [3.177.0] - 2025.02.25
|
|
7
12
|
|
|
8
13
|
### Addes
|
|
@@ -12,7 +12,7 @@ export declare type CompanyTypeType = {
|
|
|
12
12
|
id?: number;
|
|
13
13
|
type?: string;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
declare type BaseCompanyType = {
|
|
16
16
|
acronym?: string;
|
|
17
17
|
address1?: string;
|
|
18
18
|
address2?: string;
|
|
@@ -34,7 +34,6 @@ export declare type BaseCompanyType = {
|
|
|
34
34
|
phone?: string;
|
|
35
35
|
resellerId?: number;
|
|
36
36
|
state?: string;
|
|
37
|
-
type?: CompanyTypeType;
|
|
38
37
|
vatNumber?: string;
|
|
39
38
|
workgroup?: WorkgroupType;
|
|
40
39
|
zip?: string;
|
|
@@ -64,13 +63,14 @@ export declare type PartnerType = BaseCompanyType & {
|
|
|
64
63
|
ordersCount?: CountableType;
|
|
65
64
|
ordersNeedCount?: CountableType;
|
|
66
65
|
ordersSaasCount?: CountableType;
|
|
67
|
-
organizationUnits?: OrganizationUnitsType[];
|
|
68
66
|
reportsCount?: CountableType;
|
|
69
67
|
subscribedPrograms?: SubscribedProgramType[];
|
|
70
68
|
subscriptions?: SubscriptionType[];
|
|
71
69
|
subscriptionsCount?: CountableType;
|
|
72
70
|
subscriptionsPendingCount?: CountableType;
|
|
71
|
+
type?: CompanyTypeType;
|
|
73
72
|
};
|
|
74
73
|
export declare type ArrowCompanyType = Omit<BaseCompanyType, 'partnerTags'> & {
|
|
75
74
|
subscriptions?: SubscriptionType[];
|
|
76
75
|
};
|
|
76
|
+
export {};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { EndCustomerType } from './company';
|
|
2
1
|
import { OrganizationUnitsType } from './organizationUnit';
|
|
3
2
|
export declare type ContactsType = {
|
|
4
3
|
id?: number;
|
|
5
4
|
active?: boolean;
|
|
6
5
|
communicationEmail?: string;
|
|
7
|
-
companies?: EndCustomerType[];
|
|
8
6
|
effectiveDate?: string;
|
|
9
7
|
email?: string;
|
|
10
8
|
erpId?: string;
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { EndCustomerType } from './company';
|
|
2
|
-
import { ContactsType } from './contact';
|
|
3
1
|
export declare type OrganizationUnitsType = {
|
|
4
2
|
id?: number;
|
|
5
|
-
contacts?: ContactsType[];
|
|
6
|
-
endCustomer?: EndCustomerType;
|
|
7
|
-
endCustomersCount?: number;
|
|
8
3
|
name?: string;
|
|
9
|
-
usersCounts?: number;
|
|
10
4
|
};
|
|
@@ -144,7 +144,6 @@ export declare type SelectAllResultType = {
|
|
|
144
144
|
};
|
|
145
145
|
export declare type SelectAllResponseDataType = {
|
|
146
146
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanyType[];
|
|
147
|
-
[SelectDataField.CONTACT]?: ContactsType[];
|
|
148
147
|
[SelectDataField.CONTINENT]?: ContinentType[];
|
|
149
148
|
[SelectDataField.COUNTRY]?: CountryType[];
|
|
150
149
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType[];
|
|
@@ -221,7 +220,6 @@ export declare type GetSpecialPriceRatesHistoryResultType = {
|
|
|
221
220
|
};
|
|
222
221
|
export declare type SelectOneResponseDataType = {
|
|
223
222
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanyType;
|
|
224
|
-
[SelectDataField.CONTACT]?: ContactsType;
|
|
225
223
|
[SelectDataField.CONTINENT]?: ContinentType;
|
|
226
224
|
[SelectDataField.COUNTRY]?: CountryType;
|
|
227
225
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Merge, Schema } from 'type-fest';
|
|
2
|
-
import { ArrowCompanyType,
|
|
2
|
+
import { ArrowCompanyType, CompanyExtraInformation, EndCustomerType, PartnerType } from './entities/company';
|
|
3
3
|
import { PartnertagType } from './entities/partnertag';
|
|
4
4
|
import { ContinentType, CountryType } from './entities/country';
|
|
5
5
|
import { WorkgroupType } from './entities/workgroup';
|
|
@@ -23,7 +23,6 @@ declare type MissingFieldsOfCompanySchema = {
|
|
|
23
23
|
currency?: CurrencySchema;
|
|
24
24
|
extraInformations?: CompanyExtraInformationSchema;
|
|
25
25
|
orders?: OrdersSchema;
|
|
26
|
-
organizationUnits?: OrganizationUnitSchema;
|
|
27
26
|
partnerTags?: PartnertagSchema;
|
|
28
27
|
subscribedPrograms?: SubscribedProgramSchema;
|
|
29
28
|
subscriptions?: SubscriptionSchema;
|
|
@@ -48,7 +47,6 @@ declare type MissingFieldsOfOrdersSchema = {
|
|
|
48
47
|
items?: OrderItemsSchema;
|
|
49
48
|
};
|
|
50
49
|
declare type MissingFieldsOfContactSchema = {
|
|
51
|
-
companies?: BaseCompanySchema;
|
|
52
50
|
organizationUnits?: OrganizationUnitSchema;
|
|
53
51
|
};
|
|
54
52
|
declare type MissingFieldsOfUserSchema = {
|
|
@@ -102,7 +100,6 @@ export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingF
|
|
|
102
100
|
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
103
101
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
104
102
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
105
|
-
export declare type BaseCompanySchema = Schema<BaseCompanyType, boolean>;
|
|
106
103
|
export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
|
|
107
104
|
export declare type PageSchema = Schema<PageType, boolean>;
|
|
108
105
|
export declare type ProgramBenefitSchema = Schema<ProgramBenefitType, boolean>;
|
|
@@ -137,7 +134,6 @@ export declare type SelectAllResultSchema = {
|
|
|
137
134
|
};
|
|
138
135
|
export declare type SelectAllResponseDataSchema = {
|
|
139
136
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
|
|
140
|
-
[SelectDataField.CONTACT]?: ContactsSchema;
|
|
141
137
|
[SelectDataField.CONTINENT]?: ContinentSchema;
|
|
142
138
|
[SelectDataField.COUNTRY]?: CountrySchema;
|
|
143
139
|
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
@@ -159,7 +155,24 @@ export declare type SelectOneResultSchema = {
|
|
|
159
155
|
[SelectableField.DATA]?: SelectOneResponseDataSchema;
|
|
160
156
|
[SelectableField.ERRORS]?: ErrorsSchema;
|
|
161
157
|
};
|
|
162
|
-
export declare type SelectOneResponseDataSchema =
|
|
158
|
+
export declare type SelectOneResponseDataSchema = {
|
|
159
|
+
[SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
|
|
160
|
+
[SelectDataField.CONTINENT]?: ContinentSchema;
|
|
161
|
+
[SelectDataField.COUNTRY]?: CountrySchema;
|
|
162
|
+
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
163
|
+
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
|
|
164
|
+
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
165
|
+
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
166
|
+
[SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
|
|
167
|
+
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
168
|
+
[SelectDataField.REPORT]?: ReportSchema;
|
|
169
|
+
[SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
|
|
170
|
+
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
171
|
+
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
172
|
+
[SelectDataField.USER]?: UserSchema;
|
|
173
|
+
[SelectDataField.USER_HISTORY]?: UserHistorySchema;
|
|
174
|
+
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
175
|
+
};
|
|
163
176
|
export declare type SelectAllQuerySchema = {
|
|
164
177
|
[Queries.SELECT_ALL]?: SelectAllResultSchema;
|
|
165
178
|
};
|
|
@@ -45,6 +45,7 @@ var LicenseEventStatusCode;
|
|
|
45
45
|
LicenseEventStatusCode["REJECTED"] = "85";
|
|
46
46
|
LicenseEventStatusCode["COMPLETED"] = "86";
|
|
47
47
|
LicenseEventStatusCode["SUSPENDED"] = "87";
|
|
48
|
+
LicenseEventStatusCode["ACTIVATION_EXPIRED"] = "88";
|
|
48
49
|
LicenseEventStatusCode["CANCELLED"] = "89";
|
|
49
50
|
LicenseEventStatusCode["TRANSFERRED"] = "126";
|
|
50
51
|
})(LicenseEventStatusCode = exports.LicenseEventStatusCode || (exports.LicenseEventStatusCode = {}));
|
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.178.0-rc
|
|
7
|
+
"version": "3.178.0-rc.ybo.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",
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"author": "ArrowSphere <support@arrowsphereconnect.com>",
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"devDependencies": {
|
|
34
|
+
"@types/validatorjs": "3.15.0",
|
|
34
35
|
"@types/chai": "4.2.15",
|
|
35
36
|
"@types/chai-as-promised": "7.1.3",
|
|
36
37
|
"@types/lodash": "^4.14.191",
|
|
@@ -81,7 +82,6 @@
|
|
|
81
82
|
"test": "tests"
|
|
82
83
|
},
|
|
83
84
|
"dependencies": {
|
|
84
|
-
"@types/validatorjs": "3.15.0",
|
|
85
85
|
"axios": "1.1.3",
|
|
86
86
|
"graphql": "^16.3.0",
|
|
87
87
|
"graphql-request": "4.2.0",
|