Skip to content

Commit 3987cc2

Browse files
sarthak688claude
andcommitted
fix(subscriptions): tag topic-level updates @internal + remove oauth-scopes entries
Same internal-scope treatment. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent a2057e0 commit 3987cc2

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/oauth-scopes.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ The `ConversationalAgents` scope is required for real-time WebSocket sessions (`
227227
| `getAll()` | `NotificationService` |
228228
| `getPublishers()` | `NotificationService` |
229229
| `getSupportedChannels()` | `NotificationService` |
230-
| `updateTopic()` | `NotificationService` |
231-
| `updateCategory()` | `NotificationService` |
232230

233231
## Processes
234232

src/models/notification/subscriptions.models.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ export interface SubscriptionServiceModel {
148148
* { topicId: '<topicId>', isSubscribed: false, notificationMode: NotificationMode.Email },
149149
* ]);
150150
* ```
151+
* @internal
151152
*/
152153
updateTopic(tenantId: string, subscriptions: TopicSubscriptionUpdate[]): Promise<SubscriptionUpdateTopicResponse>;
153154

@@ -173,6 +174,7 @@ export interface SubscriptionServiceModel {
173174
* },
174175
* ]);
175176
* ```
177+
* @internal
176178
*/
177179
updateCategory(tenantId: string, subscriptions: CategorySubscriptionUpdate[]): Promise<SubscriptionUpdateCategoryResponse>;
178180
}

src/services/notification/subscriptions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export class SubscriptionService extends BaseService implements SubscriptionServ
160160
* { topicId: '<topicId>', isSubscribed: false, notificationMode: NotificationMode.Email },
161161
* ]);
162162
* ```
163+
* @internal
163164
*/
164165
@track('Subscriptions.UpdateTopic')
165166
async updateTopic(tenantId: string, subscriptions: TopicSubscriptionUpdate[]): Promise<SubscriptionUpdateTopicResponse> {
@@ -191,6 +192,7 @@ export class SubscriptionService extends BaseService implements SubscriptionServ
191192
* },
192193
* ]);
193194
* ```
195+
* @internal
194196
*/
195197
@track('Subscriptions.UpdateCategory')
196198
async updateCategory(tenantId: string, subscriptions: CategorySubscriptionUpdate[]): Promise<SubscriptionUpdateCategoryResponse> {

0 commit comments

Comments
 (0)