@arrowsphere/api-client 3.177.0 → 3.178.0-rc-bdj-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/build/graphqlApi/types/entities/company.d.ts +3 -3
- package/build/graphqlApi/types/entities/contact.d.ts +2 -0
- package/build/graphqlApi/types/entities/organizationUnit.d.ts +6 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +2 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +6 -19
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ export declare type CompanyTypeType = {
|
|
|
12
12
|
id?: number;
|
|
13
13
|
type?: string;
|
|
14
14
|
};
|
|
15
|
-
declare type BaseCompanyType = {
|
|
15
|
+
export declare type BaseCompanyType = {
|
|
16
16
|
acronym?: string;
|
|
17
17
|
address1?: string;
|
|
18
18
|
address2?: string;
|
|
@@ -34,6 +34,7 @@ declare type BaseCompanyType = {
|
|
|
34
34
|
phone?: string;
|
|
35
35
|
resellerId?: number;
|
|
36
36
|
state?: string;
|
|
37
|
+
type?: CompanyTypeType;
|
|
37
38
|
vatNumber?: string;
|
|
38
39
|
workgroup?: WorkgroupType;
|
|
39
40
|
zip?: string;
|
|
@@ -63,14 +64,13 @@ export declare type PartnerType = BaseCompanyType & {
|
|
|
63
64
|
ordersCount?: CountableType;
|
|
64
65
|
ordersNeedCount?: CountableType;
|
|
65
66
|
ordersSaasCount?: CountableType;
|
|
67
|
+
organizationUnits?: OrganizationUnitsType[];
|
|
66
68
|
reportsCount?: CountableType;
|
|
67
69
|
subscribedPrograms?: SubscribedProgramType[];
|
|
68
70
|
subscriptions?: SubscriptionType[];
|
|
69
71
|
subscriptionsCount?: CountableType;
|
|
70
72
|
subscriptionsPendingCount?: CountableType;
|
|
71
|
-
type?: CompanyTypeType;
|
|
72
73
|
};
|
|
73
74
|
export declare type ArrowCompanyType = Omit<BaseCompanyType, 'partnerTags'> & {
|
|
74
75
|
subscriptions?: SubscriptionType[];
|
|
75
76
|
};
|
|
76
|
-
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { EndCustomerType } from './company';
|
|
1
2
|
import { OrganizationUnitsType } from './organizationUnit';
|
|
2
3
|
export declare type ContactsType = {
|
|
3
4
|
id?: number;
|
|
4
5
|
active?: boolean;
|
|
5
6
|
communicationEmail?: string;
|
|
7
|
+
companies?: EndCustomerType[];
|
|
6
8
|
effectiveDate?: string;
|
|
7
9
|
email?: string;
|
|
8
10
|
erpId?: string;
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
+
import { EndCustomerType } from './company';
|
|
2
|
+
import { ContactsType } from './contact';
|
|
1
3
|
export declare type OrganizationUnitsType = {
|
|
2
4
|
id?: number;
|
|
5
|
+
contacts?: ContactsType[];
|
|
6
|
+
endCustomer?: EndCustomerType;
|
|
7
|
+
endCustomersCount?: number;
|
|
3
8
|
name?: string;
|
|
9
|
+
usersCounts?: number;
|
|
4
10
|
};
|
|
@@ -144,6 +144,7 @@ export declare type SelectAllResultType = {
|
|
|
144
144
|
};
|
|
145
145
|
export declare type SelectAllResponseDataType = {
|
|
146
146
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanyType[];
|
|
147
|
+
[SelectDataField.CONTACT]?: ContactsType[];
|
|
147
148
|
[SelectDataField.CONTINENT]?: ContinentType[];
|
|
148
149
|
[SelectDataField.COUNTRY]?: CountryType[];
|
|
149
150
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType[];
|
|
@@ -220,6 +221,7 @@ export declare type GetSpecialPriceRatesHistoryResultType = {
|
|
|
220
221
|
};
|
|
221
222
|
export declare type SelectOneResponseDataType = {
|
|
222
223
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanyType;
|
|
224
|
+
[SelectDataField.CONTACT]?: ContactsType;
|
|
223
225
|
[SelectDataField.CONTINENT]?: ContinentType;
|
|
224
226
|
[SelectDataField.COUNTRY]?: CountryType;
|
|
225
227
|
[SelectDataField.END_CUSTOMER]?: EndCustomerType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Merge, Schema } from 'type-fest';
|
|
2
|
-
import { ArrowCompanyType, CompanyExtraInformation, EndCustomerType, PartnerType } from './entities/company';
|
|
2
|
+
import { ArrowCompanyType, BaseCompanyType, 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,6 +23,7 @@ declare type MissingFieldsOfCompanySchema = {
|
|
|
23
23
|
currency?: CurrencySchema;
|
|
24
24
|
extraInformations?: CompanyExtraInformationSchema;
|
|
25
25
|
orders?: OrdersSchema;
|
|
26
|
+
organizationUnits?: OrganizationUnitSchema;
|
|
26
27
|
partnerTags?: PartnertagSchema;
|
|
27
28
|
subscribedPrograms?: SubscribedProgramSchema;
|
|
28
29
|
subscriptions?: SubscriptionSchema;
|
|
@@ -47,6 +48,7 @@ declare type MissingFieldsOfOrdersSchema = {
|
|
|
47
48
|
items?: OrderItemsSchema;
|
|
48
49
|
};
|
|
49
50
|
declare type MissingFieldsOfContactSchema = {
|
|
51
|
+
companies?: BaseCompanySchema;
|
|
50
52
|
organizationUnits?: OrganizationUnitSchema;
|
|
51
53
|
};
|
|
52
54
|
declare type MissingFieldsOfUserSchema = {
|
|
@@ -100,6 +102,7 @@ export declare type CountrySchema = Merge<Schema<CountryType, boolean>, MissingF
|
|
|
100
102
|
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
101
103
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
102
104
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
105
|
+
export declare type BaseCompanySchema = Schema<BaseCompanyType, boolean>;
|
|
103
106
|
export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
|
|
104
107
|
export declare type PageSchema = Schema<PageType, boolean>;
|
|
105
108
|
export declare type ProgramBenefitSchema = Schema<ProgramBenefitType, boolean>;
|
|
@@ -134,6 +137,7 @@ export declare type SelectAllResultSchema = {
|
|
|
134
137
|
};
|
|
135
138
|
export declare type SelectAllResponseDataSchema = {
|
|
136
139
|
[SelectDataField.ARROW_COMPANY]?: ArrowCompanySchema;
|
|
140
|
+
[SelectDataField.CONTACT]?: ContactsSchema;
|
|
137
141
|
[SelectDataField.CONTINENT]?: ContinentSchema;
|
|
138
142
|
[SelectDataField.COUNTRY]?: CountrySchema;
|
|
139
143
|
[SelectDataField.END_CUSTOMER]?: EndCustomerSchema;
|
|
@@ -155,24 +159,7 @@ export declare type SelectOneResultSchema = {
|
|
|
155
159
|
[SelectableField.DATA]?: SelectOneResponseDataSchema;
|
|
156
160
|
[SelectableField.ERRORS]?: ErrorsSchema;
|
|
157
161
|
};
|
|
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
|
-
};
|
|
162
|
+
export declare type SelectOneResponseDataSchema = SelectAllResponseDataSchema;
|
|
176
163
|
export declare type SelectAllQuerySchema = {
|
|
177
164
|
[Queries.SELECT_ALL]?: SelectAllResultSchema;
|
|
178
165
|
};
|
package/package.json
CHANGED