@zennify/sdk-js 1.37.6 → 1.37.7

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": "@zennify/sdk-js",
3
- "version": "1.37.6",
3
+ "version": "1.37.7",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -13,10 +13,13 @@ export interface PartialStore {
13
13
  }
14
14
 
15
15
  export type StoreModeratorPermissions =
16
- | 'MANAGE_DISCORD_CART'
17
- | 'MANAGE_DISCORD_PANELS'
18
- | 'MANAGE_PRODUCTS'
19
- | 'MANAGE_COUPONS';
16
+ | 'MANAGE_DISCORD_PANELS' // Gerenciar painéis do Discord
17
+ | 'MANAGE_PRODUCTS' // Gerenciar produtos
18
+ | 'MANAGE_COUPONS' // Gerenciar cupons
19
+ | 'MANAGE_STORE' // Gerenciar a loja (Editar bot, nome, imagem, bancos bloqueados) e comandos /customize, /mod, /autorole, /temprole
20
+ | 'MANAGE_SALES' // Gerenciar vendas (Aprovar, cancelar e reembolsar)
21
+ | 'VIEW_STATISTICS' // Ver estatísticas (Acessar a home da dashboard, usar o comando /ranking e ver estatisticas de produtos)
22
+
20
23
 
21
24
  export type StoreModerator = {
22
25
  username: string,
@@ -9,7 +9,7 @@ export interface PartialStore {
9
9
  pending_setup?: boolean | null;
10
10
  is_owner: boolean;
11
11
  }
12
- export type StoreModeratorPermissions = 'MANAGE_DISCORD_CART' | 'MANAGE_DISCORD_PANELS' | 'MANAGE_PRODUCTS' | 'MANAGE_COUPONS';
12
+ export type StoreModeratorPermissions = 'MANAGE_DISCORD_PANELS' | 'MANAGE_PRODUCTS' | 'MANAGE_COUPONS' | 'MANAGE_STORE' | 'MANAGE_SALES' | 'VIEW_STATISTICS';
13
13
  export type StoreModerator = {
14
14
  username: string;
15
15
  discord_user_id: string | null;