@digipair/skill-push-notification 0.95.7 → 0.97.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-push-notification",
3
- "version": "0.95.7",
3
+ "version": "0.97.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "service",
package/schema.fr.json CHANGED
@@ -60,7 +60,37 @@
60
60
  }
61
61
  }
62
62
  ],
63
- "x-events": []
63
+ "x-events": [],
64
+ "responses": {
65
+ "200": {
66
+ "description": "Résultat de l'envoi de notification web push",
67
+ "content": {
68
+ "application/json": {
69
+ "schema": {
70
+ "type": "object",
71
+ "properties": {
72
+ "statusCode": {
73
+ "type": "number",
74
+ "description": "Code de statut HTTP du service push"
75
+ },
76
+ "headers": {
77
+ "type": "object",
78
+ "description": "En-têtes de réponse du service push"
79
+ },
80
+ "body": {
81
+ "type": "string",
82
+ "description": "Corps de réponse du service push"
83
+ },
84
+ "success": {
85
+ "type": "boolean",
86
+ "description": "Si la notification a été envoyée avec succès"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
64
94
  }
65
95
  }
66
96
  },
package/schema.json CHANGED
@@ -60,7 +60,37 @@
60
60
  }
61
61
  }
62
62
  ],
63
- "x-events": []
63
+ "x-events": [],
64
+ "responses": {
65
+ "200": {
66
+ "description": "Web push notification sending result",
67
+ "content": {
68
+ "application/json": {
69
+ "schema": {
70
+ "type": "object",
71
+ "properties": {
72
+ "statusCode": {
73
+ "type": "number",
74
+ "description": "HTTP status code from push service"
75
+ },
76
+ "headers": {
77
+ "type": "object",
78
+ "description": "Response headers from push service"
79
+ },
80
+ "body": {
81
+ "type": "string",
82
+ "description": "Response body from push service"
83
+ },
84
+ "success": {
85
+ "type": "boolean",
86
+ "description": "Whether the notification was sent successfully"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
64
94
  }
65
95
  }
66
96
  },