@arrowsphere/api-client 3.180.0-rc-bdj-9 → 3.180.0-rc-bdj-12
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.
|
@@ -5,6 +5,7 @@ import { GraphqlApiProgramType } from './program';
|
|
|
5
5
|
import { ItemData, QuoteType } from './quote';
|
|
6
6
|
import { SpecialPriceRateType } from './specialPriceRate';
|
|
7
7
|
import { GraphqlApiUnitType } from './unit';
|
|
8
|
+
import { UserType } from './user';
|
|
8
9
|
export declare type OrdersType = {
|
|
9
10
|
id?: number;
|
|
10
11
|
arrowCompany?: ArrowCompanyType;
|
|
@@ -30,8 +31,8 @@ export declare type OrdersType = {
|
|
|
30
31
|
export declare type OrderItemsType = {
|
|
31
32
|
id?: number;
|
|
32
33
|
itemData?: ItemData;
|
|
33
|
-
migratedFrom?: GraphqlApiOrderLinkType;
|
|
34
|
-
migratedTo?: GraphqlApiOrderLinkType;
|
|
34
|
+
migratedFrom?: GraphqlApiOrderLinkType[];
|
|
35
|
+
migratedTo?: GraphqlApiOrderLinkType[];
|
|
35
36
|
name?: string;
|
|
36
37
|
order?: OrdersType;
|
|
37
38
|
priceRates?: SpecialPriceRateType[];
|
|
@@ -54,3 +55,11 @@ export declare type GraphqlApiOrderLinkType = {
|
|
|
54
55
|
migratedAt?: string;
|
|
55
56
|
to?: OrderItemsType;
|
|
56
57
|
};
|
|
58
|
+
export declare type GraphqlApiOrderHistoryType = {
|
|
59
|
+
id?: number;
|
|
60
|
+
action?: string;
|
|
61
|
+
createdAt?: string;
|
|
62
|
+
description?: string;
|
|
63
|
+
order?: OrdersType;
|
|
64
|
+
user?: UserType;
|
|
65
|
+
};
|
|
@@ -2,7 +2,7 @@ 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';
|
|
5
|
+
import { GraphqlApiOrderHistoryType, OrdersType } from './entities/order';
|
|
6
6
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
7
7
|
import { PartnertagType } from './entities/partnertag';
|
|
8
8
|
import { GraphqlApiProgramType, ProgramLevelOptionGroupType, SubscribedProgramType } from './entities/program';
|
|
@@ -125,6 +125,7 @@ export declare enum SelectDataField {
|
|
|
125
125
|
LICENSE_BUDGET = "licenseBudget",
|
|
126
126
|
ORGANIZATION_UNIT = "organizationUnit",
|
|
127
127
|
ORDER = "order",
|
|
128
|
+
ORDER_HISTORY = "orderHistory",
|
|
128
129
|
PARTNER = "partner",
|
|
129
130
|
PARTNERTAG = "partnertag",
|
|
130
131
|
PROGRAM = "program",
|
|
@@ -155,6 +156,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
155
156
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType[];
|
|
156
157
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType[];
|
|
157
158
|
[SelectDataField.ORDER]?: OrdersType[];
|
|
159
|
+
[SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType[];
|
|
158
160
|
[SelectDataField.PARTNER]?: PartnerType[];
|
|
159
161
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
160
162
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
|
|
@@ -234,6 +236,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
234
236
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType;
|
|
235
237
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitsType;
|
|
236
238
|
[SelectDataField.ORDER]?: OrdersType;
|
|
239
|
+
[SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
|
|
237
240
|
[SelectDataField.PARTNER]?: PartnerType;
|
|
238
241
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
239
242
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType;
|
|
@@ -98,6 +98,7 @@ var SelectDataField;
|
|
|
98
98
|
SelectDataField["LICENSE_BUDGET"] = "licenseBudget";
|
|
99
99
|
SelectDataField["ORGANIZATION_UNIT"] = "organizationUnit";
|
|
100
100
|
SelectDataField["ORDER"] = "order";
|
|
101
|
+
SelectDataField["ORDER_HISTORY"] = "orderHistory";
|
|
101
102
|
SelectDataField["PARTNER"] = "partner";
|
|
102
103
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
103
104
|
SelectDataField["PROGRAM"] = "program";
|
|
@@ -7,7 +7,7 @@ import { ErrorsType, PageType, Queries, SelectDataField, SelectableField } from
|
|
|
7
7
|
import { ContactsType } from './entities/contact';
|
|
8
8
|
import { SubscriptionType } from './entities/subscription';
|
|
9
9
|
import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
10
|
-
import { OrderItemsType, OrdersType } from './entities/order';
|
|
10
|
+
import { GraphqlApiOrderHistoryType, GraphqlApiOrderLinkType, 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
13
|
import { UserHistoryType, UserType } from './entities/user';
|
|
@@ -43,6 +43,8 @@ declare type MissingFieldsOfEndCustomerSchema = {
|
|
|
43
43
|
country?: CountrySchema;
|
|
44
44
|
};
|
|
45
45
|
declare type MissingFieldsOfOrderItemSchema = {
|
|
46
|
+
migratedFrom?: GraphqlApiOrderLinkSchema;
|
|
47
|
+
migratedTo?: GraphqlApiOrderLinkSchema;
|
|
46
48
|
priceRates?: SpecialPriceRateSchema;
|
|
47
49
|
};
|
|
48
50
|
declare type MissingFieldsOfOrdersSchema = {
|
|
@@ -102,8 +104,10 @@ export declare type CompanyExtraInformationSchema = Schema<CompanyExtraInformati
|
|
|
102
104
|
export declare type ContinentSchema = Schema<ContinentType, boolean>;
|
|
103
105
|
export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingFieldsOfCountrySchema>;
|
|
104
106
|
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
105
|
-
export declare type GraphqlApiEavSchema = Schema<GraphqlApiEavType, boolean>;
|
|
106
107
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
108
|
+
export declare type GraphqlApiEavSchema = Schema<GraphqlApiEavType, boolean>;
|
|
109
|
+
export declare type GraphqlApiOrderHistorySchema = Schema<GraphqlApiOrderHistoryType, boolean>;
|
|
110
|
+
export declare type GraphqlApiOrderLinkSchema = Schema<GraphqlApiOrderLinkType, boolean>;
|
|
107
111
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
108
112
|
export declare type BaseCompanySchema = Schema<BaseCompanyType, boolean>;
|
|
109
113
|
export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
|
|
@@ -147,6 +151,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
147
151
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
|
|
148
152
|
[SelectDataField.ORGANIZATION_UNIT]?: OrganizationUnitSchema;
|
|
149
153
|
[SelectDataField.ORDER]?: OrdersSchema;
|
|
154
|
+
[SelectDataField.ORDER_HISTORY]?: GraphqlApiOrderHistoryType;
|
|
150
155
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
151
156
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
152
157
|
[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-bdj-
|
|
7
|
+
"version": "3.180.0-rc-bdj-12",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|