@zennify/sdk-js 1.0.0-beta.33 → 1.0.0-beta.34

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.0.0-beta.33",
3
+ "version": "1.0.0-beta.34",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
package/src/errors.ts CHANGED
@@ -148,6 +148,7 @@ export interface APIErrors {
148
148
  'YOU_REACHED_PANEL_LIMIT': {};
149
149
  'PANEL_NAME_ALREADY_EXIST': {};
150
150
  'YOU_REACHED_THE_PRODUCT_LIMIT_ON_PANEL': {};
151
+ 'STORE_ALREADY_CONFIGURED': {};
151
152
  }
152
153
 
153
154
  type ExpectedAdditionalData = {
@@ -47,6 +47,10 @@
47
47
  "name": "Expected a valid ID",
48
48
  "message": "IDs must be integers between 0 and 2.147.483.647"
49
49
  },
50
+ "STORE_ALREADY_CONFIGURED": {
51
+ "name": "This store is already configured",
52
+ "message": "Go back to dashboard and access the store again"
53
+ },
50
54
  "DUPLICATED_VALUES_ISNT_ALLOWED": {
51
55
  "name": "Duplicated values aren't allowed",
52
56
  "message": "Received \"{received}\", Check \"{field}\" field"
@@ -215,6 +215,10 @@
215
215
  "name": "O cupom inserido está expirado",
216
216
  "message": "Tente usar outro cupom."
217
217
  },
218
+ "STORE_ALREADY_CONFIGURED": {
219
+ "name": "Essa loja já foi configurada",
220
+ "message": "Volte para a dashboard e acesse a loja normalmente"
221
+ },
218
222
  "THIS_COUPON_REACHED_THE_USE_LIMIT": {
219
223
  "name": "O cupom atingiu o limite de usos",
220
224
  "message": "Tente usar um cupom diferente."
package/types/errors.d.ts CHANGED
@@ -129,6 +129,7 @@ export interface APIErrors {
129
129
  'YOU_REACHED_PANEL_LIMIT': {};
130
130
  'PANEL_NAME_ALREADY_EXIST': {};
131
131
  'YOU_REACHED_THE_PRODUCT_LIMIT_ON_PANEL': {};
132
+ 'STORE_ALREADY_CONFIGURED': {};
132
133
  }
133
134
  type ExpectedAdditionalData = {
134
135
  field: string;