@zennify/sdk-js 1.21.1 → 1.21.3

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.21.1",
3
+ "version": "1.21.3",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -2,12 +2,7 @@ export type Statistic = {
2
2
  count: number,
3
3
  users: number,
4
4
  value: number,
5
- rating: number,
6
- customers: Array<{
7
- id: number,
8
- discord_user_id: string,
9
- value: number
10
- }>
5
+ rating: number
11
6
  }
12
7
 
13
8
  export type Statistics = Record<string, Record<number, Statistic>>
@@ -1,15 +1,6 @@
1
1
  import { DiscordGuild } from "./Guild";
2
2
 
3
3
  export type Addons = 'custom_bot' | 'divulgation' | 'antiraid' | 'managed_automod';
4
- export type Banks = 'Banco Inter S.A.'
5
- | 'Nu Pagamentos S.A.'
6
- | 'Picpay Serviços S.A.'
7
- | 'Mercadopago.com Representações Ltda.'
8
- | 'Caixa Econômica Federal'
9
- | 'PagSeguro Internet S.A.'
10
- | 'Banco do Brasil S.A.'
11
- | 'Banco Bradesco S.A.'
12
- | 'Banco Santander (Brasil) S.A.';
13
4
 
14
5
  export interface PartialStore {
15
6
  id: number,
@@ -29,7 +20,7 @@ export interface FullStore {
29
20
  icon_id: number | null,
30
21
  banner_id: number | null,
31
22
  addons: Addons[],
32
- blocked_banks: Banks[],
23
+ blocked_banks: string[],
33
24
  pending_setup?: boolean | null,
34
25
  discord_channels: Record<
35
26
  string /** guild id */,
@@ -3,11 +3,6 @@ export type Statistic = {
3
3
  users: number;
4
4
  value: number;
5
5
  rating: number;
6
- customers: Array<{
7
- id: number;
8
- discord_user_id: string;
9
- value: number;
10
- }>;
11
6
  };
12
7
  export type Statistics = Record<string, Record<number, Statistic>>;
13
8
  export type StatisticsResponse = {
@@ -1,6 +1,5 @@
1
1
  import { DiscordGuild } from "./Guild";
2
2
  export type Addons = 'custom_bot' | 'divulgation' | 'antiraid' | 'managed_automod';
3
- export type Banks = 'Banco Inter S.A.' | 'Nu Pagamentos S.A.' | 'Picpay Serviços S.A.' | 'Mercadopago.com Representações Ltda.' | 'Caixa Econômica Federal' | 'PagSeguro Internet S.A.' | 'Banco do Brasil S.A.' | 'Banco Bradesco S.A.' | 'Banco Santander (Brasil) S.A.';
4
3
  export interface PartialStore {
5
4
  id: number;
6
5
  name: string;
@@ -18,7 +17,7 @@ export interface FullStore {
18
17
  icon_id: number | null;
19
18
  banner_id: number | null;
20
19
  addons: Addons[];
21
- blocked_banks: Banks[];
20
+ blocked_banks: string[];
22
21
  pending_setup?: boolean | null;
23
22
  discord_channels: Record<string /** guild id */, Record<'sale' | 'voice' | 'feedback' | 'carts', string | null | void /** channel id */>>;
24
23
  discord_bot: {