@epilot/kanban-client 1.0.0 → 1.1.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/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +4 -0
- package/dist/openapi.d.ts +9 -1
- package/dist/openapi.json +21 -2
- package/package.json +2 -2
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={390:function(e,r,a){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=t(a(466));r.default=n.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/kanban/board":{"post":{"operationId":"createKanbanBoard","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/kanban/boards":{"get":{"operationId":"getKanbanBoards","parameters":[{"name":"filter","in":"query","required":false}],"responses":{}}},"/v1/kanban/board/{boardId}":{"get":{"operationId":"getKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"responses":{}}},"/v1/kanban/query/flows:autocomplete":{"get":{"operationId":"flowsAutocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"size","in":"query"}],"responses":{}}},"/v1/kanban/query/flows:execute":{"post":{"operationId":"executeFlowsQuery","requestBody":{"content":{"application/json":{}}},"responses":{}}}},"components":{},"servers":[{"url":"https://kanban.sls.epilot.io"}]}')}},r={},a=function a(t){var n=r[t];if(void 0!==n)return n.exports;var o=r[t]={exports:{}};return e[t].call(o.exports,o,o.exports,a),o.exports}(390),t=exports;for(var n in a)t[n]=a[n];a.__esModule&&Object.defineProperty(t,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={390:function(e,r,a){var t=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});var n=t(a(466));r.default=n.default},466:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"paths":{"/v1/kanban/board":{"post":{"operationId":"createKanbanBoard","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/kanban/boards":{"get":{"operationId":"getKanbanBoards","parameters":[{"name":"filter","in":"query","required":false}],"responses":{}}},"/v1/kanban/board/{boardId}":{"get":{"operationId":"getKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"patch":{"operationId":"patchKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteKanbanBoard","parameters":[{"name":"boardId","in":"path","required":true}],"responses":{}}},"/v1/kanban/query/flows:autocomplete":{"get":{"operationId":"flowsAutocomplete","parameters":[{"name":"input","in":"query"},{"name":"attribute","in":"query","required":true},{"name":"size","in":"query"},{"name":"from","in":"query"}],"responses":{}}},"/v1/kanban/query/flows:execute":{"post":{"operationId":"executeFlowsQuery","requestBody":{"content":{"application/json":{}}},"responses":{}}}},"components":{},"servers":[{"url":"https://kanban.sls.epilot.io"}]}')}},r={},a=function a(t){var n=r[t];if(void 0!==n)return n.exports;var o=r[t]={exports:{}};return e[t].call(o.exports,o,o.exports,a),o.exports}(390),t=exports;for(var n in a)t[n]=a[n];a.__esModule&&Object.defineProperty(t,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -212,6 +212,7 @@ declare namespace Paths {
|
|
|
212
212
|
* name
|
|
213
213
|
*/
|
|
214
214
|
export type Attribute = string;
|
|
215
|
+
export type From = number;
|
|
215
216
|
export type Input = string;
|
|
216
217
|
export type Size = number;
|
|
217
218
|
}
|
|
@@ -223,6 +224,7 @@ declare namespace Paths {
|
|
|
223
224
|
*/
|
|
224
225
|
Parameters.Attribute;
|
|
225
226
|
size?: Parameters.Size;
|
|
227
|
+
from?: Parameters.From;
|
|
226
228
|
}
|
|
227
229
|
namespace Responses {
|
|
228
230
|
export interface $200 {
|
|
@@ -232,9 +234,15 @@ declare namespace Paths {
|
|
|
232
234
|
* "value"
|
|
233
235
|
* ]
|
|
234
236
|
*/
|
|
235
|
-
results
|
|
237
|
+
results: (string | boolean | {
|
|
236
238
|
[name: string]: any;
|
|
237
239
|
})[];
|
|
240
|
+
/**
|
|
241
|
+
* Total number of matching items available
|
|
242
|
+
* example:
|
|
243
|
+
* 42
|
|
244
|
+
*/
|
|
245
|
+
hits: number;
|
|
238
246
|
}
|
|
239
247
|
}
|
|
240
248
|
}
|
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Kanban API",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.2"
|
|
6
6
|
},
|
|
7
7
|
"tags": [
|
|
8
8
|
{
|
|
@@ -354,6 +354,16 @@
|
|
|
354
354
|
"minimum": 1,
|
|
355
355
|
"maximum": 250
|
|
356
356
|
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"name": "from",
|
|
360
|
+
"in": "query",
|
|
361
|
+
"description": "Starting offset for pagination",
|
|
362
|
+
"schema": {
|
|
363
|
+
"type": "integer",
|
|
364
|
+
"default": 0,
|
|
365
|
+
"minimum": 0
|
|
366
|
+
}
|
|
357
367
|
}
|
|
358
368
|
],
|
|
359
369
|
"responses": {
|
|
@@ -383,8 +393,17 @@
|
|
|
383
393
|
"example": [
|
|
384
394
|
"value"
|
|
385
395
|
]
|
|
396
|
+
},
|
|
397
|
+
"hits": {
|
|
398
|
+
"type": "number",
|
|
399
|
+
"description": "Total number of matching items available",
|
|
400
|
+
"example": 42
|
|
386
401
|
}
|
|
387
|
-
}
|
|
402
|
+
},
|
|
403
|
+
"required": [
|
|
404
|
+
"results",
|
|
405
|
+
"hits"
|
|
406
|
+
]
|
|
388
407
|
}
|
|
389
408
|
}
|
|
390
409
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/kanban-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Client library for epilot Kanban API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@dazn/lambda-powertools-correlation-ids": "^1.28.1",
|
|
42
42
|
"buffer": "^6.0.3",
|
|
43
43
|
"https-browserify": "^1.0.0",
|
|
44
|
-
"openapi-client-axios": "^7.
|
|
44
|
+
"openapi-client-axios": "^7.8.0",
|
|
45
45
|
"stream-http": "^3.1.1",
|
|
46
46
|
"url": "^0.11.0",
|
|
47
47
|
"util": "^0.12.3"
|