@longvansoftware/storefront-js-client 1.7.2 → 1.7.3

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.
@@ -289,7 +289,7 @@ exports.ADD_ATTACHMENT_FOR_WORK_EFFORT = (0, graphql_tag_1.gql) `
289
289
  $partyId: String!
290
290
  $performerId: String!
291
291
  $workEffortId: String!
292
- $addAttachmentRequest: [AddAttachmentRequestFull]
292
+ $addAttachmentRequest: [AddAttachmentRequest]
293
293
  ) {
294
294
  addAttachmentForWorkEffort(
295
295
  partyId: $partyId
@@ -1,4 +1,4 @@
1
- import { AddAttachmentRequest, AddOpportunityRequest, AddTicketRequest, GetCommentRequest, GetOpportunityRequest, getTicketRequest, BaseSort, AddAttachmentRequestFull } from "../../types/crm";
1
+ import { AddAttachmentRequest, AddOpportunityRequest, AddTicketRequest, GetCommentRequest, GetOpportunityRequest, getTicketRequest, BaseSort } from "../../types/crm";
2
2
  import { Service } from "../serviceSDK";
3
3
  export declare class CrmService extends Service {
4
4
  constructor(endpoint: string, orgId: string, storeId: string);
@@ -11,7 +11,7 @@ export declare class CrmService extends Service {
11
11
  updateWorkEffortDescription(performerId: string, workEffortId: string, description: string): Promise<any>;
12
12
  updateWorkEffortName(performerId: string, workEffortId: string, name: string): Promise<any>;
13
13
  updateWorkEffortStatus(performerId: string, workEffortId: string, source: string, status: string): Promise<any>;
14
- addAttachmentForWorkEffort(performerId: string, workEffortId: string, addAttachmentRequest: AddAttachmentRequestFull): Promise<any>;
14
+ addAttachmentForWorkEffort(performerId: string, workEffortId: string, addAttachmentRequest: AddAttachmentRequest): Promise<any>;
15
15
  getListTicket(performerId: string, getTicketRequest: getTicketRequest): Promise<any>;
16
16
  addTicket(performerId: string, addTicketRequest: AddTicketRequest, addAttachmentRequest: [AddAttachmentRequest]): Promise<any>;
17
17
  getTicketById(ticketId: string): Promise<any>;
@@ -169,7 +169,7 @@ class OrderService extends serviceSDK_1.Service {
169
169
  const method = "PUT";
170
170
  const requestData = {
171
171
  customerId: customerId,
172
- shipping_address: shippingAddress,
172
+ shippingAddressId: shippingAddress,
173
173
  };
174
174
  try {
175
175
  const response = yield this.restApiCallWithToken(endpoint, method, requestData);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [