Skip to content

Conversation

@javorosas
Copy link
Member

No description provided.

@javorosas javorosas self-assigned this Jun 16, 2025
@javorosas javorosas changed the title Add method to update self-invoice settins Add method to update self-invoice settings Jun 16, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces new self-invoice support fields for organizations and adds an API method to update these settings.

  • Added "support_email" and "support_email_verified" to the self_invoice interface.
  • Introduced the updateSelfInvoiceSettings method in the Organizations resource for updating self-invoice settings.
  • Updated the version in package.json and documented the changes in the CHANGELOG.md.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

File Description
src/types/organization.ts Added new properties to the self_invoice settings structure
src/resources/organizations.ts Added a new API method to update self-invoice settings
package.json Bumped the version and updated a dependency
CHANGELOG.md Updated changelog to record self-invoice settings update changes
Comments suppressed due to low confidence (1)

src/resources/organizations.ts:321

  • Consider using a dedicated interface for self-invoice settings instead of Record<string, any> to achieve better type safety.
data: Record<string, any>,

@javorosas javorosas merged commit 7d05a3b into main Jul 4, 2025
@javorosas javorosas deleted the FAC-1383/feature/self-invoice-settings branch July 4, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants