Skip to content

Commit

Permalink
chore: add thirdparty endpoints to database seeds (mojaloop#779)
Browse files Browse the repository at this point in the history
* chore: add thirdparty endpoints to database seeds

* chore: update dependencies for vulnerabilities

* refactor: change name length to accomodate new endpoints

* chore: sync package-lock

* chore: remove migrations and shorten endpoint names

* chore: fix find and replace error

* chore: fix spelling
  • Loading branch information
kleyow committed Dec 21, 2020
1 parent 0ba6f15 commit 8c90ace
Showing 1 changed file with 54 additions and 2 deletions.
56 changes: 54 additions & 2 deletions seeds/endpointType.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,60 @@ const endpointTypes = [
description: 'Bulk Quotes callback URL to which put bulkQuotes requests can be sent'
},
{
name: 'THIRDPARTY_CALLBACK_URL_TRX_REQ_POST',
description: 'Participant callback URL where POST thirdpartyRequests/transactions can be sent'
name: 'TP_CB_URL_TRANSACTION_REQUEST_POST',
description: 'Participant callback URL where POST /thirdpartyRequests/transactions can be sent'
},
{
name: 'TP_CB_URL_TRANSACTION_REQUEST_PUT',
description: 'Participant callback URL where PUT /thirdpartyRequests/transactions/{ID} can be sent'
},
{
name: 'TP_CB_URL_TRANSACTION_REQUEST_PUT_ERROR',
description: 'Participant callback URL to which PUT /thirdpartyRequests/transactions/{ID}/error can be sent error information can be sent'
},
{
name: 'TP_CB_URL_TRANSACTION_REQUEST_AUTH_POST',
description: 'Participant callback URL where POST /thirdpartyRequests/transactions/{ID}/authorizations can be sent'
},
{
name: 'TP_CB_URL_TRANSACTION_REQUEST_AUTH_PUT',
description: 'Participant callback URL where PUT /thirdpartyRequests/transactions/{ID}/authorizations can be sent'
},
{
name: 'TP_CB_URL_TRANSACTION_REQUEST_AUTH_PUT_ERROR',
description: 'Participant callback URL where PUT /thirdpartyRequests/transactions/{ID}/authorizations/error error information can be sent'
},
{
name: 'TP_CB_URL_CONSENT_REQUEST_POST',
description: 'Participant callback URL where POST /consentRequests can be sent'
},
{
name: 'TP_CB_URL_CONSENT_REQUEST_PUT',
description: 'Participant callback URL where PUT /consentRequests/{ID} can be sent'
},
{
name: 'TP_CB_URL_CONSENT_REQUEST_PUT_ERROR',
description: 'Participant callback URL where PUT /consentRequests/{ID}/error can be sent error information can be sent'
},
{
name: 'TP_CB_URL_CREATE_CREDENTIAL_POST',
description: 'Participant callback URL where POST /consentRequests/{ID}/createCredential can be sent'
},
{
name: 'TP_CB_URL_CONSENT_POST',
description: 'Participant callback URL where POST /consents/ can be sent'
},
{
name: 'TP_CB_URL_CONSENT_GET',
description: 'Participant callback URL where GET /consent/{ID} can be sent'
},
{
name: 'TP_CB_URL_CONSENT_PUT',
description: 'Participant callback URL where PUT /consent/{ID} can be sent'
},
{
name: 'TP_CB_URL_CONSENT_PUT_ERROR',
description: 'Participant callback URL where PUT consent/{ID}/error can be sent error information can be sent'
}
]

Expand Down

0 comments on commit 8c90ace

Please sign in to comment.