merchi_sdk_js 0.8.1 → 0.9.1

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.8.1",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
@@ -13,6 +13,8 @@ export function AgentConversation() {
13
13
  addPropertyTo(this, 'conversationId');
14
14
  addPropertyTo(this, 'initialPrompt');
15
15
  addPropertyTo(this, 'creationDate');
16
+ addPropertyTo(this, 'entityType');
17
+ addPropertyTo(this, 'entityId');
16
18
  addPropertyTo(this, 'serviceProvider');
17
19
  addPropertyTo(this, 'user', User);
18
20
  addPropertyTo(this, 'domain', Domain);
package/src/domain.js CHANGED
@@ -74,6 +74,8 @@ export function Domain() {
74
74
  addPropertyTo(this, 'publicAccessRestricted');
75
75
  addPropertyTo(this, 'showDomainToAccessibleEntitiesOnly')
76
76
  addPropertyTo(this, 'enableNotifications');
77
+ addPropertyTo(this, 'assignToAgent');
78
+ addPropertyTo(this, 'merchiAgentUser', User);
77
79
  addPropertyTo(this, 'enableEmailNotifications');
78
80
  addPropertyTo(this, 'enableSmsNotifications');
79
81
  addPropertyTo(this, 'seoDomainPages', SeoDomainPage);
package/src/job.js CHANGED
@@ -110,6 +110,9 @@ export function Job() {
110
110
  addPropertyTo(this, 'canDeduct');
111
111
 
112
112
  addPropertyTo(this, "needsDrafting");
113
+ addPropertyTo(this, "assignToAgent");
114
+ addPropertyTo(this, "agentLastRunAt");
115
+ addPropertyTo(this, "agentNextCheckAt");
113
116
  addPropertyTo(this, "needsGroupBuy");
114
117
  addPropertyTo(this, "needsProduction");
115
118
  addPropertyTo(this, "needsShipping");
package/src/product.js CHANGED
@@ -38,6 +38,7 @@ export function Product() {
38
38
  addPropertyTo(this, 'country');
39
39
  addPropertyTo(this, 'currency');
40
40
  addPropertyTo(this, 'createdBy', User);
41
+ addPropertyTo(this, 'designer', User);
41
42
  addPropertyTo(this, 'updatedBy', User);
42
43
  addPropertyTo(this, 'independent');
43
44
  addPropertyTo(this, 'productType');
package/src/user.js CHANGED
@@ -29,6 +29,7 @@ export function User() {
29
29
  addPropertyTo(this, 'name');
30
30
  addPropertyTo(this, 'userType');
31
31
  addPropertyTo(this, 'registeredAsGuest');
32
+ addPropertyTo(this, 'isMerchiAgent');
32
33
  addPropertyTo(this, 'registeredUnderDomains', Domain);
33
34
  addPropertyTo(this, 'password');
34
35
  addPropertyTo(this, 'resetToken');