@longvansoftware/storefront-js-client 2.0.9 → 2.1.0

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.
@@ -406,7 +406,7 @@ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
406
406
  $source: String!
407
407
  $attributes: JSON
408
408
  $addAttachmentRequest: [AddAttachmentRequest]
409
- $parentId: String!
409
+ $parentId: String
410
410
  ) {
411
411
  createWorkEffort(
412
412
  partnerId: $partnerId
@@ -593,21 +593,6 @@ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
593
593
  id
594
594
  name
595
595
  }
596
- actionLink {
597
- name
598
- uri
599
- type
600
- partyId
601
- fromCollection
602
- toCollection
603
- group
604
- params
605
- id
606
- createdStamp
607
- updatedStamp
608
- updatedBy
609
- createdBy
610
- }
611
596
  }
612
597
  }
613
598
  `;
@@ -397,21 +397,6 @@ exports.GET_WORK_EFFORTS = (0, graphql_tag_1.gql) `
397
397
  processResult
398
398
  processStatus
399
399
  }
400
- actionLink {
401
- name
402
- uri
403
- type
404
- partyId
405
- fromCollection
406
- toCollection
407
- group
408
- params
409
- id
410
- createdStamp
411
- updatedStamp
412
- updatedBy
413
- createdBy
414
- }
415
400
  }
416
401
  }
417
402
  }
@@ -18,7 +18,7 @@ export declare class CrmService extends Service {
18
18
  getAttachmentByWorkEffortId(workEffortIds: [string]): Promise<any>;
19
19
  getListComment(getCommentRequest: GetCommentRequest): Promise<any>;
20
20
  addComment(params: any): Promise<any>;
21
- createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, source: string, attributes: object, addAttachmentRequest: AddAttachmentRequest, parentId: string): Promise<any>;
21
+ createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, source: string, attributes: object, addAttachmentRequest: AddAttachmentRequest, parentId?: string): Promise<any>;
22
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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [