@erp-galoper/types 1.0.1224 → 1.0.1226
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/openapi.ts +26 -4
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -20364,7 +20364,23 @@ export interface paths {
|
|
|
20364
20364
|
path?: never;
|
|
20365
20365
|
cookie?: never;
|
|
20366
20366
|
};
|
|
20367
|
-
/**
|
|
20367
|
+
/**
|
|
20368
|
+
* Notification Stream
|
|
20369
|
+
* @description "
|
|
20370
|
+
* GET /stream/
|
|
20371
|
+
* For inGaloper enabled notifications
|
|
20372
|
+
*
|
|
20373
|
+
* Provides a real-time Server-Sent Events (SSE) stream for user-specific notifications.
|
|
20374
|
+
* This endpoint acts as a persistent bridge between the Redis Pub/Sub backend and
|
|
20375
|
+
* the client's browser
|
|
20376
|
+
*
|
|
20377
|
+
* How SSE works >>>
|
|
20378
|
+
* - Client initiates a GET request; the server validates permissions
|
|
20379
|
+
* - Upon success, a persistent HTTP connection is opened, subscribing to the Redis channel unique for request user
|
|
20380
|
+
* - An initial `{"type":"connected"}` JSON payload is sent immediately to confirm the stream is active.
|
|
20381
|
+
* - The server runs an asynchronous loop, yielding any messages published to Redis directly to the client in SSE format.
|
|
20382
|
+
* - The server monitors for client-side disconnection, and cleans up Redis subscriptions automatically.
|
|
20383
|
+
*/
|
|
20368
20384
|
get: operations["notification_views_notification_stream"];
|
|
20369
20385
|
put?: never;
|
|
20370
20386
|
post?: never;
|
|
@@ -52333,8 +52349,13 @@ export interface components {
|
|
|
52333
52349
|
/** Results */
|
|
52334
52350
|
results: components["schemas"]["RetrieveNotificationRecipient"][];
|
|
52335
52351
|
};
|
|
52336
|
-
/**
|
|
52337
|
-
|
|
52352
|
+
/** RetrieveNotification */
|
|
52353
|
+
RetrieveNotification: {
|
|
52354
|
+
/**
|
|
52355
|
+
* Id
|
|
52356
|
+
* Format: uuid
|
|
52357
|
+
*/
|
|
52358
|
+
id: string;
|
|
52338
52359
|
/** Title */
|
|
52339
52360
|
title: string;
|
|
52340
52361
|
/** Message */
|
|
@@ -52344,6 +52365,7 @@ export interface components {
|
|
|
52344
52365
|
* Format: date-time
|
|
52345
52366
|
*/
|
|
52346
52367
|
createdAt: string;
|
|
52368
|
+
notificationType: components["schemas"]["NotificationType"];
|
|
52347
52369
|
documentContentType: components["schemas"]["CombinedModelName"] | null;
|
|
52348
52370
|
/** Documentid */
|
|
52349
52371
|
documentId: string | null;
|
|
@@ -52355,7 +52377,7 @@ export interface components {
|
|
|
52355
52377
|
* Format: uuid
|
|
52356
52378
|
*/
|
|
52357
52379
|
id: string;
|
|
52358
|
-
notification: components["schemas"]["
|
|
52380
|
+
notification: components["schemas"]["RetrieveNotification"];
|
|
52359
52381
|
/** Isread */
|
|
52360
52382
|
isRead: boolean;
|
|
52361
52383
|
/** Readat */
|