js-responses.js 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. 'use strict';
  2. const createdPartyRegistrationMin = {
  3. _type: 'oadrCreatedPartyRegistration',
  4. responseCode: '200',
  5. responseRequestId: '4323',
  6. vtnId: 'VTN_ID1',
  7. };
  8. const createdPartyRegistrationMax = {
  9. _type: 'oadrCreatedPartyRegistration',
  10. responseCode: '200',
  11. responseDescription: 'OK',
  12. responseRequestId: '4323',
  13. registrationId: '3bd3c02dc6965c8b9240',
  14. venId: '3f59d85fbdf3997dbeb1',
  15. vtnId: 'VTN_ID1',
  16. pollFreqDuration: 'PT10S',
  17. };
  18. const canceledPartyRegistrationMin = {
  19. _type: 'oadrCanceledPartyRegistration',
  20. responseCode: '200',
  21. responseRequestId: '334455',
  22. };
  23. const canceledPartyRegistrationMax = {
  24. _type: 'oadrCanceledPartyRegistration',
  25. responseCode: '200',
  26. responseDescription: 'OK',
  27. responseRequestId: '334455',
  28. registrationId: '3bd3c02dc6965c8b9240',
  29. venId: '3f59d85fbdf3997dbeb1',
  30. };
  31. module.exports = {
  32. canceledPartyRegistrationMin,
  33. canceledPartyRegistrationMax,
  34. createdPartyRegistrationMin,
  35. createdPartyRegistrationMax,
  36. };