@epilot/kanban-client 1.1.0 → 1.2.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 +17 -0
- package/dist/openapi.d.ts +96 -2
- package/dist/openapi.json +113 -3
- package/package.json +1 -1
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"},{"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})})();
|
|
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/org/default-board":{"put":{"operationId":"setDefaultKanbanBoard","parameters":[{"name":"boardId","in":"query","required":true}],"responses":{}},"delete":{"operationId":"clearDefaultKanbanBoard","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})})();
|
|
@@ -85,6 +85,23 @@
|
|
|
85
85
|
"responses": {}
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
+
"/v1/kanban/org/default-board": {
|
|
89
|
+
"put": {
|
|
90
|
+
"operationId": "setDefaultKanbanBoard",
|
|
91
|
+
"parameters": [
|
|
92
|
+
{
|
|
93
|
+
"name": "boardId",
|
|
94
|
+
"in": "query",
|
|
95
|
+
"required": true
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"responses": {}
|
|
99
|
+
},
|
|
100
|
+
"delete": {
|
|
101
|
+
"operationId": "clearDefaultKanbanBoard",
|
|
102
|
+
"responses": {}
|
|
103
|
+
}
|
|
104
|
+
},
|
|
88
105
|
"/v1/kanban/query/flows:autocomplete": {
|
|
89
106
|
"get": {
|
|
90
107
|
"operationId": "flowsAutocomplete",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ declare namespace Components {
|
|
|
29
29
|
updated_by?: string;
|
|
30
30
|
shared_with?: string[];
|
|
31
31
|
shared_with_org?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Array of user IDs who have full ownership rights for this board (view, edit, delete)
|
|
34
|
+
*/
|
|
35
|
+
owners?: string[];
|
|
32
36
|
config: {
|
|
33
37
|
/**
|
|
34
38
|
* example:
|
|
@@ -75,6 +79,10 @@ declare namespace Components {
|
|
|
75
79
|
updated_by?: string;
|
|
76
80
|
shared_with?: string[];
|
|
77
81
|
shared_with_org?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Array of user IDs who have full ownership rights for this board (view, edit, delete)
|
|
84
|
+
*/
|
|
85
|
+
owners?: string[];
|
|
78
86
|
}
|
|
79
87
|
/**
|
|
80
88
|
* Dynamic date keywords that resolve to actual dates at runtime
|
|
@@ -165,6 +173,20 @@ declare namespace Components {
|
|
|
165
173
|
}
|
|
166
174
|
}
|
|
167
175
|
declare namespace Paths {
|
|
176
|
+
namespace ClearDefaultKanbanBoard {
|
|
177
|
+
namespace Responses {
|
|
178
|
+
export interface $200 {
|
|
179
|
+
message?: string;
|
|
180
|
+
default_board_id?: string | null;
|
|
181
|
+
}
|
|
182
|
+
export interface $401 {
|
|
183
|
+
}
|
|
184
|
+
export interface $403 {
|
|
185
|
+
}
|
|
186
|
+
export interface $500 {
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
168
190
|
namespace CreateKanbanBoard {
|
|
169
191
|
export type RequestBody = Components.Schemas.Board;
|
|
170
192
|
namespace Responses {
|
|
@@ -302,6 +324,10 @@ declare namespace Paths {
|
|
|
302
324
|
description?: string;
|
|
303
325
|
shared_with?: string[];
|
|
304
326
|
shared_with_org?: boolean;
|
|
327
|
+
/**
|
|
328
|
+
* Array of user IDs who have full ownership rights for this board (view, edit, delete)
|
|
329
|
+
*/
|
|
330
|
+
owners?: string[];
|
|
305
331
|
}
|
|
306
332
|
namespace Responses {
|
|
307
333
|
export type $200 = Components.Schemas.Board;
|
|
@@ -317,6 +343,30 @@ declare namespace Paths {
|
|
|
317
343
|
}
|
|
318
344
|
}
|
|
319
345
|
}
|
|
346
|
+
namespace SetDefaultKanbanBoard {
|
|
347
|
+
namespace Parameters {
|
|
348
|
+
export type BoardId = string;
|
|
349
|
+
}
|
|
350
|
+
export interface QueryParameters {
|
|
351
|
+
boardId: Parameters.BoardId;
|
|
352
|
+
}
|
|
353
|
+
namespace Responses {
|
|
354
|
+
export interface $200 {
|
|
355
|
+
message?: string;
|
|
356
|
+
default_board_id?: string;
|
|
357
|
+
}
|
|
358
|
+
export interface $400 {
|
|
359
|
+
}
|
|
360
|
+
export interface $401 {
|
|
361
|
+
}
|
|
362
|
+
export interface $403 {
|
|
363
|
+
}
|
|
364
|
+
export interface $404 {
|
|
365
|
+
}
|
|
366
|
+
export interface $500 {
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
}
|
|
320
370
|
namespace UpdateKanbanBoard {
|
|
321
371
|
namespace Parameters {
|
|
322
372
|
export type BoardId = string;
|
|
@@ -366,7 +416,8 @@ export interface OperationMethods {
|
|
|
366
416
|
/**
|
|
367
417
|
* getKanbanBoard - Get a Kanban board
|
|
368
418
|
*
|
|
369
|
-
* Get a Kanban board
|
|
419
|
+
* Get a Kanban board by ID. Use "default" as the boardId to get the organization's default board.
|
|
420
|
+
*
|
|
370
421
|
*/
|
|
371
422
|
'getKanbanBoard'(
|
|
372
423
|
parameters?: Parameters<Paths.GetKanbanBoard.PathParameters> | null,
|
|
@@ -403,6 +454,26 @@ export interface OperationMethods {
|
|
|
403
454
|
data?: any,
|
|
404
455
|
config?: AxiosRequestConfig
|
|
405
456
|
): OperationResponse<Paths.DeleteKanbanBoard.Responses.$200>
|
|
457
|
+
/**
|
|
458
|
+
* setDefaultKanbanBoard - Set default board for organization
|
|
459
|
+
*
|
|
460
|
+
* Set a board as the default board for the organization
|
|
461
|
+
*/
|
|
462
|
+
'setDefaultKanbanBoard'(
|
|
463
|
+
parameters?: Parameters<Paths.SetDefaultKanbanBoard.QueryParameters> | null,
|
|
464
|
+
data?: any,
|
|
465
|
+
config?: AxiosRequestConfig
|
|
466
|
+
): OperationResponse<Paths.SetDefaultKanbanBoard.Responses.$200>
|
|
467
|
+
/**
|
|
468
|
+
* clearDefaultKanbanBoard - Clear default board for organization
|
|
469
|
+
*
|
|
470
|
+
* Remove the default board setting for the organization
|
|
471
|
+
*/
|
|
472
|
+
'clearDefaultKanbanBoard'(
|
|
473
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
474
|
+
data?: any,
|
|
475
|
+
config?: AxiosRequestConfig
|
|
476
|
+
): OperationResponse<Paths.ClearDefaultKanbanBoard.Responses.$200>
|
|
406
477
|
/**
|
|
407
478
|
* flowsAutocomplete - flowsAutocomplete
|
|
408
479
|
*
|
|
@@ -455,7 +526,8 @@ export interface PathsDictionary {
|
|
|
455
526
|
/**
|
|
456
527
|
* getKanbanBoard - Get a Kanban board
|
|
457
528
|
*
|
|
458
|
-
* Get a Kanban board
|
|
529
|
+
* Get a Kanban board by ID. Use "default" as the boardId to get the organization's default board.
|
|
530
|
+
*
|
|
459
531
|
*/
|
|
460
532
|
'get'(
|
|
461
533
|
parameters?: Parameters<Paths.GetKanbanBoard.PathParameters> | null,
|
|
@@ -493,6 +565,28 @@ export interface PathsDictionary {
|
|
|
493
565
|
config?: AxiosRequestConfig
|
|
494
566
|
): OperationResponse<Paths.DeleteKanbanBoard.Responses.$200>
|
|
495
567
|
}
|
|
568
|
+
['/v1/kanban/org/default-board']: {
|
|
569
|
+
/**
|
|
570
|
+
* setDefaultKanbanBoard - Set default board for organization
|
|
571
|
+
*
|
|
572
|
+
* Set a board as the default board for the organization
|
|
573
|
+
*/
|
|
574
|
+
'put'(
|
|
575
|
+
parameters?: Parameters<Paths.SetDefaultKanbanBoard.QueryParameters> | null,
|
|
576
|
+
data?: any,
|
|
577
|
+
config?: AxiosRequestConfig
|
|
578
|
+
): OperationResponse<Paths.SetDefaultKanbanBoard.Responses.$200>
|
|
579
|
+
/**
|
|
580
|
+
* clearDefaultKanbanBoard - Clear default board for organization
|
|
581
|
+
*
|
|
582
|
+
* Remove the default board setting for the organization
|
|
583
|
+
*/
|
|
584
|
+
'delete'(
|
|
585
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
586
|
+
data?: any,
|
|
587
|
+
config?: AxiosRequestConfig
|
|
588
|
+
): OperationResponse<Paths.ClearDefaultKanbanBoard.Responses.$200>
|
|
589
|
+
}
|
|
496
590
|
['/v1/kanban/query/flows:autocomplete']: {
|
|
497
591
|
/**
|
|
498
592
|
* flowsAutocomplete - flowsAutocomplete
|
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.3"
|
|
6
6
|
},
|
|
7
7
|
"tags": [
|
|
8
8
|
{
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"get": {
|
|
116
116
|
"operationId": "getKanbanBoard",
|
|
117
117
|
"summary": "Get a Kanban board",
|
|
118
|
-
"description": "Get a Kanban board",
|
|
118
|
+
"description": "Get a Kanban board by ID. Use \"default\" as the boardId to get the organization's default board.\n",
|
|
119
119
|
"tags": [
|
|
120
120
|
"Kanban"
|
|
121
121
|
],
|
|
@@ -126,7 +126,9 @@
|
|
|
126
126
|
"required": true,
|
|
127
127
|
"schema": {
|
|
128
128
|
"type": "string"
|
|
129
|
-
}
|
|
129
|
+
},
|
|
130
|
+
"description": "The board ID, or \"default\" to get the organization's default board.\n",
|
|
131
|
+
"example": "board-123"
|
|
130
132
|
}
|
|
131
133
|
],
|
|
132
134
|
"responses": {
|
|
@@ -247,6 +249,13 @@
|
|
|
247
249
|
},
|
|
248
250
|
"shared_with_org": {
|
|
249
251
|
"type": "boolean"
|
|
252
|
+
},
|
|
253
|
+
"owners": {
|
|
254
|
+
"type": "array",
|
|
255
|
+
"items": {
|
|
256
|
+
"type": "string"
|
|
257
|
+
},
|
|
258
|
+
"description": "Array of user IDs who have full ownership rights for this board (view, edit, delete)"
|
|
250
259
|
}
|
|
251
260
|
}
|
|
252
261
|
}
|
|
@@ -317,6 +326,100 @@
|
|
|
317
326
|
}
|
|
318
327
|
}
|
|
319
328
|
},
|
|
329
|
+
"/v1/kanban/org/default-board": {
|
|
330
|
+
"put": {
|
|
331
|
+
"operationId": "setDefaultKanbanBoard",
|
|
332
|
+
"summary": "Set default board for organization",
|
|
333
|
+
"description": "Set a board as the default board for the organization",
|
|
334
|
+
"tags": [
|
|
335
|
+
"Kanban"
|
|
336
|
+
],
|
|
337
|
+
"parameters": [
|
|
338
|
+
{
|
|
339
|
+
"name": "boardId",
|
|
340
|
+
"in": "query",
|
|
341
|
+
"required": true,
|
|
342
|
+
"schema": {
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"description": "The ID of the board to set as default"
|
|
346
|
+
}
|
|
347
|
+
],
|
|
348
|
+
"responses": {
|
|
349
|
+
"200": {
|
|
350
|
+
"description": "Successfully set default board",
|
|
351
|
+
"content": {
|
|
352
|
+
"application/json": {
|
|
353
|
+
"schema": {
|
|
354
|
+
"type": "object",
|
|
355
|
+
"properties": {
|
|
356
|
+
"message": {
|
|
357
|
+
"type": "string"
|
|
358
|
+
},
|
|
359
|
+
"default_board_id": {
|
|
360
|
+
"type": "string"
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"400": {
|
|
368
|
+
"description": "Bad request - Invalid input data or boardId missing"
|
|
369
|
+
},
|
|
370
|
+
"401": {
|
|
371
|
+
"description": "Unauthorized - Authentication required"
|
|
372
|
+
},
|
|
373
|
+
"403": {
|
|
374
|
+
"description": "Forbidden - Insufficient permissions"
|
|
375
|
+
},
|
|
376
|
+
"404": {
|
|
377
|
+
"description": "Board not found"
|
|
378
|
+
},
|
|
379
|
+
"500": {
|
|
380
|
+
"description": "Internal server error"
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
"delete": {
|
|
385
|
+
"operationId": "clearDefaultKanbanBoard",
|
|
386
|
+
"summary": "Clear default board for organization",
|
|
387
|
+
"description": "Remove the default board setting for the organization",
|
|
388
|
+
"tags": [
|
|
389
|
+
"Kanban"
|
|
390
|
+
],
|
|
391
|
+
"responses": {
|
|
392
|
+
"200": {
|
|
393
|
+
"description": "Successfully cleared default board",
|
|
394
|
+
"content": {
|
|
395
|
+
"application/json": {
|
|
396
|
+
"schema": {
|
|
397
|
+
"type": "object",
|
|
398
|
+
"properties": {
|
|
399
|
+
"message": {
|
|
400
|
+
"type": "string"
|
|
401
|
+
},
|
|
402
|
+
"default_board_id": {
|
|
403
|
+
"type": "string",
|
|
404
|
+
"nullable": true
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
"401": {
|
|
412
|
+
"description": "Unauthorized - Authentication required"
|
|
413
|
+
},
|
|
414
|
+
"403": {
|
|
415
|
+
"description": "Forbidden - Insufficient permissions"
|
|
416
|
+
},
|
|
417
|
+
"500": {
|
|
418
|
+
"description": "Internal server error"
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
},
|
|
320
423
|
"/v1/kanban/query/flows:autocomplete": {
|
|
321
424
|
"get": {
|
|
322
425
|
"operationId": "flowsAutocomplete",
|
|
@@ -498,6 +601,13 @@
|
|
|
498
601
|
},
|
|
499
602
|
"shared_with_org": {
|
|
500
603
|
"type": "boolean"
|
|
604
|
+
},
|
|
605
|
+
"owners": {
|
|
606
|
+
"type": "array",
|
|
607
|
+
"items": {
|
|
608
|
+
"type": "string"
|
|
609
|
+
},
|
|
610
|
+
"description": "Array of user IDs who have full ownership rights for this board (view, edit, delete)"
|
|
501
611
|
}
|
|
502
612
|
}
|
|
503
613
|
},
|