@longvansoftware/storefront-js-client 2.8.4 → 2.8.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.
@@ -82,6 +82,7 @@ exports.REQUEST_UNPUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
82
82
  sourceId
83
83
  sourceType
84
84
  previewLink
85
+ lookupLink
85
86
  }
86
87
  }
87
88
  `;
@@ -124,6 +125,7 @@ exports.REQUEST_PUBLISH_VAT_INVOICE = (0, graphql_tag_1.gql) `
124
125
  sourceId
125
126
  sourceType
126
127
  previewLink
128
+ lookupLink
127
129
  }
128
130
  }
129
131
  `;
@@ -80,6 +80,10 @@ exports.GET_INVOICES_OF_ORDER = (0, graphql_tag_1.gql) `
80
80
  originalTotalPrice
81
81
  totalVAT
82
82
  appliedAmount
83
+ attributes {
84
+ name
85
+ value
86
+ }
83
87
  }
84
88
  }
85
89
  `;
@@ -92,6 +96,7 @@ exports.VIEW_PUBLISHED_INVOICE = (0, graphql_tag_1.gql) `
92
96
  sourceId
93
97
  sourceType
94
98
  previewLink
99
+ lookupLink
95
100
  }
96
101
  }
97
102
  `;
@@ -26,7 +26,7 @@ class ZcaService extends serviceSDK_1.Service {
26
26
  }
27
27
  loginQR(sessionId) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- const endpoint = `/login?sessionId=${sessionId}`;
29
+ const endpoint = `/login?sessionId=${sessionId}&orgId=${this.orgId}&storeId=${this.storeId}`;
30
30
  const method = "GET";
31
31
  try {
32
32
  const response = yield this.restApiCallWithNoHeader(endpoint, method);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/storefront-js-client",
3
- "version": "2.8.4",
3
+ "version": "2.8.6",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [