@forge/teamwork-graph 1.2.0-next.5 → 2.0.0-next.7
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/out/__test__/entity-operations.test.js +1155 -10
- package/out/__test__/error-handling.test.js +38 -96
- package/out/__test__/graph-extended.test.js +12 -2
- package/out/__test__/group-operations.test.js +5 -4
- package/out/__test__/user-operations.test.js +16 -5
- package/out/__test__/validators.test.js +254 -218
- package/out/graph.d.ts +0 -3
- package/out/graph.d.ts.map +1 -1
- package/out/graph.js +121 -91
- package/out/index.d.ts +1 -2
- package/out/index.d.ts.map +1 -1
- package/out/index.js +1 -4
- package/out/types/entities/build.d.ts +33 -0
- package/out/types/entities/build.d.ts.map +1 -0
- package/out/types/entities/build.js +2 -0
- package/out/types/entities/calendar-event.d.ts +45 -0
- package/out/types/entities/calendar-event.d.ts.map +1 -0
- package/out/types/entities/calendar-event.js +2 -0
- package/out/types/entities/comment.d.ts +18 -0
- package/out/types/entities/comment.d.ts.map +1 -0
- package/out/types/entities/comment.js +2 -0
- package/out/types/entities/conversation.d.ts +28 -0
- package/out/types/entities/conversation.d.ts.map +1 -0
- package/out/types/entities/conversation.js +2 -0
- package/out/types/entities/customer-org.d.ts +36 -0
- package/out/types/entities/customer-org.d.ts.map +1 -0
- package/out/types/entities/customer-org.js +2 -0
- package/out/types/entities/deal.d.ts +37 -0
- package/out/types/entities/deal.d.ts.map +1 -0
- package/out/types/entities/deal.js +2 -0
- package/out/types/entities/deployment.d.ts +43 -0
- package/out/types/entities/deployment.d.ts.map +1 -0
- package/out/types/entities/deployment.js +2 -0
- package/out/types/entities/design.d.ts +15 -0
- package/out/types/entities/design.d.ts.map +1 -0
- package/out/types/entities/design.js +2 -0
- package/out/types/entities/index.d.ts +20 -2
- package/out/types/entities/index.d.ts.map +1 -1
- package/out/types/entities/position.d.ts +24 -0
- package/out/types/entities/position.d.ts.map +1 -0
- package/out/types/entities/position.js +2 -0
- package/out/types/entities/project.d.ts +40 -0
- package/out/types/entities/project.d.ts.map +1 -0
- package/out/types/entities/project.js +2 -0
- package/out/types/entities/pull-request.d.ts +44 -0
- package/out/types/entities/pull-request.d.ts.map +1 -0
- package/out/types/entities/pull-request.js +2 -0
- package/out/types/entities/remote-link.d.ts +33 -0
- package/out/types/entities/remote-link.d.ts.map +1 -0
- package/out/types/entities/remote-link.js +2 -0
- package/out/types/entities/repository.d.ts +14 -0
- package/out/types/entities/repository.d.ts.map +1 -0
- package/out/types/entities/repository.js +2 -0
- package/out/types/entities/software-service.d.ts +17 -0
- package/out/types/entities/software-service.d.ts.map +1 -0
- package/out/types/entities/software-service.js +2 -0
- package/out/types/entities/space.d.ts +21 -0
- package/out/types/entities/space.d.ts.map +1 -0
- package/out/types/entities/space.js +2 -0
- package/out/types/entities/video.d.ts +48 -0
- package/out/types/entities/video.d.ts.map +1 -0
- package/out/types/entities/video.js +2 -0
- package/out/types/entities/work-item.d.ts +44 -0
- package/out/types/entities/work-item.d.ts.map +1 -0
- package/out/types/entities/work-item.js +2 -0
- package/out/types/entities/worker.d.ts +23 -0
- package/out/types/entities/worker.d.ts.map +1 -0
- package/out/types/entities/worker.js +2 -0
- package/out/types/requests.d.ts +29 -8
- package/out/types/requests.d.ts.map +1 -1
- package/out/utils/error-handling.d.ts +4 -0
- package/out/utils/error-handling.d.ts.map +1 -0
- package/out/utils/error-handling.js +77 -0
- package/out/utils/errors.d.ts +21 -15
- package/out/utils/errors.d.ts.map +1 -1
- package/out/utils/errors.js +43 -15
- package/out/utils/validators.d.ts.map +1 -1
- package/out/utils/validators.js +18 -15
- package/package.json +1 -1
- package/out/error-handling.d.ts +0 -3
- package/out/error-handling.d.ts.map +0 -1
- package/out/error-handling.js +0 -36
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type DesignAttributes = {
|
|
3
|
+
liveEmbedUrl: string;
|
|
4
|
+
inspectUrl?: string;
|
|
5
|
+
status: string;
|
|
6
|
+
type: string;
|
|
7
|
+
iconUrl?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type DesignEntity = BaseEntityProperties & {
|
|
10
|
+
displayName: string;
|
|
11
|
+
lastUpdatedAt: string;
|
|
12
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
13
|
+
'atlassian:design': DesignAttributes;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=design.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"design.d.ts","sourceRoot":"","sources":["../../../src/types/entities/design.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,gBAAgB,GAAG;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,YAAY,GAAG,oBAAoB,GAAG;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC"}
|
|
@@ -1,8 +1,26 @@
|
|
|
1
1
|
import { BranchEntity } from './branch';
|
|
2
|
+
import { BuildEntity } from './build';
|
|
3
|
+
import { CalendarEventEntity } from './calendar-event';
|
|
4
|
+
import { CommentEntity } from './comment';
|
|
2
5
|
import { CommitEntity } from './commit';
|
|
6
|
+
import { ConversationEntity } from './conversation';
|
|
7
|
+
import { CustomerOrgEntity } from './customer-org';
|
|
8
|
+
import { DealEntity } from './deal';
|
|
9
|
+
import { DeploymentEntity } from './deployment';
|
|
10
|
+
import { DesignEntity } from './design';
|
|
3
11
|
import { DocumentEntity } from './document';
|
|
4
12
|
import { MessageEntity } from './message';
|
|
5
13
|
import { OrganisationEntity } from './organisation';
|
|
6
|
-
|
|
7
|
-
|
|
14
|
+
import { PositionEntity } from './position';
|
|
15
|
+
import { ProjectEntity } from './project';
|
|
16
|
+
import { PullRequestEntity } from './pull-request';
|
|
17
|
+
import { RemoteLinkEntity } from './remote-link';
|
|
18
|
+
import { RepositoryEntity } from './repository';
|
|
19
|
+
import { SoftwareServiceEntity } from './software-service';
|
|
20
|
+
import { SpaceEntity } from './space';
|
|
21
|
+
import { VideoEntity } from './video';
|
|
22
|
+
import { WorkItemEntity } from './work-item';
|
|
23
|
+
import { WorkerEntity } from './worker';
|
|
24
|
+
export { BranchEntity, BuildEntity, CalendarEventEntity, CommentEntity, CommitEntity, ConversationEntity, CustomerOrgEntity, DealEntity, DeploymentEntity, DesignEntity, DocumentEntity, MessageEntity, OrganisationEntity, PositionEntity, ProjectEntity, PullRequestEntity, RemoteLinkEntity, RepositoryEntity, SoftwareServiceEntity, SpaceEntity, VideoEntity, WorkItemEntity, WorkerEntity };
|
|
25
|
+
export declare type Entity = BranchEntity | BuildEntity | CalendarEventEntity | CommentEntity | CommitEntity | ConversationEntity | CustomerOrgEntity | DealEntity | DeploymentEntity | DesignEntity | DocumentEntity | MessageEntity | OrganisationEntity | PositionEntity | ProjectEntity | PullRequestEntity | RemoteLinkEntity | RepositoryEntity | SoftwareServiceEntity | SpaceEntity | VideoEntity | WorkItemEntity | WorkerEntity;
|
|
8
26
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/entities/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAGxC,OAAO,EACL,YAAY,EACZ,WAAW,EACX,mBAAmB,EACnB,aAAa,EACb,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,qBAAqB,EACrB,WAAW,EACX,WAAW,EACX,cAAc,EACd,YAAY,EACb,CAAC;AAGF,oBAAY,MAAM,GACd,YAAY,GACZ,WAAW,GACX,mBAAmB,GACnB,aAAa,GACb,YAAY,GACZ,kBAAkB,GAClB,iBAAiB,GACjB,UAAU,GACV,gBAAgB,GAChB,YAAY,GACZ,cAAc,GACd,aAAa,GACb,kBAAkB,GAClB,cAAc,GACd,aAAa,GACb,iBAAiB,GACjB,gBAAgB,GAChB,gBAAgB,GAChB,qBAAqB,GACrB,WAAW,GACX,WAAW,GACX,cAAc,GACd,YAAY,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseEntityProperties, ParentKeyObject, Associations } from '../common';
|
|
2
|
+
export declare type PositionAttributes = {
|
|
3
|
+
customAndSensitiveData?: string;
|
|
4
|
+
status: string;
|
|
5
|
+
jobTitle?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare type PositionEntity = BaseEntityProperties & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
lastUpdatedAt: string;
|
|
10
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
11
|
+
parentKey: ParentKeyObject & {
|
|
12
|
+
type: 'atlassian:organisation';
|
|
13
|
+
};
|
|
14
|
+
associations: Associations & {
|
|
15
|
+
set: [
|
|
16
|
+
{
|
|
17
|
+
associationType: 'atlassian:worker';
|
|
18
|
+
values: [string] | [];
|
|
19
|
+
}
|
|
20
|
+
];
|
|
21
|
+
};
|
|
22
|
+
'atlassian:position': PositionAttributes;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=position.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"position.d.ts","sourceRoot":"","sources":["../../../src/types/entities/position.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEhF,oBAAY,kBAAkB,GAAG;IAC/B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,cAAc,GAAG,oBAAoB,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,SAAS,EAAE,eAAe,GAAG;QAAE,IAAI,EAAE,wBAAwB,CAAA;KAAE,CAAC;IAChE,YAAY,EAAE,YAAY,GAAG;QAC3B,GAAG,EAAE;YACH;gBACE,eAAe,EAAE,kBAAkB,CAAC;gBACpC,MAAM,EAAE,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;aACvB;SACF,CAAC;KACH,CAAC;IACF,oBAAoB,EAAE,kBAAkB,CAAC;CAC1C,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Attachment {
|
|
13
|
+
url?: string;
|
|
14
|
+
thumbnailUrl?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
mimeType?: string;
|
|
17
|
+
byteSize?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare type ProjectAttributes = {
|
|
20
|
+
key?: string;
|
|
21
|
+
dueDate?: string;
|
|
22
|
+
priority?: string;
|
|
23
|
+
assignee?: UserReference;
|
|
24
|
+
status: string;
|
|
25
|
+
attachments?: Attachment[];
|
|
26
|
+
labels?: string[];
|
|
27
|
+
environment?: string;
|
|
28
|
+
resolution?: string;
|
|
29
|
+
votesCount?: number;
|
|
30
|
+
watchersCount?: number;
|
|
31
|
+
};
|
|
32
|
+
export declare type ProjectEntity = BaseEntityProperties & {
|
|
33
|
+
displayName: string;
|
|
34
|
+
description: string;
|
|
35
|
+
createdBy: NonNullable<BaseEntityProperties['createdBy']>;
|
|
36
|
+
lastUpdatedAt: string;
|
|
37
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
38
|
+
'atlassian:project': ProjectAttributes;
|
|
39
|
+
};
|
|
40
|
+
//# sourceMappingURL=project.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/types/entities/project.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,oBAAY,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,oBAAY,aAAa,GAAG,oBAAoB,GAAG;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,WAAW,CAAC,oBAAoB,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,mBAAmB,EAAE,iBAAiB,CAAC;CACxC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseEntityProperties, ContainerKeyObject } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Reviewer {
|
|
13
|
+
accountId?: string;
|
|
14
|
+
id?: string;
|
|
15
|
+
email?: string;
|
|
16
|
+
approvalStatus?: 'approved' | 'unapproved' | 'needswork';
|
|
17
|
+
name?: string;
|
|
18
|
+
avatar?: string;
|
|
19
|
+
url?: string;
|
|
20
|
+
ari?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare type PullRequestAttributes = {
|
|
23
|
+
title?: string;
|
|
24
|
+
displayId: string;
|
|
25
|
+
status: string;
|
|
26
|
+
author?: UserReference;
|
|
27
|
+
commentCount?: number;
|
|
28
|
+
sourceBranch: string;
|
|
29
|
+
sourceBranchUrl?: string;
|
|
30
|
+
destinationBranch?: string;
|
|
31
|
+
destinationBranchUrl?: string;
|
|
32
|
+
reviewers: Reviewer[];
|
|
33
|
+
taskCount?: number;
|
|
34
|
+
};
|
|
35
|
+
export declare type PullRequestEntity = BaseEntityProperties & {
|
|
36
|
+
displayName: string;
|
|
37
|
+
containerKey: ContainerKeyObject & {
|
|
38
|
+
type: 'atlassian:repository';
|
|
39
|
+
};
|
|
40
|
+
lastUpdatedAt: string;
|
|
41
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
42
|
+
'atlassian:pull-request': PullRequestAttributes;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=pull-request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pull-request.d.ts","sourceRoot":"","sources":["../../../src/types/entities/pull-request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAErE,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,QAAQ;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,WAAW,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,oBAAY,iBAAiB,GAAG,oBAAoB,GAAG;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,kBAAkB,GAAG;QAAE,IAAI,EAAE,sBAAsB,CAAA;KAAE,CAAC;IACpE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,wBAAwB,EAAE,qBAAqB,CAAC;CACjD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface RemoteLinkStatus {
|
|
3
|
+
appearance: 'default' | 'in_progress' | 'moved' | 'new' | 'removed' | 'success';
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface UserReference {
|
|
7
|
+
accountId?: string;
|
|
8
|
+
email?: string;
|
|
9
|
+
externalId?: string;
|
|
10
|
+
ari?: string;
|
|
11
|
+
name?: string;
|
|
12
|
+
userName?: string;
|
|
13
|
+
avatar?: string;
|
|
14
|
+
url?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare type RemoteLinkAttributes = {
|
|
17
|
+
type: string;
|
|
18
|
+
status?: RemoteLinkStatus;
|
|
19
|
+
actionIds?: string[];
|
|
20
|
+
attributeMap?: Record<string, any>;
|
|
21
|
+
author?: UserReference;
|
|
22
|
+
category?: string;
|
|
23
|
+
assignee?: UserReference;
|
|
24
|
+
fullNounThirdPartyAri?: string;
|
|
25
|
+
};
|
|
26
|
+
export declare type RemoteLinkEntity = Omit<BaseEntityProperties, 'createdAt'> & {
|
|
27
|
+
createdAt?: string;
|
|
28
|
+
displayName: string;
|
|
29
|
+
lastUpdatedAt: string;
|
|
30
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
31
|
+
'atlassian:remote-link': RemoteLinkAttributes;
|
|
32
|
+
};
|
|
33
|
+
//# sourceMappingURL=remote-link.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remote-link.d.ts","sourceRoot":"","sources":["../../../src/types/entities/remote-link.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,KAAK,GAAG,SAAS,GAAG,SAAS,CAAC;IAChF,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,oBAAoB,GAAG;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACnC,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,oBAAY,gBAAgB,GAAG,IAAI,CAAC,oBAAoB,EAAE,WAAW,CAAC,GAAG;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,uBAAuB,EAAE,oBAAoB,CAAC;CAC/C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type RepositoryAttributes = {
|
|
3
|
+
name?: string;
|
|
4
|
+
forkOf?: string;
|
|
5
|
+
avatar?: string;
|
|
6
|
+
avatarDescription?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare type RepositoryEntity = BaseEntityProperties & {
|
|
9
|
+
displayName: string;
|
|
10
|
+
lastUpdatedAt: string;
|
|
11
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
12
|
+
'atlassian:repository': RepositoryAttributes;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=repository.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repository.d.ts","sourceRoot":"","sources":["../../../src/types/entities/repository.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,oBAAoB,GAAG;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF,oBAAY,gBAAgB,GAAG,oBAAoB,GAAG;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,sBAAsB,EAAE,oBAAoB,CAAC;CAC9C,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export declare type SoftwareServiceAttributes = {
|
|
3
|
+
description?: string;
|
|
4
|
+
associationsMetadata?: Record<string, any>;
|
|
5
|
+
namespace?: string;
|
|
6
|
+
environment?: string;
|
|
7
|
+
tags?: string[];
|
|
8
|
+
tier?: string;
|
|
9
|
+
serviceType?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare type SoftwareServiceEntity = BaseEntityProperties & {
|
|
12
|
+
displayName: string;
|
|
13
|
+
lastUpdatedAt: string;
|
|
14
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
15
|
+
'atlassian:software-service': SoftwareServiceAttributes;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=software-service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"software-service.d.ts","sourceRoot":"","sources":["../../../src/types/entities/software-service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,oBAAY,yBAAyB,GAAG;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,oBAAY,qBAAqB,GAAG,oBAAoB,GAAG;IACzD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,4BAA4B,EAAE,yBAAyB,CAAC;CACzD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface Icon {
|
|
3
|
+
url?: string;
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
isDefault: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare type SpaceAttributes = {
|
|
9
|
+
key: string;
|
|
10
|
+
spaceType: string;
|
|
11
|
+
subtype: string;
|
|
12
|
+
icon?: Icon;
|
|
13
|
+
labels?: string[];
|
|
14
|
+
};
|
|
15
|
+
export declare type SpaceEntity = BaseEntityProperties & {
|
|
16
|
+
displayName: string;
|
|
17
|
+
lastUpdatedAt: string;
|
|
18
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
19
|
+
'atlassian:space': SpaceAttributes;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=space.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"space.d.ts","sourceRoot":"","sources":["../../../src/types/entities/space.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,IAAI;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,oBAAY,eAAe,GAAG;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB,CAAC;AAEF,oBAAY,WAAW,GAAG,oBAAoB,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,iBAAiB,EAAE,eAAe,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface Cue {
|
|
13
|
+
id?: string;
|
|
14
|
+
startTimeInSeconds: number;
|
|
15
|
+
endTimeInSeconds?: number;
|
|
16
|
+
text: string;
|
|
17
|
+
}
|
|
18
|
+
export interface Track {
|
|
19
|
+
name?: string;
|
|
20
|
+
locale?: string;
|
|
21
|
+
cues: Cue[];
|
|
22
|
+
}
|
|
23
|
+
export interface Chapter {
|
|
24
|
+
startTimeInSeconds: number;
|
|
25
|
+
title: string;
|
|
26
|
+
}
|
|
27
|
+
export interface Contributor {
|
|
28
|
+
user: UserReference;
|
|
29
|
+
interactionCount: number;
|
|
30
|
+
}
|
|
31
|
+
export declare type VideoAttributes = {
|
|
32
|
+
thumbnailUrl: string;
|
|
33
|
+
embedUrl: string;
|
|
34
|
+
durationInSeconds?: number;
|
|
35
|
+
width?: number;
|
|
36
|
+
height?: number;
|
|
37
|
+
commentCount?: number;
|
|
38
|
+
textTracks?: Track[];
|
|
39
|
+
chapters?: Chapter[];
|
|
40
|
+
contributors?: Contributor[];
|
|
41
|
+
};
|
|
42
|
+
export declare type VideoEntity = BaseEntityProperties & {
|
|
43
|
+
displayName: string;
|
|
44
|
+
lastUpdatedAt: string;
|
|
45
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
46
|
+
'atlassian:video': VideoAttributes;
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=video.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"video.d.ts","sourceRoot":"","sources":["../../../src/types/entities/video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,GAAG;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,GAAG,EAAE,CAAC;CACb;AAED,MAAM,WAAW,OAAO;IACtB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,aAAa,CAAC;IACpB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AAED,oBAAY,eAAe,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,KAAK,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B,CAAC;AAEF,oBAAY,WAAW,GAAG,oBAAoB,GAAG;IAC/C,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,iBAAiB,EAAE,eAAe,CAAC;CACpC,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseEntityProperties, ContainerKeyObject } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface WorkItemProject {
|
|
13
|
+
id: string;
|
|
14
|
+
name: string;
|
|
15
|
+
}
|
|
16
|
+
export interface Attachment {
|
|
17
|
+
url?: string;
|
|
18
|
+
thumbnailUrl?: string;
|
|
19
|
+
title?: string;
|
|
20
|
+
mimeType?: string;
|
|
21
|
+
byteSize?: number;
|
|
22
|
+
}
|
|
23
|
+
export declare type WorkItemAttributes = {
|
|
24
|
+
dueDate?: string;
|
|
25
|
+
assignee?: UserReference;
|
|
26
|
+
workItemProject?: WorkItemProject;
|
|
27
|
+
collaborators?: UserReference[];
|
|
28
|
+
exceedsMaxCollaborators?: boolean;
|
|
29
|
+
status?: string;
|
|
30
|
+
subtype?: string;
|
|
31
|
+
attachments?: Attachment[];
|
|
32
|
+
team?: string;
|
|
33
|
+
};
|
|
34
|
+
export declare type WorkItemEntity = BaseEntityProperties & {
|
|
35
|
+
displayName: string;
|
|
36
|
+
description: string;
|
|
37
|
+
containerKey: ContainerKeyObject & {
|
|
38
|
+
type: 'atlassian:space';
|
|
39
|
+
};
|
|
40
|
+
lastUpdatedAt: string;
|
|
41
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
42
|
+
'atlassian:work-item': WorkItemAttributes;
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=work-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-item.d.ts","sourceRoot":"","sources":["../../../src/types/entities/work-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAErE,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,oBAAY,kBAAkB,GAAG;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,aAAa,CAAC,EAAE,aAAa,EAAE,CAAC;IAChC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,cAAc,GAAG,oBAAoB,GAAG;IAClD,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,kBAAkB,GAAG;QAAE,IAAI,EAAE,iBAAiB,CAAA;KAAE,CAAC;IAC/D,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,qBAAqB,EAAE,kBAAkB,CAAC;CAC3C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BaseEntityProperties } from '../common';
|
|
2
|
+
export interface UserReference {
|
|
3
|
+
accountId?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
externalId?: string;
|
|
6
|
+
ari?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
userName?: string;
|
|
9
|
+
avatar?: string;
|
|
10
|
+
url?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare type WorkerAttributes = {
|
|
13
|
+
hiredAt: string;
|
|
14
|
+
workerUser: UserReference;
|
|
15
|
+
customAndSensitiveData?: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type WorkerEntity = BaseEntityProperties & {
|
|
18
|
+
displayName: string;
|
|
19
|
+
lastUpdatedAt: string;
|
|
20
|
+
permissions: NonNullable<BaseEntityProperties['permissions']>;
|
|
21
|
+
'atlassian:worker': WorkerAttributes;
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=worker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"worker.d.ts","sourceRoot":"","sources":["../../../src/types/entities/worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,MAAM,WAAW,aAAa;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,oBAAY,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,aAAa,CAAC;IAC1B,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,oBAAY,YAAY,GAAG,oBAAoB,GAAG;IAChD,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9D,kBAAkB,EAAE,gBAAgB,CAAC;CACtC,CAAC"}
|
package/out/types/requests.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ export declare type BulkEntityRequest = {
|
|
|
4
4
|
};
|
|
5
5
|
export declare type BulkEntityResponse = {
|
|
6
6
|
success: boolean;
|
|
7
|
-
results
|
|
7
|
+
results?: Array<{
|
|
8
8
|
entityId: string;
|
|
9
9
|
success: boolean;
|
|
10
10
|
error?: string;
|
|
11
11
|
}>;
|
|
12
|
+
error?: string;
|
|
13
|
+
originalError?: unknown;
|
|
12
14
|
};
|
|
13
15
|
export declare type GetEntityByExternalIdRequest = {
|
|
14
16
|
entityType: string;
|
|
@@ -18,6 +20,7 @@ export declare type GetEntityByExternalIdResponse = {
|
|
|
18
20
|
success: boolean;
|
|
19
21
|
entity?: Entity;
|
|
20
22
|
error?: string;
|
|
23
|
+
originalError?: unknown;
|
|
21
24
|
};
|
|
22
25
|
export declare type DeleteEntitiesByExternalIdRequest = {
|
|
23
26
|
entityType: string;
|
|
@@ -25,42 +28,50 @@ export declare type DeleteEntitiesByExternalIdRequest = {
|
|
|
25
28
|
};
|
|
26
29
|
export declare type DeleteEntitiesByExternalIdResponse = {
|
|
27
30
|
success: boolean;
|
|
28
|
-
results
|
|
31
|
+
results?: Array<{
|
|
29
32
|
externalId: string;
|
|
30
33
|
success: boolean;
|
|
31
34
|
error?: string;
|
|
32
35
|
}>;
|
|
36
|
+
error?: string;
|
|
37
|
+
originalError?: unknown;
|
|
33
38
|
};
|
|
34
39
|
export declare type DeleteEntitiesByPropertiesRequest = Record<string, any>;
|
|
35
40
|
export declare type DeleteEntitiesByPropertiesResponse = {
|
|
36
41
|
success: boolean;
|
|
37
|
-
results
|
|
42
|
+
results?: Array<{
|
|
38
43
|
entityId: string;
|
|
39
44
|
success: boolean;
|
|
40
45
|
error?: string;
|
|
41
46
|
}>;
|
|
47
|
+
error?: string;
|
|
48
|
+
originalError?: unknown;
|
|
42
49
|
};
|
|
43
50
|
export declare type BulkUsersRequest = {
|
|
44
51
|
users: UserPayload[];
|
|
45
52
|
};
|
|
46
53
|
export declare type BulkUsersResponse = {
|
|
47
54
|
success: boolean;
|
|
48
|
-
results
|
|
55
|
+
results?: Array<{
|
|
49
56
|
externalId: string;
|
|
50
57
|
success: boolean;
|
|
51
58
|
error?: string;
|
|
52
59
|
}>;
|
|
60
|
+
error?: string;
|
|
61
|
+
originalError?: unknown;
|
|
53
62
|
};
|
|
54
63
|
export declare type DeleteUsersByExternalIdRequest = {
|
|
55
64
|
externalIds: string[];
|
|
56
65
|
};
|
|
57
66
|
export declare type DeleteUsersByExternalIdResponse = {
|
|
58
67
|
success: boolean;
|
|
59
|
-
results
|
|
68
|
+
results?: Array<{
|
|
60
69
|
externalId: string;
|
|
61
70
|
success: boolean;
|
|
62
71
|
error?: string;
|
|
63
72
|
}>;
|
|
73
|
+
error?: string;
|
|
74
|
+
originalError?: unknown;
|
|
64
75
|
};
|
|
65
76
|
export declare type GetUserByExternalIdRequest = {
|
|
66
77
|
externalId: string;
|
|
@@ -69,6 +80,7 @@ export declare type GetUserByExternalIdResponse = {
|
|
|
69
80
|
success: boolean;
|
|
70
81
|
user?: User;
|
|
71
82
|
error?: string;
|
|
83
|
+
originalError?: unknown;
|
|
72
84
|
};
|
|
73
85
|
export declare type UserMapping = {
|
|
74
86
|
externalId: string;
|
|
@@ -82,34 +94,40 @@ export declare type MapUsersRequest = {
|
|
|
82
94
|
};
|
|
83
95
|
export declare type MapUsersResponse = {
|
|
84
96
|
success: boolean;
|
|
85
|
-
results
|
|
97
|
+
results?: Array<{
|
|
86
98
|
externalId: string;
|
|
87
99
|
accountId?: string;
|
|
88
100
|
success: boolean;
|
|
89
101
|
error?: string;
|
|
90
102
|
}>;
|
|
103
|
+
error?: string;
|
|
104
|
+
originalError?: unknown;
|
|
91
105
|
};
|
|
92
106
|
export declare type BulkGroupsRequest = {
|
|
93
107
|
groups: GroupPayload[];
|
|
94
108
|
};
|
|
95
109
|
export declare type BulkGroupsResponse = {
|
|
96
110
|
success: boolean;
|
|
97
|
-
results
|
|
111
|
+
results?: Array<{
|
|
98
112
|
externalId: string;
|
|
99
113
|
success: boolean;
|
|
100
114
|
error?: string;
|
|
101
115
|
}>;
|
|
116
|
+
error?: string;
|
|
117
|
+
originalError?: unknown;
|
|
102
118
|
};
|
|
103
119
|
export declare type DeleteGroupsByExternalIdRequest = {
|
|
104
120
|
externalIds: string[];
|
|
105
121
|
};
|
|
106
122
|
export declare type DeleteGroupsByExternalIdResponse = {
|
|
107
123
|
success: boolean;
|
|
108
|
-
results
|
|
124
|
+
results?: Array<{
|
|
109
125
|
externalId: string;
|
|
110
126
|
success: boolean;
|
|
111
127
|
error?: string;
|
|
112
128
|
}>;
|
|
129
|
+
error?: string;
|
|
130
|
+
originalError?: unknown;
|
|
113
131
|
};
|
|
114
132
|
export declare type GetGroupByExternalIdRequest = {
|
|
115
133
|
externalId: string;
|
|
@@ -118,6 +136,7 @@ export declare type GetGroupByExternalIdResponse = {
|
|
|
118
136
|
success: boolean;
|
|
119
137
|
group?: Group;
|
|
120
138
|
error?: string;
|
|
139
|
+
originalError?: unknown;
|
|
121
140
|
};
|
|
122
141
|
export declare type FetchDataRequest = {
|
|
123
142
|
requestConfig: {
|
|
@@ -131,6 +150,7 @@ export declare type FetchDataResponse = {
|
|
|
131
150
|
success: boolean;
|
|
132
151
|
data?: any;
|
|
133
152
|
error?: string;
|
|
153
|
+
originalError?: unknown;
|
|
134
154
|
};
|
|
135
155
|
export declare type TransformDataRequest = {
|
|
136
156
|
data: any;
|
|
@@ -140,5 +160,6 @@ export declare type TransformDataResponse = {
|
|
|
140
160
|
success: boolean;
|
|
141
161
|
transformedData?: any;
|
|
142
162
|
error?: string;
|
|
163
|
+
originalError?: unknown;
|
|
143
164
|
};
|
|
144
165
|
//# sourceMappingURL=requests.d.ts.map
|