@jetbrains/n8n-nodes-youtrack 0.1.1
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/LICENSE +201 -0
- package/README.md +163 -0
- package/dist/common/youtrack-logo.svg +1 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.d.ts +10 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.js +51 -0
- package/dist/credentials/PermanentTokenCredentialForYouTrackApi.credentials.js.map +1 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.d.ts +10 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.js +56 -0
- package/dist/credentials/YouTrackWebhookAuthApi.credentials.js.map +1 -0
- package/dist/images/action.png +0 -0
- package/dist/images/trigger.png +0 -0
- package/dist/nodes/YouTrack/YouTrack.node.json +20 -0
- package/dist/nodes/YouTrack/YouTrackTrigger.node.json +20 -0
- package/dist/nodes/YouTrack/Youtrack.node.d.ts +4 -0
- package/dist/nodes/YouTrack/Youtrack.node.js +40 -0
- package/dist/nodes/YouTrack/Youtrack.node.js.map +1 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.d.ts +12 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.js +229 -0
- package/dist/nodes/YouTrack/YoutrackTrigger.node.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/execute.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/execute.js +106 -0
- package/dist/nodes/YouTrack/resources/command/execute.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/index.js +36 -0
- package/dist/nodes/YouTrack/resources/command/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/command/shared.js +51 -0
- package/dist/nodes/YouTrack/resources/command/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/command/utils.d.ts +4 -0
- package/dist/nodes/YouTrack/resources/command/utils.js +22 -0
- package/dist/nodes/YouTrack/resources/command/utils.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/add.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/add.js +56 -0
- package/dist/nodes/YouTrack/resources/comment/add.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/index.js +53 -0
- package/dist/nodes/YouTrack/resources/comment/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/list.js +84 -0
- package/dist/nodes/YouTrack/resources/comment/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/comment/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/comment/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/comment/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/index.d.ts +3 -0
- package/dist/nodes/YouTrack/resources/index.js +86 -0
- package/dist/nodes/YouTrack/resources/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/create.js +86 -0
- package/dist/nodes/YouTrack/resources/issue/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/get.js +34 -0
- package/dist/nodes/YouTrack/resources/issue/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/index.js +100 -0
- package/dist/nodes/YouTrack/resources/issue/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/list.js +98 -0
- package/dist/nodes/YouTrack/resources/issue/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/issue/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issue/update.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issue/update.js +63 -0
- package/dist/nodes/YouTrack/resources/issue/update.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.js +109 -0
- package/dist/nodes/YouTrack/resources/issueDraft/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.js +34 -0
- package/dist/nodes/YouTrack/resources/issueDraft/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.js +100 -0
- package/dist/nodes/YouTrack/resources/issueDraft/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.js +84 -0
- package/dist/nodes/YouTrack/resources/issueDraft/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/issueDraft/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.js +93 -0
- package/dist/nodes/YouTrack/resources/issueDraft/update.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/get.js +34 -0
- package/dist/nodes/YouTrack/resources/project/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.js +66 -0
- package/dist/nodes/YouTrack/resources/project/getFieldsSchema.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.js +80 -0
- package/dist/nodes/YouTrack/resources/project/getIssues.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/index.js +78 -0
- package/dist/nodes/YouTrack/resources/project/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/list.js +98 -0
- package/dist/nodes/YouTrack/resources/project/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/project/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/project/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/project/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.js +76 -0
- package/dist/nodes/YouTrack/resources/savedQueries/create.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.js +48 -0
- package/dist/nodes/YouTrack/resources/savedQueries/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.js +84 -0
- package/dist/nodes/YouTrack/resources/savedQueries/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.js +55 -0
- package/dist/nodes/YouTrack/resources/tag/addToIssue.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.js +46 -0
- package/dist/nodes/YouTrack/resources/tag/getIssueTags.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/index.js +94 -0
- package/dist/nodes/YouTrack/resources/tag/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/list.js +98 -0
- package/dist/nodes/YouTrack/resources/tag/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.js +21 -0
- package/dist/nodes/YouTrack/resources/tag/removeFromIssue.js.map +1 -0
- package/dist/nodes/YouTrack/resources/tag/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/tag/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/tag/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/types.d.ts +26 -0
- package/dist/nodes/YouTrack/resources/types.js +3 -0
- package/dist/nodes/YouTrack/resources/types.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/get.js +34 -0
- package/dist/nodes/YouTrack/resources/user/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getCurrent.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getGeneralProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getNotificationsProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.js +66 -0
- package/dist/nodes/YouTrack/resources/user/getSavedQueries.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getTags.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getTags.js +66 -0
- package/dist/nodes/YouTrack/resources/user/getTags.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.js +34 -0
- package/dist/nodes/YouTrack/resources/user/getTimeTrackingProfile.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/index.js +134 -0
- package/dist/nodes/YouTrack/resources/user/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/list.js +84 -0
- package/dist/nodes/YouTrack/resources/user/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/user/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/user/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/user/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.js +34 -0
- package/dist/nodes/YouTrack/resources/userGroup/get.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.js +34 -0
- package/dist/nodes/YouTrack/resources/userGroup/getMembers.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.js +64 -0
- package/dist/nodes/YouTrack/resources/userGroup/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.js +84 -0
- package/dist/nodes/YouTrack/resources/userGroup/list.js.map +1 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/userGroup/shared.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/add.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/add.js +95 -0
- package/dist/nodes/YouTrack/resources/workitem/add.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/index.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/index.js +36 -0
- package/dist/nodes/YouTrack/resources/workitem/index.js.map +1 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.d.ts +2 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.js +21 -0
- package/dist/nodes/YouTrack/resources/workitem/shared.js.map +1 -0
- package/dist/package.json +55 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/package.json +55 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGetSavedQueriesDescription = void 0;
|
|
4
|
+
exports.userGetSavedQueriesDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Options',
|
|
7
|
+
name: 'additionalOptions',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Option',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['user'],
|
|
14
|
+
operation: ['getSavedQueries'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'id,name,query,issues(idReadable)',
|
|
23
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Limit',
|
|
33
|
+
name: 'limit',
|
|
34
|
+
type: 'number',
|
|
35
|
+
typeOptions: {
|
|
36
|
+
minValue: 1,
|
|
37
|
+
},
|
|
38
|
+
default: 50,
|
|
39
|
+
description: 'Max number of results to return',
|
|
40
|
+
routing: {
|
|
41
|
+
send: {
|
|
42
|
+
type: 'query',
|
|
43
|
+
property: '$top',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Skip',
|
|
49
|
+
name: 'skip',
|
|
50
|
+
type: 'number',
|
|
51
|
+
typeOptions: {
|
|
52
|
+
minValue: 0,
|
|
53
|
+
},
|
|
54
|
+
default: 0,
|
|
55
|
+
description: 'Number of saved queries to skip before returning results',
|
|
56
|
+
routing: {
|
|
57
|
+
send: {
|
|
58
|
+
type: 'query',
|
|
59
|
+
property: '$skip',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
//# sourceMappingURL=getSavedQueries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSavedQueries.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/getSavedQueries.ts"],"names":[],"mappings":";;;AAEa,QAAA,8BAA8B,GAAsB;IAEhE;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,iBAAiB,CAAC;aAC9B;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kCAAkC;gBAC3C,WAAW,EAAE,wFAAwF;gBACrG,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,MAAM;qBAChB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,0DAA0D;gBACvE,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,OAAO;qBACjB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGetTagsDescription = void 0;
|
|
4
|
+
exports.userGetTagsDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Options',
|
|
7
|
+
name: 'additionalOptions',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Option',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['user'],
|
|
14
|
+
operation: ['getTags'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'id,name,owner(login,name),visibleFor(name,id),updateableBy(name,id),untagOnResolve',
|
|
23
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Limit',
|
|
33
|
+
name: 'limit',
|
|
34
|
+
type: 'number',
|
|
35
|
+
typeOptions: {
|
|
36
|
+
minValue: 1,
|
|
37
|
+
},
|
|
38
|
+
default: 50,
|
|
39
|
+
description: 'Max number of results to return',
|
|
40
|
+
routing: {
|
|
41
|
+
send: {
|
|
42
|
+
type: 'query',
|
|
43
|
+
property: '$top',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
displayName: 'Skip',
|
|
49
|
+
name: 'skip',
|
|
50
|
+
type: 'number',
|
|
51
|
+
typeOptions: {
|
|
52
|
+
minValue: 0,
|
|
53
|
+
},
|
|
54
|
+
default: 0,
|
|
55
|
+
description: 'Number of tags to skip before returning results',
|
|
56
|
+
routing: {
|
|
57
|
+
send: {
|
|
58
|
+
type: 'query',
|
|
59
|
+
property: '$skip',
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
],
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
//# sourceMappingURL=getTags.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTags.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/getTags.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAsB;IAExD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,SAAS,CAAC;aACtB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,oFAAoF;gBAC7F,WAAW,EAAE,wFAAwF;gBACrG,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,MAAM;qBAChB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,iDAAiD;gBAC9D,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,OAAO;qBACjB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGetTimeTrackingProfileDescription = void 0;
|
|
4
|
+
exports.userGetTimeTrackingProfileDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Options',
|
|
7
|
+
name: 'additionalOptions',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Option',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['user'],
|
|
14
|
+
operation: ['getTimeTrackingProfile'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'id,periodFormat(id)',
|
|
23
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=getTimeTrackingProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTimeTrackingProfile.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/getTimeTrackingProfile.ts"],"names":[],"mappings":";;;AAEa,QAAA,qCAAqC,GAAsB;IAEvE;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,wBAAwB,CAAC;aACrC;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,qBAAqB;gBAC9B,WAAW,EAAE,wFAAwF;gBACrG,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userDescription = void 0;
|
|
4
|
+
const shared_1 = require("./shared");
|
|
5
|
+
const list_1 = require("./list");
|
|
6
|
+
const getCurrent_1 = require("./getCurrent");
|
|
7
|
+
const get_1 = require("./get");
|
|
8
|
+
const getTags_1 = require("./getTags");
|
|
9
|
+
const getSavedQueries_1 = require("./getSavedQueries");
|
|
10
|
+
const getGeneralProfile_1 = require("./getGeneralProfile");
|
|
11
|
+
const getNotificationsProfile_1 = require("./getNotificationsProfile");
|
|
12
|
+
const getTimeTrackingProfile_1 = require("./getTimeTrackingProfile");
|
|
13
|
+
exports.userDescription = [
|
|
14
|
+
{
|
|
15
|
+
displayName: 'Operation',
|
|
16
|
+
name: 'operation',
|
|
17
|
+
type: 'options',
|
|
18
|
+
displayOptions: {
|
|
19
|
+
show: {
|
|
20
|
+
resource: ['user'],
|
|
21
|
+
},
|
|
22
|
+
},
|
|
23
|
+
options: [
|
|
24
|
+
{
|
|
25
|
+
name: 'Get',
|
|
26
|
+
value: 'get',
|
|
27
|
+
description: 'Get a specific user by ID or login',
|
|
28
|
+
action: 'Get a user',
|
|
29
|
+
routing: {
|
|
30
|
+
request: {
|
|
31
|
+
method: 'GET',
|
|
32
|
+
url: '=/users/{{$parameter.userId}}',
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
name: 'Get Current',
|
|
38
|
+
value: 'getCurrent',
|
|
39
|
+
description: 'Get current authenticated user',
|
|
40
|
+
action: 'Get current user',
|
|
41
|
+
routing: {
|
|
42
|
+
request: {
|
|
43
|
+
method: 'GET',
|
|
44
|
+
url: '/users/me',
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'Get General Profile',
|
|
50
|
+
value: 'getGeneralProfile',
|
|
51
|
+
description: 'Get general profile settings for a specific user',
|
|
52
|
+
action: 'Get user general profile',
|
|
53
|
+
routing: {
|
|
54
|
+
request: {
|
|
55
|
+
method: 'GET',
|
|
56
|
+
url: '=/users/{{$parameter.userId}}/profiles/general',
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: 'Get Many',
|
|
62
|
+
value: 'list',
|
|
63
|
+
description: 'Get many users',
|
|
64
|
+
action: 'Get many users',
|
|
65
|
+
routing: {
|
|
66
|
+
request: {
|
|
67
|
+
method: 'GET',
|
|
68
|
+
url: '/users',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
name: 'Get Notifications Profile',
|
|
74
|
+
value: 'getNotificationsProfile',
|
|
75
|
+
description: 'Get notification settings for a specific user',
|
|
76
|
+
action: 'Get user notifications profile',
|
|
77
|
+
routing: {
|
|
78
|
+
request: {
|
|
79
|
+
method: 'GET',
|
|
80
|
+
url: '=/users/{{$parameter.userId}}/profiles/notifications',
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
name: 'Get Saved Queries',
|
|
86
|
+
value: 'getSavedQueries',
|
|
87
|
+
description: 'Get saved queries for a specific user',
|
|
88
|
+
action: 'Get user saved queries',
|
|
89
|
+
routing: {
|
|
90
|
+
request: {
|
|
91
|
+
method: 'GET',
|
|
92
|
+
url: '=/users/{{$parameter.userId}}/savedQueries',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
name: 'Get Tags',
|
|
98
|
+
value: 'getTags',
|
|
99
|
+
description: 'Get tags for a specific user',
|
|
100
|
+
action: 'Get user tags',
|
|
101
|
+
routing: {
|
|
102
|
+
request: {
|
|
103
|
+
method: 'GET',
|
|
104
|
+
url: '=/users/{{$parameter.userId}}/tags',
|
|
105
|
+
},
|
|
106
|
+
},
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'Get Time Tracking Profile',
|
|
110
|
+
value: 'getTimeTrackingProfile',
|
|
111
|
+
description: 'Get time tracking settings for a specific user',
|
|
112
|
+
action: 'Get user time tracking profile',
|
|
113
|
+
routing: {
|
|
114
|
+
request: {
|
|
115
|
+
method: 'GET',
|
|
116
|
+
url: '=/users/{{$parameter.userId}}/profiles/timetracking',
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
default: 'list',
|
|
122
|
+
noDataExpression: true,
|
|
123
|
+
},
|
|
124
|
+
...shared_1.userSharedDescription,
|
|
125
|
+
...list_1.userListDescription,
|
|
126
|
+
...getCurrent_1.userGetCurrentDescription,
|
|
127
|
+
...get_1.userGetDescription,
|
|
128
|
+
...getTags_1.userGetTagsDescription,
|
|
129
|
+
...getSavedQueries_1.userGetSavedQueriesDescription,
|
|
130
|
+
...getGeneralProfile_1.userGetGeneralProfileDescription,
|
|
131
|
+
...getNotificationsProfile_1.userGetNotificationsProfileDescription,
|
|
132
|
+
...getTimeTrackingProfile_1.userGetTimeTrackingProfileDescription,
|
|
133
|
+
];
|
|
134
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/index.ts"],"names":[],"mappings":";;;AAEA,qCAAiD;AACjD,iCAA6C;AAC7C,6CAAyD;AACzD,+BAA2C;AAC3C,uCAAmD;AACnD,uDAAmE;AACnE,2DAAuE;AACvE,uEAAmF;AACnF,qEAAiF;AAEpE,QAAA,eAAe,GAAsB;IACjD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,oCAAoC;gBACjD,MAAM,EAAE,YAAY;gBACpB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,+BAA+B;qBACpC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,gCAAgC;gBAC7C,MAAM,EAAE,kBAAkB;gBAC1B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;qBAChB;iBACD;aACD;YACD;gBACC,IAAI,EAAE,qBAAqB;gBAC3B,KAAK,EAAE,mBAAmB;gBAC1B,WAAW,EAAE,kDAAkD;gBAC/D,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,gDAAgD;qBACrD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,gBAAgB;gBAC7B,MAAM,EAAE,gBAAgB;gBACxB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,QAAQ;qBACb;iBACD;aACD;YACD;gBACC,IAAI,EAAE,2BAA2B;gBACjC,KAAK,EAAE,yBAAyB;gBAChC,WAAW,EAAE,+CAA+C;gBAC5D,MAAM,EAAE,gCAAgC;gBACxC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,sDAAsD;qBAC3D;iBACD;aACD;YACD;gBACC,IAAI,EAAE,mBAAmB;gBACzB,KAAK,EAAE,iBAAiB;gBACxB,WAAW,EAAE,uCAAuC;gBACpD,MAAM,EAAE,wBAAwB;gBAChC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,4CAA4C;qBACjD;iBACD;aACD;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,SAAS;gBAChB,WAAW,EAAE,8BAA8B;gBAC3C,MAAM,EAAE,eAAe;gBACvB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,oCAAoC;qBACzC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,2BAA2B;gBACjC,KAAK,EAAE,wBAAwB;gBAC/B,WAAW,EAAE,gDAAgD;gBAC7D,MAAM,EAAE,gCAAgC;gBACxC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,qDAAqD;qBAC1D;iBACD;aACD;SACD;QACD,OAAO,EAAE,MAAM;QACf,gBAAgB,EAAE,IAAI;KACtB;IAED,GAAG,8BAAqB;IACxB,GAAG,0BAAmB;IACtB,GAAG,sCAAyB;IAC5B,GAAG,wBAAkB;IACrB,GAAG,gCAAsB;IACzB,GAAG,gDAA8B;IACjC,GAAG,oDAAgC;IACnC,GAAG,gEAAsC;IACzC,GAAG,8DAAqC;CACxC,CAAC"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userListDescription = void 0;
|
|
4
|
+
exports.userListDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Return All',
|
|
7
|
+
name: 'returnAll',
|
|
8
|
+
type: 'boolean',
|
|
9
|
+
displayOptions: {
|
|
10
|
+
show: {
|
|
11
|
+
resource: ['user'],
|
|
12
|
+
operation: ['list'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
default: false,
|
|
16
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Additional Options',
|
|
20
|
+
name: 'additionalOptions',
|
|
21
|
+
type: 'collection',
|
|
22
|
+
placeholder: 'Add Option',
|
|
23
|
+
default: {},
|
|
24
|
+
displayOptions: {
|
|
25
|
+
show: {
|
|
26
|
+
resource: ['user'],
|
|
27
|
+
operation: ['list'],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
displayName: 'Fields',
|
|
33
|
+
name: 'fields',
|
|
34
|
+
type: 'string',
|
|
35
|
+
default: 'id,login,fullName,email,avatarUrl,online,banned',
|
|
36
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned.',
|
|
37
|
+
routing: {
|
|
38
|
+
send: {
|
|
39
|
+
type: 'query',
|
|
40
|
+
property: 'fields',
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
displayName: 'Limit',
|
|
46
|
+
name: 'limit',
|
|
47
|
+
type: 'number',
|
|
48
|
+
displayOptions: {
|
|
49
|
+
show: {
|
|
50
|
+
'/returnAll': [false],
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
typeOptions: {
|
|
54
|
+
minValue: 1,
|
|
55
|
+
},
|
|
56
|
+
default: 50,
|
|
57
|
+
description: 'Max number of results to return',
|
|
58
|
+
routing: {
|
|
59
|
+
send: {
|
|
60
|
+
type: 'query',
|
|
61
|
+
property: '$top',
|
|
62
|
+
},
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
displayName: 'Skip',
|
|
67
|
+
name: 'skip',
|
|
68
|
+
type: 'number',
|
|
69
|
+
typeOptions: {
|
|
70
|
+
minValue: 0,
|
|
71
|
+
},
|
|
72
|
+
default: 0,
|
|
73
|
+
description: 'Number of users to skip before returning results',
|
|
74
|
+
routing: {
|
|
75
|
+
send: {
|
|
76
|
+
type: 'query',
|
|
77
|
+
property: '$skip',
|
|
78
|
+
},
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
},
|
|
83
|
+
];
|
|
84
|
+
//# sourceMappingURL=list.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/list.ts"],"names":[],"mappings":";;;AAEa,QAAA,mBAAmB,GAAsB;IAErD;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;SACD;QACD,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,2DAA2D;KACxE;IAED;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,MAAM,CAAC;aACnB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,iDAAiD;gBAC1D,WAAW,EAAE,wFAAwF;gBACrG,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,cAAc,EAAE;oBACf,IAAI,EAAE;wBACL,YAAY,EAAE,CAAC,KAAK,CAAC;qBACrB;iBACD;gBACD,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,iCAAiC;gBAC9C,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,MAAM;qBAChB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,MAAM;gBACnB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE;oBACZ,QAAQ,EAAE,CAAC;iBACX;gBACD,OAAO,EAAE,CAAC;gBACV,WAAW,EAAE,kDAAkD;gBAC/D,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,OAAO;qBACjB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userSharedDescription = void 0;
|
|
4
|
+
exports.userSharedDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'User ID',
|
|
7
|
+
name: 'userId',
|
|
8
|
+
type: 'string',
|
|
9
|
+
required: true,
|
|
10
|
+
displayOptions: {
|
|
11
|
+
show: {
|
|
12
|
+
resource: ['user'],
|
|
13
|
+
operation: ['get', 'getTags', 'getSavedQueries', 'getGeneralProfile', 'getNotificationsProfile', 'getTimeTrackingProfile'],
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
default: '',
|
|
17
|
+
placeholder: 'e.g. 1-0 or jane.doe',
|
|
18
|
+
description: 'The database ID (e.g., 1-0) or login (e.g., jane.doe) of the user',
|
|
19
|
+
},
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=shared.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/user/shared.ts"],"names":[],"mappings":";;;AAEa,QAAA,qBAAqB,GAAsB;IAEvD;QACC,WAAW,EAAE,SAAS;QACtB,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;QACd,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,SAAS,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,wBAAwB,CAAC;aAC1H;SACD;QACD,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,sBAAsB;QACnC,WAAW,EAAE,mEAAmE;KAChF;CACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGroupGetDescription = void 0;
|
|
4
|
+
exports.userGroupGetDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Options',
|
|
7
|
+
name: 'additionalOptions',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Option',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['userGroup'],
|
|
14
|
+
operation: ['get'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'id,name,usersCount,users(id,login,fullName,email),teamForProject(name,shortName)',
|
|
23
|
+
description: 'Comma-separated list of fields to return. If not specified, only entityID is returned. Use users(...) to include user details.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=get.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/userGroup/get.ts"],"names":[],"mappings":";;;AAEa,QAAA,uBAAuB,GAAsB;IAEzD;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,KAAK,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,kFAAkF;gBAC3F,WAAW,EAAE,gIAAgI;gBAC7I,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGroupGetMembersDescription = void 0;
|
|
4
|
+
exports.userGroupGetMembersDescription = [
|
|
5
|
+
{
|
|
6
|
+
displayName: 'Additional Options',
|
|
7
|
+
name: 'additionalOptions',
|
|
8
|
+
type: 'collection',
|
|
9
|
+
placeholder: 'Add Option',
|
|
10
|
+
default: {},
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: ['userGroup'],
|
|
14
|
+
operation: ['getMembers'],
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
options: [
|
|
18
|
+
{
|
|
19
|
+
displayName: 'Fields',
|
|
20
|
+
name: 'fields',
|
|
21
|
+
type: 'string',
|
|
22
|
+
default: 'users(id,login,fullName,email,avatarUrl,online,banned)',
|
|
23
|
+
description: 'Comma-separated list of fields to return. Use users(...) to include user details. Example: "users(ID,login,fullName,email)" or "ID,name,users(ID,login)" to also include group info.',
|
|
24
|
+
routing: {
|
|
25
|
+
send: {
|
|
26
|
+
type: 'query',
|
|
27
|
+
property: 'fields',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
//# sourceMappingURL=getMembers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMembers.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/userGroup/getMembers.ts"],"names":[],"mappings":";;;AAEa,QAAA,8BAA8B,GAAsB;IAEhE;QACC,WAAW,EAAE,oBAAoB;QACjC,IAAI,EAAE,mBAAmB;QACzB,IAAI,EAAE,YAAY;QAClB,WAAW,EAAE,YAAY;QACzB,OAAO,EAAE,EAAE;QACX,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,WAAW,CAAC;gBACvB,SAAS,EAAE,CAAC,YAAY,CAAC;aACzB;SACD;QACD,OAAO,EAAE;YACR;gBACC,WAAW,EAAE,QAAQ;gBACrB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,wDAAwD;gBACjE,WAAW,EAAE,sLAAsL;gBACnM,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,OAAO;wBACb,QAAQ,EAAE,QAAQ;qBAClB;iBACD;aACD;SACD;KACD;CACD,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userGroupDescription = void 0;
|
|
4
|
+
const shared_1 = require("./shared");
|
|
5
|
+
const list_1 = require("./list");
|
|
6
|
+
const get_1 = require("./get");
|
|
7
|
+
const getMembers_1 = require("./getMembers");
|
|
8
|
+
exports.userGroupDescription = [
|
|
9
|
+
{
|
|
10
|
+
displayName: 'Operation',
|
|
11
|
+
name: 'operation',
|
|
12
|
+
type: 'options',
|
|
13
|
+
displayOptions: {
|
|
14
|
+
show: {
|
|
15
|
+
resource: ['userGroup'],
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'Get Many',
|
|
21
|
+
value: 'list',
|
|
22
|
+
description: 'Get many user groups',
|
|
23
|
+
action: 'Get many user groups',
|
|
24
|
+
routing: {
|
|
25
|
+
request: {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '/groups',
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
name: 'Get',
|
|
33
|
+
value: 'get',
|
|
34
|
+
description: 'Get a specific user group by ID',
|
|
35
|
+
action: 'Get a user group',
|
|
36
|
+
routing: {
|
|
37
|
+
request: {
|
|
38
|
+
method: 'GET',
|
|
39
|
+
url: '=/groups/{{$parameter.groupId}}',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: 'Get Members',
|
|
45
|
+
value: 'getMembers',
|
|
46
|
+
description: 'Get members of a user group',
|
|
47
|
+
action: 'Get user group members',
|
|
48
|
+
routing: {
|
|
49
|
+
request: {
|
|
50
|
+
method: 'GET',
|
|
51
|
+
url: '=/groups/{{$parameter.groupId}}',
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
default: 'list',
|
|
57
|
+
noDataExpression: true,
|
|
58
|
+
},
|
|
59
|
+
...shared_1.userGroupSharedDescription,
|
|
60
|
+
...list_1.userGroupListDescription,
|
|
61
|
+
...get_1.userGroupGetDescription,
|
|
62
|
+
...getMembers_1.userGroupGetMembersDescription,
|
|
63
|
+
];
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../nodes/YouTrack/resources/userGroup/index.ts"],"names":[],"mappings":";;;AAEA,qCAAsD;AACtD,iCAAkD;AAClD,+BAAgD;AAChD,6CAA8D;AAEjD,QAAA,oBAAoB,GAAsB;IACtD;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,WAAW,CAAC;aACvB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,MAAM;gBACb,WAAW,EAAE,sBAAsB;gBACnC,MAAM,EAAE,sBAAsB;gBAC9B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,SAAS;qBACd;iBACD;aACD;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;gBACZ,WAAW,EAAE,iCAAiC;gBAC9C,MAAM,EAAE,kBAAkB;gBAC1B,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iCAAiC;qBACtC;iBACD;aACD;YACD;gBACC,IAAI,EAAE,aAAa;gBACnB,KAAK,EAAE,YAAY;gBACnB,WAAW,EAAE,6BAA6B;gBAC1C,MAAM,EAAE,wBAAwB;gBAChC,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,iCAAiC;qBACtC;iBACD;aACD;SACD;QACD,OAAO,EAAE,MAAM;QACf,gBAAgB,EAAE,IAAI;KACtB;IAED,GAAG,mCAA0B;IAC7B,GAAG,+BAAwB;IAC3B,GAAG,6BAAuB;IAC1B,GAAG,2CAA8B;CACjC,CAAC"}
|