@longvansoftware/storefront-js-client 1.8.1 → 1.8.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.
|
@@ -293,6 +293,7 @@ exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
|
|
|
293
293
|
$pageNumber: Int!
|
|
294
294
|
$pageSize: Int!
|
|
295
295
|
$sorts: [BaseSort]
|
|
296
|
+
$attributes: JSON
|
|
296
297
|
) {
|
|
297
298
|
getWorkEfforts(
|
|
298
299
|
partnerId: $partnerId
|
|
@@ -302,6 +303,7 @@ exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
|
|
|
302
303
|
pageNumber: $pageNumber
|
|
303
304
|
pageSize: $pageSize
|
|
304
305
|
sorts: $sorts
|
|
306
|
+
attributes: $attributes
|
|
305
307
|
) {
|
|
306
308
|
total
|
|
307
309
|
data {
|
|
@@ -19,7 +19,7 @@ export declare class CrmService extends Service {
|
|
|
19
19
|
getListComment(getCommentRequest: GetCommentRequest): Promise<any>;
|
|
20
20
|
addComment(params: any): Promise<any>;
|
|
21
21
|
createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, source: string, attributes: object, addAttachmentRequest: AddAttachmentRequest): Promise<any>;
|
|
22
|
-
getWorkEfforts(performerId: string, workEffortTypeId: string, source: string, pageNumber: number, pageSize: number, sorts: BaseSort): Promise<any>;
|
|
22
|
+
getWorkEfforts(performerId: string, workEffortTypeId: string, source: string, pageNumber: number, pageSize: number, sorts: BaseSort, attributes: object): Promise<any>;
|
|
23
23
|
getWorkEffortById(id: string): Promise<any>;
|
|
24
24
|
updateWorkEffortProcessStatus(workEffortId: string, processStatus: string, performerId: string): Promise<any>;
|
|
25
25
|
}
|
|
@@ -314,7 +314,7 @@ class CrmService extends serviceSDK_1.Service {
|
|
|
314
314
|
}
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
-
getWorkEfforts(performerId, workEffortTypeId, source, pageNumber, pageSize, sorts) {
|
|
317
|
+
getWorkEfforts(performerId, workEffortTypeId, source, pageNumber, pageSize, sorts, attributes) {
|
|
318
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
319
|
const query = queries_1.GET_WORK_EFFORTS;
|
|
320
320
|
const variables = {
|
|
@@ -325,6 +325,7 @@ class CrmService extends serviceSDK_1.Service {
|
|
|
325
325
|
pageNumber,
|
|
326
326
|
pageSize,
|
|
327
327
|
sorts,
|
|
328
|
+
attributes
|
|
328
329
|
};
|
|
329
330
|
try {
|
|
330
331
|
const response = yield this.graphqlQueryV2(query, variables);
|