@zennify/sdk-js 1.21.0 → 1.21.2

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.0",
3
+ "version": "1.21.2",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -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 */,
@@ -132,7 +132,7 @@
132
132
  "message": ""
133
133
  },
134
134
  "THE_PIX_KEY_INSERTED_ISNT_VALID": {
135
- "name": "A chave pix inserida não é válida, configure uma chave válida.",
135
+ "name": "A chave pix inserida não é válida.",
136
136
  "message": "Aceitamos CPF, email, telefone e chave aletória."
137
137
  },
138
138
  "INSERT_A_VALID_URL": {
@@ -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: {