merchi_sdk_js 0.4.8 → 0.4.10

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.4.8",
3
+ "version": "0.4.10",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/model.js CHANGED
@@ -290,6 +290,9 @@ export function getList(resource, success, error, parameters, withUpdates) {
290
290
  if (notEmpty(parameters.tab)) {
291
291
  request.query().add('tab', parameters.tab);
292
292
  }
293
+ if (notEmpty(parameters.trackingNumber)) {
294
+ request.query().add('tracking_number', parameters.trackingNumber);
295
+ }
293
296
  if (notEmpty(parameters.as)) {
294
297
  request.query().add('as', parameters.as);
295
298
  }
@@ -16,7 +16,6 @@ export function SupportConversation() {
16
16
  addPropertyTo(this, 'lastMessageAt');
17
17
  addPropertyTo(this, 'archivedAt');
18
18
  addPropertyTo(this, 'domain', Domain);
19
- addPropertyTo(this, 'guestId');
20
19
  addPropertyTo(this, 'guestContactEmail');
21
20
  addPropertyTo(this, 'guestContactName');
22
21
  addPropertyTo(this, 'clientFingerprint');
package/src/user.js CHANGED
@@ -17,6 +17,7 @@ import { SystemRole } from './system_role.js';
17
17
  import { UserCompany } from './user_company.js';
18
18
  import { Reminder } from './reminder.js';
19
19
  import { InternalTag } from './internal_tag.js';
20
+ import { DomainTag } from './domain_tag.js';
20
21
 
21
22
  export function User() {
22
23
  this.resource = '/users';
@@ -58,6 +59,7 @@ export function User() {
58
59
  addPropertyTo(this, 'aiContext');
59
60
  addPropertyTo(this, 'internalUseNotes');
60
61
  addPropertyTo(this, 'internalUseAiContext');
62
+ addPropertyTo(this, 'tags', DomainTag);
61
63
  addPropertyTo(this, 'internalTags', InternalTag);
62
64
  addPropertyTo(this, 'reminders', Reminder);
63
65