@digipair/skill-push-notification 0.43.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/index.cjs.d.ts +1 -0
- package/index.cjs.js +8824 -0
- package/index.d.ts +1 -0
- package/index.esm.js +8805 -0
- package/libs/skill-push-notification/src/index.d.ts +1 -0
- package/libs/skill-push-notification/src/lib/skill-push-notification.d.ts +4 -0
- package/package.json +7 -0
- package/schema.fr.json +70 -0
- package/schema.json +70 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './lib/skill-push-notification';
|
package/package.json
ADDED
package/schema.fr.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-push-notification",
|
|
5
|
+
"summary": "Manipulation de WebPush",
|
|
6
|
+
"description": "Cette compétence permet aux utilisateurs d'envoyer des notifications avec WebPush.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "đź“•"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/sendPush": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "spatial"],
|
|
14
|
+
"summary": "Envoie une notification via WebPush.",
|
|
15
|
+
"description": "Envoie une notification via WebPush avec les données nécessaires.",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "subscription",
|
|
19
|
+
"summary": "Souscription",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Objet de souscription utilisé pour l'envoi de notifications.",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "object"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "payload",
|
|
28
|
+
"summary": "Charge utile",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Charge utile Ă inclure dans la notification.",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "object"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "privateKey",
|
|
37
|
+
"summary": "Clé privée VAPID",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "Clé privée VAPID utilisée pour l'authentification du serveur.",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "publicKey",
|
|
46
|
+
"summary": "Clé publique VAPID",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Clé publique VAPID utilisée pour autoriser les notifications.",
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "mailto",
|
|
55
|
+
"summary": "Destinataire",
|
|
56
|
+
"required": false,
|
|
57
|
+
"description": "Email de l'admin pour la configuration de VAPID",
|
|
58
|
+
"schema": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"x-events": []
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"components": {
|
|
68
|
+
"schemas": {}
|
|
69
|
+
}
|
|
70
|
+
}
|
package/schema.json
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"openapi": "3.0.0",
|
|
3
|
+
"info": {
|
|
4
|
+
"title": "@digipair/skill-push-notification",
|
|
5
|
+
"summary": "Web Push Manipulation",
|
|
6
|
+
"description": "This skill allows users to send WebPush notifications.",
|
|
7
|
+
"version": "0.1.0",
|
|
8
|
+
"x-icon": "đź“•"
|
|
9
|
+
},
|
|
10
|
+
"paths": {
|
|
11
|
+
"/sendPush": {
|
|
12
|
+
"post": {
|
|
13
|
+
"tags": ["web", "spatial"],
|
|
14
|
+
"summary": "Send a web push notification",
|
|
15
|
+
"description": "Send a web push notification with the specified values.",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "subscription",
|
|
19
|
+
"summary": "Subscription",
|
|
20
|
+
"required": true,
|
|
21
|
+
"description": "Subscription object used to send notifications.",
|
|
22
|
+
"schema": {
|
|
23
|
+
"type": "object"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "payload",
|
|
28
|
+
"summary": "Payload",
|
|
29
|
+
"required": true,
|
|
30
|
+
"description": "Payload to insert into the notification",
|
|
31
|
+
"schema": {
|
|
32
|
+
"type": "object"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"name": "privateKey",
|
|
37
|
+
"summary": "VAPID private key",
|
|
38
|
+
"required": false,
|
|
39
|
+
"description": "VAPID private key used for authentication.",
|
|
40
|
+
"schema": {
|
|
41
|
+
"type": "string"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "publicKey",
|
|
46
|
+
"summary": "VAPID public key",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "VAPID public key used to enable push subscription.",
|
|
49
|
+
"schema": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "mailto",
|
|
55
|
+
"summary": "Mailto",
|
|
56
|
+
"required": false,
|
|
57
|
+
"description": "Admin email for VAPID mailto configuration.",
|
|
58
|
+
"schema": {
|
|
59
|
+
"type": "string"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"x-events": []
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"components": {
|
|
68
|
+
"schemas": {}
|
|
69
|
+
}
|
|
70
|
+
}
|