@arrowsphere/api-client 3.184.0-rc-bdj-5 → 3.184.0-rc-bdj-6
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.
|
@@ -14,4 +14,9 @@ export declare type GraphqlApiStaffType = {
|
|
|
14
14
|
lastname?: string;
|
|
15
15
|
locked?: boolean;
|
|
16
16
|
workgroup?: WorkgroupType;
|
|
17
|
+
roles?: GraphqlApiContributorRoleType[];
|
|
18
|
+
};
|
|
19
|
+
export declare type GraphqlApiContributorRoleType = {
|
|
20
|
+
id?: number;
|
|
21
|
+
label?: string;
|
|
17
22
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ArrowCompanyType, EndCustomerType, PartnerType } from './entities/company';
|
|
2
2
|
import { ContactsType } from './entities/contact';
|
|
3
|
+
import { GraphqlApiStaffType } from './entities/contributor';
|
|
3
4
|
import { ContinentType, CountryType } from './entities/country';
|
|
4
5
|
import { LicenseBudgetType } from './entities/licenseBudget';
|
|
5
6
|
import { GraphqlApiOrderHistoryType, OrdersType } from './entities/order';
|
|
@@ -134,6 +135,7 @@ export declare enum SelectDataField {
|
|
|
134
135
|
REPORT = "report",
|
|
135
136
|
REPORT_STATUS = "reportStatus",
|
|
136
137
|
SPECIAL_PRICE_RATE = "specialPriceRate",
|
|
138
|
+
STAFF = "staff",
|
|
137
139
|
SUBSCRIBED_PROGRAM = "subscribedProgram",
|
|
138
140
|
SUBSCRIPTION = "subscription",
|
|
139
141
|
USER = "user",
|
|
@@ -164,6 +166,7 @@ export declare type SelectAllResponseDataType = {
|
|
|
164
166
|
[SelectDataField.QUOTE]?: QuoteType[];
|
|
165
167
|
[SelectDataField.REPORT]?: GraphqlApiReportType[];
|
|
166
168
|
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType[];
|
|
169
|
+
[SelectDataField.STAFF]?: GraphqlApiStaffType[];
|
|
167
170
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType[];
|
|
168
171
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType[];
|
|
169
172
|
[SelectDataField.USER]?: UserType[];
|
|
@@ -244,6 +247,7 @@ export declare type SelectOneResponseDataType = {
|
|
|
244
247
|
[SelectDataField.QUOTE]?: QuoteType;
|
|
245
248
|
[SelectDataField.REPORT]?: GraphqlApiReportType;
|
|
246
249
|
[SelectDataField.REPORT_STATUS]?: GraphqlApiReportStatusType;
|
|
250
|
+
[SelectDataField.STAFF]?: GraphqlApiStaffType;
|
|
247
251
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramType;
|
|
248
252
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionType;
|
|
249
253
|
[SelectDataField.USER]?: UserType;
|
|
@@ -107,6 +107,7 @@ var SelectDataField;
|
|
|
107
107
|
SelectDataField["REPORT"] = "report";
|
|
108
108
|
SelectDataField["REPORT_STATUS"] = "reportStatus";
|
|
109
109
|
SelectDataField["SPECIAL_PRICE_RATE"] = "specialPriceRate";
|
|
110
|
+
SelectDataField["STAFF"] = "staff";
|
|
110
111
|
SelectDataField["SUBSCRIBED_PROGRAM"] = "subscribedProgram";
|
|
111
112
|
SelectDataField["SUBSCRIPTION"] = "subscription";
|
|
112
113
|
SelectDataField["USER"] = "user";
|
|
@@ -18,6 +18,7 @@ import { QuoteVersion } from './entities/quoteVersion';
|
|
|
18
18
|
import { Comment } from './entities/comment';
|
|
19
19
|
import { GraphqlApiReportItemType, GraphqlApiReportStatusType, GraphqlApiReportType } from './entities/report';
|
|
20
20
|
import { GraphqlApiEavType } from './entities/eav';
|
|
21
|
+
import { GraphqlApiContributorRoleType, GraphqlApiStaffType } from './entities/contributor';
|
|
21
22
|
export declare type PartnertagSchema = Schema<PartnertagType, boolean>;
|
|
22
23
|
declare type MissingFieldsOfCompanySchema = {
|
|
23
24
|
contacts?: ContactsSchema;
|
|
@@ -131,6 +132,11 @@ export declare type MissingFieldsOfProgramSchema = {
|
|
|
131
132
|
subscriptionExtraFields?: SubscriptionExtraFieldSchema;
|
|
132
133
|
};
|
|
133
134
|
export declare type GraphqlApiProgramSchema = Merge<Schema<GraphqlApiProgramType, boolean>, MissingFieldsOfProgramSchema>;
|
|
135
|
+
declare type MissingFieldsOfStaffSchema = {
|
|
136
|
+
roles?: GraphqlApiContributorRoleSchema;
|
|
137
|
+
};
|
|
138
|
+
export declare type GraphqlApiStaffSchema = Merge<Schema<GraphqlApiStaffType, boolean>, MissingFieldsOfStaffSchema>;
|
|
139
|
+
export declare type GraphqlApiContributorRoleSchema = Schema<GraphqlApiContributorRoleType, boolean>;
|
|
134
140
|
export declare type ReportStatusSchema = Schema<GraphqlApiReportStatusType, boolean>;
|
|
135
141
|
export declare type SpecialPriceRateSchema = Schema<SpecialPriceRateType, boolean>;
|
|
136
142
|
export declare type SubscribedProgramSchema = Schema<SubscribedProgramType, boolean>;
|
|
@@ -159,6 +165,7 @@ export declare type SelectAllResponseDataSchema = {
|
|
|
159
165
|
[SelectDataField.QUOTE]?: QuoteSchema;
|
|
160
166
|
[SelectDataField.REPORT]?: ReportSchema;
|
|
161
167
|
[SelectDataField.REPORT_STATUS]?: ReportStatusSchema;
|
|
168
|
+
[SelectDataField.STAFF]?: GraphqlApiStaffSchema;
|
|
162
169
|
[SelectDataField.SUBSCRIBED_PROGRAM]?: SubscribedProgramSchema;
|
|
163
170
|
[SelectDataField.SUBSCRIPTION]?: SubscriptionSchema;
|
|
164
171
|
[SelectDataField.USER]?: UserSchema;
|
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.184.0-rc-bdj-
|
|
7
|
+
"version": "3.184.0-rc-bdj-6",
|
|
8
8
|
"description": "Node.js client for ArrowSphere's public API",
|
|
9
9
|
"main": "build/index.js",
|
|
10
10
|
"types": "build/index.d.ts",
|