From 57215cd3e91d6e1033ea0c95f65dc115e36fabaa Mon Sep 17 00:00:00 2001 From: Noah Simcoe Date: Tue, 10 Nov 2026 08:54:29 -0600 Subject: [PATCH] FDG-12073 adding tips/cpi table to prod --- env/uat.js | 61 --------------------------------- src/transform/endpointConfig.js | 61 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 61 deletions(-) diff --git a/env/uat.js b/env/uat.js index 0a1d14b05..f69a08dcc 100644 --- a/env/uat.js +++ b/env/uat.js @@ -113,66 +113,5 @@ module.exports = { // 'Pivot Value' in UI, 'Pivot Value (Field)' on form valueFieldOptions: ['position_bil_amt'], }, - // TIPS and CPI V2 - 331: { - endpoint: 'v1/accounting/od/tips_cpi_data_summary_v2', - downloadName: 'TIPSandCPIdata_Summary_v2', - dateField: 'original_issue_date', - alwaysSortWith: ['-comp_auction_close_date'], - detailApi: { - apiId: 332, - field: 'cusip', - label: 'CUSIP', - dateRangeLockCopy: 'To filter data by date range, select a CUSIP from the table below.', - summaryTableFields: [ - 'cusip', - 'series', - 'interest_rate', - 'security_term', - 'original_issue_date', - 'maturity_date', - 'dated_date', - 'ref_cpi_on_dated_date', - 'additional_issue_date', - ], - selectColumns: ['index_date', 'ref_cpi', 'index_ratio', 'pdf_link', 'xml_link'], - }, - selectColumns: [], - customFormatting: [ - { - type: 'NUMBER', - fields: ['index_ratio', 'ref_cpi', 'ref_cpi_on_dated_date'], - decimalPlaces: 6, - }, - { - type: 'STRING', - fields: ['additional_issue_date'], - breakChar: ',', - customType: 'dateList', - }, - ], - }, - 332: { - endpoint: 'v1/accounting/od/tips_cpi_data_detail_v2', - downloadName: 'TIPSandCPIdata_Details_v2', - dateField: 'index_date', - alwaysSortWith: ['-index_date'], - hideColumns: ['cusip', 'original_issue_date'], - isDetailApi: true, - customFormatting: [ - { - type: 'NUMBER', - fields: ['index_ratio', 'ref_cpi', 'ref_cpi_on_dated_date'], - decimalPlaces: 6, - }, - { - type: 'STRING', - fields: ['additional_issue_date'], - breakChar: ',', - customType: 'dateList', - }, - ], - selectColumns: ['index_date', 'ref_cpi', 'index_ratio', 'pdf_link', 'xml_link'], - }, }, }; diff --git a/src/transform/endpointConfig.js b/src/transform/endpointConfig.js index 73c01accf..132fbe01b 100644 --- a/src/transform/endpointConfig.js +++ b/src/transform/endpointConfig.js @@ -3071,6 +3071,67 @@ const endpointConfig = { 'record_calendar_day', ], }, + // TIPS and CPI V2 + 331: { + endpoint: 'v1/accounting/od/tips_cpi_data_summary_v2', + downloadName: 'TIPSandCPIdata_Summary_v2', + dateField: 'original_issue_date', + alwaysSortWith: ['-comp_auction_close_date'], + detailApi: { + apiId: 332, + field: 'cusip', + label: 'CUSIP', + dateRangeLockCopy: 'To filter data by date range, select a CUSIP from the table below.', + summaryTableFields: [ + 'cusip', + 'series', + 'interest_rate', + 'security_term', + 'original_issue_date', + 'maturity_date', + 'dated_date', + 'ref_cpi_on_dated_date', + 'additional_issue_date', + ], + selectColumns: ['index_date', 'ref_cpi', 'index_ratio', 'pdf_link', 'xml_link'], + }, + selectColumns: [], + customFormatting: [ + { + type: 'NUMBER', + fields: ['index_ratio', 'ref_cpi', 'ref_cpi_on_dated_date'], + decimalPlaces: 6, + }, + { + type: 'STRING', + fields: ['additional_issue_date'], + breakChar: ',', + customType: 'dateList', + }, + ], + }, + 332: { + endpoint: 'v1/accounting/od/tips_cpi_data_detail_v2', + downloadName: 'TIPSandCPIdata_Details_v2', + dateField: 'index_date', + alwaysSortWith: ['-index_date'], + hideColumns: ['cusip', 'original_issue_date'], + isDetailApi: true, + customFormatting: [ + { + type: 'NUMBER', + fields: ['index_ratio', 'ref_cpi', 'ref_cpi_on_dated_date'], + decimalPlaces: 6, + }, + { + type: 'STRING', + fields: ['additional_issue_date'], + breakChar: ',', + customType: 'dateList', + }, + ], + selectColumns: ['index_date', 'ref_cpi', 'index_ratio', 'pdf_link', 'xml_link'], + }, //FRN Daily Indexes V2 334: { endpoint: 'v1/accounting/od/frn_daily_indexes_v2',