@arrowsphere/api-client 3.119.0 → 3.120.0-rc.bdj.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/index.d.ts +3 -0
- package/build/graphqlApi/index.js +3 -0
- package/build/graphqlApi/types/entities/company.d.ts +2 -0
- package/build/graphqlApi/types/entities/currency.d.ts +5 -0
- package/build/graphqlApi/types/entities/currency.js +3 -0
- package/build/graphqlApi/types/entities/program.d.ts +2 -2
- package/build/graphqlApi/types/entities/quote.d.ts +27 -0
- package/build/graphqlApi/types/entities/quote.js +3 -0
- package/build/graphqlApi/types/entities/subscription.d.ts +2 -2
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +8 -0
- package/build/graphqlApi/types/graphqlApiQueries.js +2 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +19 -0
- package/package.json +1 -1
|
@@ -3,10 +3,13 @@ export * from './types/graphqlApiSchemas';
|
|
|
3
3
|
export * from './types/entities/contact';
|
|
4
4
|
export * from './types/entities/company';
|
|
5
5
|
export * from './types/entities/country';
|
|
6
|
+
export * from './types/entities/currency';
|
|
6
7
|
export * from './types/entities/licenseBudget';
|
|
7
8
|
export * from './types/entities/order';
|
|
8
9
|
export * from './types/entities/organizationUnit';
|
|
9
10
|
export * from './types/entities/partnertag';
|
|
11
|
+
export * from './types/entities/program';
|
|
12
|
+
export * from './types/entities/quote';
|
|
10
13
|
export * from './types/entities/subscription';
|
|
11
14
|
export * from './types/entities/specialPriceRate';
|
|
12
15
|
export * from './types/entities/user';
|
|
@@ -19,10 +19,13 @@ __exportStar(require("./types/graphqlApiSchemas"), exports);
|
|
|
19
19
|
__exportStar(require("./types/entities/contact"), exports);
|
|
20
20
|
__exportStar(require("./types/entities/company"), exports);
|
|
21
21
|
__exportStar(require("./types/entities/country"), exports);
|
|
22
|
+
__exportStar(require("./types/entities/currency"), exports);
|
|
22
23
|
__exportStar(require("./types/entities/licenseBudget"), exports);
|
|
23
24
|
__exportStar(require("./types/entities/order"), exports);
|
|
24
25
|
__exportStar(require("./types/entities/organizationUnit"), exports);
|
|
25
26
|
__exportStar(require("./types/entities/partnertag"), exports);
|
|
27
|
+
__exportStar(require("./types/entities/program"), exports);
|
|
28
|
+
__exportStar(require("./types/entities/quote"), exports);
|
|
26
29
|
__exportStar(require("./types/entities/subscription"), exports);
|
|
27
30
|
__exportStar(require("./types/entities/specialPriceRate"), exports);
|
|
28
31
|
__exportStar(require("./types/entities/user"), exports);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ContactsType } from './contact';
|
|
2
2
|
import { CountryType } from './country';
|
|
3
|
+
import { CurrencyType } from './currency';
|
|
3
4
|
import { OrdersType } from './order';
|
|
4
5
|
import { PartnertagType } from './partnertag';
|
|
5
6
|
import { SubscribedProgramType } from './program';
|
|
@@ -55,6 +56,7 @@ export declare type CompanyExtraInformation = {
|
|
|
55
56
|
export declare type PartnerType = BaseCompanyType & {
|
|
56
57
|
contactsCount?: CountableType;
|
|
57
58
|
country?: CountryType;
|
|
59
|
+
currency?: CurrencyType;
|
|
58
60
|
customersCount?: CountableType;
|
|
59
61
|
ordersCount?: CountableType;
|
|
60
62
|
ordersNeedCount?: CountableType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PartnerType } from './company';
|
|
2
2
|
import { SubscriptionType } from './subscription';
|
|
3
3
|
import { VendorsType } from './vendor';
|
|
4
|
-
export declare type
|
|
4
|
+
export declare type GraphqlApiProgramType = {
|
|
5
5
|
id?: number;
|
|
6
6
|
internalName?: string;
|
|
7
7
|
name?: string;
|
|
@@ -15,7 +15,7 @@ export declare type SubscribedProgramType = {
|
|
|
15
15
|
internalName?: string;
|
|
16
16
|
subscriptionEndedAt?: string;
|
|
17
17
|
partner?: PartnerType;
|
|
18
|
-
program?:
|
|
18
|
+
program?: GraphqlApiProgramType;
|
|
19
19
|
subscription?: SubscriptionType;
|
|
20
20
|
vendor?: VendorsType;
|
|
21
21
|
vendorCode?: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ArrowCompanyType, EndCustomerType, PartnerType } from './company';
|
|
2
|
+
import { GraphqlApiProgramType } from './program';
|
|
3
|
+
export declare type EavType = {
|
|
4
|
+
value?: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type QuoteType = {
|
|
7
|
+
id?: number;
|
|
8
|
+
arrowCompany?: ArrowCompanyType;
|
|
9
|
+
commitmentAmountTotal?: number;
|
|
10
|
+
createdAt?: string;
|
|
11
|
+
endCustomer?: EndCustomerType;
|
|
12
|
+
items?: QuoteItemType[];
|
|
13
|
+
partner?: PartnerType;
|
|
14
|
+
promotionCode?: string;
|
|
15
|
+
reference?: string;
|
|
16
|
+
status?: string;
|
|
17
|
+
totalRecurringPrice?: number;
|
|
18
|
+
updatedAt?: string;
|
|
19
|
+
};
|
|
20
|
+
export declare type QuoteItemType = {
|
|
21
|
+
id?: number;
|
|
22
|
+
name?: string;
|
|
23
|
+
program?: GraphqlApiProgramType;
|
|
24
|
+
reference?: string;
|
|
25
|
+
vendorName?: string;
|
|
26
|
+
vendorNamesSerialized?: string;
|
|
27
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PartnerType } from './company';
|
|
2
2
|
import { ContactsType } from './contact';
|
|
3
|
-
import {
|
|
3
|
+
import { GraphqlApiProgramType } from './program';
|
|
4
4
|
export declare type SubscriptionType = {
|
|
5
5
|
id?: number;
|
|
6
6
|
company?: PartnerType;
|
|
7
7
|
localContact?: ContactsType;
|
|
8
|
-
program?:
|
|
8
|
+
program?: GraphqlApiProgramType;
|
|
9
9
|
};
|
|
@@ -3,8 +3,10 @@ import { ContinentType, CountryType } from './entities/country';
|
|
|
3
3
|
import { LicenseBudgetType } from './entities/licenseBudget';
|
|
4
4
|
import { PartnertagType } from './entities/partnertag';
|
|
5
5
|
import { SubscribedProgramType } from './entities/program';
|
|
6
|
+
import { QuoteType } from './entities/quote';
|
|
6
7
|
import { SubscriptionType } from './entities/subscription';
|
|
7
8
|
import { UserHistoryType, UserType } from './entities/user';
|
|
9
|
+
import { VendorsType } from './entities/vendor';
|
|
8
10
|
import { WorkgroupType } from './entities/workgroup';
|
|
9
11
|
import { ErrorsSchema, PageSchema, SelectAllResponseDataSchema, SelectOneResponseDataSchema } from './graphqlApiSchemas';
|
|
10
12
|
/**
|
|
@@ -118,10 +120,12 @@ export declare enum SelectDataField {
|
|
|
118
120
|
LICENSE_BUDGET = "licenseBudget",
|
|
119
121
|
PARTNER = "partner",
|
|
120
122
|
PARTNERTAG = "partnertag",
|
|
123
|
+
QUOTE = "quote",
|
|
121
124
|
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
122
125
|
SUBSCRIPTION = "subscription",
|
|
123
126
|
USER = "user",
|
|
124
127
|
USER_HISTORY = "userHistory",
|
|
128
|
+
VENDOR = "vendor",
|
|
125
129
|
WORKGROUP = "workgroup"
|
|
126
130
|
}
|
|
127
131
|
export declare type SelectAllResultType = {
|
|
@@ -139,10 +143,12 @@ export declare type SelectAllResponseDataType = {
|
|
|
139
143
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType[];
|
|
140
144
|
[SelectDataField.PARTNER]?: PartnerType[];
|
|
141
145
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
146
|
+
[SelectDataField.QUOTE]?: QuoteType[];
|
|
142
147
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
143
148
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
144
149
|
[SelectDataField.USER]?: UserType[];
|
|
145
150
|
[SelectDataField.USER_HISTORY]?: UserHistoryType[];
|
|
151
|
+
[SelectDataField.VENDOR]?: VendorsType[];
|
|
146
152
|
[SelectDataField.WORKGROUP]?: WorkgroupType[];
|
|
147
153
|
};
|
|
148
154
|
export declare enum ErrorsField {
|
|
@@ -186,10 +192,12 @@ export declare type SelectOneResponseDataType = {
|
|
|
186
192
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetType;
|
|
187
193
|
[SelectDataField.PARTNER]?: PartnerType;
|
|
188
194
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
195
|
+
[SelectDataField.QUOTE]?: QuoteType;
|
|
189
196
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
190
197
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
191
198
|
[SelectDataField.USER]?: UserType;
|
|
192
199
|
[SelectDataField.USER_HISTORY]?: UserHistoryType;
|
|
200
|
+
[SelectDataField.VENDOR]?: VendorsType;
|
|
193
201
|
[SelectDataField.WORKGROUP]?: WorkgroupType;
|
|
194
202
|
};
|
|
195
203
|
export declare enum QueryVariablesField {
|
|
@@ -97,10 +97,12 @@ var SelectDataField;
|
|
|
97
97
|
SelectDataField["LICENSE_BUDGET"] = "licenseBudget";
|
|
98
98
|
SelectDataField["PARTNER"] = "partner";
|
|
99
99
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
100
|
+
SelectDataField["QUOTE"] = "quote";
|
|
100
101
|
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
101
102
|
SelectDataField["SUBSCRIPTION"] = "subscription";
|
|
102
103
|
SelectDataField["USER"] = "user";
|
|
103
104
|
SelectDataField["USER_HISTORY"] = "userHistory";
|
|
105
|
+
SelectDataField["VENDOR"] = "vendor";
|
|
104
106
|
SelectDataField["WORKGROUP"] = "workgroup";
|
|
105
107
|
})(SelectDataField = exports.SelectDataField || (exports.SelectDataField = {}));
|
|
106
108
|
var ErrorsField;
|
|
@@ -14,9 +14,12 @@ import { SubscribedProgramType } from './entities/program';
|
|
|
14
14
|
import { LicenseBudgetNotificationType, LicenseBudgetType } from './entities/licenseBudget';
|
|
15
15
|
import { UserHistoryType, UserType } from './entities/user';
|
|
16
16
|
import { OrganizationUnitsType } from './entities/organizationUnit';
|
|
17
|
+
import { CurrencyType } from './entities/currency';
|
|
18
|
+
import { QuoteItemType, QuoteType } from './entities/quote';
|
|
17
19
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
18
20
|
declare type MissingFieldsOfCompanySchema = {
|
|
19
21
|
contacts?: ContactsSchema;
|
|
22
|
+
currency?: CurrencySchema;
|
|
20
23
|
extraInformations?: CompanyExtraInformationSchema;
|
|
21
24
|
orders?: OrdersSchema;
|
|
22
25
|
partnerTags?: PartnertagSchema;
|
|
@@ -51,6 +54,17 @@ declare type MissingFieldsOfUserSchema = {
|
|
|
51
54
|
declare type MissingFieldsOfLicenseBudgetSchema = {
|
|
52
55
|
notifications?: LicenseBudgetNotificationSchema;
|
|
53
56
|
};
|
|
57
|
+
declare type MissingFieldsOfQuoteSchema = {
|
|
58
|
+
arrowCompany?: ArrowCompanySchema;
|
|
59
|
+
endCustomer?: EndCustomerSchema;
|
|
60
|
+
items?: QuoteItemSchema;
|
|
61
|
+
partner?: PartnerSchema;
|
|
62
|
+
};
|
|
63
|
+
declare type MissingFieldsOfQuoteItemSchema = {
|
|
64
|
+
program?: LicenseBudgetNotificationSchema;
|
|
65
|
+
};
|
|
66
|
+
export declare type QuoteItemSchema = Merge<Schema<QuoteItemType, boolean>, MissingFieldsOfQuoteItemSchema>;
|
|
67
|
+
export declare type QuoteSchema = Merge<Schema<QuoteType, boolean>, MissingFieldsOfQuoteSchema>;
|
|
54
68
|
export declare type ContactsSchema = Merge<Schema<ContactsType, boolean>, MissingFieldsOfContactSchema>;
|
|
55
69
|
export declare type UserSchema = Merge<Schema<UserType, boolean>, MissingFieldsOfUserSchema>;
|
|
56
70
|
export declare type LicenseBudgetSchema = Merge<Schema<LicenseBudgetType, boolean>, MissingFieldsOfLicenseBudgetSchema>;
|
|
@@ -62,6 +76,7 @@ export declare type ArrowCompanySchema = Merge<Schema<ArrowCompanyType, boolean>
|
|
|
62
76
|
export declare type CompanyExtraInformationSchema = Schema<CompanyExtraInformation, boolean>;
|
|
63
77
|
export declare type ContinentSchema = Schema<ContinentType, boolean>;
|
|
64
78
|
export declare type CountrySchema = Schema<CountryType, boolean>;
|
|
79
|
+
export declare type CurrencySchema = Schema<CurrencyType, boolean>;
|
|
65
80
|
export declare type ErrorsSchema = Schema<ErrorsType, boolean>;
|
|
66
81
|
export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotificationType, boolean>;
|
|
67
82
|
export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
|
|
@@ -86,10 +101,12 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
86
101
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
|
|
87
102
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
88
103
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
104
|
+
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
89
105
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
90
106
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
91
107
|
[SelectDataField.USER]?: UserSchema;
|
|
92
108
|
[SelectDataField.USER_HISTORY]?: UserHistorySchema;
|
|
109
|
+
[SelectDataField.VENDOR]?: VendorSchema;
|
|
93
110
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
94
111
|
};
|
|
95
112
|
export declare type SelectOneResultSchema = {
|
|
@@ -104,10 +121,12 @@ export declare type SelectOneResponseDataSchema = {
|
|
|
104
121
|
[SelectDataField.LICENSE_BUDGET]?: LicenseBudgetSchema;
|
|
105
122
|
[SelectDataField.PARTNER]?: PartnerSchema;
|
|
106
123
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
124
|
+
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
107
125
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
108
126
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
109
127
|
[SelectDataField.USER]?: UserSchema;
|
|
110
128
|
[SelectDataField.USER_HISTORY]?: UserHistorySchema;
|
|
129
|
+
[SelectDataField.VENDOR]?: VendorSchema;
|
|
111
130
|
[SelectDataField.WORKGROUP]?: WorkgroupSchema;
|
|
112
131
|
};
|
|
113
132
|
export declare type SelectAllQuerySchema = {
|
package/package.json
CHANGED