From 2f971adf2c1e485832b6bbc810cf5fb2f75c3722 Mon Sep 17 00:00:00 2001 From: sangeet-joy-tw <157606431+sangeet-joy-tw@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:41:16 +0530 Subject: [PATCH 1/8] 579-added the global error class and axios request and response types --- docs/accounting/index.html | 2072 ++--- docs/appstore/index.html | 130 +- docs/assets/index.html | 158 +- docs/bankfeeds/index.html | 144 +- docs/files/index.html | 204 +- docs/finance/index.html | 162 +- docs/payroll-au/index.html | 364 +- docs/payroll-nz/index.html | 582 +- docs/payroll-uk/index.html | 582 +- docs/projects/index.html | 194 +- jest.config.js | 6 +- package-lock.json | 251 +- package.json | 2 +- src/gen/api/accountingApi.ts | 11632 ++++++++++++++++----------- src/gen/api/appStoreApi.ts | 197 +- src/gen/api/assetApi.ts | 282 +- src/gen/api/bankfeedsApi.ts | 336 +- src/gen/api/filesApi.ts | 852 +- src/gen/api/financeApi.ts | 558 +- src/gen/api/payrollAUApi.ts | 1570 ++-- src/gen/api/payrollNZApi.ts | 3350 ++++---- src/gen/api/payrollUKApi.ts | 3432 ++++---- src/gen/api/projectApi.ts | 740 +- src/gen/model/accounting/models.ts | 18 +- src/gen/model/appstore/models.ts | 18 +- src/gen/model/assets/models.ts | 18 +- src/gen/model/bankfeeds/models.ts | 18 +- src/gen/model/files/models.ts | 18 +- src/gen/model/finance/models.ts | 18 +- src/gen/model/payroll-au/models.ts | 18 +- src/gen/model/payroll-nz/models.ts | 18 +- src/gen/model/payroll-uk/models.ts | 18 +- src/gen/model/projects/models.ts | 18 +- src/model/ApiError.ts | 61 + 34 files changed, 15933 insertions(+), 12108 deletions(-) create mode 100644 src/model/ApiError.ts diff --git a/docs/accounting/index.html b/docs/accounting/index.html index 6535f71ec..3c235430a 100644 --- a/docs/accounting/index.html +++ b/docs/accounting/index.html @@ -84,46 +84,46 @@ smartLists: true, smartypants: false }); - + var textFile = null; - + /// Function to be used to download a text json schema function makeTextFile(text) { - + var data = new Blob([text], {type: 'text/plain'}); - + // If we are replacing a previously generated file we need to // manually revoke the object URL to avoid memory leaks. if (textFile !== null) { window.URL.revokeObjectURL(textFile); } - + textFile = window.URL.createObjectURL(data); - + var a = document.createElement("a"); document.body.appendChild(a); a.style = "display: none"; a.href = textFile; a.download = 'schema.txt'; a.click(); - + return textFile; }; - + /// TODO: Implement resizing for expanding within iframe function callResize() { window.parent.postMessage('resize', "*"); } - + function processMarked() { $(".marked").each(function() { $(this).html(marked($(this).html())); }); } - + // Bootstrap Scrollspy $(this).scrollspy({ target: '#scrollingNav', offset: 18 }); - + // Content-Scroll on Navigation click. $('.sidenav').find('a').on('click', function(e) { e.preventDefault(); @@ -132,41 +132,41 @@ $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 400); window.location.hash = $(this).attr('href'); }); - + // Quickjump on Pageload to hash position. if(window.location.hash) { var id = window.location.hash; if ($(id).length > 0) $('html,body').animate({ scrollTop: parseInt($(id).offset().top) }, 0); } - - + + function initDynamic() { // tabs $('.nav-tabs-examples a').click(function (e) { e.preventDefault(); $(this).tab('show'); }); - - + + $('.nav-tabs-examples').find('a:first').tab('show'); - + // call scrollspy refresh method $(window).scrollspy('refresh'); } - + initDynamic(); - + // Pre- / Code-Format prettyPrint(); - + //Convert elements with "marked" class to markdown processMarked(); });