From 8c90acec6ce0aca074cf9a236c669046ffbd0f70 Mon Sep 17 00:00:00 2001 From: Kevin Leyow Date: Tue, 1 Sep 2020 09:16:17 -0500 Subject: [PATCH] chore: add thirdparty endpoints to database seeds (#779) * 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 --- seeds/endpointType.js | 56 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 54 insertions(+), 2 deletions(-) diff --git a/seeds/endpointType.js b/seeds/endpointType.js index 29ee3dcff..8c3d70a18 100644 --- a/seeds/endpointType.js +++ b/seeds/endpointType.js @@ -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' } ]