wapi-client 0.9.4 → 0.9.5

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.
@@ -382,6 +382,11 @@ var ERROR_GROUPS = {
382
382
  message: "TR_WITHDRAWAL_CANT_RV_WITHOUT_FLAG",
383
383
  description: `Withdrawals are expected connection points with outside systems, thus extra validation is required. Reversing a Transfer.type = 'withdrawal' requires reverse_withdrawal option to be true.`
384
384
  },
385
+ TR_UNIQUE_IDENTIFIER: {
386
+ code: -19115,
387
+ message: "TR_UNIQUE_IDENTIFIER",
388
+ description: `The identifier for Transfer object must be unique`
389
+ },
385
390
  TRG_SINGLE_PENDING_TR_CANT_RV: {
386
391
  code: -19200,
387
392
  message: "TRG_SINGLE_PENDING_TR_CANT_RV",
@@ -401,6 +406,26 @@ var ERROR_GROUPS = {
401
406
  code: -19203,
402
407
  message: "TRG_WITHDRAWAL_CANT_RV_WITHOUT_FLAG",
403
408
  description: `TransferGroup includes Transfer.type = 'withdrawal', thus for extra validation the reverse_withdrawal option must be set true`
409
+ },
410
+ TRG_UNIQUE_IDENTIFIER: {
411
+ code: -19204,
412
+ message: "TRG_UNIQUE_IDENTIFIER",
413
+ description: `The identifier for TransferGroup object must be unique`
414
+ },
415
+ TOKEN_UNIQUE_FOREIGN: {
416
+ code: -19300,
417
+ message: "TOKEN_UNIQUE_FOREIGN",
418
+ description: `The foreign for Token object must be unique`
419
+ },
420
+ WALLET_UNIQUE_FOREIGN: {
421
+ code: -19400,
422
+ message: "WALLET_UNIQUE_FOREIGN",
423
+ description: `The foreign for Wallet object must be unique`
424
+ },
425
+ UNIQUE_CONSTRAINT: {
426
+ code: -19500,
427
+ message: "UNIQUE_CONSTRAINT",
428
+ description: `Insert violates unique constraint`
404
429
  }
405
430
  }
406
431
  },