backlog-js 0.16.0 → 0.17.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/README.md +18 -2
- package/dist/backlog.iife.js +3278 -0
- package/dist/backlog.iife.min.js +4 -0
- package/dist/backlog.js +3243 -3867
- package/dist/backlog.min.js +4 -1
- package/dist/chunk-CfYAbeIz.mjs +13 -0
- package/dist/index.cjs +1286 -0
- package/dist/index.d.cts +2047 -0
- package/dist/index.d.mts +2047 -0
- package/dist/index.mjs +1229 -0
- package/package.json +36 -31
- package/CHANGELOG.md +0 -142
- package/dist/types/backlog.d.ts +0 -606
- package/dist/types/entity.d.ts +0 -544
- package/dist/types/error.d.ts +0 -37
- package/dist/types/index.d.ts +0 -7
- package/dist/types/oauth2.d.ts +0 -21
- package/dist/types/option.d.ts +0 -437
- package/dist/types/request.d.ts +0 -27
- package/dist/types/types.d.ts +0 -59
package/dist/types/option.d.ts
DELETED
|
@@ -1,437 +0,0 @@
|
|
|
1
|
-
import * as Types from "./types";
|
|
2
|
-
export type Order = "asc" | "desc";
|
|
3
|
-
export declare namespace Notification {
|
|
4
|
-
interface GetNotificationsParams {
|
|
5
|
-
minId?: number;
|
|
6
|
-
maxId?: number;
|
|
7
|
-
count?: number;
|
|
8
|
-
order?: Order;
|
|
9
|
-
}
|
|
10
|
-
interface GetNotificationsCountParams {
|
|
11
|
-
alreadyRead: boolean;
|
|
12
|
-
resourceAlreadyRead: boolean;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export declare namespace Document {
|
|
16
|
-
interface GetDocumentsParams {
|
|
17
|
-
projectId?: number[];
|
|
18
|
-
keyword?: string;
|
|
19
|
-
sort?: "created" | "updated";
|
|
20
|
-
order?: Order;
|
|
21
|
-
offset: number;
|
|
22
|
-
count?: number;
|
|
23
|
-
}
|
|
24
|
-
interface AddDocumentParams {
|
|
25
|
-
projectId: number;
|
|
26
|
-
title?: string;
|
|
27
|
-
content?: string;
|
|
28
|
-
emoji?: string;
|
|
29
|
-
parentId?: string;
|
|
30
|
-
addLast?: boolean;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
export declare namespace Space {
|
|
34
|
-
interface GetActivitiesParams {
|
|
35
|
-
activityTypeId?: Types.ActivityType[];
|
|
36
|
-
minId?: number;
|
|
37
|
-
maxId?: number;
|
|
38
|
-
count?: number;
|
|
39
|
-
order?: Order;
|
|
40
|
-
}
|
|
41
|
-
interface PutSpaceNotificationParams {
|
|
42
|
-
content: string;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
export declare namespace User {
|
|
46
|
-
interface PostUserParams {
|
|
47
|
-
userId: string;
|
|
48
|
-
password: string;
|
|
49
|
-
name: string;
|
|
50
|
-
mailAddress: string;
|
|
51
|
-
roleType: Types.RoleType;
|
|
52
|
-
}
|
|
53
|
-
interface PatchUserParams {
|
|
54
|
-
password?: string;
|
|
55
|
-
name?: string;
|
|
56
|
-
mailAddress?: string;
|
|
57
|
-
roleType?: Types.RoleType;
|
|
58
|
-
}
|
|
59
|
-
interface GetUserActivitiesParams {
|
|
60
|
-
activityTypeId?: Types.ActivityType[];
|
|
61
|
-
minId?: number;
|
|
62
|
-
maxId?: number;
|
|
63
|
-
count?: number;
|
|
64
|
-
order?: Order;
|
|
65
|
-
}
|
|
66
|
-
interface GetUserStarsParams {
|
|
67
|
-
minId?: number;
|
|
68
|
-
maxId?: number;
|
|
69
|
-
count?: number;
|
|
70
|
-
order?: Order;
|
|
71
|
-
}
|
|
72
|
-
interface GetUserStarsCountParams {
|
|
73
|
-
since?: string;
|
|
74
|
-
until?: string;
|
|
75
|
-
}
|
|
76
|
-
interface GetRecentlyViewedParams {
|
|
77
|
-
order?: Order;
|
|
78
|
-
offset?: number;
|
|
79
|
-
count?: number;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
export declare namespace WatchingList {
|
|
83
|
-
interface GetWatchingListParams {
|
|
84
|
-
order?: Order;
|
|
85
|
-
sort?: "created" | "updated" | "issueUpdated";
|
|
86
|
-
count?: number;
|
|
87
|
-
offset?: number;
|
|
88
|
-
resourceAlreadyRead?: boolean;
|
|
89
|
-
issueId?: number[];
|
|
90
|
-
}
|
|
91
|
-
interface GetWatchingListCountParams {
|
|
92
|
-
resourceAlreadyRead?: boolean;
|
|
93
|
-
alreadyRead?: boolean;
|
|
94
|
-
}
|
|
95
|
-
interface PostWatchingListItemParams {
|
|
96
|
-
issueIdOrKey: string | number;
|
|
97
|
-
note: string;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
export declare namespace Team {
|
|
101
|
-
interface GetTeamsParams {
|
|
102
|
-
order?: Order;
|
|
103
|
-
offset?: number;
|
|
104
|
-
count?: number;
|
|
105
|
-
}
|
|
106
|
-
interface PostTeamParams {
|
|
107
|
-
name: string;
|
|
108
|
-
members?: number[];
|
|
109
|
-
}
|
|
110
|
-
interface PatchTeamParams {
|
|
111
|
-
name?: string;
|
|
112
|
-
members?: number[];
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
export declare namespace Project {
|
|
116
|
-
interface PostProjectParams {
|
|
117
|
-
name: string;
|
|
118
|
-
key: string;
|
|
119
|
-
chartEnabled: boolean;
|
|
120
|
-
projectLeaderCanEditProjectLeader?: boolean;
|
|
121
|
-
subtaskingEnabled: boolean;
|
|
122
|
-
textFormattingRule: Types.TextFormattingRule;
|
|
123
|
-
}
|
|
124
|
-
interface PatchProjectParams {
|
|
125
|
-
name?: string;
|
|
126
|
-
key?: string;
|
|
127
|
-
chartEnabled?: boolean;
|
|
128
|
-
subtaskingEnabled?: boolean;
|
|
129
|
-
projectLeaderCanEditProjectLeader?: boolean;
|
|
130
|
-
textFormattingRule?: Types.TextFormattingRule;
|
|
131
|
-
archived?: boolean;
|
|
132
|
-
}
|
|
133
|
-
interface GetProjectsParams {
|
|
134
|
-
archived?: boolean;
|
|
135
|
-
all?: boolean;
|
|
136
|
-
}
|
|
137
|
-
interface DeleteProjectUsersParams {
|
|
138
|
-
userId: number;
|
|
139
|
-
}
|
|
140
|
-
interface PostProjectAdministrators {
|
|
141
|
-
userId: number;
|
|
142
|
-
}
|
|
143
|
-
interface DeleteProjectAdministrators {
|
|
144
|
-
userId: number;
|
|
145
|
-
}
|
|
146
|
-
interface PostIssueTypeParams {
|
|
147
|
-
name: string;
|
|
148
|
-
color: Types.IssueTypeColor;
|
|
149
|
-
}
|
|
150
|
-
interface PatchIssueTypeParams {
|
|
151
|
-
name?: string;
|
|
152
|
-
color?: Types.IssueTypeColor;
|
|
153
|
-
}
|
|
154
|
-
interface DeleteIssueTypeParams {
|
|
155
|
-
substituteIssueTypeId: number;
|
|
156
|
-
}
|
|
157
|
-
interface PostCategoriesParams {
|
|
158
|
-
name: string;
|
|
159
|
-
}
|
|
160
|
-
interface PatchCategoriesParams {
|
|
161
|
-
name: string;
|
|
162
|
-
}
|
|
163
|
-
interface PostVersionsParams {
|
|
164
|
-
name: string;
|
|
165
|
-
description?: string;
|
|
166
|
-
startDate?: string;
|
|
167
|
-
releaseDueDate?: string;
|
|
168
|
-
}
|
|
169
|
-
interface PatchVersionsParams {
|
|
170
|
-
name: string;
|
|
171
|
-
description?: string;
|
|
172
|
-
startDate?: string;
|
|
173
|
-
releaseDueDate?: string;
|
|
174
|
-
archived?: boolean;
|
|
175
|
-
}
|
|
176
|
-
interface PostCustomFieldParams {
|
|
177
|
-
typeId: Types.CustomFieldType;
|
|
178
|
-
name: string;
|
|
179
|
-
applicableIssueTypes?: number[];
|
|
180
|
-
description?: string;
|
|
181
|
-
required?: boolean;
|
|
182
|
-
}
|
|
183
|
-
interface PostCustomFieldWithNumericParams extends PostCustomFieldParams {
|
|
184
|
-
min?: number;
|
|
185
|
-
max?: number;
|
|
186
|
-
initialValue?: number;
|
|
187
|
-
unit?: string;
|
|
188
|
-
}
|
|
189
|
-
interface PostCustomFieldWithDateParams extends PostCustomFieldParams {
|
|
190
|
-
min?: string;
|
|
191
|
-
max?: string;
|
|
192
|
-
initialValueType?: number;
|
|
193
|
-
initialDate?: string;
|
|
194
|
-
initialShift?: number;
|
|
195
|
-
}
|
|
196
|
-
interface PostCustomFieldWithListParams extends PostCustomFieldParams {
|
|
197
|
-
items?: string[];
|
|
198
|
-
allowInput?: boolean;
|
|
199
|
-
allowAddItem?: boolean;
|
|
200
|
-
}
|
|
201
|
-
interface PatchCustomFieldParams {
|
|
202
|
-
name?: string;
|
|
203
|
-
applicableIssueTypes?: number[];
|
|
204
|
-
description?: string;
|
|
205
|
-
required?: boolean;
|
|
206
|
-
}
|
|
207
|
-
interface PatchCustomFieldWithNumericParams extends PatchCustomFieldParams {
|
|
208
|
-
min?: number;
|
|
209
|
-
max?: number;
|
|
210
|
-
initialValue?: number;
|
|
211
|
-
unit?: string;
|
|
212
|
-
}
|
|
213
|
-
interface PatchCustomFieldWithDateParams extends PatchCustomFieldParams {
|
|
214
|
-
min?: string;
|
|
215
|
-
max?: string;
|
|
216
|
-
initialValueType?: number;
|
|
217
|
-
initialDate?: string;
|
|
218
|
-
initialShift?: number;
|
|
219
|
-
}
|
|
220
|
-
interface PatchCustomFieldWithListParams extends PatchCustomFieldParams {
|
|
221
|
-
items?: string[];
|
|
222
|
-
allowInput?: boolean;
|
|
223
|
-
allowAddItem?: boolean;
|
|
224
|
-
}
|
|
225
|
-
interface PostCustomFieldItemParams {
|
|
226
|
-
name: string;
|
|
227
|
-
}
|
|
228
|
-
interface PatchCustomFieldItemParams {
|
|
229
|
-
name: string;
|
|
230
|
-
}
|
|
231
|
-
interface GetSharedFilesParams {
|
|
232
|
-
order?: Order;
|
|
233
|
-
offset?: number;
|
|
234
|
-
count?: number;
|
|
235
|
-
}
|
|
236
|
-
interface PostWebhookParams {
|
|
237
|
-
name?: string;
|
|
238
|
-
description?: string;
|
|
239
|
-
hookUrl?: string;
|
|
240
|
-
allEvent?: boolean;
|
|
241
|
-
activityTypeIds?: Types.WebhookActivityId[];
|
|
242
|
-
}
|
|
243
|
-
interface PatchWebhookParams {
|
|
244
|
-
name?: string;
|
|
245
|
-
description?: string;
|
|
246
|
-
hookUrl?: string;
|
|
247
|
-
allEvent?: boolean;
|
|
248
|
-
activityTypeIds?: number[];
|
|
249
|
-
}
|
|
250
|
-
interface PostStarParams {
|
|
251
|
-
issueId?: number;
|
|
252
|
-
commentId?: number;
|
|
253
|
-
wikiId?: number;
|
|
254
|
-
pullRequestId?: number;
|
|
255
|
-
pullRequestCommentId?: number;
|
|
256
|
-
}
|
|
257
|
-
interface PostStatusParams {
|
|
258
|
-
name: string;
|
|
259
|
-
color: Types.ProjectStatusColor;
|
|
260
|
-
}
|
|
261
|
-
interface PatchStatusParams {
|
|
262
|
-
name?: string;
|
|
263
|
-
color?: Types.ProjectStatusColor;
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
export declare namespace Issue {
|
|
267
|
-
interface PostIssueParams {
|
|
268
|
-
projectId: number;
|
|
269
|
-
summary: string;
|
|
270
|
-
priorityId: number;
|
|
271
|
-
issueTypeId: number;
|
|
272
|
-
parentIssueId?: number;
|
|
273
|
-
description?: string;
|
|
274
|
-
startDate?: string;
|
|
275
|
-
dueDate?: string;
|
|
276
|
-
estimatedHours?: number;
|
|
277
|
-
actualHours?: number;
|
|
278
|
-
categoryId?: number[];
|
|
279
|
-
versionId?: number[];
|
|
280
|
-
milestoneId?: number[];
|
|
281
|
-
assigneeId?: number;
|
|
282
|
-
notifiedUserId?: number[];
|
|
283
|
-
attachmentId?: number[];
|
|
284
|
-
[customField_: string]: any;
|
|
285
|
-
}
|
|
286
|
-
interface PatchIssueParams {
|
|
287
|
-
summary?: string;
|
|
288
|
-
parentIssueId?: number;
|
|
289
|
-
description?: string;
|
|
290
|
-
statusId?: number;
|
|
291
|
-
resolutionId?: number;
|
|
292
|
-
startDate?: string;
|
|
293
|
-
dueDate?: string;
|
|
294
|
-
estimatedHours?: number;
|
|
295
|
-
actualHours?: number;
|
|
296
|
-
issueTypeId?: number;
|
|
297
|
-
categoryId?: number[];
|
|
298
|
-
versionId?: number[];
|
|
299
|
-
milestoneId?: number[];
|
|
300
|
-
priorityId?: number;
|
|
301
|
-
assigneeId?: number;
|
|
302
|
-
notifiedUserId?: number[];
|
|
303
|
-
attachmentId?: number[];
|
|
304
|
-
comment?: string;
|
|
305
|
-
[customField_: string]: any;
|
|
306
|
-
}
|
|
307
|
-
interface GetIssuesParams {
|
|
308
|
-
projectId?: number[];
|
|
309
|
-
issueTypeId?: number[];
|
|
310
|
-
categoryId?: number[];
|
|
311
|
-
versionId?: number[];
|
|
312
|
-
milestoneId?: number[];
|
|
313
|
-
statusId?: number[];
|
|
314
|
-
priorityId?: number[];
|
|
315
|
-
assigneeId?: number[];
|
|
316
|
-
createdUserId?: number[];
|
|
317
|
-
resolutionId?: number[];
|
|
318
|
-
parentChild?: ParentChildType;
|
|
319
|
-
attachment?: boolean;
|
|
320
|
-
sharedFile?: boolean;
|
|
321
|
-
sort?: SortKey;
|
|
322
|
-
order?: Order;
|
|
323
|
-
offset?: number;
|
|
324
|
-
count?: number;
|
|
325
|
-
createdSince?: string;
|
|
326
|
-
createdUntil?: string;
|
|
327
|
-
updatedSince?: string;
|
|
328
|
-
updatedUntil?: string;
|
|
329
|
-
startDateSince?: string;
|
|
330
|
-
startDateUntil?: string;
|
|
331
|
-
dueDateSince?: string;
|
|
332
|
-
dueDateUntil?: string;
|
|
333
|
-
hasDueDate?: boolean;
|
|
334
|
-
id?: number[];
|
|
335
|
-
parentIssueId?: number[];
|
|
336
|
-
keyword?: string;
|
|
337
|
-
[customField_: string]: any;
|
|
338
|
-
}
|
|
339
|
-
enum ParentChildType {
|
|
340
|
-
All = 0,
|
|
341
|
-
NotChild = 1,
|
|
342
|
-
Child = 2,
|
|
343
|
-
NotChildNotParent = 3,
|
|
344
|
-
Parent = 4
|
|
345
|
-
}
|
|
346
|
-
type SortKey = "issueType" | "category" | "version" | "milestone" | "summary" | "status" | "priority" | "attachment" | "sharedFile" | "created" | "createdUser" | "updated" | "updatedUser" | "assignee" | "startDate" | "dueDate" | "estimatedHours" | "actualHours" | "childIssue";
|
|
347
|
-
interface GetIssueCommentsParams {
|
|
348
|
-
minId?: number;
|
|
349
|
-
maxId?: number;
|
|
350
|
-
count?: number;
|
|
351
|
-
order?: Order;
|
|
352
|
-
}
|
|
353
|
-
interface PostIssueCommentsParams {
|
|
354
|
-
content: string;
|
|
355
|
-
notifiedUserId?: number[];
|
|
356
|
-
attachmentId?: number[];
|
|
357
|
-
}
|
|
358
|
-
interface PatchIssueCommentParams {
|
|
359
|
-
content: string;
|
|
360
|
-
}
|
|
361
|
-
interface IssueCommentNotifications {
|
|
362
|
-
notifiedUserId: number[];
|
|
363
|
-
}
|
|
364
|
-
interface LinkIssueSharedFilesParams {
|
|
365
|
-
fileId: number[];
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
export declare namespace PullRequest {
|
|
369
|
-
interface GetPullRequestsParams {
|
|
370
|
-
statusId?: number[];
|
|
371
|
-
assigneeId?: number[];
|
|
372
|
-
issueId?: number[];
|
|
373
|
-
createdUserId?: number[];
|
|
374
|
-
offset?: number;
|
|
375
|
-
count?: number;
|
|
376
|
-
}
|
|
377
|
-
interface PostPullRequestParams {
|
|
378
|
-
summary: string;
|
|
379
|
-
description: string;
|
|
380
|
-
base: string;
|
|
381
|
-
branch: string;
|
|
382
|
-
issueId?: number;
|
|
383
|
-
assigneeId?: number;
|
|
384
|
-
notifiedUserId?: number[];
|
|
385
|
-
attachmentId?: number[];
|
|
386
|
-
}
|
|
387
|
-
interface PatchPullRequestParams {
|
|
388
|
-
summary?: string;
|
|
389
|
-
description?: string;
|
|
390
|
-
issueId?: number;
|
|
391
|
-
assigneeId?: number;
|
|
392
|
-
notifiedUserId?: number[];
|
|
393
|
-
comment?: string[];
|
|
394
|
-
}
|
|
395
|
-
interface GetPullRequestCommentsParams {
|
|
396
|
-
minId?: number;
|
|
397
|
-
maxId?: number;
|
|
398
|
-
count?: number;
|
|
399
|
-
order?: Order;
|
|
400
|
-
}
|
|
401
|
-
interface PostPullRequestCommentsParams {
|
|
402
|
-
content: string;
|
|
403
|
-
notifiedUserId?: number[];
|
|
404
|
-
}
|
|
405
|
-
interface PatchPullRequestCommentsParams {
|
|
406
|
-
content: string;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
export declare namespace Wiki {
|
|
410
|
-
interface GetWikiParams {
|
|
411
|
-
projectIdOrKey: string | number;
|
|
412
|
-
keyword?: string;
|
|
413
|
-
}
|
|
414
|
-
interface PostWikiParams {
|
|
415
|
-
projectId: number;
|
|
416
|
-
name: string;
|
|
417
|
-
content: string;
|
|
418
|
-
mailNotify?: boolean;
|
|
419
|
-
}
|
|
420
|
-
interface PatchWikiParams {
|
|
421
|
-
name?: string;
|
|
422
|
-
content?: string;
|
|
423
|
-
mailNotify?: boolean;
|
|
424
|
-
}
|
|
425
|
-
interface GetWikisHistoryParams {
|
|
426
|
-
minId?: number;
|
|
427
|
-
maxId?: number;
|
|
428
|
-
count?: number;
|
|
429
|
-
order?: Order;
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
export declare namespace OAuth2 {
|
|
433
|
-
interface Credentials {
|
|
434
|
-
clientId: string;
|
|
435
|
-
clientSecret: string;
|
|
436
|
-
}
|
|
437
|
-
}
|
package/dist/types/request.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export default class Request {
|
|
2
|
-
private configure;
|
|
3
|
-
constructor(configure: {
|
|
4
|
-
host: string;
|
|
5
|
-
apiKey?: string;
|
|
6
|
-
accessToken?: string;
|
|
7
|
-
timeout?: number;
|
|
8
|
-
});
|
|
9
|
-
get<T>(path: string, params?: any): Promise<T>;
|
|
10
|
-
post<T>(path: string, params?: any): Promise<T>;
|
|
11
|
-
put<T>(path: string, params: any): Promise<T>;
|
|
12
|
-
patch<T>(path: string, params: any): Promise<T>;
|
|
13
|
-
delete<T>(path: string, params?: any): Promise<T>;
|
|
14
|
-
request(options: {
|
|
15
|
-
method: string;
|
|
16
|
-
path: string;
|
|
17
|
-
params?: Params | FormData;
|
|
18
|
-
}): Promise<Response>;
|
|
19
|
-
checkStatus(response: Response): Promise<Response>;
|
|
20
|
-
parseJSON<T>(response: Response): Promise<T>;
|
|
21
|
-
private toQueryString;
|
|
22
|
-
get webAppBaseURL(): string;
|
|
23
|
-
get restBaseURL(): string;
|
|
24
|
-
}
|
|
25
|
-
export type Params = {
|
|
26
|
-
[index: string]: number | string | number[] | string[];
|
|
27
|
-
};
|
package/dist/types/types.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export type TextFormattingRule = "backlog" | "markdown";
|
|
2
|
-
export declare enum ClassicRoleType {
|
|
3
|
-
Admin = 1,
|
|
4
|
-
User = 2,
|
|
5
|
-
Reporter = 3,
|
|
6
|
-
Viewer = 4,
|
|
7
|
-
GuestReporter = 5,
|
|
8
|
-
GuestViewer = 6
|
|
9
|
-
}
|
|
10
|
-
export declare enum NormalRoleType {
|
|
11
|
-
Admin = 1,
|
|
12
|
-
MemberOrGuest = 2,
|
|
13
|
-
MemberOrGuestForAddIssues = 3,
|
|
14
|
-
MemberOrGuestForViewIssues = 4
|
|
15
|
-
}
|
|
16
|
-
export type RoleType = ClassicRoleType | NormalRoleType;
|
|
17
|
-
export type Language = "en" | "ja" | null;
|
|
18
|
-
export declare enum ActivityType {
|
|
19
|
-
Undefined = -1,
|
|
20
|
-
IssueCreated = 1,
|
|
21
|
-
IssueUpdated = 2,
|
|
22
|
-
IssueCommented = 3,
|
|
23
|
-
IssueDeleted = 4,
|
|
24
|
-
WikiCreated = 5,
|
|
25
|
-
WikiUpdated = 6,
|
|
26
|
-
WikiDeleted = 7,
|
|
27
|
-
FileAdded = 8,
|
|
28
|
-
FileUpdated = 9,
|
|
29
|
-
FileDeleted = 10,
|
|
30
|
-
SvnCommitted = 11,
|
|
31
|
-
GitPushed = 12,
|
|
32
|
-
GitRepositoryCreated = 13,
|
|
33
|
-
IssueMultiUpdated = 14,
|
|
34
|
-
ProjectUserAdded = 15,
|
|
35
|
-
ProjectUserRemoved = 16,
|
|
36
|
-
NotifyAdded = 17,
|
|
37
|
-
PullRequestAdded = 18,
|
|
38
|
-
PullRequestUpdated = 19,
|
|
39
|
-
PullRequestCommented = 20,
|
|
40
|
-
PullRequestMerged = 21,
|
|
41
|
-
MilestoneCreated = 22,
|
|
42
|
-
MilestoneUpdated = 23,
|
|
43
|
-
MilestoneDeleted = 24,
|
|
44
|
-
ProjectGroupAdded = 25,
|
|
45
|
-
ProjectGroupDeleted = 26
|
|
46
|
-
}
|
|
47
|
-
export type IssueTypeColor = "#e30000" | "#990000" | "#934981" | "#814fbc" | "#2779ca" | "#007e9a" | "#7ea800" | "#ff9200" | "#ff3265" | "#666665";
|
|
48
|
-
export type ProjectStatusColor = "#ea2c00" | "#e87758" | "#e07b9a" | "#868cb7" | "#3b9dbd" | "#4caf93" | "#b0be3c" | "#eda62a" | "#f42858" | "#393939";
|
|
49
|
-
export declare enum CustomFieldType {
|
|
50
|
-
Text = 1,
|
|
51
|
-
TextArea = 2,
|
|
52
|
-
Numeric = 3,
|
|
53
|
-
Date = 4,
|
|
54
|
-
SingleList = 5,
|
|
55
|
-
MultipleList = 6,
|
|
56
|
-
CheckBox = 7,
|
|
57
|
-
Radio = 8
|
|
58
|
-
}
|
|
59
|
-
export type WebhookActivityId = number;
|