Skip to content

feat(go-sdk): Add TurboPartner module - #17

Merged
nicolasiscoding merged 1 commit into
mainfrom
feat/go-sdk-turbopartner
Feb 16, 2026
Merged

feat(go-sdk): Add TurboPartner module#17
nicolasiscoding merged 1 commit into
mainfrom
feat/go-sdk-turbopartner

Conversation

@nicolasiscoding

Copy link
Copy Markdown
Member

Summary

  • Adds complete TurboPartner module to the Go SDK with 25 methods covering all partner portal operations
  • Adds Patch() and Delete() HTTP methods to the shared HTTP client
  • Includes 2 example files and full README documentation for TurboPartner
  • 118 tests passing (including existing TurboSign tests)

Methods added (organized by domain):

Domain Methods
Organization Management CreateOrganization, ListOrganizations, GetOrganizationDetails, UpdateOrganizationInfo, DeleteOrganization, UpdateOrganizationEntitlements
Org User Management ListOrganizationUsers, AddUserToOrganization, UpdateOrganizationUserRole, RemoveUserFromOrganization, ResendOrganizationInvitationToUser
Org API Keys ListOrganizationApiKeys, CreateOrganizationApiKey, UpdateOrganizationApiKey, RevokeOrganizationApiKey
Partner API Keys ListPartnerApiKeys, CreatePartnerApiKey, UpdatePartnerApiKey, RevokePartnerApiKey
Partner Users ListPartnerPortalUsers, AddUserToPartnerPortal, UpdatePartnerUserPermissions, RemoveUserFromPartnerPortal, ResendPartnerPortalInvitationToUser
Audit Logs GetPartnerAuditLogs

Test plan

  • All 118 unit tests passing (go test ./...)
  • Verify examples compile (go build with ignore tags)
  • E2E test against staging with real partner credentials

🤖 Generated with Claude Code

Adds complete TurboPartner implementation with 25 methods covering:
- Organization management (CRUD, entitlements)
- Organization user management
- Organization API key management
- Partner API key management with scoped permissions
- Partner portal user management
- Audit log querying with filtering

Also adds Patch() and Delete() HTTP methods, examples, and README docs.
118 tests passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nicolasiscoding
nicolasiscoding merged commit 2fd514c into main Feb 16, 2026
9 checks passed
nicolasiscoding pushed a commit that referenced this pull request Jul 29, 2026
…ns (#50)

Resolves all 6 open high-severity Dependabot alerts in this repo:

| Package         | Alerts   | Was     | Now     | Advisory            |
|-----------------|----------|---------|---------|---------------------|
| brace-expansion | #17, #35 | 1.1.12  | 1.1.16  | GHSA-3jxr-9vmj-r5cp |
| js-yaml         | #18, #36 | 3.14.2  | 3.15.0  | GHSA-52cp-r559-cp3m |
| minimatch       | #3,  #21 | 3.1.2   | 3.1.5   | GHSA-7r86-cg39-jmmj |

Each alert is filed twice, once per lockfile (root and
packages/js-sdk), so both lockfiles are updated.

All three are dev-only transitive dependencies of the Jest/ts-jest test
toolchain — none is a direct dependency, none appears in any
package.json, and the JS SDK has zero runtime dependencies, so nothing
here ships to consumers.

No manifest change was needed: every patched version already satisfies
the existing semver range its consumers declare (minimatch ^3.1.1,
brace-expansion ^1.1.x, js-yaml ^3.13.x), so a plain `npm update`
resolves them. No `overrides` pin is used, which keeps future patch
releases flowing normally.

Verified: `npm ci`, `npm run build:js` (tsc), and `npm run test:js`
(271/271 tests) all pass.

Co-authored-by: yacineKahlerras <kahlerasse@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant