@merchi/sdk 1.42.8 → 1.42.9

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.
@@ -98,4 +98,5 @@ export var NotificationType;
98
98
  NotificationType[NotificationType["REFERRER_ASSIGNED"] = 105] = "REFERRER_ASSIGNED";
99
99
  NotificationType[NotificationType["REFERRER_JOB_PAID"] = 106] = "REFERRER_JOB_PAID";
100
100
  NotificationType[NotificationType["REFERRER_JOB_RECEIVED"] = 107] = "REFERRER_JOB_RECEIVED";
101
+ NotificationType[NotificationType["FULFILLMENT_PARTNER_INVITED"] = 108] = "FULFILLMENT_PARTNER_INVITED";
101
102
  })(NotificationType || (NotificationType = {}));
@@ -35,6 +35,7 @@ export var Role;
35
35
  Role[Role["ACCOUNTANT"] = 7] = "ACCOUNTANT";
36
36
  Role[Role["THEME_EDITOR"] = 8] = "THEME_EDITOR";
37
37
  Role[Role["REFERRER"] = 9] = "REFERRER";
38
+ Role[Role["FULFILLMENT"] = 10] = "FULFILLMENT";
38
39
  })(Role || (Role = {}));
39
40
  export var DOMAIN_MANAGERS = [Role.ADMIN, Role.MANAGER];
40
41
  export var MANAGEMENT_TEAM = __spreadArray(__spreadArray([], __read(DOMAIN_MANAGERS), false), [
@@ -44,6 +45,7 @@ export var MANAGEMENT_TEAM = __spreadArray(__spreadArray([], __read(DOMAIN_MANAG
44
45
  ], false);
45
46
  export var BUSINESS_ACCOUNTS = __spreadArray(__spreadArray([], __read(MANAGEMENT_TEAM), false), [
46
47
  Role.SUPPLIER,
48
+ Role.FULFILLMENT,
47
49
  Role.THEME_EDITOR,
48
50
  Role.REFERRER,
49
51
  ], false);
@@ -58,6 +60,7 @@ export var ROLES_RANK = [
58
60
  Role.SALES,
59
61
  Role.DESIGNER,
60
62
  Role.SUPPLIER,
63
+ Role.FULFILLMENT,
61
64
  Role.MANAGER,
62
65
  Role.ADMIN,
63
66
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merchi/sdk",
3
- "version": "1.42.8",
3
+ "version": "1.42.9",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "repository": {
@@ -97,4 +97,5 @@ export enum NotificationType {
97
97
  REFERRER_ASSIGNED = 105,
98
98
  REFERRER_JOB_PAID = 106,
99
99
  REFERRER_JOB_RECEIVED = 107,
100
+ FULFILLMENT_PARTNER_INVITED = 108,
100
101
  }
@@ -9,6 +9,7 @@ export enum Role {
9
9
  ACCOUNTANT = 7,
10
10
  THEME_EDITOR = 8,
11
11
  REFERRER = 9,
12
+ FULFILLMENT = 10,
12
13
  }
13
14
 
14
15
  export const DOMAIN_MANAGERS = [Role.ADMIN, Role.MANAGER];
@@ -23,6 +24,7 @@ export const MANAGEMENT_TEAM = [
23
24
  export const BUSINESS_ACCOUNTS = [
24
25
  ...MANAGEMENT_TEAM,
25
26
  Role.SUPPLIER,
27
+ Role.FULFILLMENT,
26
28
  Role.THEME_EDITOR,
27
29
  Role.REFERRER,
28
30
  ];
@@ -39,6 +41,7 @@ export const ROLES_RANK = [
39
41
  Role.SALES,
40
42
  Role.DESIGNER,
41
43
  Role.SUPPLIER,
44
+ Role.FULFILLMENT,
42
45
  Role.MANAGER,
43
46
  Role.ADMIN,
44
47
  ];