|
@@ -24,10 +24,10 @@ const router = express.Router();
|
|
|
* docs:
|
|
* docs:
|
|
|
* type: array
|
|
* type: array
|
|
|
* items:
|
|
* items:
|
|
|
- * $ref: '#/components/schemas/Document'
|
|
|
|
|
|
|
+ * $ref: '#/components/schemas/InAppNotificationDocument'
|
|
|
* totalDocs:
|
|
* totalDocs:
|
|
|
* type: integer
|
|
* type: integer
|
|
|
- * description: Total number of documents
|
|
|
|
|
|
|
+ * description: Total number of in app notification documents
|
|
|
* offset:
|
|
* offset:
|
|
|
* type: integer
|
|
* type: integer
|
|
|
* description: Offset value
|
|
* description: Offset value
|
|
@@ -52,15 +52,15 @@ const router = express.Router();
|
|
|
* nextPage:
|
|
* nextPage:
|
|
|
* type: string
|
|
* type: string
|
|
|
* description: Next page number or null
|
|
* description: Next page number or null
|
|
|
- * Document:
|
|
|
|
|
|
|
+ * InAppNotificationDocument:
|
|
|
* type: object
|
|
* type: object
|
|
|
* properties:
|
|
* properties:
|
|
|
* _id:
|
|
* _id:
|
|
|
* type: string
|
|
* type: string
|
|
|
- * description: Document ID
|
|
|
|
|
|
|
+ * description: In app notification document ID
|
|
|
* action:
|
|
* action:
|
|
|
* type: string
|
|
* type: string
|
|
|
- * description: Action performed on the document
|
|
|
|
|
|
|
+ * description: Action performed on the in app notification document
|
|
|
* snapshot:
|
|
* snapshot:
|
|
|
* type: string
|
|
* type: string
|
|
|
* description: Snapshot details in JSON format
|
|
* description: Snapshot details in JSON format
|
|
@@ -74,13 +74,13 @@ const router = express.Router();
|
|
|
* description: Creation timestamp
|
|
* description: Creation timestamp
|
|
|
* status:
|
|
* status:
|
|
|
* type: string
|
|
* type: string
|
|
|
- * description: Status of the document
|
|
|
|
|
|
|
+ * description: Status of the in app notification document
|
|
|
* targetModel:
|
|
* targetModel:
|
|
|
* type: string
|
|
* type: string
|
|
|
* description: Model of the target
|
|
* description: Model of the target
|
|
|
* id:
|
|
* id:
|
|
|
* type: string
|
|
* type: string
|
|
|
- * description: Document ID
|
|
|
|
|
|
|
+ * description: In app notification document ID
|
|
|
* actionUsers:
|
|
* actionUsers:
|
|
|
* type: array
|
|
* type: array
|
|
|
* items:
|
|
* items:
|