Skip to content

fix(contact-center): exporting missing types which are used in widgets - #5114

Open
Kesari3008 wants to merge 1 commit into
webex:nextfrom
Kesari3008:types-fixes-for-widgets
Open

fix(contact-center): exporting missing types which are used in widgets#5114
Kesari3008 wants to merge 1 commit into
webex:nextfrom
Kesari3008:types-fixes-for-widgets

Conversation

@Kesari3008

Copy link
Copy Markdown
Contributor

COMPLETES #AD-HOC

This pull request addresses

Missing types exported from SDK so that widgets and other applications can consume it.

by making the following changes

Missing types exported from SDK so that widgets and other applications can consume it.

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

I certified that

  • I have read and followed contributing guidelines
  • I discussed changes with code owners prior to submitting this pull request
  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the documentation accordingly

Make sure to have followed the contributing guidelines before submitting.

@Kesari3008
Kesari3008 requested a review from a team as a code owner July 22, 2026 06:39
@Kesari3008 Kesari3008 added the validated If the pull request is validated for automation. label Jul 22, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8ee12e6f61

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

/** Station logout response */
StationLogoutResponse,
/** Team information returned for agent login */
Team,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Export the Profile team shape instead

When widgets import Team to type values from the public Profile returned by register(), this new export resolves to src/types.ts's {id, name} shape, but Profile.teams is declared with the config Team shape (teamId, teamName) and the public examples use profile.teams[0].teamId. That means a selected profile team cannot be assigned to the exported Team type, so the missing public type is still exposed incorrectly; re-export the config Team here or alias one of the two names.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validated If the pull request is validated for automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant