@abyss-project/tools 1.1.1 → 1.3.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.
Files changed (186) hide show
  1. package/dist/api/beam.api.d.ts +2 -1
  2. package/dist/api/beam.api.js +10 -4
  3. package/dist/api/beam.api.js.map +1 -1
  4. package/dist/api/extraction-plan-preset.api.js +1 -1
  5. package/dist/api/extraction-plan-preset.api.js.map +1 -1
  6. package/dist/api/extraction-settings.api.js +1 -1
  7. package/dist/api/extraction-settings.api.js.map +1 -1
  8. package/dist/api/extraction.api.d.ts +5 -5
  9. package/dist/api/extraction.api.js +22 -5
  10. package/dist/api/extraction.api.js.map +1 -1
  11. package/dist/index.d.ts +4 -1
  12. package/dist/index.js +4 -1
  13. package/dist/index.js.map +1 -1
  14. package/dist/types/enum/beam.enum.d.ts +4 -0
  15. package/dist/types/enum/beam.enum.js +6 -1
  16. package/dist/types/enum/beam.enum.js.map +1 -1
  17. package/dist/types/interface/api/requests/beam.request.d.ts +16 -0
  18. package/dist/types/interface/api/requests/extraction.request.d.ts +8 -0
  19. package/dist/types/interface/api/responses/beam.response.d.ts +23 -1
  20. package/dist/types/interface/api/responses/extraction.response.d.ts +6 -0
  21. package/dist/types/interface/models/beam.dto.d.ts +13 -1
  22. package/dist/types/interface/models/extraction.dto.d.ts +8 -1
  23. package/dist/types/interface/models/extraction.dto.js.map +1 -1
  24. package/dist/utils/shape.utils.js +18 -18
  25. package/package.json +14 -9
  26. package/src/api/abyss.admin.api.ts +54 -54
  27. package/src/api/atlas-document.api.ts +68 -68
  28. package/src/api/atlas-group.api.ts +69 -69
  29. package/src/api/atlas-page.api.ts +124 -124
  30. package/src/api/atlas.api.ts +103 -103
  31. package/src/api/atlas.public.api.ts +42 -42
  32. package/src/api/beam.api.ts +29 -4
  33. package/src/api/board-card-checklist.api.ts +99 -99
  34. package/src/api/board-card-comment.api.ts +57 -57
  35. package/src/api/board-card-document.api.ts +57 -57
  36. package/src/api/board-card.api.ts +137 -137
  37. package/src/api/board-column.api.ts +54 -54
  38. package/src/api/board-label.api.ts +87 -87
  39. package/src/api/board.api.ts +122 -122
  40. package/src/api/draw.api.ts +97 -97
  41. package/src/api/draw.public.api.ts +48 -48
  42. package/src/api/extraction-plan-preset.api.ts +1 -1
  43. package/src/api/extraction-settings.api.ts +1 -1
  44. package/src/api/extraction.api.ts +58 -18
  45. package/src/api/memo.api.ts +97 -97
  46. package/src/api/metrics.api.ts +27 -27
  47. package/src/api/monitor.api.ts +6 -6
  48. package/src/api/organization.api.ts +14 -14
  49. package/src/api/retrospective-card.api.ts +74 -74
  50. package/src/api/retrospective-member.api.ts +54 -54
  51. package/src/api/retrospective-section.api.ts +74 -74
  52. package/src/api/retrospective.api.ts +124 -124
  53. package/src/api/retrospective.public.api.ts +147 -147
  54. package/src/api/short-link.admin.api.ts +39 -39
  55. package/src/api/short-link.api.ts +125 -125
  56. package/src/api/short-link.public.api.ts +60 -60
  57. package/src/api/tag.api.ts +72 -72
  58. package/src/api/tests/beam.api.spec.ts +64 -0
  59. package/src/constants/atlas.constants.ts +2 -2
  60. package/src/constants/board.constants.ts +7 -7
  61. package/src/constants/memo.constants.ts +3 -3
  62. package/src/constants/short-link.constants.ts +11 -11
  63. package/src/constants/tag.constants.ts +3 -3
  64. package/src/index.ts +10 -1
  65. package/src/server-sent-events/index.ts +13 -13
  66. package/src/server-sent-events/protocols/atlas/atlas.sse-protocol.ts +90 -90
  67. package/src/server-sent-events/protocols/atlas/index.ts +1 -1
  68. package/src/server-sent-events/protocols/board/board.sse-protocol.ts +115 -115
  69. package/src/server-sent-events/protocols/board/index.ts +1 -1
  70. package/src/server-sent-events/protocols/board-card/board-card.sse-protocol.ts +26 -26
  71. package/src/server-sent-events/protocols/board-card/index.ts +1 -1
  72. package/src/server-sent-events/protocols/index.ts +26 -26
  73. package/src/server-sent-events/protocols/retrospective/index.ts +1 -1
  74. package/src/server-sent-events/protocols/retrospective/retrospective.sse-protocol.ts +92 -92
  75. package/src/server-sent-events/server-sent-events.manager.ts +73 -73
  76. package/src/types/draw.type.ts +173 -173
  77. package/src/types/enum/api-error.enum.ts +23 -23
  78. package/src/types/enum/beam.enum.ts +8 -0
  79. package/src/types/enum/board-activity.enum.ts +189 -189
  80. package/src/types/enum/board-column-type.enum.ts +6 -6
  81. package/src/types/enum/pdf-operation.enum.ts +98 -98
  82. package/src/types/enum/rcb-bank.enum.ts +137 -137
  83. package/src/types/index.ts +5 -5
  84. package/src/types/interface/api/index.ts +5 -5
  85. package/src/types/interface/api/requests/abyss.admin.request.ts +20 -20
  86. package/src/types/interface/api/requests/atlas-document.request.ts +32 -32
  87. package/src/types/interface/api/requests/atlas-group.request.ts +45 -45
  88. package/src/types/interface/api/requests/atlas-page.request.ts +84 -84
  89. package/src/types/interface/api/requests/atlas.public.request.ts +21 -21
  90. package/src/types/interface/api/requests/atlas.request.ts +52 -52
  91. package/src/types/interface/api/requests/beam.request.ts +27 -2
  92. package/src/types/interface/api/requests/board-card-checklist.request.ts +61 -61
  93. package/src/types/interface/api/requests/board-card-comment.request.ts +28 -28
  94. package/src/types/interface/api/requests/board-card-document.request.ts +29 -29
  95. package/src/types/interface/api/requests/board-card.request.ts +86 -86
  96. package/src/types/interface/api/requests/board-column.request.ts +30 -30
  97. package/src/types/interface/api/requests/board-label.request.ts +42 -42
  98. package/src/types/interface/api/requests/board.request.ts +61 -61
  99. package/src/types/interface/api/requests/draw.public.request.ts +20 -20
  100. package/src/types/interface/api/requests/draw.request.ts +49 -49
  101. package/src/types/interface/api/requests/extraction.request.ts +22 -0
  102. package/src/types/interface/api/requests/memo.request.ts +49 -49
  103. package/src/types/interface/api/requests/metrics.request.ts +7 -7
  104. package/src/types/interface/api/requests/retrospective-card.request.ts +38 -38
  105. package/src/types/interface/api/requests/retrospective-member.request.ts +20 -20
  106. package/src/types/interface/api/requests/retrospective-section.request.ts +43 -43
  107. package/src/types/interface/api/requests/retrospective.public.request.ts +84 -84
  108. package/src/types/interface/api/requests/retrospective.request.ts +59 -59
  109. package/src/types/interface/api/requests/short-link.admin.request.ts +35 -35
  110. package/src/types/interface/api/requests/short-link.public.request.ts +40 -40
  111. package/src/types/interface/api/requests/short-link.request.ts +71 -71
  112. package/src/types/interface/api/requests/tag.request.ts +54 -54
  113. package/src/types/interface/api/requests/transfer.request.ts +3 -3
  114. package/src/types/interface/api/responses/abyss.admin.response.ts +28 -28
  115. package/src/types/interface/api/responses/atlas-document.response.ts +24 -24
  116. package/src/types/interface/api/responses/atlas-group.response.ts +23 -23
  117. package/src/types/interface/api/responses/atlas-page.response.ts +53 -53
  118. package/src/types/interface/api/responses/atlas.public.response.ts +21 -21
  119. package/src/types/interface/api/responses/atlas.response.ts +32 -32
  120. package/src/types/interface/api/responses/beam.response.ts +30 -1
  121. package/src/types/interface/api/responses/board-card-checklist.response.ts +31 -31
  122. package/src/types/interface/api/responses/board-card-comment.response.ts +20 -20
  123. package/src/types/interface/api/responses/board-card-document.response.ts +21 -21
  124. package/src/types/interface/api/responses/board-card.response.ts +55 -55
  125. package/src/types/interface/api/responses/board-column.response.ts +20 -20
  126. package/src/types/interface/api/responses/board-label.response.ts +31 -31
  127. package/src/types/interface/api/responses/board.response.ts +81 -81
  128. package/src/types/interface/api/responses/count.response.ts +9 -9
  129. package/src/types/interface/api/responses/draw.public.response.ts +22 -22
  130. package/src/types/interface/api/responses/draw.response.ts +32 -32
  131. package/src/types/interface/api/responses/enriched-paginate.response.ts +11 -11
  132. package/src/types/interface/api/responses/extraction.response.ts +19 -2
  133. package/src/types/interface/api/responses/memo.response.ts +32 -32
  134. package/src/types/interface/api/responses/metrics.response.ts +22 -22
  135. package/src/types/interface/api/responses/monitor.response.ts +8 -8
  136. package/src/types/interface/api/responses/recent.response.ts +18 -18
  137. package/src/types/interface/api/responses/retrospective-card.response.ts +23 -23
  138. package/src/types/interface/api/responses/retrospective-member.response.ts +22 -22
  139. package/src/types/interface/api/responses/retrospective-section.response.ts +23 -23
  140. package/src/types/interface/api/responses/retrospective.public.response.ts +57 -57
  141. package/src/types/interface/api/responses/retrospective.response.ts +32 -32
  142. package/src/types/interface/api/responses/short-link.admin.response.ts +21 -21
  143. package/src/types/interface/api/responses/short-link.public.response.ts +26 -26
  144. package/src/types/interface/api/responses/short-link.response.ts +38 -38
  145. package/src/types/interface/api/responses/tag.response.ts +38 -38
  146. package/src/types/interface/api/responses/transfer.response.ts +14 -14
  147. package/src/types/interface/api/type-message/api-error.ts +7 -7
  148. package/src/types/interface/api/type-message/base-paginate.ts +11 -11
  149. package/src/types/interface/api/type-message/response.ts +6 -6
  150. package/src/types/interface/index.ts +2 -2
  151. package/src/types/interface/models/atlas-document.dto.ts +22 -22
  152. package/src/types/interface/models/atlas-group.dto.ts +21 -21
  153. package/src/types/interface/models/atlas-page-content.dto.ts +17 -17
  154. package/src/types/interface/models/atlas-page.dto.ts +26 -26
  155. package/src/types/interface/models/atlas.dto.ts +34 -34
  156. package/src/types/interface/models/beam.dto.ts +20 -1
  157. package/src/types/interface/models/board-activity.dto.ts +20 -20
  158. package/src/types/interface/models/board-card-checklist-row.dto.ts +14 -14
  159. package/src/types/interface/models/board-card-checklist.dto.ts +16 -16
  160. package/src/types/interface/models/board-card-comment.dto.ts +15 -15
  161. package/src/types/interface/models/board-card-document.dto.ts +22 -22
  162. package/src/types/interface/models/board-card-label.dto.ts +14 -14
  163. package/src/types/interface/models/board-card-member.dto.ts +14 -14
  164. package/src/types/interface/models/board-card.dto.ts +37 -37
  165. package/src/types/interface/models/board-column.dto.ts +17 -17
  166. package/src/types/interface/models/board-label.dto.ts +13 -13
  167. package/src/types/interface/models/board.dto.ts +33 -33
  168. package/src/types/interface/models/content-share.dto.ts +16 -16
  169. package/src/types/interface/models/draw.dto.ts +30 -30
  170. package/src/types/interface/models/extraction.dto.ts +24 -6
  171. package/src/types/interface/models/memo.dto.ts +23 -23
  172. package/src/types/interface/models/project.dto.ts +25 -25
  173. package/src/types/interface/models/retrospective-card.dto.ts +17 -17
  174. package/src/types/interface/models/retrospective-member.dto.ts +15 -15
  175. package/src/types/interface/models/retrospective-section.dto.ts +16 -16
  176. package/src/types/interface/models/retrospective.dto.ts +32 -32
  177. package/src/types/interface/models/short-link-click.dto.ts +33 -33
  178. package/src/types/interface/models/short-link.dto.ts +49 -49
  179. package/src/types/interface/models/tag.dto.ts +26 -26
  180. package/src/types/interface/models/team.dto.ts +12 -12
  181. package/src/types/interface/models/user.dto.ts +26 -26
  182. package/src/utils/board.utils.ts +57 -57
  183. package/src/utils/enum.utils.ts +5 -5
  184. package/src/utils/error.utils.ts +30 -30
  185. package/src/utils/icons.utils.ts +96 -96
  186. package/src/utils/shape.utils.ts +292 -292
@@ -1,86 +1,86 @@
1
- export type ICreateBoardCardParams = {
2
- boardId: string;
3
- boardColumnId: string;
4
- };
5
- export type ICreateBoardCardBody = {
6
- title: string;
7
- position: number;
8
- description?: string | null;
9
- weight?: number;
10
- startDate?: Date;
11
- endDate?: Date;
12
- };
13
-
14
- export type IUpdateBoardCardParams = {
15
- boardId: string;
16
- boardCardId: string;
17
- };
18
- export type IUpdateBoardCardBody = {
19
- title?: string;
20
- description?: string | null;
21
- position?: number;
22
- boardColumnId?: string;
23
- weight?: number;
24
- startDate?: Date | null;
25
- endDate?: Date | null;
26
- bannerId?: string | null;
27
- };
28
-
29
- export type IGetBoardCardParams = {
30
- boardId: string;
31
- boardCardId: string;
32
- };
33
-
34
- export type ISSEBoardCardParams = {
35
- boardId: string;
36
- boardCardId: string;
37
- };
38
-
39
- export type IDeleteBoardCardParams = {
40
- boardId: string;
41
- boardCardId: string;
42
- };
43
-
44
- export type IRestoreBoardCardParams = {
45
- boardId: string;
46
- boardCardId: string;
47
- };
48
- export type IRestoreBoardCardBody = {
49
- boardColumnId: string;
50
- };
51
-
52
- export type IAddMemberBoardCardParams = {
53
- boardId: string;
54
- boardCardId: string;
55
- userId: string;
56
- };
57
- export type IRemoveMemberBoardCardParams = {
58
- boardId: string;
59
- boardCardId: string;
60
- userId: string;
61
- };
62
-
63
- export type IGetAllBoardCardParams = {
64
- boardId: string;
65
- };
66
- export type IGetAllBoardCardQuery = {
67
- archived?: boolean;
68
- };
69
-
70
- export type IMoveToBoardBoardCardParams = {
71
- boardId: string;
72
- boardCardId: string;
73
- };
74
- export type IMoveToBoardBoardCardBody = {
75
- boardColumnId: string;
76
- boardId: string;
77
- };
78
-
79
- export type ISearchBoardCardParams = {
80
- boardId: string;
81
- };
82
- export type ISearchBoardCardQuery = {
83
- query?: string;
84
- page?: number;
85
- limit?: number;
86
- };
1
+ export type ICreateBoardCardParams = {
2
+ boardId: string;
3
+ boardColumnId: string;
4
+ };
5
+ export type ICreateBoardCardBody = {
6
+ title: string;
7
+ position: number;
8
+ description?: string | null;
9
+ weight?: number;
10
+ startDate?: Date;
11
+ endDate?: Date;
12
+ };
13
+
14
+ export type IUpdateBoardCardParams = {
15
+ boardId: string;
16
+ boardCardId: string;
17
+ };
18
+ export type IUpdateBoardCardBody = {
19
+ title?: string;
20
+ description?: string | null;
21
+ position?: number;
22
+ boardColumnId?: string;
23
+ weight?: number;
24
+ startDate?: Date | null;
25
+ endDate?: Date | null;
26
+ bannerId?: string | null;
27
+ };
28
+
29
+ export type IGetBoardCardParams = {
30
+ boardId: string;
31
+ boardCardId: string;
32
+ };
33
+
34
+ export type ISSEBoardCardParams = {
35
+ boardId: string;
36
+ boardCardId: string;
37
+ };
38
+
39
+ export type IDeleteBoardCardParams = {
40
+ boardId: string;
41
+ boardCardId: string;
42
+ };
43
+
44
+ export type IRestoreBoardCardParams = {
45
+ boardId: string;
46
+ boardCardId: string;
47
+ };
48
+ export type IRestoreBoardCardBody = {
49
+ boardColumnId: string;
50
+ };
51
+
52
+ export type IAddMemberBoardCardParams = {
53
+ boardId: string;
54
+ boardCardId: string;
55
+ userId: string;
56
+ };
57
+ export type IRemoveMemberBoardCardParams = {
58
+ boardId: string;
59
+ boardCardId: string;
60
+ userId: string;
61
+ };
62
+
63
+ export type IGetAllBoardCardParams = {
64
+ boardId: string;
65
+ };
66
+ export type IGetAllBoardCardQuery = {
67
+ archived?: boolean;
68
+ };
69
+
70
+ export type IMoveToBoardBoardCardParams = {
71
+ boardId: string;
72
+ boardCardId: string;
73
+ };
74
+ export type IMoveToBoardBoardCardBody = {
75
+ boardColumnId: string;
76
+ boardId: string;
77
+ };
78
+
79
+ export type ISearchBoardCardParams = {
80
+ boardId: string;
81
+ };
82
+ export type ISearchBoardCardQuery = {
83
+ query?: string;
84
+ page?: number;
85
+ limit?: number;
86
+ };
@@ -1,30 +1,30 @@
1
- import { BoardColumnType } from '../../../enum';
2
-
3
- export type ICreateBoardColumnParams = {
4
- boardId: string;
5
- };
6
- export type ICreateBoardColumnBody = {
7
- title: string;
8
- position: number;
9
- type?: BoardColumnType;
10
- };
11
-
12
- export type IUpdateBoardColumnParams = {
13
- boardId: string;
14
- boardColumnId: string;
15
- };
16
- export type IUpdateBoardColumnBody = {
17
- title?: string;
18
- position?: number;
19
- type?: BoardColumnType;
20
- };
21
-
22
- export type IGetBoardColumnParams = {
23
- boardId: string;
24
- boardColumnId: string;
25
- };
26
-
27
- export type IDeleteBoardColumnParams = {
28
- boardId: string;
29
- boardColumnId: string;
30
- };
1
+ import { BoardColumnType } from '../../../enum';
2
+
3
+ export type ICreateBoardColumnParams = {
4
+ boardId: string;
5
+ };
6
+ export type ICreateBoardColumnBody = {
7
+ title: string;
8
+ position: number;
9
+ type?: BoardColumnType;
10
+ };
11
+
12
+ export type IUpdateBoardColumnParams = {
13
+ boardId: string;
14
+ boardColumnId: string;
15
+ };
16
+ export type IUpdateBoardColumnBody = {
17
+ title?: string;
18
+ position?: number;
19
+ type?: BoardColumnType;
20
+ };
21
+
22
+ export type IGetBoardColumnParams = {
23
+ boardId: string;
24
+ boardColumnId: string;
25
+ };
26
+
27
+ export type IDeleteBoardColumnParams = {
28
+ boardId: string;
29
+ boardColumnId: string;
30
+ };
@@ -1,42 +1,42 @@
1
- export type ICreateBoardLabelParams = {
2
- boardId: string;
3
- };
4
- export type ICreateBoardLabelBody = {
5
- name: string;
6
- color: string;
7
- };
8
-
9
- export type IUpdateBoardLabelParams = {
10
- boardId: string;
11
- boardLabelId: string;
12
- };
13
- export type IUpdateBoardLabelBody = {
14
- name?: string;
15
- color?: string;
16
- };
17
-
18
- export type IGetBoardLabelParams = {
19
- boardId: string;
20
- boardLabelId: string;
21
- };
22
-
23
- export type IDeleteBoardLabelParams = {
24
- boardId: string;
25
- boardLabelId: string;
26
- };
27
-
28
- export type IAddBoardLabelParams = {
29
- boardId: string;
30
- boardCardId: string;
31
- boardLabelId: string;
32
- };
33
-
34
- export type IRemoveBoardLabelParams = {
35
- boardId: string;
36
- boardCardId: string;
37
- boardLabelId: string;
38
- };
39
-
40
- export type IListBoardLabelParams = {
41
- boardId: string;
42
- };
1
+ export type ICreateBoardLabelParams = {
2
+ boardId: string;
3
+ };
4
+ export type ICreateBoardLabelBody = {
5
+ name: string;
6
+ color: string;
7
+ };
8
+
9
+ export type IUpdateBoardLabelParams = {
10
+ boardId: string;
11
+ boardLabelId: string;
12
+ };
13
+ export type IUpdateBoardLabelBody = {
14
+ name?: string;
15
+ color?: string;
16
+ };
17
+
18
+ export type IGetBoardLabelParams = {
19
+ boardId: string;
20
+ boardLabelId: string;
21
+ };
22
+
23
+ export type IDeleteBoardLabelParams = {
24
+ boardId: string;
25
+ boardLabelId: string;
26
+ };
27
+
28
+ export type IAddBoardLabelParams = {
29
+ boardId: string;
30
+ boardCardId: string;
31
+ boardLabelId: string;
32
+ };
33
+
34
+ export type IRemoveBoardLabelParams = {
35
+ boardId: string;
36
+ boardCardId: string;
37
+ boardLabelId: string;
38
+ };
39
+
40
+ export type IListBoardLabelParams = {
41
+ boardId: string;
42
+ };
@@ -1,61 +1,61 @@
1
- import { ContentShareScope } from '../../../enum';
2
- import { QueryPaginate } from '../type-message/base-paginate';
3
-
4
- export type ICreateForOrganizationBoardParams = {
5
- organizationId: string;
6
- };
7
- export type ICreateBoardBody = {
8
- title: string;
9
- };
10
-
11
- export type IUpdateBoardParams = {
12
- boardId: string;
13
- };
14
- export type IUpdateBoardBody = {
15
- title?: string;
16
- archived?: boolean;
17
- };
18
-
19
- export type IGetBoardParams = {
20
- boardId: string;
21
- };
22
-
23
- export type ISSEBoardParams = {
24
- boardId: string;
25
- };
26
-
27
- export type IGetBySlugBoardParams = {
28
- slug: string;
29
- };
30
-
31
- export type IDeleteBoardParams = {
32
- boardId: string;
33
- };
34
-
35
- export type IListOrganizationBoardParams = {
36
- organizationId: string;
37
- };
38
-
39
- export type IListOrganizationBoardQuery = {
40
- projectId?: string;
41
- scope?: ContentShareScope;
42
- adminView?: boolean;
43
- };
44
-
45
- export type IPaginateBoardQuery = {
46
- title?: string;
47
- archived?: boolean;
48
- scope?: ContentShareScope;
49
- teamId?: string;
50
- projectId?: string;
51
- adminView?: boolean;
52
- sharedWithMe?: boolean;
53
- } & QueryPaginate;
54
-
55
- export type IPaginateOrganizationBoardParams = {
56
- organizationId: string;
57
- };
58
-
59
- export type ICountOrganizationBoardParams = {
60
- organizationId: string;
61
- };
1
+ import { ContentShareScope } from '../../../enum';
2
+ import { QueryPaginate } from '../type-message/base-paginate';
3
+
4
+ export type ICreateForOrganizationBoardParams = {
5
+ organizationId: string;
6
+ };
7
+ export type ICreateBoardBody = {
8
+ title: string;
9
+ };
10
+
11
+ export type IUpdateBoardParams = {
12
+ boardId: string;
13
+ };
14
+ export type IUpdateBoardBody = {
15
+ title?: string;
16
+ archived?: boolean;
17
+ };
18
+
19
+ export type IGetBoardParams = {
20
+ boardId: string;
21
+ };
22
+
23
+ export type ISSEBoardParams = {
24
+ boardId: string;
25
+ };
26
+
27
+ export type IGetBySlugBoardParams = {
28
+ slug: string;
29
+ };
30
+
31
+ export type IDeleteBoardParams = {
32
+ boardId: string;
33
+ };
34
+
35
+ export type IListOrganizationBoardParams = {
36
+ organizationId: string;
37
+ };
38
+
39
+ export type IListOrganizationBoardQuery = {
40
+ projectId?: string;
41
+ scope?: ContentShareScope;
42
+ adminView?: boolean;
43
+ };
44
+
45
+ export type IPaginateBoardQuery = {
46
+ title?: string;
47
+ archived?: boolean;
48
+ scope?: ContentShareScope;
49
+ teamId?: string;
50
+ projectId?: string;
51
+ adminView?: boolean;
52
+ sharedWithMe?: boolean;
53
+ } & QueryPaginate;
54
+
55
+ export type IPaginateOrganizationBoardParams = {
56
+ organizationId: string;
57
+ };
58
+
59
+ export type ICountOrganizationBoardParams = {
60
+ organizationId: string;
61
+ };
@@ -1,20 +1,20 @@
1
- export type ICreateDrawPublicBody = {
2
- title: string;
3
- content: string;
4
- };
5
-
6
- export type IUpdateDrawPublicParams = {
7
- publicAccessToken: string;
8
- };
9
- export type IUpdateDrawPublicBody = {
10
- title?: string;
11
- content?: string;
12
- };
13
-
14
- export type IGetDrawPublicParams = {
15
- publicAccessToken: string;
16
- };
17
-
18
- export type IDeleteDrawPublicParams = {
19
- publicAccessToken: string;
20
- };
1
+ export type ICreateDrawPublicBody = {
2
+ title: string;
3
+ content: string;
4
+ };
5
+
6
+ export type IUpdateDrawPublicParams = {
7
+ publicAccessToken: string;
8
+ };
9
+ export type IUpdateDrawPublicBody = {
10
+ title?: string;
11
+ content?: string;
12
+ };
13
+
14
+ export type IGetDrawPublicParams = {
15
+ publicAccessToken: string;
16
+ };
17
+
18
+ export type IDeleteDrawPublicParams = {
19
+ publicAccessToken: string;
20
+ };
@@ -1,49 +1,49 @@
1
- import { ContentShareScope } from '../../../enum';
2
- import { QueryPaginate } from '../type-message/base-paginate';
3
-
4
- export type ICreateForOrganizationDrawParams = {
5
- organizationId: string;
6
- };
7
- export type ICreateDrawBody = {
8
- title: string;
9
- content: string;
10
- };
11
-
12
- export type IUpdateDrawParams = {
13
- drawId: string;
14
- };
15
- export type IUpdateDrawBody = {
16
- title?: string;
17
- archived?: boolean;
18
- content?: string;
19
- };
20
-
21
- export type IGetDrawParams = {
22
- drawId: string;
23
- };
24
-
25
- export type IDeleteDrawParams = {
26
- drawId: string;
27
- };
28
-
29
- export type IPaginateDrawQuery = {
30
- title?: string;
31
- archived?: boolean;
32
- scope?: ContentShareScope;
33
- teamId?: string;
34
- projectId?: string;
35
- adminView?: boolean;
36
- sharedWithMe?: boolean;
37
- } & QueryPaginate;
38
-
39
- export type IPaginateProjectDrawParams = {
40
- projectId: string;
41
- };
42
-
43
- export type IPaginateOrganizationDrawParams = {
44
- organizationId: string;
45
- };
46
-
47
- export type ICountOrganizationDrawParams = {
48
- organizationId: string;
49
- };
1
+ import { ContentShareScope } from '../../../enum';
2
+ import { QueryPaginate } from '../type-message/base-paginate';
3
+
4
+ export type ICreateForOrganizationDrawParams = {
5
+ organizationId: string;
6
+ };
7
+ export type ICreateDrawBody = {
8
+ title: string;
9
+ content: string;
10
+ };
11
+
12
+ export type IUpdateDrawParams = {
13
+ drawId: string;
14
+ };
15
+ export type IUpdateDrawBody = {
16
+ title?: string;
17
+ archived?: boolean;
18
+ content?: string;
19
+ };
20
+
21
+ export type IGetDrawParams = {
22
+ drawId: string;
23
+ };
24
+
25
+ export type IDeleteDrawParams = {
26
+ drawId: string;
27
+ };
28
+
29
+ export type IPaginateDrawQuery = {
30
+ title?: string;
31
+ archived?: boolean;
32
+ scope?: ContentShareScope;
33
+ teamId?: string;
34
+ projectId?: string;
35
+ adminView?: boolean;
36
+ sharedWithMe?: boolean;
37
+ } & QueryPaginate;
38
+
39
+ export type IPaginateProjectDrawParams = {
40
+ projectId: string;
41
+ };
42
+
43
+ export type IPaginateOrganizationDrawParams = {
44
+ organizationId: string;
45
+ };
46
+
47
+ export type ICountOrganizationDrawParams = {
48
+ organizationId: string;
49
+ };
@@ -150,16 +150,38 @@ export interface IAsyncExportExtractionBody {
150
150
 
151
151
  // ─── TEMPLATES ───────────────────────────────
152
152
 
153
+ /**
154
+ * Query for GET /extract/templates.
155
+ * `archived`: 'false' (default) = active templates, 'true' = the archive,
156
+ * 'all' = everything.
157
+ */
158
+ export interface IListTemplatesQuery {
159
+ kind?: 'spatial' | 'dsl';
160
+ archived?: 'true' | 'false' | 'all';
161
+ }
162
+
153
163
  export interface ICreateTemplateBody {
154
164
  name: string;
155
165
  description?: string;
156
166
  template_json: Record<string, unknown>;
157
167
  comment?: string;
168
+ /**
169
+ * Optional witness (sample) PDF, base64-encoded (max 25 MB decoded).
170
+ * Stored per version, billed to the owner's storage pool.
171
+ */
172
+ witness_pdf_base64?: string;
173
+ witness_filename?: string;
158
174
  }
159
175
 
160
176
  export interface IUpdateTemplateBody {
161
177
  template_json: Record<string, unknown>;
162
178
  comment?: string;
179
+ /**
180
+ * Optional witness (sample) PDF, base64-encoded (max 25 MB decoded).
181
+ * Stored per version, billed to the owner's storage pool.
182
+ */
183
+ witness_pdf_base64?: string;
184
+ witness_filename?: string;
163
185
  }
164
186
 
165
187
  export interface IPatchTemplateMetaBody {