From af119e550b1178b2f99dc8fd2003c8e252176906 Mon Sep 17 00:00:00 2001 From: areddy-bw <130982430+areddy-bw@users.noreply.github.com> Date: Fri, 19 May 2023 13:01:34 +0530 Subject: [PATCH 01/21] Modified the Api Docs --- site/docs/numbers/errors.mdx | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/site/docs/numbers/errors.mdx b/site/docs/numbers/errors.mdx index bc271fa70..17a7250c5 100644 --- a/site/docs/numbers/errors.mdx +++ b/site/docs/numbers/errors.mdx @@ -569,14 +569,24 @@ image: '@site/static/img/bw-icon.svg' | 7532 | The TargetRespOrgId is mandatory for toll free port-ins. | | 7533 | A toll free port-in cannot be submitted without a TargetRespOrgId. | | 7534 | The TargetRespOrgId cannot be changed for a port-in that has reached the Submitted state. | +| 7535 | The TargetRespOrgId may only be included for a bulk port-in that is still in a draft state. | | 7598 | Invalid Request | | 7599 | Fatal Error in Processing | | 7600 | External telephone number(s) cannot be used: %s | | 7601 | Immediate is not allowed outside the business hours. | | 7602 | Requested FOC date must be between %s and %s | | 7603 | The requested time %s is outside business hours. FOC time must be within processing hours of %s and %s Eastern Time | +| 7604 | Activation can only be triggered between the hours of %s and %s on the actual FOC date: %s. | +| 7605 | Activation must be scheduled between the hours of %s and %s on the actual FOC date: %s. | +| 7606 | Order must be in FOC state to be scheduled for activation. | +| 7607 | Unable to sumbit portTN request to Level3. | +| 7608 | The requested time can not be updated for non triggered portin order. | +| 7609 | The telephone number(s) belongs to unsupported losing carrier. | | 7610 | PIN does not match the Passcodes on the telephone numbers being ported out. | | 7611 | The order has been cancelled by the porting vendor for unspecified reasons. Please contact Bandwidth for assistance. | +| 7612 | Missing mandatory element %s. | +| 7613 | Account is missing required product %s. | +| 7614 | Account has toggl disabled %s. | | 7629 | Attempts to poll for completion of the ROCNumberRequest have been exhausted. | | 7630 | All attempts to send a ROCNumberRequest to our porting vendor have failed. | | 7631 | An unexpected ROCNumberRequest response was received from our porting vendor.| @@ -589,7 +599,6 @@ image: '@site/static/img/bw-icon.svg' | 7642 | TN list contains at least one toll free number that cannot be ported due to spare status. | | 7643 | TN list contains at least one toll free number that cannot be ported due to unavailable status. | | 7644 | TN list contains at least one toll free number that cannot be ported because it was denied by the porting vendor. | -| 7645 | TN list contains at least one toll free number that cannot be ported because they belong to a controlling RespOrg ID ending in '99'. | | 7646 | Information on losing carrier is not available for non toll free numbers. If this condition persists, please contact Bandwidth for support. | | 7648 | ProcessingStatus may only be changed from DRAFT or VALID_DRAFT_TNS to IN_PROGRESS. | | 7649 | The RestartAutomation query parameter is restricted to Bandwidth internal users only. | @@ -615,6 +624,10 @@ image: '@site/static/img/bw-icon.svg' | 7713 | Only non-draft subtending portins are allowed for non-draft bulk portin. | | 7714 | Portins in terminal status are not allowed for portin list update. | | 7715 | This port-in cannot be associated with this bulk port-in because its earliest estimate date needs to be earlier than the bulk port-in requested FOC date. | +| 7716 | Subtending port-in orders may not be added to a non-draft bulk port-in order. | +| 7717 | This port-in order is associated with a draft bulk port-in order. Either submit the bulk port-in order, or detach this order from the bulk port-in prior to submitting it. | +| 7718 | Port-in orders: %s cannot be attached because the following TNs already exist in the bulk port-in: %s. | +| 7719 | Port-in orders: %s cannot be attached because they contain the following duplicate TNs: %s. | | 7999 | An internal error has occurred. Please contact support if this issue is not resolved in 1 business day | ### Carrier LNP Error codes @@ -681,26 +694,6 @@ image: '@site/static/img/bw-icon.svg' | 7443 | 8B | SSN/Tax ID required or incorrect | | 7444 | 6H | The losing carrier is reporting system outages and thus the due date requested on the order may be extended. | | 7445 | E14 | The Billing Telephone Number (BTN) on this order is being rejected by the losing carrier. Please provide a valid BTN to continue porting, or provide a Customer Service Record (CSR) to dispute the submitted information. | -| 7446 | LNP128J | A bill copy dated within 30-days is being requested to proceed with this order. Please upload a current bill copy to proceed with this order. | -| 7446 | LNP113J | A bill copy dated within 30-days is being requested to proceed with this order. Please upload a current bill copy to proceed with this order. | -| 7447 | LNP138J | The losing carrier has advised that this order contains more than one Billing Telephone Number (BTN) and the order cannot be processed with a single BTN. Your order will have to be cancelled and re-issued under multiple orders. Each order should contain just a single BTN. Please identify all BTNs and the telephone numbers associated with them before resubmitting the orders. | -| 7448 | LNP146J | Bandwidth has been informed by the losing carrier that the E/U (End User) has decided to remain with them. Please contact your customer to verify their intentions. If they do not wish to port their number(s) anymore, please cancel the order. | -| 7449 | LNP145J | Bandwidth has been informed by the losing carrier that the number you are requesting to port is currently resold and a CSR is not available. This reseller is the customer of record and not the end-user. Please resubmit this order with the correct end-user information of the reseller, or attach a current bill copy so that we may attempt to assist. | -| 7450 | LNP135J | Bandwidth has been informed by the losing carrier that the FOC received for this order is no longer valid. Please review the additional rejection associated with this order for further clarification. Once action has been taken and the associated rejection condition has been removed, please request a SUPP of your order and include a new requested date. | -| 7451 | LNP148J | Bandwidth has been informed that the losing carrier (Fairpoint/Verizon) your end user is requesting to port away from is currently converting to a new operating system. This transition has resulted in an extended 'Blackout' period. At this time, no port out requests are being processed by this LSP. Please cancel your order and resubmit at a later date. | -| 7452 | LNP011J | Bandwidth has determined that a Ring Mate TN exists on the line and has delayed the order from porting. The Ring Mate number must either be removed at the time of port, or made into a POTS line and ported. Please advise how you wish to proceed. | -| 7453 | LNP105S | Bandwidth has determined that one or more of the working telephone numbers submitted on this order does not exist on the CSR with the losing carrier. Please review the CSR with the losing carrier, then cancel and re-enter your order accordingly. | -| 7454 | LNP997J | Bandwidth has determined that the losing carrier has placed this order in conflict and it cannot port at this time. Please contact us for assistance in resolving this conflict. | -| 7455 | LNP117J | Bandwidth has determined that there is a UNE-P (Unbundled Network Element Platform) issue on the line. Porting can still continue, but in the event that the end user wishes to return to the donor carrier, a snapback will not be possible. Please request to cancel this order if this is an option or issue for the end user. | -| 7456 | LNP107J | Bandwidth has determined that there is no interconnection agreement (ICA) in place with the donor carrier. Please contact us to determine other options, or the option to add this ICA. | -| 7460 | LNP121J | The donor LEC has rejected the port out request because the TNs service address is in a disaster area. Until the physical facilities have been restored, this order is not portable. Please cancel this customer order. | -| 7461 | LNP127J | The donor LEC has rejected the provided LOA (Letter of Authorization) because the Authorized Name (Auth Name) submitted is illegible or not present. Please provide a note entry indicating the authorized name on the LOA. | -| 7462 | LNP126J | The donor LEC has rejected the provided LOA (Letter of Authorization) because the Authorized Name (Auth Name) submitted is not the Authorized Name on record. Please upload a corrected LOA. | -| 7463 | LNP116J | The losing carrier has rejected the order for an incorrect Customer Type of Service (Business or Residential). Please advise. | -| 7464 | LNP109J | The losing carrier has rejected the provided LOA. (Letter of Authorization) A new LOA needs to be uploaded to your order. Please verify the LOA's end-user name, telephone numbers to port, and a legible signature dated within the last 60 days. | -| 7465 | LNP141J | The losing carrier has rejected this order because the Account number was not provided or does not match what is on the account. Please cancel and resubmit your order with the correct account number. | -| 7466 | LNP140J | The losing carrier has rejected this order because the Social Security number was not provided or does not match what is on the account. Please cancel and resubmit your order with the correct SSN. | -| 7467 | LNP142J | The losing carrier has rejected this order because the Wireless Account PIN number was not provided or does not match what is on the account. Please cancel and resubmit your order with the correct wireless info. | | 7470 | E42O | TN not portable | | 7471 | E18 | Data Missing or Incorrect | | 7473 | E10a | Order is being rejected at this time for Authorization name mismatch. Please either provide a Customer Service Record (CSR) to dispute the name provided, or provide the correct customer Authorization name on the order. | From 1a264fca3aefe82ab4f1eed1b3cba92d7129addd Mon Sep 17 00:00:00 2001 From: Eric Meehan Date: Tue, 23 May 2023 14:44:09 -0400 Subject: [PATCH 02/21] MV-9111 --- site/docs/messaging/errors.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/site/docs/messaging/errors.mdx b/site/docs/messaging/errors.mdx index 8e3d2f191..90665aaa8 100644 --- a/site/docs/messaging/errors.mdx +++ b/site/docs/messaging/errors.mdx @@ -303,6 +303,7 @@ A 4xx code indicates that Bandwidth or the downstream carrier has identified som | 4750 | destination-rejected-message | Carrier Rejected Message | The destination carrier has rejected the message but provided no specific reason. For AT&T traffic, this could be a prepaid user whose account is out of money, a subscriber that is provisioned to not receive this type of SMS or it was identified as Spam | YES | | 4751 | destination-rejected-message-size-invalid | Message is too long or message length is invalid for the carrier. | Carrier has rejected for message length is invalid or too long. | YES | | 4752 | destination-rejected-malformed | Message is malformed for the carrier. | Carrier is rejecting the message malformed; this could be because of a blank message, unacceptable data value, the receiving SMSC or SME does not accept messages with more than 160 characters, syntax error, content is invalid, message ID is invalid, invalid parameter length, expected TLV missing, invalid TLV value, invalid data coding scheme, invalid number of destinations, error in the optional part of the PDU body, TLV not allowed, or XML validation error. | YES | +| 4753 | destination-rejected-handset | The destination handset has rejected the message (Verizon only) | The Verizon handset has rejected the message | YES | | 4770 | destination-spam-detected | Carrier Rejected as SPAM | The Carrier is reporting this message as blocked for SPAM. Spam blocks could be a result of content, SHAFT violations (including specific keywords), originating address has been flagged for repeated spam content | YES | | 4771 | rejected-shortened-url | Rejected due to shortened url | There was an error with the shortened URL used. Bandwidth recommends customers obtain their own dedicated domain if shortened links are needed for their messaging campaign. | YES | | 4772 | rejected-tn-blocked | Blocked sender or receiver | This error indicates a blocked Sender or Receiver on the downstream platform. Please reach out to Bandwidth support so we can engage our vendor to determine which telephone number is blocked and why. | YES | From 92c584d7f9445a5dccd4c0daa92e145e7278c7ce Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Wed, 24 May 2023 10:04:15 -0400 Subject: [PATCH 03/21] SWI-1234 Update Create Message Guide (#1024) --- site/docs/messaging/createMessage.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/docs/messaging/createMessage.mdx b/site/docs/messaging/createMessage.mdx index c4ee0d4fc..f9b213a2a 100644 --- a/site/docs/messaging/createMessage.mdx +++ b/site/docs/messaging/createMessage.mdx @@ -52,7 +52,7 @@ Sending a text message is as simple as making an API * Who the message is `from` (a Bandwidth number) * Who the message is `to` (a PSTN number) -* The `text` of the message - what you want to say +* The `text` of the message - what you want to say. See our [FAQ](https://support.bandwidth.com/hc/en-us/articles/360010235373-What-are-Bandwidth-s-SMS-character-limits-and-concatenation-practices-) for SMS character limits and concatenation practices. * The messaging `applicationId` associated with the `from` number * Your basic auth `username` and `password` in the `Authorization` header * Optional: A `media` url that links to an attachment/file you wish to send From d73d5ceb42ab4f0ef7eaf7e41d262e352ec06f30 Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Tue, 30 May 2023 13:43:11 -0400 Subject: [PATCH 04/21] SWI-1627 Make Cypress Tests More Efficient (#1030) * SWI-1627 Make Cypress Tests More Efficient * update node version and cypress action version * update to 2.4.1 * update node and cypress versions for prod deploy wf * wf cleanup * remove unnecessary search tests --- .github/workflows/pr-publish-docsite.yml | 11 +- .github/workflows/publish-docsite.yml | 20 +- site/cypress/e2e/tests/search.cy.js | 2 - site/cypress/utils/utils.js | 223 +++++++------- site/package.json | 6 +- site/yarn.lock | 366 +++++++++++------------ 6 files changed, 299 insertions(+), 329 deletions(-) diff --git a/.github/workflows/pr-publish-docsite.yml b/.github/workflows/pr-publish-docsite.yml index da394ab2e..6ef6f5d26 100644 --- a/.github/workflows/pr-publish-docsite.yml +++ b/.github/workflows/pr-publish-docsite.yml @@ -31,14 +31,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Checkout uses: actions/checkout@v3 - name: Cypress run - uses: cypress-io/github-action@v4.2.0 - timeout-minutes: 40 + uses: cypress-io/github-action@v5.8.0 + timeout-minutes: 20 with: record: true browser: ${{ matrix.browser }} @@ -49,7 +49,7 @@ jobs: config-file: cypress.config.js env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }} + CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # overwrite commit message sent to Dashboard COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} @@ -61,9 +61,6 @@ jobs: publish: name: Publish Temp Docsite runs-on: ubuntu-latest - outputs: - domain: ${{steps.distribution.outputs.distribution-domain}} - id: ${{steps.distribution.outputs.distribution-id}} steps: - name: Checkout uses: actions/checkout@v3 diff --git a/.github/workflows/publish-docsite.yml b/.github/workflows/publish-docsite.yml index b414ce068..f2c36f674 100644 --- a/.github/workflows/publish-docsite.yml +++ b/.github/workflows/publish-docsite.yml @@ -24,14 +24,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Checkout uses: actions/checkout@v3 - name: Cypress run - uses: cypress-io/github-action@v4.2.0 - timeout-minutes: 40 + uses: cypress-io/github-action@v5.8.0 + timeout-minutes: 20 with: record: true browser: ${{ matrix.browser }} @@ -42,10 +42,8 @@ jobs: config-file: cypress.config.js env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }} + CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} - COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} GOOGLE_ANALYTICS_TRACKING_ID: "12345" GTAG_TRACKING_ID: "12345" @@ -127,14 +125,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: 16 + node-version: 18 - name: Checkout uses: actions/checkout@v3 - name: Cypress Post Deployment Test - uses: cypress-io/github-action@v4.2.0 - timeout-minutes: 40 + uses: cypress-io/github-action@v5.8.0 + timeout-minutes: 20 with: record: true browser: ${{ matrix.browser }} @@ -143,10 +141,8 @@ jobs: tag: production env: CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }} + CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} - COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} GOOGLE_ANALYTICS_TRACKING_ID: "12345" GTAG_TRACKING_ID: "12345" diff --git a/site/cypress/e2e/tests/search.cy.js b/site/cypress/e2e/tests/search.cy.js index 707c6f7ed..779faa12a 100644 --- a/site/cypress/e2e/tests/search.cy.js +++ b/site/cypress/e2e/tests/search.cy.js @@ -10,6 +10,4 @@ context('Algolia Search', () => { context('Redoc Search', () => { redocSearchTester('/apis/messaging/', 'List') - redocSearchTester('/apis/numbers/', 'CampaignManagement') - redocSearchTester('/apis/voice/', '/calls') }) diff --git a/site/cypress/utils/utils.js b/site/cypress/utils/utils.js index beeb49cd7..544776b5b 100644 --- a/site/cypress/utils/utils.js +++ b/site/cypress/utils/utils.js @@ -3,7 +3,7 @@ export const navBarContext = (pathName, hidden, viewportWidth = 1400, viewportHe it('checks that navigation back or forward in the browser\'s history from the page works', () => { cy.visit('/') if (viewportWidth && viewportHeight) { - cy.viewport(viewportWidth,viewportHeight) + cy.viewport(viewportWidth,viewportHeight) if (hidden) { cy.get('a.navbar__link') .contains(`${pathName}`) @@ -22,137 +22,116 @@ export const navBarContext = (pathName, hidden, viewportWidth = 1400, viewportHe } export const navTester = (path) => { - it('checks that navigation back or forward in the browser\'s history from the page works', () => { - cy.location('pathname').should('include', path) - cy.go(-1) - cy.location('pathname').should('not.include', path) - cy.go(1) - cy.location('pathname').should('include', path) - }) - - it('Checks that the page reloads without cache', () => { - cy.reload() - }) - - it(`visits /${path}/ directly and verifies that the window objects load properly`, () => { - cy.visit(`/${path}/`, { - timeout: 50000, - onBeforeLoad (contentWindow) { - expect(typeof contentWindow === 'object').to.be.true - }, - onLoad (contentWindow) { - expect(typeof contentWindow === 'object').to.be.true - }, - }) + it('checks that navigation to the page works', () => { + cy.location('pathname').should('include', path); + }) +} + +export const performanceTester = (path, text, element = 'h1', waitTime = 5000) => { + it('measures page load on the home page', () => { + cy.visit(`${path}`, { + onBeforeLoad: (win) => { + win.performance.mark('startMark'); + } }) - } - - export const performanceTester = (path, text, element = 'h1', waitTime = 5000) => { - it('measures page load on the home page', () => { - cy.visit(`${path}`, { - onBeforeLoad: (win) => { - win.performance.mark('startMark'); - } - }) - .its('performance').then((performance) => { - cy.get(`${element}`).should('include.text', `${text}`) - .then(() => performance.mark('endMark')) - .then(() => { - performance.measure('pageLoad', 'startMark', 'endMark'); - const measure = performance.getEntriesByName('pageLoad')[0]; - assert.isAtMost(measure.duration, waitTime); - }); + .its('performance').then((performance) => { + cy.get(`${element}`).should('include.text', `${text}`) + .then(() => performance.mark('endMark')) + .then(() => { + performance.measure('pageLoad', 'startMark', 'endMark'); + const measure = performance.getEntriesByName('pageLoad')[0]; + assert.isAtMost(measure.duration, waitTime); }); - }); - } + }); +}); +} + +export const testSvgLink = (path, svg, testPath) => { + beforeEach(() => { + cy.visit(`${path}`) + cy.get(`${svg}`) + .click() + }) + navTester(`${testPath}`) +} + +export const testTextLink = (path, text, testPath, element = 'a') => { + beforeEach(() => { + cy.visit(`${path}`) + cy.get(`${element}`) + .contains(`${text}`) + .click() + }) + navTester(`${testPath}`) +} - export const testSvgLink = (path, svg, testPath) => { - beforeEach(() => { - cy.visit(`${path}`) - cy.get(`${svg}`) - .click() +export const extLinkTester = (path, className, url) => { + it('Should verify the external link worked', () => { + cy.visit(`${path}`) + cy.get(`${className}`) + .should('have.attr', 'href', `${url}`) }) - navTester(`${testPath}`) +} - } +export const testSidebar = (tab) => { + cy.get('a.menu__link') + .contains(`${tab}`) + .should('have.attr', 'aria-expanded') + .and('match', /false/) + cy.get('a.menu__link') + .contains(`${tab}`) + .click() + .should('have.attr', 'aria-expanded') + .and('match', /true/) + cy.get('a.menu__link') + .contains(`${tab}`) + .click() + .should('have.attr', 'aria-expanded') + .and('match', /false/) + cy.get('a.menu__link') + .contains(`${tab}`) + .click() + .should('have.attr', 'aria-expanded') + .and('match', /true/) +} - export const testTextLink = (path, text, testPath, element = 'a') => { - beforeEach(() => { - cy.visit(`${path}`) - cy.get(`${element}`) - .contains(`${text}`) - .click() +export const downloadButtonTester = (path) => { + it('checks the download button to verify it exists',() => { + cy.visit(`/apis/${path}/`) + cy.get('p') + .contains("Download OpenAPI specification") + .children('a') + .contains("Download") }) - navTester(`${testPath}`) - } +} - export const extLinkTester = (path, className, url) => { - it('Should verify the external link worked', () => { - cy.visit(`${path}`) - cy.get(`${className}`) +export const footerExtLinkTester = (section, text, url) => { + it('Should verify the external link exists', () => { + cy.visit('/') + cy.get('div') + .contains(`${section}`) + .siblings('div') + .contains(`${text}`) .should('have.attr', 'href', `${url}`) }) - } - - export const testSidebar = (tab) => { - cy.get('a.menu__link') - .contains(`${tab}`) - .should('have.attr', 'aria-expanded') - .and('match', /false/) - cy.get('a.menu__link') - .contains(`${tab}`) - .click() - .should('have.attr', 'aria-expanded') - .and('match', /true/) - cy.get('a.menu__link') - .contains(`${tab}`) - .click() - .should('have.attr', 'aria-expanded') - .and('match', /false/) - cy.get('a.menu__link') - .contains(`${tab}`) +} + +export const tabSwitchingTester = (path, tab1, tab2, tab2Btn, text) => { + it('Should verify that a tab is visible and another hidden, then click a button and verify that they switched visibility.', () => { + cy.visit(`${path}`) + cy.get(`${tab1}`) + .should('be.visible') + cy.get(`${tab2}`) + .should('not.be.visible') + cy.get(`${tab2Btn}`) + .contains(`${text}`) .click() - .should('have.attr', 'aria-expanded') - .and('match', /true/) - } - - export const downloadButtonTester = (path) => { - it('checks the download button to verify it exists',() => { - cy.visit(`/apis/${path}/`) - cy.get('p') - .contains("Download OpenAPI specification") - .children('a') - .contains("Download") - }) - } - - export const footerExtLinkTester = (section, text, url) => { - it('Should verify the external link exists', () => { - cy.visit('/') - cy.get('div') - .contains(`${section}`) - .siblings('div') - .contains(`${text}`) - .should('have.attr', 'href', `${url}`) - }) - } - - export const tabSwitchingTester = (path, tab1, tab2, tab2Btn, text) => { - it('Should verify that a tab is visible and another hidden, then click a button and verify that they switched visibility.', () => { - cy.visit(`${path}`) - cy.get(`${tab1}`) - .should('be.visible') - cy.get(`${tab2}`) - .should('not.be.visible') - cy.get(`${tab2Btn}`) - .contains(`${text}`) - .click() - cy.get(`${tab2}`) - .should('be.visible') - cy.get(`${tab1}`) - .should('not.be.visible') - }) - } + cy.get(`${tab2}`) + .should('be.visible') + cy.get(`${tab1}`) + .should('not.be.visible') + }) +} export const algoliaSearchTester = (searchText) => { before(() => { @@ -181,7 +160,7 @@ export const algoliaSearchTester = (searchText) => { cy.get(':nth-child(1) > .DocSearch').click(); cy.get('.DocSearch-Modal').should('not.exist'); }) -} +} export const redocSearchTester = (path, searchText) => { it('verifies that the redoc search bar works', () => { diff --git a/site/package.json b/site/package.json index 39d5801be..efabdbcb5 100644 --- a/site/package.json +++ b/site/package.json @@ -17,9 +17,9 @@ }, "dependencies": { "@algolia/client-search": "^4.9.1", - "@docusaurus/core": "^2.4.0", - "@docusaurus/plugin-google-gtag": "^2.4.0", - "@docusaurus/preset-classic": "^2.4.0", + "@docusaurus/core": "^2.4.1", + "@docusaurus/plugin-google-gtag": "^2.4.1", + "@docusaurus/preset-classic": "^2.4.1", "@types/react": "^17.0.0", "bandwidth-redoc": "^1.2.0", "buffer": "^6.0.3", diff --git a/site/yarn.lock b/site/yarn.lock index 661fb928a..972f12fe5 100644 --- a/site/yarn.lock +++ b/site/yarn.lock @@ -1230,10 +1230,10 @@ "@docsearch/css" "3.2.1" algoliasearch "^4.0.0" -"@docusaurus/core@2.4.0", "@docusaurus/core@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.4.0.tgz#a12c175cb2e5a7e4582e65876a50813f6168913d" - integrity sha512-J55/WEoIpRcLf3afO5POHPguVZosKmJEQWKBL+K7TAnfuE7i+Y0NPLlkKtnWCehagGsgTqClfQEexH/UT4kELA== +"@docusaurus/core@2.4.1", "@docusaurus/core@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/core/-/core-2.4.1.tgz#4b8ff5766131ce3fbccaad0b1daf2ad4dc76f62d" + integrity sha512-SNsY7PshK3Ri7vtsLXVeAJGS50nJN3RgF836zkyUfAD01Fq+sAk5EwWgLw+nnm5KVNGDu7PRR2kRGDsWvqpo0g== dependencies: "@babel/core" "^7.18.6" "@babel/generator" "^7.18.7" @@ -1245,13 +1245,13 @@ "@babel/runtime" "^7.18.6" "@babel/runtime-corejs3" "^7.18.6" "@babel/traverse" "^7.18.8" - "@docusaurus/cssnano-preset" "2.4.0" - "@docusaurus/logger" "2.4.0" - "@docusaurus/mdx-loader" "2.4.0" + "@docusaurus/cssnano-preset" "2.4.1" + "@docusaurus/logger" "2.4.1" + "@docusaurus/mdx-loader" "2.4.1" "@docusaurus/react-loadable" "5.5.2" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-common" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-common" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" "@slorber/static-site-generator-webpack-plugin" "^4.0.7" "@svgr/webpack" "^6.2.1" autoprefixer "^10.4.7" @@ -1307,33 +1307,33 @@ webpack-merge "^5.8.0" webpackbar "^5.0.2" -"@docusaurus/cssnano-preset@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-2.4.0.tgz#9213586358e0cce517f614af041eb7d184f8add6" - integrity sha512-RmdiA3IpsLgZGXRzqnmTbGv43W4OD44PCo+6Q/aYjEM2V57vKCVqNzuafE94jv0z/PjHoXUrjr69SaRymBKYYw== +"@docusaurus/cssnano-preset@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/cssnano-preset/-/cssnano-preset-2.4.1.tgz#eacadefb1e2e0f59df3467a0fe83e4ff79eed163" + integrity sha512-ka+vqXwtcW1NbXxWsh6yA1Ckii1klY9E53cJ4O9J09nkMBgrNX3iEFED1fWdv8wf4mJjvGi5RLZ2p9hJNjsLyQ== dependencies: cssnano-preset-advanced "^5.3.8" postcss "^8.4.14" postcss-sort-media-queries "^4.2.1" tslib "^2.4.0" -"@docusaurus/logger@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/logger/-/logger-2.4.0.tgz#393d91ad9ecdb9a8f80167dd6a34d4b45219b835" - integrity sha512-T8+qR4APN+MjcC9yL2Es+xPJ2923S9hpzDmMtdsOcUGLqpCGBbU1vp3AAqDwXtVgFkq+NsEk7sHdVsfLWR/AXw== +"@docusaurus/logger@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/logger/-/logger-2.4.1.tgz#4d2c0626b40752641f9fdd93ad9b5a7a0792f767" + integrity sha512-5h5ysIIWYIDHyTVd8BjheZmQZmEgWDR54aQ1BX9pjFfpyzFo5puKXKYrYJXbjEHGyVhEzmB9UXwbxGfaZhOjcg== dependencies: chalk "^4.1.2" tslib "^2.4.0" -"@docusaurus/mdx-loader@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-2.4.0.tgz#c6310342904af2f203e7df86a9df623f86840f2d" - integrity sha512-GWoH4izZKOmFoC+gbI2/y8deH/xKLvzz/T5BsEexBye8EHQlwsA7FMrVa48N063bJBH4FUOiRRXxk5rq9cC36g== +"@docusaurus/mdx-loader@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/mdx-loader/-/mdx-loader-2.4.1.tgz#6425075d7fc136dbfdc121349060cedd64118393" + integrity sha512-4KhUhEavteIAmbBj7LVFnrVYDiU51H5YWW1zY6SmBSte/YLhDutztLTBE0PQl1Grux1jzUJeaSvAzHpTn6JJDQ== dependencies: "@babel/parser" "^7.18.8" "@babel/traverse" "^7.18.8" - "@docusaurus/logger" "2.4.0" - "@docusaurus/utils" "2.4.0" + "@docusaurus/logger" "2.4.1" + "@docusaurus/utils" "2.4.1" "@mdx-js/mdx" "^1.6.22" escape-html "^1.0.3" file-loader "^6.2.0" @@ -1348,13 +1348,13 @@ url-loader "^4.1.1" webpack "^5.73.0" -"@docusaurus/module-type-aliases@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/module-type-aliases/-/module-type-aliases-2.4.0.tgz#6961605d20cd46f86163ed8c2d83d438b02b4028" - integrity sha512-YEQO2D3UXs72qCn8Cr+RlycSQXVGN9iEUyuHwTuK4/uL/HFomB2FHSU0vSDM23oLd+X/KibQ3Ez6nGjQLqXcHg== +"@docusaurus/module-type-aliases@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/module-type-aliases/-/module-type-aliases-2.4.1.tgz#38b3c2d2ae44bea6d57506eccd84280216f0171c" + integrity sha512-gLBuIFM8Dp2XOCWffUDSjtxY7jQgKvYujt7Mx5s4FCTfoL5dN1EVbnrn+O2Wvh8b0a77D57qoIDY7ghgmatR1A== dependencies: "@docusaurus/react-loadable" "5.5.2" - "@docusaurus/types" "2.4.0" + "@docusaurus/types" "2.4.1" "@types/history" "^4.7.11" "@types/react" "*" "@types/react-router-config" "*" @@ -1362,18 +1362,18 @@ react-helmet-async "*" react-loadable "npm:@docusaurus/react-loadable@5.5.2" -"@docusaurus/plugin-content-blog@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.4.0.tgz#50dbfbc7b51f152ae660385fd8b34076713374c3" - integrity sha512-YwkAkVUxtxoBAIj/MCb4ohN0SCtHBs4AS75jMhPpf67qf3j+U/4n33cELq7567hwyZ6fMz2GPJcVmctzlGGThQ== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/logger" "2.4.0" - "@docusaurus/mdx-loader" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-common" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" +"@docusaurus/plugin-content-blog@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-2.4.1.tgz#c705a8b1a36a34f181dcf43b7770532e4dcdc4a3" + integrity sha512-E2i7Knz5YIbE1XELI6RlTnZnGgS52cUO4BlCiCUCvQHbR+s1xeIWz4C6BtaVnlug0Ccz7nFSksfwDpVlkujg5Q== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/logger" "2.4.1" + "@docusaurus/mdx-loader" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-common" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" cheerio "^1.0.0-rc.12" feed "^4.2.2" fs-extra "^10.1.0" @@ -1384,18 +1384,18 @@ utility-types "^3.10.0" webpack "^5.73.0" -"@docusaurus/plugin-content-docs@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.4.0.tgz#36e235adf902325735b873b4f535205884363728" - integrity sha512-ic/Z/ZN5Rk/RQo+Io6rUGpToOtNbtPloMR2JcGwC1xT2riMu6zzfSwmBi9tHJgdXH6CB5jG+0dOZZO8QS5tmDg== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/logger" "2.4.0" - "@docusaurus/mdx-loader" "2.4.0" - "@docusaurus/module-type-aliases" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" +"@docusaurus/plugin-content-docs@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-2.4.1.tgz#ed94d9721b5ce7a956fb01cc06c40d8eee8dfca7" + integrity sha512-Lo7lSIcpswa2Kv4HEeUcGYqaasMUQNpjTXpV0N8G6jXgZaQurqp7E8NGYeGbDXnb48czmHWbzDL4S3+BbK0VzA== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/logger" "2.4.1" + "@docusaurus/mdx-loader" "2.4.1" + "@docusaurus/module-type-aliases" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" "@types/react-router-config" "^5.0.6" combine-promises "^1.1.0" fs-extra "^10.1.0" @@ -1406,95 +1406,95 @@ utility-types "^3.10.0" webpack "^5.73.0" -"@docusaurus/plugin-content-pages@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.4.0.tgz#6169909a486e1eae0ddffff0b1717ce4332db4d4" - integrity sha512-Pk2pOeOxk8MeU3mrTU0XLIgP9NZixbdcJmJ7RUFrZp1Aj42nd0RhIT14BGvXXyqb8yTQlk4DmYGAzqOfBsFyGw== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/mdx-loader" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" +"@docusaurus/plugin-content-pages@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-pages/-/plugin-content-pages-2.4.1.tgz#c534f7e49967699a45bbe67050d1605ebbf3d285" + integrity sha512-/UjuH/76KLaUlL+o1OvyORynv6FURzjurSjvn2lbWTFc4tpYY2qLYTlKpTCBVPhlLUQsfyFnshEJDLmPneq2oA== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/mdx-loader" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" fs-extra "^10.1.0" tslib "^2.4.0" webpack "^5.73.0" -"@docusaurus/plugin-debug@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-debug/-/plugin-debug-2.4.0.tgz#1ad513fe9bcaf017deccf62df8b8843faeeb7d37" - integrity sha512-KC56DdYjYT7Txyux71vXHXGYZuP6yYtqwClvYpjKreWIHWus5Zt6VNi23rMZv3/QKhOCrN64zplUbdfQMvddBQ== +"@docusaurus/plugin-debug@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-debug/-/plugin-debug-2.4.1.tgz#461a2c77b0c5a91b2c05257c8f9585412aaa59dc" + integrity sha512-7Yu9UPzRShlrH/G8btOpR0e6INFZr0EegWplMjOqelIwAcx3PKyR8mgPTxGTxcqiYj6hxSCRN0D8R7YrzImwNA== dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" + "@docusaurus/core" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" fs-extra "^10.1.0" react-json-view "^1.21.3" tslib "^2.4.0" -"@docusaurus/plugin-google-analytics@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.4.0.tgz#8062d7a09d366329dfd3ce4e8a619da8624b6cc3" - integrity sha512-uGUzX67DOAIglygdNrmMOvEp8qG03X20jMWadeqVQktS6nADvozpSLGx4J0xbkblhJkUzN21WiilsP9iVP+zkw== +"@docusaurus/plugin-google-analytics@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-2.4.1.tgz#30de1c35773bf9d52bb2d79b201b23eb98022613" + integrity sha512-dyZJdJiCoL+rcfnm0RPkLt/o732HvLiEwmtoNzOoz9MSZz117UH2J6U2vUDtzUzwtFLIf32KkeyzisbwUCgcaQ== dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" + "@docusaurus/core" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" tslib "^2.4.0" -"@docusaurus/plugin-google-gtag@2.4.0", "@docusaurus/plugin-google-gtag@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.4.0.tgz#a8efda476f971410dfb3aab1cfe1f0f7d269adc5" - integrity sha512-adj/70DANaQs2+TF/nRdMezDXFAV/O/pjAbUgmKBlyOTq5qoMe0Tk4muvQIwWUmiUQxFJe+sKlZGM771ownyOg== +"@docusaurus/plugin-google-gtag@2.4.1", "@docusaurus/plugin-google-gtag@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-2.4.1.tgz#6a3eb91022714735e625c7ca70ef5188fa7bd0dc" + integrity sha512-mKIefK+2kGTQBYvloNEKtDmnRD7bxHLsBcxgnbt4oZwzi2nxCGjPX6+9SQO2KCN5HZbNrYmGo5GJfMgoRvy6uA== dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" + "@docusaurus/core" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" tslib "^2.4.0" -"@docusaurus/plugin-google-tag-manager@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-2.4.0.tgz#9a94324ac496835fc34e233cc60441df4e04dfdd" - integrity sha512-E66uGcYs4l7yitmp/8kMEVQftFPwV9iC62ORh47Veqzs6ExwnhzBkJmwDnwIysHBF1vlxnzET0Fl2LfL5fRR3A== +"@docusaurus/plugin-google-tag-manager@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-2.4.1.tgz#b99f71aec00b112bbf509ef2416e404a95eb607e" + integrity sha512-Zg4Ii9CMOLfpeV2nG74lVTWNtisFaH9QNtEw48R5QE1KIwDBdTVaiSA18G1EujZjrzJJzXN79VhINSbOJO/r3g== dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" + "@docusaurus/core" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" tslib "^2.4.0" -"@docusaurus/plugin-sitemap@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.4.0.tgz#ba0eb43565039fe011bdd874b5c5d7252b19d709" - integrity sha512-pZxh+ygfnI657sN8a/FkYVIAmVv0CGk71QMKqJBOfMmDHNN1FeDeFkBjWP49ejBqpqAhjufkv5UWq3UOu2soCw== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/logger" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-common" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" +"@docusaurus/plugin-sitemap@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/plugin-sitemap/-/plugin-sitemap-2.4.1.tgz#8a7a76ed69dc3e6b4474b6abb10bb03336a9de6d" + integrity sha512-lZx+ijt/+atQ3FVE8FOHV/+X3kuok688OydDXrqKRJyXBJZKgGjA2Qa8RjQ4f27V2woaXhtnyrdPop/+OjVMRg== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/logger" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-common" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" fs-extra "^10.1.0" sitemap "^7.1.1" tslib "^2.4.0" -"@docusaurus/preset-classic@^2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/preset-classic/-/preset-classic-2.4.0.tgz#92fdcfab35d8d0ffb8c38bcbf439e4e1cb0566a3" - integrity sha512-/5z5o/9bc6+P5ool2y01PbJhoGddEGsC0ej1MF6mCoazk8A+kW4feoUd68l7Bnv01rCnG3xy7kHUQP97Y0grUA== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/plugin-content-blog" "2.4.0" - "@docusaurus/plugin-content-docs" "2.4.0" - "@docusaurus/plugin-content-pages" "2.4.0" - "@docusaurus/plugin-debug" "2.4.0" - "@docusaurus/plugin-google-analytics" "2.4.0" - "@docusaurus/plugin-google-gtag" "2.4.0" - "@docusaurus/plugin-google-tag-manager" "2.4.0" - "@docusaurus/plugin-sitemap" "2.4.0" - "@docusaurus/theme-classic" "2.4.0" - "@docusaurus/theme-common" "2.4.0" - "@docusaurus/theme-search-algolia" "2.4.0" - "@docusaurus/types" "2.4.0" +"@docusaurus/preset-classic@^2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/preset-classic/-/preset-classic-2.4.1.tgz#072f22d0332588e9c5f512d4bded8d7c99f91497" + integrity sha512-P4//+I4zDqQJ+UDgoFrjIFaQ1MeS9UD1cvxVQaI6O7iBmiHQm0MGROP1TbE7HlxlDPXFJjZUK3x3cAoK63smGQ== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/plugin-content-blog" "2.4.1" + "@docusaurus/plugin-content-docs" "2.4.1" + "@docusaurus/plugin-content-pages" "2.4.1" + "@docusaurus/plugin-debug" "2.4.1" + "@docusaurus/plugin-google-analytics" "2.4.1" + "@docusaurus/plugin-google-gtag" "2.4.1" + "@docusaurus/plugin-google-tag-manager" "2.4.1" + "@docusaurus/plugin-sitemap" "2.4.1" + "@docusaurus/theme-classic" "2.4.1" + "@docusaurus/theme-common" "2.4.1" + "@docusaurus/theme-search-algolia" "2.4.1" + "@docusaurus/types" "2.4.1" "@docusaurus/react-loadable@5.5.2", react-loadable@*, "react-loadable@npm:@docusaurus/react-loadable@5.5.2": name react-loadable @@ -1505,23 +1505,23 @@ "@types/react" "*" prop-types "^15.6.2" -"@docusaurus/theme-classic@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/theme-classic/-/theme-classic-2.4.0.tgz#a5404967b00adec3472efca4c3b3f6a5e2021c78" - integrity sha512-GMDX5WU6Z0OC65eQFgl3iNNEbI9IMJz9f6KnOyuMxNUR6q0qVLsKCNopFUDfFNJ55UU50o7P7o21yVhkwpfJ9w== - dependencies: - "@docusaurus/core" "2.4.0" - "@docusaurus/mdx-loader" "2.4.0" - "@docusaurus/module-type-aliases" "2.4.0" - "@docusaurus/plugin-content-blog" "2.4.0" - "@docusaurus/plugin-content-docs" "2.4.0" - "@docusaurus/plugin-content-pages" "2.4.0" - "@docusaurus/theme-common" "2.4.0" - "@docusaurus/theme-translations" "2.4.0" - "@docusaurus/types" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-common" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" +"@docusaurus/theme-classic@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/theme-classic/-/theme-classic-2.4.1.tgz#0060cb263c1a73a33ac33f79bb6bc2a12a56ad9e" + integrity sha512-Rz0wKUa+LTW1PLXmwnf8mn85EBzaGSt6qamqtmnh9Hflkc+EqiYMhtUJeLdV+wsgYq4aG0ANc+bpUDpsUhdnwg== + dependencies: + "@docusaurus/core" "2.4.1" + "@docusaurus/mdx-loader" "2.4.1" + "@docusaurus/module-type-aliases" "2.4.1" + "@docusaurus/plugin-content-blog" "2.4.1" + "@docusaurus/plugin-content-docs" "2.4.1" + "@docusaurus/plugin-content-pages" "2.4.1" + "@docusaurus/theme-common" "2.4.1" + "@docusaurus/theme-translations" "2.4.1" + "@docusaurus/types" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-common" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" "@mdx-js/react" "^1.6.22" clsx "^1.2.1" copy-text-to-clipboard "^3.0.1" @@ -1536,18 +1536,18 @@ tslib "^2.4.0" utility-types "^3.10.0" -"@docusaurus/theme-common@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/theme-common/-/theme-common-2.4.0.tgz#626096fe9552d240a2115b492c7e12099070cf2d" - integrity sha512-IkG/l5f/FLY6cBIxtPmFnxpuPzc5TupuqlOx+XDN+035MdQcAh8wHXXZJAkTeYDeZ3anIUSUIvWa7/nRKoQEfg== - dependencies: - "@docusaurus/mdx-loader" "2.4.0" - "@docusaurus/module-type-aliases" "2.4.0" - "@docusaurus/plugin-content-blog" "2.4.0" - "@docusaurus/plugin-content-docs" "2.4.0" - "@docusaurus/plugin-content-pages" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-common" "2.4.0" +"@docusaurus/theme-common@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/theme-common/-/theme-common-2.4.1.tgz#03e16f7aa96455e952f3243ac99757b01a3c83d4" + integrity sha512-G7Zau1W5rQTaFFB3x3soQoZpkgMbl/SYNG8PfMFIjKa3M3q8n0m/GRf5/H/e5BqOvt8c+ZWIXGCiz+kUCSHovA== + dependencies: + "@docusaurus/mdx-loader" "2.4.1" + "@docusaurus/module-type-aliases" "2.4.1" + "@docusaurus/plugin-content-blog" "2.4.1" + "@docusaurus/plugin-content-docs" "2.4.1" + "@docusaurus/plugin-content-pages" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-common" "2.4.1" "@types/history" "^4.7.11" "@types/react" "*" "@types/react-router-config" "*" @@ -1558,19 +1558,19 @@ use-sync-external-store "^1.2.0" utility-types "^3.10.0" -"@docusaurus/theme-search-algolia@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.4.0.tgz#07d297d50c44446d6bc5a37be39afb8f014084e1" - integrity sha512-pPCJSCL1Qt4pu/Z0uxBAuke0yEBbxh0s4fOvimna7TEcBLPq0x06/K78AaABXrTVQM6S0vdocFl9EoNgU17hqA== +"@docusaurus/theme-search-algolia@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-2.4.1.tgz#906bd2cca3fced0241985ef502c892f58ff380fc" + integrity sha512-6BcqW2lnLhZCXuMAvPRezFs1DpmEKzXFKlYjruuas+Xy3AQeFzDJKTJFIm49N77WFCTyxff8d3E4Q9pi/+5McQ== dependencies: "@docsearch/react" "^3.1.1" - "@docusaurus/core" "2.4.0" - "@docusaurus/logger" "2.4.0" - "@docusaurus/plugin-content-docs" "2.4.0" - "@docusaurus/theme-common" "2.4.0" - "@docusaurus/theme-translations" "2.4.0" - "@docusaurus/utils" "2.4.0" - "@docusaurus/utils-validation" "2.4.0" + "@docusaurus/core" "2.4.1" + "@docusaurus/logger" "2.4.1" + "@docusaurus/plugin-content-docs" "2.4.1" + "@docusaurus/theme-common" "2.4.1" + "@docusaurus/theme-translations" "2.4.1" + "@docusaurus/utils" "2.4.1" + "@docusaurus/utils-validation" "2.4.1" algoliasearch "^4.13.1" algoliasearch-helper "^3.10.0" clsx "^1.2.1" @@ -1580,18 +1580,18 @@ tslib "^2.4.0" utility-types "^3.10.0" -"@docusaurus/theme-translations@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/theme-translations/-/theme-translations-2.4.0.tgz#62dacb7997322f4c5a828b3ab66177ec6769eb33" - integrity sha512-kEoITnPXzDPUMBHk3+fzEzbopxLD3fR5sDoayNH0vXkpUukA88/aDL1bqkhxWZHA3LOfJ3f0vJbOwmnXW5v85Q== +"@docusaurus/theme-translations@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/theme-translations/-/theme-translations-2.4.1.tgz#4d49df5865dae9ef4b98a19284ede62ae6f98726" + integrity sha512-T1RAGP+f86CA1kfE8ejZ3T3pUU3XcyvrGMfC/zxCtc2BsnoexuNI9Vk2CmuKCb+Tacvhxjv5unhxXce0+NKyvA== dependencies: fs-extra "^10.1.0" tslib "^2.4.0" -"@docusaurus/types@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.4.0.tgz#f94f89a0253778b617c5d40ac6f16b17ec55ce41" - integrity sha512-xaBXr+KIPDkIaef06c+i2HeTqVNixB7yFut5fBXPGI2f1rrmEV2vLMznNGsFwvZ5XmA3Quuefd4OGRkdo97Dhw== +"@docusaurus/types@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/types/-/types-2.4.1.tgz#d8e82f9e0f704984f98df1f93d6b4554d5458705" + integrity sha512-0R+cbhpMkhbRXX138UOc/2XZFF8hiZa6ooZAEEJFp5scytzCw4tC1gChMFXrpa3d2tYE6AX8IrOEpSonLmfQuQ== dependencies: "@types/history" "^4.7.11" "@types/react" "*" @@ -1602,30 +1602,30 @@ webpack "^5.73.0" webpack-merge "^5.8.0" -"@docusaurus/utils-common@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.4.0.tgz#eb2913871860ed32e73858b4c7787dd820c5558d" - integrity sha512-zIMf10xuKxddYfLg5cS19x44zud/E9I7lj3+0bv8UIs0aahpErfNrGhijEfJpAfikhQ8tL3m35nH3hJ3sOG82A== +"@docusaurus/utils-common@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/utils-common/-/utils-common-2.4.1.tgz#7f72e873e49bd5179588869cc3ab7449a56aae63" + integrity sha512-bCVGdZU+z/qVcIiEQdyx0K13OC5mYwxhSuDUR95oFbKVuXYRrTVrwZIqQljuo1fyJvFTKHiL9L9skQOPokuFNQ== dependencies: tslib "^2.4.0" -"@docusaurus/utils-validation@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.4.0.tgz#1ed92bfab5da321c4a4d99cad28a15627091aa90" - integrity sha512-IrBsBbbAp6y7mZdJx4S4pIA7dUyWSA0GNosPk6ZJ0fX3uYIEQgcQSGIgTeSC+8xPEx3c16o03en1jSDpgQgz/w== +"@docusaurus/utils-validation@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/utils-validation/-/utils-validation-2.4.1.tgz#19959856d4a886af0c5cfb357f4ef68b51151244" + integrity sha512-unII3hlJlDwZ3w8U+pMO3Lx3RhI4YEbY3YNsQj4yzrkZzlpqZOLuAiZK2JyULnD+TKbceKU0WyWkQXtYbLNDFA== dependencies: - "@docusaurus/logger" "2.4.0" - "@docusaurus/utils" "2.4.0" + "@docusaurus/logger" "2.4.1" + "@docusaurus/utils" "2.4.1" joi "^17.6.0" js-yaml "^4.1.0" tslib "^2.4.0" -"@docusaurus/utils@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.4.0.tgz#fdf0c3545819e48bb57eafc5057495fd4d50e900" - integrity sha512-89hLYkvtRX92j+C+ERYTuSUK6nF9bGM32QThcHPg2EDDHVw6FzYQXmX6/p+pU5SDyyx5nBlE4qXR92RxCAOqfg== +"@docusaurus/utils@2.4.1": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@docusaurus/utils/-/utils-2.4.1.tgz#9c5f76eae37b71f3819c1c1f0e26e6807c99a4fc" + integrity sha512-1lvEZdAQhKNht9aPXPoh69eeKnV0/62ROhQeFKKxmzd0zkcuE/Oc5Gpnt00y/f5bIsmOsYMY7Pqfm/5rteT5GA== dependencies: - "@docusaurus/logger" "2.4.0" + "@docusaurus/logger" "2.4.1" "@svgr/webpack" "^6.2.1" escape-string-regexp "^4.0.0" file-loader "^6.2.0" From 314f3df950c02c1552df9353eb3b9c71e1c2714e Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Tue, 30 May 2023 13:54:57 -0400 Subject: [PATCH 05/21] update lts table (#1020) --- site/lts.config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/lts.config.json b/site/lts.config.json index 3a3df3308..bdf0dff5e 100644 --- a/site/lts.config.json +++ b/site/lts.config.json @@ -1,4 +1,5 @@ [ + "v2023.05.12", "v2023.04.25", "v2023.04.12", "v2023.03.29", @@ -9,6 +10,5 @@ "v2023.01.13", "v2022.12.21", "v2022.12.15", - "v2022.11.30", - "v2022.11.09" + "v2022.11.30" ] From b4a064a600b2975c7f5d51c6ef1bf939833d9d12 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Wed, 31 May 2023 15:03:14 -0400 Subject: [PATCH 06/21] Add Code Snippets to Spec Files (#1027) Co-authored-by: Michael Coughlin --- site/specs/insights.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site/specs/insights.yml b/site/specs/insights.yml index e1fc6e683..40f39f02e 100644 --- a/site/specs/insights.yml +++ b/site/specs/insights.yml @@ -105,10 +105,12 @@ components: example: '2022-05-26T17:27:44.400Z' duration: type: integer + nullable: true description: Length of the call, measured in milliseconds. example: 500000 callingNumber: type: string + nullable: true description: |- Phone number of the caller who initiated the call. @@ -116,6 +118,7 @@ components: example: '+18185559876' calledNumber: type: string + nullable: true description: |- Phone number of the caller who received the call. @@ -131,7 +134,8 @@ components: type: integer description: >- Message generated by a user agent server (UAS) or SIP server to - reply to a request generated by a client. + reply to a request generated by a client. A value of negative one + (-1) indicates an unknown SIP response. example: 200 sipResponseDescription: type: string @@ -140,6 +144,7 @@ components: cost: format: double type: number + nullable: true description: >- Estimated cost associated with the call. This may not match directly to your invoice as this is an estimate. If this value is null it is @@ -148,6 +153,7 @@ components: example: 0.000123 subAccount: type: string + nullable: true description: Sub-Account ID. example: '1234' attestationIndicator: From 8e77ed423a27e8c0063c885f2a729b00973a4740 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Wed, 31 May 2023 15:32:14 -0400 Subject: [PATCH 07/21] falsayab-patch-1 (#1016) * Add Code Snippets to Spec Files * Add Code Snippets to Spec Files --------- Co-authored-by: Ful Al Sayab <97974122+falsayab@users.noreply.github.com> Co-authored-by: Michael Coughlin --- site/specs/messaging.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/site/specs/messaging.yml b/site/specs/messaging.yml index 81b733399..28e2569df 100644 --- a/site/specs/messaging.yml +++ b/site/specs/messaging.yml @@ -883,6 +883,7 @@ paths: - $ref: '#/components/parameters/errorCode' - $ref: '#/components/parameters/fromDateTime' - $ref: '#/components/parameters/toDateTime' + - $ref: '#/components/parameters/campaignId' - $ref: '#/components/parameters/sort' - $ref: '#/components/parameters/pageToken' - $ref: '#/components/parameters/limit' @@ -1492,6 +1493,14 @@ components: example: 2022-09-14T18:20:16.000Z schema: type: string + campaignId: + in: query + name: campaignId + required: false + description: The campaign ID of the message. + example: CJEUMDK + schema: + type: string sort: in: query name: sort @@ -1661,6 +1670,11 @@ components: description: The campaign class of the message if it has one. nullable: true example: T + campaignId: + type: string + description: The campaign ID of the message if it has one. + nullable: true + example: CJEUMDK pageInfo: title: PageInfo type: object From 6b26059253595cadfaebe1baf1e2e5dee295c0e3 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Wed, 31 May 2023 16:05:07 -0400 Subject: [PATCH 08/21] Add Code Snippets to Spec Files (#1023) Co-authored-by: Michael Coughlin --- site/specs/insights.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/site/specs/insights.yml b/site/specs/insights.yml index 40f39f02e..9b3d52d21 100644 --- a/site/specs/insights.yml +++ b/site/specs/insights.yml @@ -160,6 +160,23 @@ components: $ref: '#/components/schemas/attestationIndicator' hangUpSource: $ref: '#/components/schemas/hangUpSource' + postDialDelay: + type: integer + description: >- + How long it takes for a calling party to hear a ringback tone after + initiating a call, measured in milliseconds. + nullable: true + example: 0 + packetsSent: + type: integer + description: Count of packets sent during transmission. + nullable: true + example: 0 + packetsReceived: + type: integer + description: Count of packets received during transmission. + nullable: true + example: 0 genericError: title: Generic Error type: object From 2b1363ff9130bc948dcc0f396ead1140e0baad07 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Wed, 31 May 2023 20:28:31 +0000 Subject: [PATCH 09/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 47641681f..8d169c19d 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -12410,6 +12410,12 @@ components: - unchanged - systemDefault type: string + CallVerificationEnabled: + enum: + - '{custom value}' + - 'true' + - 'false' + type: string CallingNameDisplay: enum: - 'on' @@ -12656,6 +12662,8 @@ components: properties: CallForward: $ref: '#/components/schemas/TelephoneNumber' + CallVerificationEnabled: + type: string CallingNameDisplay: type: string FinalDestinationURI: @@ -38813,6 +38821,14 @@ paths: phone number in the option groupfalseExplicitly disables Pindrop integration on each phone number in the option + group
  • for Call Verification Enabled + attribute
  • Action + valueDescription of + action
    trueEnables Call Verification on each + phone number in the option + group
    falseExplicitly disables Call + Verification on each phone number in the option group
  • for other attribute
    • systemDefault - implies that the element profile value should be removed so that the TN changes back to the default @@ -38894,6 +38910,12 @@ paths: 2018551026 + + true + + 2018551027 + + schema: From f16ff726f25fbaac4de22b2d317bef799fb65199 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Wed, 31 May 2023 20:53:00 +0000 Subject: [PATCH 10/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 216 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 47641681f..00a191129 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -676,6 +676,76 @@ components: www.my.website.com true + RateCenterFindCoverage404Error: + value: |- + + + + Rate center coverage with id 999 was not found. + 3940 + + + RateCenterGetCoverage400Error: + value: |- + + + + You must provide at least one parameter in order to search. + 3924 + + + RateCenterGetCoverageResponseExample: + value: |- + + + + 49 + ALABASTER + AL + 1 + true + true + + + RateCenterPostCoverage400Error: + value: |- + + + + Offnet coverage must not have an LRN. + 3913 + + + RateCenterPostCoverageResponseExample: + value: |- + + + + 49 + FARMVILLE + NC + 1 + false + true + 2529690000 + 951 + + + RateCenterPutCoverageResponseExample: + value: |- + + + + 49 + FARMVILLE + NC + 1 + false + true + 2529690000 + 951 + + RemoveImportedVoiceTnOrders: description: List all remove imported voice tn orders response value: |- @@ -874,6 +944,69 @@ components: required: true schema: type: string + RCAbbreviationOptional: + description: A rate center's abbreviation + example: ALABASTER + in: query + name: abbreviation + required: false + schema: + type: string + RCAbbreviationRequired: + description: A rate center's abbreviation + example: FARMVILLE + in: query + name: abbreviation + required: true + schema: + type: string + RCCoverageMatrixId: + description: A rate center's coverage matrix id + in: path + name: id + required: true + schema: + type: number + RCLataOptional: + description: Rate center LATA + example: 951 + in: query + name: lata + required: false + schema: + type: number + RCRegionOptional: + description: A rate center's state + example: AL + in: query + name: region + required: false + schema: + type: string + RCRegionRequired: + description: A rate center's state + example: NC + in: query + name: region + required: true + schema: + type: string + RCVendorOptional: + description: Vendor id + example: 49 + in: query + name: vendor + required: false + schema: + type: number + RCVendorRequired: + description: Vendor id + example: 49 + in: query + name: vendor + required: true + schema: + type: number RoleIdPathParam: description: Role Id example: testRole @@ -1091,6 +1224,54 @@ components: associated with the order, the state of the order, and a list of the successfully imported Telephone Numbers, and descriptions of any encountered errors. + rateCenterFindCoverageResponse404Error: + content: + application/xml: + examples: + unsuccessful404ErrorFindCoverageResponseExample: + $ref: '#/components/examples/RateCenterFindCoverage404Error' + description: >- + Unsuccessful response because the rate center coverage entry could not + be found. + rateCenterGetCoverageResponse: + content: + application/xml: + examples: + successfulGetCoverageResponseExample: + $ref: '#/components/examples/RateCenterGetCoverageResponseExample' + description: Successful response with a rate center's coverage. + rateCenterGetCoverageResponse400Error: + content: + application/xml: + examples: + unsuccessful400ErrorGetCoverageResponseExample: + $ref: '#/components/examples/RateCenterGetCoverage400Error' + description: >- + Unsucessful response of a rate center's coverage due to a validation + error. No search parameters were provided. + rateCenterPostCoverageResponse: + content: + application/xml: + examples: + successfulPostCoverageResponseExample: + $ref: '#/components/examples/RateCenterPostCoverageResponseExample' + description: Successful response with the generating matrix entry. + rateCenterPostCoverageResponse400Error: + content: + application/xml: + examples: + unsuccessful400ErrorPostCoverageResponseExample: + $ref: '#/components/examples/RateCenterPostCoverage400Error' + description: >- + Unsuccessful response due to a validation error. A LRN was provided for + offnet coverage. + rateCenterPutCoverageResponse: + content: + application/xml: + examples: + successfulPutCoverageResponseExample: + $ref: '#/components/examples/RateCenterPutCoverageResponseExample' + description: Successful response for the update of a coverage matrix entry. removeImportedVoiceTnOrdersResponse: content: application/xml: @@ -3990,6 +4171,41 @@ components: type: object type: array type: object + CoverageMatrixEntry: + properties: + Abbreviation: + description: A rate center's abbreviation. + example: FARMVILLE + type: string + Lata: + description: A rate center's LATA. + example: 951 + type: number + Lrn: + description: A rate center's LRN. + example: '2529690000' + type: string + Region: + description: A rate center's state. + example: NC + type: string + SupportsLnp: + description: Whether a rate center supports LNP. + example: true + type: boolean + SupportsNewTns: + description: Whether a rate center supports new TNs. + example: true + type: boolean + TierId: + description: A rate center's tier ID. + example: 1 + type: number + VendorId: + description: A rate center's vendor ID. + example: 49 + type: number + type: object CoveredRateCenter: properties: Abbreviation: From b864772d69a9ea8232b1311642546c51a7281215 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Thu, 1 Jun 2023 15:23:35 +0000 Subject: [PATCH 11/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 56 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 00a191129..055f0102e 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -1230,6 +1230,8 @@ components: examples: unsuccessful404ErrorFindCoverageResponseExample: $ref: '#/components/examples/RateCenterFindCoverage404Error' + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' description: >- Unsuccessful response because the rate center coverage entry could not be found. @@ -1239,6 +1241,8 @@ components: examples: successfulGetCoverageResponseExample: $ref: '#/components/examples/RateCenterGetCoverageResponseExample' + schema: + $ref: '#/components/schemas/RateCenterCoverageSuccessfulResponseList' description: Successful response with a rate center's coverage. rateCenterGetCoverageResponse400Error: content: @@ -1246,6 +1250,8 @@ components: examples: unsuccessful400ErrorGetCoverageResponseExample: $ref: '#/components/examples/RateCenterGetCoverage400Error' + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' description: >- Unsucessful response of a rate center's coverage due to a validation error. No search parameters were provided. @@ -1255,6 +1261,8 @@ components: examples: successfulPostCoverageResponseExample: $ref: '#/components/examples/RateCenterPostCoverageResponseExample' + schema: + $ref: '#/components/schemas/CoverageMatrixEntry' description: Successful response with the generating matrix entry. rateCenterPostCoverageResponse400Error: content: @@ -1262,6 +1270,8 @@ components: examples: unsuccessful400ErrorPostCoverageResponseExample: $ref: '#/components/examples/RateCenterPostCoverage400Error' + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' description: >- Unsuccessful response due to a validation error. A LRN was provided for offnet coverage. @@ -1271,6 +1281,8 @@ components: examples: successfulPutCoverageResponseExample: $ref: '#/components/examples/RateCenterPutCoverageResponseExample' + schema: + $ref: '#/components/schemas/CoverageMatrixEntry' description: Successful response for the update of a coverage matrix entry. removeImportedVoiceTnOrdersResponse: content: @@ -4200,6 +4212,8 @@ components: TierId: description: A rate center's tier ID. example: 1 + maximum: 6 + minimum: 0 type: number VendorId: description: A rate center's vendor ID. @@ -9809,6 +9823,26 @@ components: type: integer type: object type: object + RateCenterCoverageSuccessfulResponseList: + description: A list of all coverage matrix entries returned by a GET endpoint. + properties: + data: + items: + $ref: '#/components/schemas/CoverageMatrixEntry' + type: array + required: + - data + type: object + RateCenterCoverageUnsuccessfulResponse: + description: A generic error object for coverage matrix / rate center responses. + properties: + description: + example: Error Message + type: string + errorCode: + example: '1234' + type: number + type: object RateCenterGroup: properties: City: @@ -12626,6 +12660,12 @@ components: - unchanged - systemDefault type: string + CallVerificationEnabled: + enum: + - '{custom value}' + - 'true' + - 'false' + type: string CallingNameDisplay: enum: - 'on' @@ -12872,6 +12912,8 @@ components: properties: CallForward: $ref: '#/components/schemas/TelephoneNumber' + CallVerificationEnabled: + type: string CallingNameDisplay: type: string FinalDestinationURI: @@ -39029,6 +39071,14 @@ paths: phone number in the option groupfalseExplicitly disables Pindrop integration on each phone number in the option + group
    • for Call Verification Enabled + attribute
    • Action + valueDescription of + action
      trueEnables Call Verification on each + phone number in the option + group
      falseExplicitly disables Call + Verification on each phone number in the option group
    • for other attribute
      • systemDefault - implies that the element profile value should be removed so that the TN changes back to the default @@ -39110,6 +39160,12 @@ paths: 2018551026 + + true + + 2018551027 + + schema: From 5695f80f22861076b7d5704124b29b8af4053838 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Thu, 1 Jun 2023 15:58:45 +0000 Subject: [PATCH 12/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 055f0102e..8556dcb0e 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -716,6 +716,15 @@ components: 3913 + RateCenterPostCoverage409Error: + value: |- + + + + Coverage already exists for FARMVILLE.NC with vendor ID 49 + 3923 + + RateCenterPostCoverageResponseExample: value: |- @@ -1272,6 +1281,14 @@ components: $ref: '#/components/examples/RateCenterPostCoverage400Error' schema: $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + rateCenterPostCoverageResponse409Error: + content: + application/xml: + examples: + unsuccessful409ErrorPostCoverageResponseExample: + $ref: '#/components/examples/RateCenterPostCoverage409Error' + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' description: >- Unsuccessful response due to a validation error. A LRN was provided for offnet coverage. From 744564c32e20d685efa13fb88f40122391147695 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Fri, 2 Jun 2023 13:02:11 +0000 Subject: [PATCH 13/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 8556dcb0e..a9d2f3812 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -1281,6 +1281,9 @@ components: $ref: '#/components/examples/RateCenterPostCoverage400Error' schema: $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + description: >- + Unsuccessful response due to a validation error. A LRN was provided for + offnet coverage. rateCenterPostCoverageResponse409Error: content: application/xml: @@ -1290,8 +1293,8 @@ components: schema: $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' description: >- - Unsuccessful response due to a validation error. A LRN was provided for - offnet coverage. + Unsuccessful response due to a validation error. This rate center + already exists. rateCenterPutCoverageResponse: content: application/xml: @@ -9857,7 +9860,7 @@ components: example: Error Message type: string errorCode: - example: '1234' + example: 3900 type: number type: object RateCenterGroup: From c233445fe94c6d27b56d1b2aaa5196be81168301 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Fri, 2 Jun 2023 15:14:04 +0000 Subject: [PATCH 14/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index a9d2f3812..938640bbb 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -1233,6 +1233,50 @@ components: associated with the order, the state of the order, and a list of the successfully imported Telephone Numbers, and descriptions of any encountered errors. + rateCenter401Error: + content: + application/json: + examples: + example: + value: + description: Client is providing incorrect or invalid credentials. + type: unauthorized + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + description: Client is providing incorrect or invalid credentials. + rateCenter403Error: + content: + application/json: + examples: + example: + value: + description: Client does not have access rights to the content. + type: forbidden + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + description: Client is providing incorrect or invalid credentials. + rateCenter429Error: + content: + application/json: + examples: + example: + value: + description: Too many requests. + type: too many requests + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + description: Too many requests. + rateCenter500Error: + content: + application/json: + examples: + example: + value: + description: The server has encountered an internal error. + type: internal server error + schema: + $ref: '#/components/schemas/RateCenterCoverageUnsuccessfulResponse' + description: The server has encountered an internal error. rateCenterFindCoverageResponse404Error: content: application/xml: From cee1d0890b15ae5183dc5704cfbe8f6e28cb0cec Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Mon, 5 Jun 2023 10:41:20 -0400 Subject: [PATCH 15/21] update lts table (#1037) --- site/lts.config.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/lts.config.json b/site/lts.config.json index bdf0dff5e..dfdb2ed69 100644 --- a/site/lts.config.json +++ b/site/lts.config.json @@ -1,4 +1,5 @@ [ + "v2023.05.31", "v2023.05.12", "v2023.04.25", "v2023.04.12", @@ -9,6 +10,5 @@ "v2023.01.31", "v2023.01.13", "v2022.12.21", - "v2022.12.15", - "v2022.11.30" + "v2022.12.15" ] From 0de82f1b5181d158973920e9bdb70504bff632db Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Mon, 5 Jun 2023 15:49:06 -0400 Subject: [PATCH 16/21] DX-2998 Update Blog Post Workflow (#899) * DX-2998 Workflow for Automatic Blog Post Retrieval * update jq to only return first 10 posts * echo response * bearer token * update to use hosted action runner * push test file in case my machine is broken * push again just in case * update blog posts and workflow file * remove test shell file * remove carriage returns * update to be listener * use json array * use toJson * undo blogpost changes * fix spaces --- .github/workflows/blog-posts.yml | 41 +++++++++++++++++++++----------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/.github/workflows/blog-posts.yml b/.github/workflows/blog-posts.yml index de1f0feae..e067edd0d 100644 --- a/.github/workflows/blog-posts.yml +++ b/.github/workflows/blog-posts.yml @@ -1,22 +1,35 @@ -name: Update Blog Posts +# Ingest repository_dispatch events for syncing blog posts +name: Blog Posts Listener on: - schedule: - - cron: '0 13 * * 1' - workflow_dispatch: + repository_dispatch: + types: [Blog] jobs: - get_blog_posts: - name: Get Most Recent Posts from Bandwidth Blog + sync-blog-posts: runs-on: ubuntu-latest - # outputs: - # release_needed: ${{ steps.release_needed.outputs.release_needed }} steps: - - name: Get Blog Posts from Wordpress API - id: get_posts + - name: Checkout + uses: actions/checkout@v3 + + - name: Configure Git and Create Branch + run: | + git config user.email "dx@bandwidth.com" + git config user.name "DX-Bandwidth" + git checkout -b sync-blog-posts + + - name: Update Blog Posts File + run: | + cat > ./site/blogposts.config.json <<< $POSTS_JSON + env: + GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} + POSTS_JSON: ${{ toJson(github.event.client_payload.posts) }} + + - name: Commit Changes and Create Pull Request run: | - BLOG_POSTS=$(curl -Ls -H "Authorization: token $WORDPRESS_TOKEN" https://www.bandwidth.com/wp-json/wp/v2/posts?per_page=20 | jq '[del(.[] | select(.categories[] | contains(1680))) | .[] | {imageId: .featured_media, categories: .categories, postLink: .link, postTitle: .title.rendered}] | .[:10]') - - echo $BLOG_POSTS + git add site/blogposts.config.json + git commit -m 'update blog posts' + git push origin sync-blog-posts + gh pr create -B main -H sync-blog-posts --title 'Update Blog Posts' --body 'Auto-generated by Blog Posts Listener Workflow' env: - WORDPRESS_TOKEN: ${{ secrets.WORDPRESS_TOKEN }} + GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }} From 33ff2a4174939b42944871711413fb0cc11a2a70 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Tue, 6 Jun 2023 11:18:37 -0400 Subject: [PATCH 17/21] Update Blog Posts (#1040) * update blog posts * shrink text size if more than 3 categories --------- Co-authored-by: ckoegel --- site/blogposts.config.json | 187 +++++++++++++++++++++----------- site/src/components/Carousel.js | 7 +- 2 files changed, 132 insertions(+), 62 deletions(-) diff --git a/site/blogposts.config.json b/site/blogposts.config.json index 1311aae32..ba21c2094 100644 --- a/site/blogposts.config.json +++ b/site/blogposts.config.json @@ -1,63 +1,128 @@ [ - { - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Call-Assure_Toll-Free-Disaster-Recovery.png", - "categories": ["Voice"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/voice/"], - "postLink": "https://www.bandwidth.com/blog/toll-free-risks-and-mitigation/", - "postTitle": "5 biggest toll-free outage risk factors and how to prepare" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/SoM-Blog-Images-2023-1-700x360.png", - "categories": ["Messaging"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/messaging/"], - "postLink": "https://www.bandwidth.com/blog/review-the-2023-carrier-requirements-for-10dlc-and-toll-free-sms/", - "postTitle": "Review the 2023 carrier requirements for 10DLC and toll-free SMS" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Call-Assure_Toll-Free-Disaster-Recovery.png", - "categories": ["CPaaS", "Voice"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/cpaas/", "https://www.bandwidth.com/blog/category/voice/"], - "postLink": "https://www.bandwidth.com/blog/toll-free-disaster-recovery-like-never-before/", - "postTitle": "Toll-free disaster recovery like never before" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/sip-trunking-vs-voip-scaled-1.jpg", - "categories": ["Voice"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/voice/"], - "postLink": "https://www.bandwidth.com/en-gb/blog/sip-trunking-vs-voip/", - "postTitle": "SIP trunking vs VoIP - What's the Difference?" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Teams-Operator-Connect-2.png", - "categories": ["911 Access", "Messaging", "Voice"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/911-access/", "https://www.bandwidth.com/blog/category/messaging/", "https://www.bandwidth.com/blog/category/voice/"], - "postLink": "https://www.bandwidth.com/blog/microsoft-teams-operator-connect-vs-direct-routing/", - "postTitle": "Operator Connect vs. Direct Routing for Microsoft Teams" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog-Outbound_Call_Meaning_SEO.png", - "categories": ["CPaaS"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/cpaas/"], - "postLink": "https://www.bandwidth.com/blog/outbound-call-meaning-using-outbound-calling-to-grow-your-business/", - "postTitle": "Outbound Call Meaning - Using Outbound Calling To Grow Your Business" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Why-2FA-is-Vital_Blog.png", - "categories": ["Messaging"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/messaging/"], - "postLink": "https://www.bandwidth.com/blog/how-to-protect-user-data-with-two-factor-multi-factor-authentication/", - "postTitle": "How to Protect User Data with Two-Factor & Multi-Factor Authentication" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Texting-Turns-30_Blog.png", - "categories": ["Messaging"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/messaging/"], - "postLink": "https://www.bandwidth.com/blog/texting-turns-30-the-history-of-sms/", - "postTitle": "The first text message ever sent turns 30 —the history of SMS" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Finance_Blog_Feature_Graphic.png", - "categories": ["CPaaS"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/cpaas/"], - "postLink": "https://www.bandwidth.com/blog/financial-services-challenges/", - "postTitle": "6 challenges facing financial services in 2023, and how to overcome them" - },{ - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Genesys-Sunsetting-MultiCloud-1.png", - "categories": ["Voice"], - "categoryLinks": ["https://www.bandwidth.com/blog/category/voice/"], - "postLink": "https://www.bandwidth.com/genesys-multicloud-cx-sunsetting/", - "postTitle": "Why Genesys is Sunsetting MultiCloud CX" - } + { + "categories": [ + "Messaging" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/messaging/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_Toll-Free-Verification-1.png", + "postLink": "https://www.bandwidth.com/blog/toll-free-verification-api/", + "postTitle": "Streamline your toll-free number verification with Bandwidth" + }, + { + "categories": [ + "911 Access", + "CPaaS", + "Phone Numbers", + "Voice" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/911-access/", + "https://www.bandwidth.com/blog/category/cpaas/", + "https://www.bandwidth.com/blog/category/phone-numbers/", + "https://www.bandwidth.com/blog/category/voice/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/The-MAN-Program-Blog-1-Header.png", + "postLink": "https://www.bandwidth.com/blog/introduction-to-the-man-program-part-1/", + "postTitle": "Get with the program, MAN (Part 1)" + }, + { + "categories": [ + "CPaaS" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_ECL-Teasers_IT-Leaders-Headaches.png", + "postLink": "https://www.bandwidth.com/blog/whats-keeping-it-leaders-up-at-night-2023/", + "postTitle": "What’s keeping IT leaders up at night?" + }, + { + "categories": [ + "CPaaS" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_World-Telecommunications-Day-1.png", + "postLink": "https://www.bandwidth.com/blog/world-telecommunications-day/", + "postTitle": "World Telecommunication and Information Society Day (WTISD) on May 17th" + }, + { + "categories": [ + "CPaaS" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_ECL-Teasers_Cloud-Adoption-Rates.png", + "postLink": "https://www.bandwidth.com/blog/the-state-of-enterprise-cloud-adoption-2023/", + "postTitle": "The state of enterprise cloud adoption: 2023" + }, + { + "categories": [ + "CPaaS", + "Voice" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/", + "https://www.bandwidth.com/blog/category/voice/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_What-Is-VOIP-Jitter-2.png", + "postLink": "https://www.bandwidth.com/blog/network-jitter-complete-guide-to-what-internet-jitter-is-how-to-fix-it/", + "postTitle": "Network Jitter – Complete Guide to What Internet Jitter Is & How to Fix It" + }, + { + "categories": [ + "CPaaS" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_CXToday-Maestro@2x.png", + "postLink": "https://www.bandwidth.com/blog/maestro-makes-convergence-reality/", + "postTitle": "Bandwidth Strives to Make Best-of-Breed CCaaS-UCaaS Convergence a Reality" + }, + { + "categories": [ + "CPaaS", + "Healthcare", + "Messaging", + "Voice API" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/", + "https://www.bandwidth.com/blog/category/healthcare/", + "https://www.bandwidth.com/blog/category/messaging/", + "https://www.bandwidth.com/blog/category/voice/voice-api/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Event_HIMSS-2023-Blog.png", + "postLink": "https://www.bandwidth.com/blog/himss-2023-highlights/", + "postTitle": "HIMSS 2023: New patient expectations and AI’s evolved role were the focus" + }, + { + "categories": [ + "911 Access", + "Voice" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/911-access/", + "https://www.bandwidth.com/blog/category/voice/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_SBC-for-Teams-Direct-Routing.png", + "postLink": "https://www.bandwidth.com/blog/hosted-sbc-for-microsoft-teams-direct-routing/", + "postTitle": "Your SBC for Microsoft Teams Direct Routing: 2023 Guide" + }, + { + "categories": [ + "911 Access" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/911-access/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_911-Outage.png", + "postLink": "https://www.bandwidth.com/blog/the-fcc-22-88-report-and-order-explained/", + "postTitle": "New 911 outage reporting obligations, explained" + } ] diff --git a/site/src/components/Carousel.js b/site/src/components/Carousel.js index 1dcade739..51c9fb973 100644 --- a/site/src/components/Carousel.js +++ b/site/src/components/Carousel.js @@ -112,6 +112,11 @@ export default function Carousel({itemList, title}) { width: `${itemContentWidth}px`, } + var categoriesLinkStyle = { + fontSize: `0.8rem`, + lineHeight: `0.8rem` + } + var postStyle = { width: `${itemContentWidth}px`, } @@ -122,7 +127,7 @@ export default function Carousel({itemList, title}) {
        {categories.map((category, idx) => ( - {category} + 3 ? categoriesLinkStyle : {}} key={idx}>{category} ))}
        From 7de309a3bfbb6f403c8f4431acb9572b8fd6770d Mon Sep 17 00:00:00 2001 From: Cameron Koegel <53310569+ckoegel@users.noreply.github.com> Date: Fri, 9 Jun 2023 10:21:31 -0400 Subject: [PATCH 18/21] SWI-2779 Update Redoc Version, Fix Landing Page Layout, Disconnect from Cypress Dashboard (#1042) * SWI-2779 Update Redoc Version and Fix Landing Page Layout * remove unnecessary margin * margin is necessary, update it * increase margin * remove references to cypress project * Spain - S I missed this in the commit * remove `record: true`s * remove dashboard info * clean up last refs to cypress dashboard * update cypress action versions * update bw-redoc to 1.4 * and yarn lock * update group css * remove old import * update voice spec for demo * undo changes to voice spec --- .github/workflows/cypress-prod-nightly.yml | 8 +------- .../pr-closed-delete-staging-site.yml | 8 +------- .github/workflows/pr-publish-docsite.yml | 7 ------- .github/workflows/publish-docsite.yml | 7 ------- site/cypress.config.js | 1 - site/package.json | 2 +- site/prod-cypress.config.js | 1 - site/src/components/FooterColumn.js | 1 - site/src/css/components/_LandingPage.scss | 2 +- site/src/css/components/_RedocStandalone.scss | 9 +++++++++ site/yarn.lock | 18 +++++++++--------- 11 files changed, 22 insertions(+), 42 deletions(-) diff --git a/.github/workflows/cypress-prod-nightly.yml b/.github/workflows/cypress-prod-nightly.yml index b37ad6843..de7790da4 100644 --- a/.github/workflows/cypress-prod-nightly.yml +++ b/.github/workflows/cypress-prod-nightly.yml @@ -26,20 +26,14 @@ jobs: uses: actions/checkout@v3 - name: Cypress run - uses: cypress-io/github-action@v4.2.0 + uses: cypress-io/github-action@v5.8.0 timeout-minutes: 40 with: - record: true browser: ${{ matrix.browser }} working-directory: ./site config-file: prod-cypress.config.js - tag: production env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} - COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} notify_for_failures: name: Notify for Failures needs: [cypress_nightly] diff --git a/.github/workflows/pr-closed-delete-staging-site.yml b/.github/workflows/pr-closed-delete-staging-site.yml index af902483b..22c4d0edb 100644 --- a/.github/workflows/pr-closed-delete-staging-site.yml +++ b/.github/workflows/pr-closed-delete-staging-site.yml @@ -68,20 +68,14 @@ jobs: EOL - name: Cypress Staged Cloudfront Deployment Test - uses: cypress-io/github-action@v4.2.0 + uses: cypress-io/github-action@v5.8.0 timeout-minutes: 40 with: - record: true browser: ${{ matrix.browser }} working-directory: ./site config-file: staged-cypress.config.js - tag: production env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} - COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} delete_bucket_folder: name: Delete Bucket Folder diff --git a/.github/workflows/pr-publish-docsite.yml b/.github/workflows/pr-publish-docsite.yml index 6ef6f5d26..98a8df1fb 100644 --- a/.github/workflows/pr-publish-docsite.yml +++ b/.github/workflows/pr-publish-docsite.yml @@ -40,7 +40,6 @@ jobs: uses: cypress-io/github-action@v5.8.0 timeout-minutes: 20 with: - record: true browser: ${{ matrix.browser }} start: yarn start wait-on: http://localhost:3000 @@ -48,13 +47,7 @@ jobs: working-directory: ./site config-file: cypress.config.js env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - # overwrite commit message sent to Dashboard - COMMIT_INFO_MESSAGE: ${{github.event.pull_request.title}} - # re-enable PR comment bot - COMMIT_INFO_SHA: ${{github.event.pull_request.head.sha}} GOOGLE_ANALYTICS_TRACKING_ID: "12345" GTAG_TRACKING_ID: "12345" diff --git a/.github/workflows/publish-docsite.yml b/.github/workflows/publish-docsite.yml index f2c36f674..7bad98645 100644 --- a/.github/workflows/publish-docsite.yml +++ b/.github/workflows/publish-docsite.yml @@ -33,7 +33,6 @@ jobs: uses: cypress-io/github-action@v5.8.0 timeout-minutes: 20 with: - record: true browser: ${{ matrix.browser }} start: yarn start wait-on: http://localhost:3000 @@ -41,8 +40,6 @@ jobs: working-directory: ./site config-file: cypress.config.js env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GOOGLE_ANALYTICS_TRACKING_ID: "12345" GTAG_TRACKING_ID: "12345" @@ -134,14 +131,10 @@ jobs: uses: cypress-io/github-action@v5.8.0 timeout-minutes: 20 with: - record: true browser: ${{ matrix.browser }} working-directory: ./site config-file: prod-cypress.config.js - tag: production env: - CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} - CYPRESS_PROJECT_ID: ${{ secrets.CYPRESS_PROJECT_ID }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GOOGLE_ANALYTICS_TRACKING_ID: "12345" GTAG_TRACKING_ID: "12345" diff --git a/site/cypress.config.js b/site/cypress.config.js index a4e1fa4fd..28b8a65f0 100644 --- a/site/cypress.config.js +++ b/site/cypress.config.js @@ -7,7 +7,6 @@ module.exports = defineConfig({ }, baseUrl: 'http://localhost:3000' }, - projectId: "oz7rpf", pageLoadTimeout: 60000, viewportWidth: 1440, viewportHeight: 900, diff --git a/site/package.json b/site/package.json index efabdbcb5..239bec197 100644 --- a/site/package.json +++ b/site/package.json @@ -21,7 +21,7 @@ "@docusaurus/plugin-google-gtag": "^2.4.1", "@docusaurus/preset-classic": "^2.4.1", "@types/react": "^17.0.0", - "bandwidth-redoc": "^1.2.0", + "bandwidth-redoc": "^1.4.0", "buffer": "^6.0.3", "core-js": "^3.1.4", "docusaurus-plugin-sass": "^0.2.2", diff --git a/site/prod-cypress.config.js b/site/prod-cypress.config.js index 111671842..f3382f90a 100644 --- a/site/prod-cypress.config.js +++ b/site/prod-cypress.config.js @@ -7,7 +7,6 @@ module.exports = defineConfig({ }, baseUrl: 'https://dev.bandwidth.com/' }, - projectId: "oz7rpf", pageLoadTimeout: 60000, viewportWidth: 1440, viewportHeight: 900, diff --git a/site/src/components/FooterColumn.js b/site/src/components/FooterColumn.js index 319154f4d..a33c78ccc 100644 --- a/site/src/components/FooterColumn.js +++ b/site/src/components/FooterColumn.js @@ -1,5 +1,4 @@ import React from 'react'; -// import footerStyles from '@site/src/css/footer.module.css'; export default function FooterColumn({menus}) { return ( diff --git a/site/src/css/components/_LandingPage.scss b/site/src/css/components/_LandingPage.scss index 597648f2d..517cefc2d 100644 --- a/site/src/css/components/_LandingPage.scss +++ b/site/src/css/components/_LandingPage.scss @@ -19,7 +19,7 @@ width: 50%; height: auto; padding-left: 150px; - margin-bottom: 150px; + margin-bottom: 200px; display: flex; flex-direction: column; diff --git a/site/src/css/components/_RedocStandalone.scss b/site/src/css/components/_RedocStandalone.scss index e5c82b688..9c9d8d26d 100644 --- a/site/src/css/components/_RedocStandalone.scss +++ b/site/src/css/components/_RedocStandalone.scss @@ -33,6 +33,15 @@ .search-no-results { padding-left: 1.3rem; } + + label[type="group"] { + font-size: .8rem; + font-family: $overpass-bold; + + @include dark-mode { + color: $white; + } + } } .api-content { diff --git a/site/yarn.lock b/site/yarn.lock index 972f12fe5..613b97134 100644 --- a/site/yarn.lock +++ b/site/yarn.lock @@ -2722,10 +2722,10 @@ balanced-match@^1.0.0: resolved "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -bandwidth-redoc@^1.2.0: - version "1.2.0" - resolved "https://registry.npmjs.org/bandwidth-redoc/-/bandwidth-redoc-1.2.0.tgz" - integrity sha512-vSYMVdRgJ4FTKsw3zqcAGxfmR6TrMIRYLBlnkrUeDWl5TBU5c+9ZwwBz/mFxUEqvr98qBpSFwgptNnWi2zuzYg== +bandwidth-redoc@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/bandwidth-redoc/-/bandwidth-redoc-1.4.0.tgz#51584dca31be1f6c42fbac6699eedf123256ca8d" + integrity sha512-SGVZUiCTdKAdh17ace98kKGd5eLNokGLCjC8n5SwSbS0wQvxfuER3eI1bzNRpCIUnipTsDaCdHge0q7bOerETA== dependencies: "@redocly/openapi-core" "^1.0.0-beta.104" classnames "^2.3.1" @@ -2737,7 +2737,7 @@ bandwidth-redoc@^1.2.0: mark.js "^8.11.1" marked "^4.0.15" mobx-react "^7.2.0" - openapi-sampler "^1.3.0" + openapi-sampler "^1.3.1" path-browserify "^1.0.1" perfect-scrollbar "^1.5.5" polished "^4.1.3" @@ -6057,10 +6057,10 @@ open@^8.0.9, open@^8.4.0: is-docker "^2.1.1" is-wsl "^2.2.0" -openapi-sampler@^1.3.0: - version "1.3.0" - resolved "https://registry.npmjs.org/openapi-sampler/-/openapi-sampler-1.3.0.tgz" - integrity sha512-2QfjK1oM9Sv0q82Ae1RrUe3yfFmAyjF548+6eAeb+h/cL1Uj51TW4UezraBEvwEdzoBgfo4AaTLVFGTKj+yYDw== +openapi-sampler@^1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/openapi-sampler/-/openapi-sampler-1.3.1.tgz#eebb2a1048f830cc277398bc8022b415f887e859" + integrity sha512-Ert9mvc2tLPmmInwSyGZS+v4Ogu9/YoZuq9oP3EdUklg2cad6+IGndP9yqJJwbgdXwZibiq5fpv6vYujchdJFg== dependencies: "@types/json-schema" "^7.0.7" json-pointer "0.6.2" From 34b7cefca93f42d1d9cdacd6a52d271fc751bce0 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth <42817071+DX-Bandwidth@users.noreply.github.com> Date: Mon, 12 Jun 2023 10:01:51 -0400 Subject: [PATCH 19/21] update blog posts (#1049) --- site/blogposts.config.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/site/blogposts.config.json b/site/blogposts.config.json index ba21c2094..a6aad8cdf 100644 --- a/site/blogposts.config.json +++ b/site/blogposts.config.json @@ -1,4 +1,15 @@ [ + { + "categories": [ + "CPaaS" + ], + "categoryLinks": [ + "https://www.bandwidth.com/blog/category/cpaas/" + ], + "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_ECL-Teasers_Executives-ECL-Take.png", + "postLink": "https://www.bandwidth.com/blog/enterprise-communications-landscape-overview/", + "postTitle": "An executive’s take on 2023 Enterprise Communications" + }, { "categories": [ "Messaging" @@ -113,16 +124,5 @@ "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_SBC-for-Teams-Direct-Routing.png", "postLink": "https://www.bandwidth.com/blog/hosted-sbc-for-microsoft-teams-direct-routing/", "postTitle": "Your SBC for Microsoft Teams Direct Routing: 2023 Guide" - }, - { - "categories": [ - "911 Access" - ], - "categoryLinks": [ - "https://www.bandwidth.com/blog/category/911-access/" - ], - "imageUrl": "https://www.bandwidth.com/wp-content/uploads/Blog_911-Outage.png", - "postLink": "https://www.bandwidth.com/blog/the-fcc-22-88-report-and-order-explained/", - "postTitle": "New 911 outage reporting obligations, explained" } ] From 8b556d16879e2ed9e23e450b9d74ac6022837782 Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Mon, 12 Jun 2023 18:06:18 +0000 Subject: [PATCH 20/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 266 ++++++++++++++++++++++++++++------------- 1 file changed, 184 insertions(+), 82 deletions(-) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 938640bbb..2c702119d 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -1167,6 +1167,11 @@ components: schema: type: string requestBodies: + shortCodeJsonPatchShortCodeRequest: + content: + application/json-patch+json: + schema: + $ref: '#/components/schemas/jsonPatch' verificationRequest: content: application/json: @@ -13781,6 +13786,36 @@ components: type: string type: object type: object + jsonPatch: + items: + $ref: '#/components/schemas/jsonPatchItem' + type: array + jsonPatchItem: + properties: + from: + description: Used when the operation is copy or move. + type: string + op: + enum: + - add + - remove + - replace + - copy + - move + - test + example: replace + type: string + path: + example: /state + type: string + value: + description: Used when the operation is add, replace, or test. + example: MAINTENANCE + type: object + required: + - op + - path + type: object lnpPortInfoForGivenStatus: properties: ActualFOCDate: @@ -13966,31 +14001,14 @@ components: lease. example: true type: boolean - leaseEndsDate: - description: >- - Date the short code lease ends. Customer managed leases may not have - lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2024-01-29' - format: date - type: string - leaseStartsDate: - description: >- - Date the short code lease starts. Customer managed leases may not - have lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2023-01-28' - format: date - type: string + lease: + $ref: '#/components/schemas/shortCodeLeaseInfo' modifiedDateTime: example: '2022-11-15T18:39:04.505Z' format: date-time type: string - orderedDate: - description: Date the short code was registered. - example: '2023-01-30' - format: date - type: string + notes: + $ref: '#/components/schemas/shortCodeNotes' shortCode: description: The short code. example: '12345' @@ -14094,33 +14112,24 @@ components: - CAN example: USA type: string + createdDateTime: + example: '2022-11-14T18:39:04.505Z' + format: date-time + type: string customerManagedLease: description: >- Flag indicating whether the customer is managing the short code lease. example: true type: boolean - leaseEndsDate: - description: >- - Date the short code lease ends. Customer managed leases may not have - lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2024-01-29' - format: date - type: string - leaseStartsDate: - description: >- - Date the short code lease starts. Customer managed leases may not - have lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2023-01-28' - format: date - type: string - orderedDate: - description: Date the short code was registered. - example: '2023-01-30' - format: date + lease: + $ref: '#/components/schemas/shortCodeLeaseData' + modifiedDateTime: + example: '2022-11-15T18:39:04.505Z' + format: date-time type: string + notes: + $ref: '#/components/schemas/shortCodeNotes' shortCode: description: The short code. example: '12345' @@ -14234,26 +14243,14 @@ components: lease. example: true type: boolean - leaseEndsDate: - description: >- - Date the short code lease ends. Customer managed leases may not have - lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2024-01-29' - format: date - type: string - leaseStartsDate: - description: >- - Date the short code lease starts. Customer managed leases may not - have lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2023-01-28' - format: date - type: string + lease: + $ref: '#/components/schemas/shortCodeLeaseInfo' modifiedDateTime: example: '2022-11-15T18:39:04.505Z' format: date-time type: string + notes: + $ref: '#/components/schemas/shortCodeNotes' operation: description: Operation executed over the short code. enum: @@ -14262,11 +14259,6 @@ components: - DELETED example: UPDATED type: string - orderedDate: - description: Date the short code was registered. - example: '2023-01-30' - format: date - type: string shortCode: description: The short code. example: '12345' @@ -14325,6 +14317,90 @@ components: page: $ref: '#/components/schemas/shortCodePage' type: object + shortCodeLeaseData: + description: >- + The lease information for the short code number. This information only + applies to Bandwidth managed short code leases (customerManagedLease set + to false). + properties: + autoRenew: + description: Flag indicating whether the lease should auto-renew. + example: true + type: boolean + autoRenewMonths: + description: >- + The number of months for which to renew the release when it auto + renews. Valid values are 3, 6, and 12. The default value, if not + supplied on creation, will be 3. + enum: + - 3 + - 6 + - 12 + example: 6 + type: integer + contactEmail: + description: Email address used for all lease renewal notifications. + example: test@bandwidth.com + type: string + endDate: + description: >- + Lease end date. This date is inclusive, e.g. 2022-02-15 means that + the short code is valid through 2/15. + example: '2023-01-28' + format: date + type: string + startDate: + description: >- + Lease start date. This date is inclusive, e.g. 2022-02-07 means that + the short code is valid on 2/7. + example: '2023-01-28' + format: date + type: string + type: object + shortCodeLeaseInfo: + description: >- + The lease information for the short code number. This information only + applies to Bandwidth managed short code leases (customerManagedLease set + to false). + properties: + autoRenew: + description: Flag indicating whether the lease should auto-renew. + example: true + type: boolean + autoRenewMonths: + description: >- + The number of months for which to renew the release when it auto + renews. Valid values are 3, 6, and 12. The default value, if not + supplied on creation, will be 3. + enum: + - 3 + - 6 + - 12 + example: 6 + type: integer + contactEmail: + description: Email address used for all lease renewal notifications. + example: test@bandwidth.com + type: string + endDate: + description: >- + Lease end date. This date is inclusive, e.g. 2022-02-15 means that + the short code is valid through 2/15. + example: '2023-01-28' + format: date + type: string + startDate: + description: >- + Lease start date. This date is inclusive, e.g. 2022-02-07 means that + the short code is valid on 2/7. + example: '2023-01-28' + format: date + type: string + type: object + shortCodeNotes: + description: Internal notes. + example: Notes example + type: string shortCodePage: description: Pagination object that represents the current page. properties: @@ -14363,33 +14439,24 @@ components: items: $ref: '#/components/schemas/shortCodeCarrierInfo' type: array + createdDateTime: + example: '2022-11-14T18:39:04.505Z' + format: date-time + type: string customerManagedLease: description: >- Flag indicating whether the customer is managing the short code lease. example: true type: boolean - leaseEndsDate: - description: >- - Date the short code lease ends. Customer managed leases may not have - lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2024-01-29' - format: date - type: string - leaseStartsDate: - description: >- - Date the short code lease starts. Customer managed leases may not - have lease start and end dates. Date is inclusive as it relates to - expiration. - example: '2023-01-28' - format: date - type: string - orderedDate: - description: Date the short code was registered. - example: '2023-01-30' - format: date + lease: + $ref: '#/components/schemas/shortCodeLeaseData' + modifiedDateTime: + example: '2022-11-15T18:39:04.505Z' + format: date-time type: string + notes: + $ref: '#/components/schemas/shortCodeNotes' sipPeerId: description: SIP Peer ID from Iris. example: '123321' @@ -33843,6 +33910,41 @@ paths: summary: Retrieve short code details. tags: - Short Codes + patch: + description: >- + Update (field by field) an account's short code registration for a + country. This utilizes [Json Patch](https://jsonpatch.com/). + operationId: patchShortCodeLease + parameters: + - $ref: '#/components/parameters/AccountIdPathParam' + - $ref: '#/components/parameters/shortCodePathParam' + - $ref: '#/components/parameters/shortCodeCountryPathParam' + requestBody: + $ref: '#/components/requestBodies/shortCodeJsonPatchShortCodeRequest' + responses: + '200': + $ref: '#/components/responses/shortCodeUpdateShortCodeResponse' + '400': + $ref: '#/components/responses/shortCode400' + '401': + $ref: '#/components/responses/shortCode401' + '403': + $ref: '#/components/responses/shortCode403' + '404': + $ref: '#/components/responses/shortCode404' + '405': + $ref: '#/components/responses/shortCode405' + '409': + $ref: '#/components/responses/shortCode409' + '429': + $ref: '#/components/responses/shortCode429' + '500': + $ref: '#/components/responses/shortCode500' + summary: >- + Update the lease information of an account's short code registration for + a country. + tags: + - Short Codes /accounts/{accountId}/shortcodes/{shortCode}/{country}/history: get: description: >- From f2a95db4653ea9a9aa6d80dac714f1702bee250d Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Mon, 12 Jun 2023 18:12:32 +0000 Subject: [PATCH 21/21] Add Code Snippets to Spec Files --- site/specs/numbers.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/site/specs/numbers.yml b/site/specs/numbers.yml index 2c702119d..35feec9bf 100644 --- a/site/specs/numbers.yml +++ b/site/specs/numbers.yml @@ -1473,6 +1473,12 @@ components: description: >- The short code number history details have been successfully retrieved and displayed. + shortCodeUpdateShortCodeResponse: + content: + application/json: + schema: + $ref: '#/components/schemas/shortCode' + description: Updated short code data. tfvBadRequestResponse: content: application/json: