@digipair/skill-chatbot 0.32.0 → 0.32.2

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-chatbot",
3
- "version": "0.32.0",
3
+ "version": "0.32.2",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",
package/schema.en.json CHANGED
@@ -67,7 +67,7 @@
67
67
  "post": {
68
68
  "tags": ["boost"],
69
69
  "summary": "Execute a step",
70
- "description": "Execute a step of a step-by-step boost",
70
+ "description": "Execute a step of a boost",
71
71
  "parameters": [
72
72
  {
73
73
  "name": "step",
@@ -114,23 +114,6 @@
114
114
  },
115
115
  "required": []
116
116
  },
117
- "Trigger": {
118
- "type": "object",
119
- "tags": ["boost"],
120
- "summary": "Trigger",
121
- "properties": {
122
- "name": {
123
- "type": "string"
124
- },
125
- "selector": {
126
- "type": "string"
127
- },
128
- "url": {
129
- "type": "string"
130
- }
131
- },
132
- "required": []
133
- },
134
117
  "Step": {
135
118
  "type": "object",
136
119
  "tags": ["boost"],
@@ -155,19 +138,25 @@
155
138
  "x-scene-blocks": {
156
139
  "/boost": {
157
140
  "summary": "Boost",
158
- "description": "Step-by-step boost proposed by Digipair",
141
+ "description": "Boost proposed by Digipair",
159
142
  "tags": ["boost", "service"],
160
143
  "metadata": [
161
144
  {
162
- "name": "boosts",
163
- "summary": "List of triggers",
145
+ "name": "boostSelector",
146
+ "summary": "Selector",
164
147
  "required": true,
165
- "description": "List of boost triggers",
148
+ "description": "CSS selector",
166
149
  "schema": {
167
- "type": "array",
168
- "items": {
169
- "$ref": "#/components/schemas/Trigger"
170
- }
150
+ "type": "string"
151
+ }
152
+ },
153
+ {
154
+ "name": "boostUrl",
155
+ "summary": "RegEx Url",
156
+ "required": false,
157
+ "description": "RegEx url",
158
+ "schema": {
159
+ "type": "string"
171
160
  }
172
161
  }
173
162
  ],
package/schema.fr.json CHANGED
@@ -67,7 +67,7 @@
67
67
  "post": {
68
68
  "tags": ["boost"],
69
69
  "summary": "Execute une étape",
70
- "description": "Execute une étape d'un boost par étapes",
70
+ "description": "Execute une étape d'un boost",
71
71
  "parameters": [
72
72
  {
73
73
  "name": "step",
@@ -114,23 +114,6 @@
114
114
  },
115
115
  "required": []
116
116
  },
117
- "Trigger": {
118
- "type": "object",
119
- "tags": ["boost"],
120
- "summary": "Déclencheur",
121
- "properties": {
122
- "name": {
123
- "type": "string"
124
- },
125
- "selector": {
126
- "type": "string"
127
- },
128
- "url": {
129
- "type": "string"
130
- }
131
- },
132
- "required": []
133
- },
134
117
  "Step": {
135
118
  "type": "object",
136
119
  "tags": ["boost"],
@@ -159,15 +142,21 @@
159
142
  "tags": ["boost", "service"],
160
143
  "metadata": [
161
144
  {
162
- "name": "boosts",
163
- "summary": "Liste des déclencheurs",
145
+ "name": "boostSelector",
146
+ "summary": "Sélecteur CSS du déclencheur",
164
147
  "required": true,
165
- "description": "Liste des déclencheurs du boost",
148
+ "description": "Sélecteur CSS du déclencheur",
166
149
  "schema": {
167
- "type": "array",
168
- "items": {
169
- "$ref": "#/components/schemas/Trigger"
170
- }
150
+ "type": "string"
151
+ }
152
+ },
153
+ {
154
+ "name": "boostUrl",
155
+ "summary": "Correspondance URL",
156
+ "required": false,
157
+ "description": "Correspondance URL du déclencheur",
158
+ "schema": {
159
+ "type": "string"
171
160
  }
172
161
  }
173
162
  ],
package/schema.json CHANGED
@@ -67,7 +67,7 @@
67
67
  "post": {
68
68
  "tags": ["boost"],
69
69
  "summary": "Execute a step",
70
- "description": "Execute a step of a step-by-step boost",
70
+ "description": "Execute a step of a boost",
71
71
  "parameters": [
72
72
  {
73
73
  "name": "step",
@@ -114,23 +114,6 @@
114
114
  },
115
115
  "required": []
116
116
  },
117
- "Trigger": {
118
- "type": "object",
119
- "tags": ["boost"],
120
- "summary": "Trigger",
121
- "properties": {
122
- "name": {
123
- "type": "string"
124
- },
125
- "selector": {
126
- "type": "string"
127
- },
128
- "url": {
129
- "type": "string"
130
- }
131
- },
132
- "required": []
133
- },
134
117
  "Step": {
135
118
  "type": "object",
136
119
  "tags": ["boost"],
@@ -159,15 +142,21 @@
159
142
  "tags": ["boost", "service"],
160
143
  "metadata": [
161
144
  {
162
- "name": "boosts",
163
- "summary": "List of triggers",
145
+ "name": "boostSelector",
146
+ "summary": "Selector",
164
147
  "required": true,
165
- "description": "List of boost triggers",
148
+ "description": "CSS selector",
166
149
  "schema": {
167
- "type": "array",
168
- "items": {
169
- "$ref": "#/components/schemas/Trigger"
170
- }
150
+ "type": "string"
151
+ }
152
+ },
153
+ {
154
+ "name": "boostUrl",
155
+ "summary": "RegEx Url",
156
+ "required": true,
157
+ "description": "RegEx url",
158
+ "schema": {
159
+ "type": "string"
171
160
  }
172
161
  }
173
162
  ],