merchi_sdk_js 0.31.0 → 0.31.2
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/package.json +1 -1
- package/src/notification_types.js +3 -1
- package/src/quote.js +2 -0
- package/src/roles.js +1 -0
package/package.json
CHANGED
|
@@ -18,7 +18,8 @@ export const showDomainAvatarArray =
|
|
|
18
18
|
'MANAGER_SUMMARY', 'PASSWORD_RESET', 'MANAGER_REASSIGNED',
|
|
19
19
|
'EMAIL_RESPONSE', 'SHIPMENT_EXPECTED_DATE_PAST',
|
|
20
20
|
'DOMAIN_INVITATION', 'MOD_SELLER_SUMMARY', 'MOD_SUPPLIER_SUMMARY',
|
|
21
|
-
'REFERRER_ASSIGNED', 'REFERRER_JOB_RECEIVED'
|
|
21
|
+
'REFERRER_ASSIGNED', 'REFERRER_JOB_RECEIVED',
|
|
22
|
+
'FULFILLMENT_PARTNER_INVITED'];
|
|
22
23
|
|
|
23
24
|
export const showUserOrDomainAvatarArray =
|
|
24
25
|
['JOB_PAID', 'INVOICE_PAID', 'PAYMENT_ACCEPTED',
|
|
@@ -112,6 +113,7 @@ notificationTypes.add("MOD_SUPPLIER_SUMMARY", 73);
|
|
|
112
113
|
notificationTypes.add("REFERRER_ASSIGNED", 105);
|
|
113
114
|
notificationTypes.add("REFERRER_JOB_PAID", 106);
|
|
114
115
|
notificationTypes.add("REFERRER_JOB_RECEIVED", 107);
|
|
116
|
+
notificationTypes.add("FULFILLMENT_PARTNER_INVITED", 108);
|
|
115
117
|
|
|
116
118
|
export const notificationTypesKeys = new Dictionary();
|
|
117
119
|
|
package/src/quote.js
CHANGED
|
@@ -4,6 +4,7 @@ import { addPropertyTo, fromJson, getOne, fromJsonList,
|
|
|
4
4
|
import { QuoteItem } from './quote_item.js';
|
|
5
5
|
import { Assignment } from './assignment.js';
|
|
6
6
|
import { Invoice } from './invoice.js';
|
|
7
|
+
import { MerchiFile } from './merchi_file.js';
|
|
7
8
|
|
|
8
9
|
export function Quote() {
|
|
9
10
|
this.resource = '/quotes';
|
|
@@ -13,6 +14,7 @@ export function Quote() {
|
|
|
13
14
|
addPropertyTo(this, 'id');
|
|
14
15
|
addPropertyTo(this, 'agreedDeadline');
|
|
15
16
|
addPropertyTo(this, 'quoteItems', QuoteItem);
|
|
17
|
+
addPropertyTo(this, 'files', MerchiFile);
|
|
16
18
|
addPropertyTo(this, 'assignments', Assignment);
|
|
17
19
|
addPropertyTo(this, 'currency');
|
|
18
20
|
addPropertyTo(this, 'invoice', Invoice);
|
package/src/roles.js
CHANGED