@longvansoftware/storefront-js-client 3.7.0 → 3.7.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.
@@ -431,7 +431,7 @@ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
431
431
  $name: String
432
432
  $description: String
433
433
  $workEffortTypeId: String!
434
- $source: String!
434
+ $group: String
435
435
  $attributes: JSON
436
436
  $addAttachmentRequest: [AddAttachmentRequest]
437
437
  $parentId: String
@@ -442,7 +442,7 @@ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
442
442
  name: $name
443
443
  description: $description
444
444
  workEffortTypeId: $workEffortTypeId
445
- source: $source
445
+ group: $group
446
446
  attributes: $attributes
447
447
  addAttachmentRequest: $addAttachmentRequest
448
448
  parentId: $parentId
@@ -506,6 +506,7 @@ exports.CREATE_WORK_EFFORT = (0, graphql_tag_1.gql) `
506
506
  startDateActual
507
507
  startDateExpect
508
508
  source
509
+ group
509
510
  owner {
510
511
  id
511
512
  fullName
@@ -20,7 +20,7 @@ export declare class CrmService extends Service {
20
20
  getAttachmentByWorkEffortId(workEffortIds: [string]): Promise<any>;
21
21
  getListComment(getCommentRequest: GetCommentRequest): Promise<any>;
22
22
  addComment(params: any): Promise<any>;
23
- createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, source: string, attributes: object, addAttachmentRequest: AddAttachmentRequest, parentId?: string): Promise<any>;
23
+ createWorkEffort(createdBy: string, name: String, decription: string, workEffortTypeId: string, group: string, attributes: object, addAttachmentRequest: AddAttachmentRequest, parentId?: string): Promise<any>;
24
24
  createWorkEffortV2(createdBy: string, name: string, decription: string, workEffortTypeId: string, source: string): Promise<any>;
25
25
  getWorkEfforts(performerId: string, workflowId: string, group: string, pageNumber: number, pageSize: number, sorts: BaseSort, attributes: object, fromDate: any, toDate: any): Promise<any>;
26
26
  getWorkEffortsV3(performerId: string, workflowId: string, group: string, pageNumber: number, pageSize: number, sorts: BaseSort, fromDate: string, toDate: string): Promise<any>;
@@ -327,7 +327,7 @@ class CrmService extends serviceSDK_1.Service {
327
327
  }
328
328
  });
329
329
  }
330
- createWorkEffort(createdBy, name, decription, workEffortTypeId, source, attributes, addAttachmentRequest, parentId) {
330
+ createWorkEffort(createdBy, name, decription, workEffortTypeId, group, attributes, addAttachmentRequest, parentId) {
331
331
  return __awaiter(this, void 0, void 0, function* () {
332
332
  const query = mutations_1.CREATE_WORK_EFFORT;
333
333
  const variables = {
@@ -336,7 +336,7 @@ class CrmService extends serviceSDK_1.Service {
336
336
  name,
337
337
  decription,
338
338
  workEffortTypeId,
339
- source,
339
+ group,
340
340
  attributes,
341
341
  addAttachmentRequest,
342
342
  parentId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [