Repository navigation
feat(client): Accept-Language option, end-user push, types from gateway 1c4e974f7 - #93
Merged
Merged
Conversation
Domantas
commented
Oct 14, 2026
Contributor
- chore(types): regenerate api/hub types from gateway refactoringV2 1c4e974f7
- fix(types): keep the published declarations compiling after the regeneration
- feat(client): Accept-Language option and end-user push; project users sign in again on 401
…e974f7 Regenerated with `npm run sync-types:remote` against a private gateway stack (deployments/stack, item sdk-regen) on the same head. - cultureCode / ICultureBasedRequest gone from RequestBase (N18) - end-user push devices + messages (N28): new api.notifications module (registerOwnPushDevice, getOwnPushDevices, deleteOwnPushDevice, deleteOwnPushDeviceByToken, getOwnPushMessages, markOwnPushMessageRead, markAllOwnPushMessagesRead) and its generated test - hub.membership.repairContactRoles (POST /membership/users/repair-roles) - EchoLicenseDto gone from the public echo (N8) - the Api /types surface still omits the JsonSchemaFieldDto subclasses (gateway ticket 11-code C22): kept from the previous Api file in a marked block so the Api field types do not disappear - SDK DTO patches moved back inside the module wrapper Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eration The regenerated files lost four hand fixes the published .d.ts relies on (npm run typecheck:dist went from 0 to 10 errors): IGet and JsonObject aliases, IVersionBasedRequest/RequestBase `version?: string | number`, and IRequest.requestAborted typed `any` instead of CancellationToken. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sign in again on 401
Follows the gateway on refactoringV2 1c4e974f7.
- language (N18): `language` config / NORBIX_LANGUAGE / setLanguage /
getLanguage / per-call `{ language }` / with({ language }) send the
standard Accept-Language header — the only language input left (the
cultureCode field and CultureCode / norbix-language headers are gone;
nothing here sent them). onResponse reports `contentLanguage` from the
Content-Language answer. `allLanguages` rides on find / findOne / findOwn
and the term reads through the regenerated DTOs (tests added).
- push for end users (N28): norbix.notifications.push.registerDevice /
listDevices / removeDevice / removeDeviceByToken / listMessages /
markMessageRead / markAllMessagesRead over api.notifications.*
- sign-in (N19/N29): project users get no refresh token; an expired token
surfaces as a 401 NorbixError and the app shows sign-in again (the SDK
keeps no credentials); userId documented as usr_…
- API keys (N24): service-user keys (ak-…) work as apiKey (Bearer); test
and README note
- README: Language, Push for end users, auth notes
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🚀 Release previewNext version on merge to semantic-release dry-run output
|
|
🎉 This PR is included in version 4.26.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.