@rivascva/dt-idl 1.1.124 → 1.1.125

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/dist/index.d.ts CHANGED
@@ -1247,7 +1247,7 @@ interface components$1 {
1247
1247
  message: string;
1248
1248
  };
1249
1249
  /** @enum {string} */
1250
- ErrorCode: "ERROR";
1250
+ ErrorCode: "ERROR" | "EMAIL_ALREADY_EXISTS";
1251
1251
  };
1252
1252
  responses: {
1253
1253
  /** @description Login success */
@@ -1310,6 +1310,15 @@ interface components$1 {
1310
1310
  "application/json": components$1["schemas"]["Error"];
1311
1311
  };
1312
1312
  };
1313
+ /** @description There was a conflict with the state of the target source */
1314
+ Conflict: {
1315
+ headers: {
1316
+ [name: string]: unknown;
1317
+ };
1318
+ content: {
1319
+ "application/json": components$1["schemas"]["Error"];
1320
+ };
1321
+ };
1313
1322
  /** @description Invalid request payload */
1314
1323
  BadRequest: {
1315
1324
  headers: {
@@ -1370,6 +1379,7 @@ interface operations$1 {
1370
1379
  responses: {
1371
1380
  200: components$1["responses"]["LoginSuccess"];
1372
1381
  400: components$1["responses"]["BadRequest"];
1382
+ 409: components$1["responses"]["Conflict"];
1373
1383
  500: components$1["responses"]["InternalServerError"];
1374
1384
  };
1375
1385
  };
@@ -1685,7 +1695,7 @@ declare const isTradeServiceError: (error: unknown) => error is {
1685
1695
  };
1686
1696
  declare const isUserServiceError: (error: unknown) => error is {
1687
1697
  status: number;
1688
- code: "ERROR";
1698
+ code: "ERROR" | "EMAIL_ALREADY_EXISTS";
1689
1699
  message: string;
1690
1700
  };
1691
1701
  declare const isAssetServiceError: (error: unknown) => error is {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rivascva/dt-idl",
3
- "version": "1.1.124",
3
+ "version": "1.1.125",
4
4
  "description": "Dream Trade - Interface Definition Language",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
@@ -47,6 +47,8 @@ paths:
47
47
  $ref: '#/components/responses/LoginSuccess'
48
48
  400:
49
49
  $ref: '#/components/responses/BadRequest'
50
+ 409:
51
+ $ref: '#/components/responses/Conflict'
50
52
  500:
51
53
  $ref: '#/components/responses/InternalServerError'
52
54
 
@@ -309,6 +311,7 @@ components:
309
311
  type: string
310
312
  enum:
311
313
  - ERROR
314
+ - EMAIL_ALREADY_EXISTS
312
315
 
313
316
  responses:
314
317
  LoginSuccess:
@@ -363,6 +366,13 @@ components:
363
366
  schema:
364
367
  $ref: '#/components/schemas/Error'
365
368
 
369
+ Conflict:
370
+ description: There was a conflict with the state of the target source
371
+ content:
372
+ application/json:
373
+ schema:
374
+ $ref: '#/components/schemas/Error'
375
+
366
376
  BadRequest:
367
377
  description: Invalid request payload
368
378
  content:
@@ -173,7 +173,7 @@ export interface components {
173
173
  message: string;
174
174
  };
175
175
  /** @enum {string} */
176
- ErrorCode: "ERROR";
176
+ ErrorCode: "ERROR" | "EMAIL_ALREADY_EXISTS";
177
177
  };
178
178
  responses: {
179
179
  /** @description Login success */
@@ -236,6 +236,15 @@ export interface components {
236
236
  "application/json": components["schemas"]["Error"];
237
237
  };
238
238
  };
239
+ /** @description There was a conflict with the state of the target source */
240
+ Conflict: {
241
+ headers: {
242
+ [name: string]: unknown;
243
+ };
244
+ content: {
245
+ "application/json": components["schemas"]["Error"];
246
+ };
247
+ };
239
248
  /** @description Invalid request payload */
240
249
  BadRequest: {
241
250
  headers: {
@@ -297,6 +306,7 @@ export interface operations {
297
306
  responses: {
298
307
  200: components["responses"]["LoginSuccess"];
299
308
  400: components["responses"]["BadRequest"];
309
+ 409: components["responses"]["Conflict"];
300
310
  500: components["responses"]["InternalServerError"];
301
311
  };
302
312
  };