@arrowsphere/api-client 3.180.0-rc-bdj-1 → 3.180.0-rc.fdi.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/build/graphqlApi/types/entities/order.d.ts +0 -9
- package/build/graphqlApi/types/entities/program.d.ts +1 -3
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +0 -4
- package/build/graphqlApi/types/graphqlApiQueries.js +0 -1
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1,21 +1,12 @@
|
|
|
1
|
-
import { EndCustomerType, PartnerType } from './company';
|
|
2
|
-
import { GraphqlApiProgramType } from './program';
|
|
3
|
-
import { ItemData } from './quote';
|
|
4
1
|
import { SpecialPriceRateType } from './specialPriceRate';
|
|
5
2
|
import { GraphqlApiUnitType } from './unit';
|
|
6
3
|
export declare type OrdersType = {
|
|
7
4
|
id?: number;
|
|
8
|
-
endCustomer?: EndCustomerType;
|
|
9
5
|
items?: OrderItemsType[];
|
|
10
|
-
partner?: PartnerType;
|
|
11
6
|
};
|
|
12
7
|
export declare type OrderItemsType = {
|
|
13
8
|
id?: number;
|
|
14
|
-
itemData?: ItemData;
|
|
15
|
-
name?: string;
|
|
16
9
|
priceRates?: SpecialPriceRateType[];
|
|
17
|
-
program?: GraphqlApiProgramType;
|
|
18
|
-
reference?: string;
|
|
19
10
|
};
|
|
20
11
|
export declare type GraphqlApiOrderSoftwareType = {
|
|
21
12
|
id?: number;
|
|
@@ -10,11 +10,9 @@ export declare type GraphqlApiProgramType = {
|
|
|
10
10
|
levels?: ProgramLevelType[];
|
|
11
11
|
name?: string;
|
|
12
12
|
subscriptionExtraFields?: SubscriptionExtraFieldType[];
|
|
13
|
-
type?: GraphqlApiProgramTypeType;
|
|
14
13
|
url?: string;
|
|
15
14
|
vendor?: VendorsType;
|
|
16
|
-
|
|
17
|
-
xacVendorCode?: string;
|
|
15
|
+
type?: GraphqlApiProgramTypeType;
|
|
18
16
|
};
|
|
19
17
|
export declare type GraphqlApiProgramTypeType = {
|
|
20
18
|
id?: number;
|
|
@@ -2,7 +2,6 @@ import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/compa
|
|
|
2
2
|
import { ContactsType } from './entities/contact';
|
|
3
3
|
import { ContinentType, CountryType } from './entities/country';
|
|
4
4
|
import { LicenseBudgetType } from './entities/licenseBudget';
|
|
5
|
-
import { OrdersType } from './entities/order';
|
|
6
5
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
7
6
|
import { PartnertagType } from './entities/partnertag';
|
|
8
7
|
import { GraphqlApiProgramType, ProgramLevelOptionGroupType, SubscribedProgramType } from './entities/program';
|
|
@@ -124,7 +123,6 @@ export declare enum SelectDataField {
|
|
|
124
123
|
END_CUSTOMER = "endCustomer",
|
|
125
124
|
LICENSE_BUDGET = "licenseBudget",
|
|
126
125
|
ORGANIZATION_UNIT = "organizationUnit",
|
|
127
|
-
ORDER = "order",
|
|
128
126
|
PARTNER = "partner",
|
|
129
127
|
PARTNERTAG = "partnertag",
|
|
130
128
|
PROGRAM = "program",
|
|
@@ -154,7 +152,6 @@ export declare type SelectAllResponseDataType = {
|
|
|
154
152
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType[];
|
|
155
153
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType[];
|
|
156
154
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType[];
|
|
157
|
-
[SelectDataField.ORDER]?: OrdersType[];
|
|
158
155
|
[SelectDataField.PARTNER]?: PartnerType[];
|
|
159
156
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
160
157
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
|
|
@@ -233,7 +230,6 @@ export declare type SelectOneResponseDataType = {
|
|
|
233
230
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType;
|
|
234
231
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType;
|
|
235
232
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType;
|
|
236
|
-
[SelectDataField.ORDER]?: OrdersType;
|
|
237
233
|
[SelectDataField.PARTNER]?: PartnerType;
|
|
238
234
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
239
235
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType;
|
|
@@ -97,7 +97,6 @@ var SelectDataField;
|
|
|
97
97
|
SelectDataField["END_CUSTOMER"] = "endCustomer";
|
|
98
98
|
SelectDataField["LICENSE_BUDGET"] = "licenseBudget";
|
|
99
99
|
SelectDataField["ORGANIZATION_UNIT"] = "organizationUnit";
|
|
100
|
-
SelectDataField["ORDER"] = "order";
|
|
101
100
|
SelectDataField["PARTNER"] = "partner";
|
|
102
101
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
103
102
|
SelectDataField["PROGRAM"] = "program";
|
|
@@ -22,6 +22,7 @@ declare type MissingFieldsOfCompanySchema = {
|
|
|
22
22
|
contacts?: ContactsSchema;
|
|
23
23
|
currency?: CurrencySchema;
|
|
24
24
|
extraInformations?: CompanyExtraInformationSchema;
|
|
25
|
+
orders?: OrdersSchema;
|
|
25
26
|
organizationUnits?: OrganizationUnitSchema;
|
|
26
27
|
partnerTags?: PartnertagSchema;
|
|
27
28
|
subscribedPrograms?: SubscribedProgramSchema;
|
|
@@ -35,6 +36,7 @@ declare type MissingFieldsOfArrowCompanySchema = {
|
|
|
35
36
|
declare type MissingFieldsOfEndCustomerSchema = {
|
|
36
37
|
extraInformations?: CompanyExtraInformationSchema;
|
|
37
38
|
contacts?: ContactsSchema;
|
|
39
|
+
orders?: OrdersSchema;
|
|
38
40
|
partnerTags?: PartnertagSchema;
|
|
39
41
|
partner?: PartnerSchema;
|
|
40
42
|
country?: CountrySchema;
|
|
@@ -44,7 +46,6 @@ declare type MissingFieldsOfOrderItemSchema = {
|
|
|
44
46
|
};
|
|
45
47
|
declare type MissingFieldsOfOrdersSchema = {
|
|
46
48
|
items?: OrderItemsSchema;
|
|
47
|
-
endCustomer?: EndCustomerSchema;
|
|
48
49
|
};
|
|
49
50
|
declare type MissingFieldsOfContactSchema = {
|
|
50
51
|
companies?: BaseCompanySchema;
|
|
@@ -142,7 +143,6 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
142
143
|
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
143
144
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
|
|
144
145
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitSchema;
|
|
145
|
-
[SelectDataField.ORDER]?: OrdersSchema;
|
|
146
146
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
147
147
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
148
148
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
|
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.180.0-rc
|
|
7
|
+
"version": "3.180.0-rc.fdi.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",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
84
|
"@types/validatorjs": "3.15.0",
|
|
85
|
-
"axios": "1.
|
|
85
|
+
"axios": "1.8.2",
|
|
86
86
|
"graphql": "^16.3.0",
|
|
87
87
|
"graphql-request": "4.2.0",
|
|
88
88
|
"json-to-graphql-query": "^2.2.5",
|