Date: 2026-01-04 Purpose: Identify missing services and models in the SDK compared to backend APIs
After comparing all 18 backend API routes.rb files with their corresponding SDK blocks, the following gaps were identified. Priority is based on likelihood of consumer usage.
SDK Services (12): auth, avatars, api-keys, apps, geography, guests, mfa, oauth, roles, subscriptions, tenants, users
| Service | Backend Routes | Priority |
|---|---|---|
| PermissionsService | GET/POST/PUT/DELETE /permissions |
HIGH |
| MagicLinksService | POST /companies/:url_id/magic_links, validate, send, destroy |
HIGH |
| CompaniesService | Full CRUD for companies, blocks, keys, exchange, storage, domains | MEDIUM |
| MailTemplatesService | GET/POST/PUT /mailtemplates, mandrill integration |
MEDIUM |
| SubscriptionModelsService | GET/POST/PUT /subscription_models |
MEDIUM |
| JwksService | .well-known/jwks.json, company/app JWKS |
LOW |
| OidcService | OpenID Connect discovery, authorize, token, userinfo | LOW |
| AdminRsaKeysService | Admin namespace for RSA key rotation | LOW |
Permission,CreatePermissionRequest,UpdatePermissionRequestMagicLink,CreateMagicLinkRequest,MagicLinkLogCompany(full model with blocks, keys, exchange settings)SubscriptionModel,CreateSubscriptionModelRequest
SDK Services (5): companies, departments, quarters, team-members, teams
| Service | Backend Routes | Priority |
|---|---|---|
| PositionsService | GET/POST/PUT/DELETE /positions |
MEDIUM |
| EmployeeAssignmentsService | GET/POST/PUT/DELETE /employee_assignments |
MEDIUM |
Position,CreatePositionRequest,UpdatePositionRequestEmployeeAssignment,CreateEmployeeAssignmentRequest
SDK Services (12): availabilities, conversations, contexts, draft-messages, groups, message-files, messages, notification-settings, notifications, sources, users, websocket-tokens
| Service | Backend Routes | Priority |
|---|---|---|
| GroupInvitesService | GET/POST/DELETE /groups/:id/invites, join, QR code |
HIGH |
| MeetingsService | POST /meetings/:id, create session |
MEDIUM |
| WebNotificationsService | POST /web_notifications |
MEDIUM |
| MailTemplatesService | Standard mail template endpoints | LOW |
| EntitiesService | GET /entities/:id/notifications |
LOW |
GroupInvite,CreateGroupInviteRequest,JoinGroupRequestMeeting(conversations version),CreateMeetingSessionRequest
SDK Services: posts, comments, tags, categories, users
| Service | Backend Routes | Priority |
|---|---|---|
| ActivityService | GET /identities/:id/activities, GET /identities/:id/comments |
MEDIUM |
| ModerationService | DELETE /posts/:id/comments/:id/moderate |
LOW |
- Posts:
like,dislike,follow,unfollow,save,unsave,change_owner,publish(version) - Comments:
like,dislike,reply,follow,unfollow,save,unsave - Users: User tags (
add_tag,remove_tag), social features (followers, following, follow/unfollow users)
SDK Services: storage-files, entity-files, file-schemas, user-files
| Service | Backend Routes | Priority |
|---|---|---|
| CategoriesService | GET/POST/PUT /categories |
MEDIUM |
| TagsService | GET/POST/PUT /tags |
MEDIUM |
| FileTagsService | POST/DELETE /users/:id/files/:id/tags |
MEDIUM |
| DelegationsService | GET/POST/DELETE /users/:id/delegations |
MEDIUM |
| FileAccessService | POST/DELETE /users/:id/files/:id/access/* |
MEDIUM |
| FileAccessRequestsService | Access request management | LOW |
FileCategory,FileTagAccessDelegation,CreateDelegationRequestFileAccessRequest
SDK Services: locations, addresses, premises, areas, regions, routes, bookings, location-hours, location-images, location-slots, location-taxes, location-groups, geo-identities
| Service | Backend Routes | Priority |
|---|---|---|
| PremiseEventsService | GET/POST /locations/:id/premises/:id/events |
MEDIUM |
| RouteTrackerService | POST /users/:id/routes/:id/tracker/location |
MEDIUM |
| LocationIdentitiesService | POST/DELETE /locations/:id/identities |
MEDIUM |
| GeoCountriesService | GET /countries/:code/locations |
LOW |
| GeoStatesService | GET /states/:code/locations |
LOW |
| GeoCitiesService | GET /cities/:code/locations |
LOW |
SDK Services (22): products, categories, brands, vendors, warehouses, channels, collections, product-sets, cart, my-carts, shopping-lists, product-promotions, product-prices, product-filters, product-images, product-variations, product-reviews, stock, product-suggestions, addons, remarketing, visitors
| Service | Backend Routes | Priority |
|---|---|---|
| CartDetailsService | PUT /carts/:id/details/:id/* (order, accept, ship, etc.) |
HIGH |
| ProductVariationReviewsService | GET/POST/PUT/DELETE /products/:id/variations/:id/reviews |
MEDIUM |
| CatalogsService | GET/POST/PUT/DELETE /catalogs |
MEDIUM |
| ProductVendorsService | GET /products/:id/vendors |
LOW |
- Stock:
eval_rulesfor stock rule evaluation - Products:
recovermethod for trashed products
SDK Services: rewards, coupons, loyalty, badges, coupon-configurations, offer-codes, expiration-rules, rewards-customers
| Service | Backend Routes | Priority |
|---|---|---|
| CategoriesService | GET/POST /categories for badge categories |
LOW |
| MoneyRulesService | POST/PUT /loyalties/:id/rules/money |
LOW |
| ProductRulesService | POST/PUT/DELETE /loyalties/:id/rules/products |
LOW |
| EventRulesService | POST/PUT /loyalties/:id/rules/events |
LOW |
SDK Services: search, search-history, favorites, entities, identities
| Service | Backend Routes | Priority |
|---|---|---|
| EntityTypesService | GET /entity_types, GET /entity_types/:type (schema) |
HIGH |
| CloudSearchService | POST /cloud (AWS CloudSearch) |
MEDIUM |
| JarvisSearchService | POST /jarvis/entities/search |
LOW |
SDK Services: courses, subjects, lessons, enrollments, assignments, submissions, coaching-sessions, content-tests, course-groups, students, teachers
| Service | Backend Routes | Priority |
|---|---|---|
| PlacementsService | Full placement test CRUD, sections, questions, rules | HIGH |
| CalendarsService | Teacher/student availability, events | HIGH |
| MatchesService | Coaching matches, availability evaluation | HIGH |
| AttendanceService | GET/POST student/teacher attendance |
MEDIUM |
| NotesService | GET/POST /notes |
MEDIUM |
| RegistrationTokensService | GET/PUT/DELETE /tokens |
LOW |
PlacementTest,PlacementSection,PlacementQuestion,PlacementRuleCalendarEvent,AvailabilityMatch,MatchEvaluationAttendance,AttendanceRecordNote,RegistrationToken
SDK Services: orders, order-details, payments, subscriptions, subscription-models, entities, users, customers, flexible-orders, stripe, mercadopago, vendor-payments, order-taxes
Minor missing features:
- Company subscriptions (separate from user subscriptions)
- Entity subscriptions
- Provider/vendor reports
SDK Services: wallets, transactions, authorization-codes, webhooks
All backend routes are covered.
SDK Services: accounts, contacts, contact-events, leads, lead-follows, opportunities, meetings, meeting-participants, meeting-billings, quotes, subscribers, referrals, touches, categories, account-categories, calendar-accounts, busy-blocks, ics-tokens, zoom-meetings, zoom-hosts, mail-templates, communications, users, billing-reports, calendar-sync
Minor gaps:
- Account documents presign (multipart upload)
- Contact documents presign (multipart upload)
- Jarvis file upload/association
SDK Services: onboardings, flows, user-journeys, user-identities, mail-templates, onboard, remarketing
All major routes covered. Minor features:
- User journey reports
SDK Services: forms, form-schemas, form-schema-versions, form-instances, form-sets, landings, subscriptions, appointments, surveys, referrals, mail-templates, crm-sync, users
SDK Services: campaigns, campaign-media, landing-pages, audiences, landing-templates, campaign-targets, campaign-results, campaign-markets, campaign-locations, templates, campaign-media-results, media
Minor gaps:
- Facebook audience creation (
POST /audience/facebook)
SDK Services: assets, asset-events, asset-audits, categories, tags, vendors, warehouses, entities, asset-operations, alerts, users, asset-images
All major routes covered.
SDK Services (17): agent-runtime, agents, ai-models, clusters, conversations, entities, execution-comments, executions, mail-templates, marvin-chat, prompt-comments, prompts, users, workflows, workflow-instances, workflow-participants, workflow-steps
This block has extensive coverage with 17 services.
block-authentication: Add PermissionsService✅ (MagicLinksService exists in guests.service.ts)block-university: Add PlacementsService, CalendarsService, MatchesService✅block-search: Add EntityTypesService✅ (Already exists in EntitiesService)block-products: Add CartDetailsService✅block-conversations: Add GroupInvitesService✅
- block-company: Add PositionsService, EmployeeAssignmentsService
- block-files: Add CategoriesService, TagsService, DelegationsService
- block-geolocation: Add PremiseEventsService, RouteTrackerService
- block-content: Add ActivityService, social features to Posts/Comments
- JWKS/OIDC services in authentication
- Admin RSA key management
- Cloud search integration
- Badge categories in rewards
- Start with HIGH priority items - These are commonly used features that consumers will expect
- Add missing models/types first - Types can be added without breaking changes
- Consider feature flags - Some features (OIDC, CloudSearch) may be optional
- Document API differences - Some backend features may be intentionally excluded