@lancom/shared 0.0.200 → 0.0.201
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.
- package/assets/js/api/index.js +3 -0
- package/package.json +1 -1
package/assets/js/api/index.js
CHANGED
|
@@ -124,6 +124,9 @@ const api = {
|
|
|
124
124
|
saveQuoteRequest(quote, shop) {
|
|
125
125
|
return quote._id ? _put(`shop/${shop}/quotes/${quote._id}`, quote) : _post(`shop/${shop}/quotes`, quote);
|
|
126
126
|
},
|
|
127
|
+
generateQuotePDF(id, option) {
|
|
128
|
+
return _get(`quotes/${id}/option/${option}/pdf`);
|
|
129
|
+
},
|
|
127
130
|
addQuoteQuestion(quote, shop, data) {
|
|
128
131
|
return _post(`shop/${shop}/quotes/${quote._id}/questions`, data);
|
|
129
132
|
},
|