@arrowsphere/api-client 3.169.0 → 3.170.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/index.d.ts +2 -0
- package/build/graphqlApi/index.js +2 -0
- package/build/graphqlApi/types/entities/company.d.ts +1 -4
- package/build/graphqlApi/types/entities/counting.d.ts +4 -0
- package/build/graphqlApi/types/entities/counting.js +3 -0
- package/build/graphqlApi/types/entities/order.d.ts +7 -0
- package/build/graphqlApi/types/entities/program.d.ts +6 -0
- package/build/graphqlApi/types/entities/report.d.ts +27 -0
- package/build/graphqlApi/types/entities/report.js +3 -0
- package/build/graphqlApi/types/entities/subscription.d.ts +3 -1
- package/build/graphqlApi/types/entities/unit.d.ts +5 -0
- package/build/graphqlApi/types/entities/unit.js +3 -0
- package/build/graphqlApi/types/graphqlApiQueries.d.ts +7 -0
- package/build/graphqlApi/types/graphqlApiQueries.js +2 -0
- package/build/graphqlApi/types/graphqlApiSchemas.d.ts +11 -0
- package/package.json +1 -1
|
@@ -10,8 +10,10 @@ export * from './types/entities/organizationUnit';
|
|
|
10
10
|
export * from './types/entities/partnertag';
|
|
11
11
|
export * from './types/entities/program';
|
|
12
12
|
export * from './types/entities/quote';
|
|
13
|
+
export * from './types/entities/report';
|
|
13
14
|
export * from './types/entities/subscription';
|
|
14
15
|
export * from './types/entities/specialPriceRate';
|
|
16
|
+
export * from './types/entities/unit';
|
|
15
17
|
export * from './types/entities/user';
|
|
16
18
|
export * from './types/entities/vendor';
|
|
17
19
|
export * from './types/entities/workgroup';
|
|
@@ -26,8 +26,10 @@ __exportStar(require("./types/entities/organizationUnit"), exports);
|
|
|
26
26
|
__exportStar(require("./types/entities/partnertag"), exports);
|
|
27
27
|
__exportStar(require("./types/entities/program"), exports);
|
|
28
28
|
__exportStar(require("./types/entities/quote"), exports);
|
|
29
|
+
__exportStar(require("./types/entities/report"), exports);
|
|
29
30
|
__exportStar(require("./types/entities/subscription"), exports);
|
|
30
31
|
__exportStar(require("./types/entities/specialPriceRate"), exports);
|
|
32
|
+
__exportStar(require("./types/entities/unit"), exports);
|
|
31
33
|
__exportStar(require("./types/entities/user"), exports);
|
|
32
34
|
__exportStar(require("./types/entities/vendor"), exports);
|
|
33
35
|
__exportStar(require("./types/entities/workgroup"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ContactsType } from './contact';
|
|
2
|
+
import { CountableType } from './counting';
|
|
2
3
|
import { CountryType } from './country';
|
|
3
4
|
import { CurrencyType } from './currency';
|
|
4
5
|
import { OrdersType } from './order';
|
|
@@ -40,10 +41,6 @@ export declare type EndCustomerType = BaseCompanyType & {
|
|
|
40
41
|
country?: CountryType;
|
|
41
42
|
partner?: PartnerType;
|
|
42
43
|
};
|
|
43
|
-
declare type CountableType = {
|
|
44
|
-
id?: number;
|
|
45
|
-
total?: number;
|
|
46
|
-
};
|
|
47
44
|
export declare type CompanyExtraInformation = {
|
|
48
45
|
id?: number;
|
|
49
46
|
companyId?: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { SpecialPriceRateType } from './specialPriceRate';
|
|
2
|
+
import { GraphqlApiUnitType } from './unit';
|
|
2
3
|
export declare type OrdersType = {
|
|
3
4
|
id?: number;
|
|
4
5
|
items?: OrderItemsType[];
|
|
@@ -7,3 +8,9 @@ export declare type OrderItemsType = {
|
|
|
7
8
|
id?: number;
|
|
8
9
|
priceRates?: SpecialPriceRateType[];
|
|
9
10
|
};
|
|
11
|
+
export declare type GraphqlApiRealOrderType = {
|
|
12
|
+
id?: number;
|
|
13
|
+
customerId?: number;
|
|
14
|
+
totalAmount?: number;
|
|
15
|
+
unit?: GraphqlApiUnitType;
|
|
16
|
+
};
|
|
@@ -7,6 +7,12 @@ export declare type GraphqlApiProgramType = {
|
|
|
7
7
|
name?: string;
|
|
8
8
|
vendor?: VendorsType;
|
|
9
9
|
};
|
|
10
|
+
export declare type GraphqlApiProgramLevelType = {
|
|
11
|
+
id?: number;
|
|
12
|
+
enabled?: boolean;
|
|
13
|
+
internalName?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
};
|
|
10
16
|
export declare type SubscribedProgramType = {
|
|
11
17
|
id?: number;
|
|
12
18
|
availabilityEndedAt?: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CountableType } from './counting';
|
|
2
|
+
import { GraphqlApiRealOrderType } from './order';
|
|
3
|
+
import { SubscriptionType } from './subscription';
|
|
4
|
+
export declare type GraphqlApiReportType = {
|
|
5
|
+
id?: number;
|
|
6
|
+
adminNote?: string;
|
|
7
|
+
createdAt?: string;
|
|
8
|
+
endedAt?: string;
|
|
9
|
+
items?: GraphqlApiReportItemType[];
|
|
10
|
+
lastUpdatedAt?: string;
|
|
11
|
+
reportMonth?: string;
|
|
12
|
+
subscription?: SubscriptionType;
|
|
13
|
+
totalAmount?: number;
|
|
14
|
+
userNote?: string;
|
|
15
|
+
quantitySum?: CountableType;
|
|
16
|
+
order?: GraphqlApiRealOrderType;
|
|
17
|
+
status?: GraphqlApiReportStatusType;
|
|
18
|
+
};
|
|
19
|
+
export declare type GraphqlApiReportItemType = {
|
|
20
|
+
id?: number;
|
|
21
|
+
quantity?: number;
|
|
22
|
+
report?: GraphqlApiReportType;
|
|
23
|
+
};
|
|
24
|
+
export declare type GraphqlApiReportStatusType = {
|
|
25
|
+
id?: number;
|
|
26
|
+
name?: string;
|
|
27
|
+
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { PartnerType } from './company';
|
|
2
2
|
import { ContactsType } from './contact';
|
|
3
|
-
import { GraphqlApiProgramType } from './program';
|
|
3
|
+
import { GraphqlApiProgramLevelType, GraphqlApiProgramType } from './program';
|
|
4
4
|
export declare type SubscriptionType = {
|
|
5
5
|
id?: number;
|
|
6
6
|
company?: PartnerType;
|
|
7
|
+
level?: GraphqlApiProgramLevelType;
|
|
7
8
|
localContact?: ContactsType;
|
|
8
9
|
partnerContact?: ContactsType;
|
|
10
|
+
partnerId?: string;
|
|
9
11
|
program?: GraphqlApiProgramType;
|
|
10
12
|
};
|
|
@@ -5,6 +5,7 @@ import { LicenseBudgetType } from './entities/licenseBudget';
|
|
|
5
5
|
import { PartnertagType } from './entities/partnertag';
|
|
6
6
|
import { GraphqlApiProgramType, SubscribedProgramType } from './entities/program';
|
|
7
7
|
import { QuoteType } from './entities/quote';
|
|
8
|
+
import { GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
8
9
|
import { SpecialPriceRateType } from './entities/specialPriceRate';
|
|
9
10
|
import { SubscriptionType } from './entities/subscription';
|
|
10
11
|
import { UserHistoryType, UserType } from './entities/user';
|
|
@@ -124,6 +125,8 @@ export declare enum SelectDataField {
|
|
|
124
125
|
PARTNERTAG = "partnertag",
|
|
125
126
|
PROGRAM = "program",
|
|
126
127
|
QUOTE = "quote",
|
|
128
|
+
REPORT = "report",
|
|
129
|
+
REPORT_STATUS = "reportStatus",
|
|
127
130
|
SPECIAL_PRICE_RATE = "specialPriceRate",
|
|
128
131
|
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
129
132
|
SUBSCRIPTION = "subscription",
|
|
@@ -148,6 +151,8 @@ export declare type SelectAllResponseDataType = {
|
|
|
148
151
|
[SelectDataField.PARTNERTAG]?: PartnertagType[];
|
|
149
152
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType[];
|
|
150
153
|
[SelectDataField.QUOTE]?: QuoteType[];
|
|
154
|
+
[SelectDataField.REPORT]?: GraphqlApiReportType[];
|
|
155
|
+
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType[];
|
|
151
156
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
152
157
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
153
158
|
[SelectDataField.USER]?: UserType[];
|
|
@@ -221,6 +226,8 @@ export declare type SelectOneResponseDataType = {
|
|
|
221
226
|
[SelectDataField.PARTNERTAG]?: PartnertagType;
|
|
222
227
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramType;
|
|
223
228
|
[SelectDataField.QUOTE]?: QuoteType;
|
|
229
|
+
[SelectDataField.REPORT]?: GraphqlApiReportType;
|
|
230
|
+
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType;
|
|
224
231
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
225
232
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
226
233
|
[SelectDataField.USER]?: UserType;
|
|
@@ -100,6 +100,8 @@ var SelectDataField;
|
|
|
100
100
|
SelectDataField["PARTNERTAG"] = "partnertag";
|
|
101
101
|
SelectDataField["PROGRAM"] = "program";
|
|
102
102
|
SelectDataField["QUOTE"] = "quote";
|
|
103
|
+
SelectDataField["REPORT"] = "report";
|
|
104
|
+
SelectDataField["REPORT_STATUS"] = "reportStatus";
|
|
103
105
|
SelectDataField["SPECIAL_PRICE_RATE"] = "specialPriceRate";
|
|
104
106
|
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
105
107
|
SelectDataField["SUBSCRIPTION"] = "subscription";
|
|
@@ -17,6 +17,7 @@ import { CurrencyType } from './entities/currency';
|
|
|
17
17
|
import { ItemData, QuoteItemType, QuoteType } from './entities/quote';
|
|
18
18
|
import { QuoteVersion } from './entities/quoteVersion';
|
|
19
19
|
import { Comment } from './entities/comment';
|
|
20
|
+
import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
20
21
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
21
22
|
declare type MissingFieldsOfCompanySchema = {
|
|
22
23
|
contacts?: ContactsSchema;
|
|
@@ -86,6 +87,11 @@ export declare type UserSchema = Merge<Schema<UserType, boolean>, MissingFieldsO
|
|
|
86
87
|
export declare type LicenseBudgetSchema = Merge<Schema<LicenseBudgetType, boolean>, MissingFieldsOfLicenseBudgetSchema>;
|
|
87
88
|
export declare type OrderItemsSchema = Merge<Schema<OrderItemsType, boolean>, MissingFieldsOfOrderItemSchema>;
|
|
88
89
|
export declare type OrdersSchema = Merge<Schema<OrdersType, boolean>, MissingFieldsOfOrdersSchema>;
|
|
90
|
+
declare type MissingFieldsOfReportSchema = {
|
|
91
|
+
items?: ReportItemSchema;
|
|
92
|
+
};
|
|
93
|
+
export declare type ReportSchema = Merge<Schema<GraphqlApiReportType, boolean>, MissingFieldsOfReportSchema>;
|
|
94
|
+
export declare type ReportItemSchema = Schema<GraphqlApiReportItemType, boolean>;
|
|
89
95
|
export declare type EndCustomerSchema = Merge<Schema<EndCustomerType, boolean>, MissingFieldsOfEndCustomerSchema>;
|
|
90
96
|
export declare type PartnerSchema = Merge<Schema<PartnerType, boolean>, MissingFieldsOfCompanySchema>;
|
|
91
97
|
export declare type ArrowCompanySchema = Merge<Schema<ArrowCompanyType, boolean>, MissingFieldsOfArrowCompanySchema>;
|
|
@@ -98,6 +104,7 @@ export declare type LicenseBudgetNotificationSchema = Schema<LicenseBudgetNotifi
|
|
|
98
104
|
export declare type OrganizationUnitSchema = Schema<OrganizationUnitsType, boolean>;
|
|
99
105
|
export declare type PageSchema = Schema<PageType, boolean>;
|
|
100
106
|
export declare type GraphqlApiProgramSchema = Schema<GraphqlApiProgramType, boolean>;
|
|
107
|
+
export declare type ReportStatusSchema = Schema<GraphqlApiReportStatusType, boolean>;
|
|
101
108
|
export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
|
|
102
109
|
export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
|
|
103
110
|
export declare type SubscriptionSchema = Schema<SubscriptionType, boolean>;
|
|
@@ -119,6 +126,8 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
119
126
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
120
127
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
|
|
121
128
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
129
|
+
[SelectDataField.REPORT]?: ReportSchema;
|
|
130
|
+
[SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
|
|
122
131
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
123
132
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
124
133
|
[SelectDataField.USER]?: UserSchema;
|
|
@@ -139,6 +148,8 @@ export declare type SelectOneResponseDataSchema = {
|
|
|
139
148
|
[SelectDataField.PARTNERTAG]?: PartnertagSchema;
|
|
140
149
|
[SelectDataField.PROGRAM]?: GraphqlApiProgramSchema;
|
|
141
150
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
151
|
+
[SelectDataField.REPORT]?: ReportSchema;
|
|
152
|
+
[SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
|
|
142
153
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
143
154
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
144
155
|
[SelectDataField.USER]?: UserSchema;
|
package/package.json
CHANGED