@crowdin/n8n-nodes-crowdin 0.29.0 → 0.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js +72 -16
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js +8 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js +55 -14
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js +35 -7
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js +72 -16
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.d.ts +2 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js +1243 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/discussions.js.map +1 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js +8 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js +8 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/index.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js +55 -14
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/projects.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js +7 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/reports.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/styleGuides.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js +21 -0
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/tasks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js +4 -3
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js +678 -2
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/crowdin/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js +73 -21
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js +9 -6
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/integrations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js +51 -6
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js +35 -7
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceFiles.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js +652 -11
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/teams.js +140 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/teams.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js +94 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js +1163 -30
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/fileBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js +73 -21
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/ai.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/applications.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js +2 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/branches.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js +7 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/glossaries.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js +770 -81
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/organizationWebhooks.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js +51 -6
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/projectsAndGroups.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js +579 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/sourceStrings.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/teams.js +140 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/teams.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js +3 -2
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationMemory.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translationStatus.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js +1101 -30
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/translations.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js +7 -0
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/users.js.map +1 -1
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js +909 -93
- package/dist/nodes/Crowdin/properties/enterprise/stringBased/webhooks.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/crowdin/stringBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/fileBased/events.js.map +1 -1
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js +25 -0
- package/dist/nodes/Crowdin/triggers/enterprise/stringBased/events.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,1243 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.discussionsProperties = void 0;
|
|
4
|
+
const preSend_1 = require("../../../utils/preSend");
|
|
5
|
+
exports.discussionsProperties = [
|
|
6
|
+
{
|
|
7
|
+
displayName: 'Operation',
|
|
8
|
+
name: 'operation',
|
|
9
|
+
type: 'options',
|
|
10
|
+
noDataExpression: true,
|
|
11
|
+
displayOptions: {
|
|
12
|
+
show: {
|
|
13
|
+
resource: [
|
|
14
|
+
'discussions'
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
name: 'List Project Discussions',
|
|
21
|
+
value: 'api.projects.discussions.getMany',
|
|
22
|
+
action: 'List Project Discussions',
|
|
23
|
+
description: '**Required scopes:** `project.discussion` (Read only).\n\nReturns the project discussions. By default, only `open` discussions are returned, the most recently updated first.\n\n__Note:__ In a public project, any signed-in user can read the discussions',
|
|
24
|
+
routing: {
|
|
25
|
+
request: {
|
|
26
|
+
method: 'GET',
|
|
27
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions'
|
|
28
|
+
},
|
|
29
|
+
send: {
|
|
30
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
31
|
+
},
|
|
32
|
+
output: {
|
|
33
|
+
postReceive: [
|
|
34
|
+
{
|
|
35
|
+
type: 'rootProperty',
|
|
36
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
37
|
+
properties: {
|
|
38
|
+
property: 'data'
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
name: 'Add Project Discussion',
|
|
47
|
+
value: 'api.projects.discussions.post',
|
|
48
|
+
action: 'Add Project Discussion',
|
|
49
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nStarts a new project discussion with a description. Every project member is notified about the new discussion, and the users mentioned in the description are notified about the mention.\n\n__Note:__ Only project members can start discussions',
|
|
50
|
+
routing: {
|
|
51
|
+
request: {
|
|
52
|
+
method: 'POST',
|
|
53
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions'
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: 'Get Project Discussion',
|
|
59
|
+
value: 'api.projects.discussions.get',
|
|
60
|
+
action: 'Get Project Discussion',
|
|
61
|
+
description: '**Required scopes:** `project.discussion` (Read only).\n\nReturns a single project discussion without its replies. Get the replies via [List Discussion Replies](#operation/api.projects.discussions.replies.getMany).',
|
|
62
|
+
routing: {
|
|
63
|
+
request: {
|
|
64
|
+
method: 'GET',
|
|
65
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}'
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
name: 'Delete Project Discussion',
|
|
71
|
+
value: 'api.projects.discussions.delete',
|
|
72
|
+
action: 'Delete Project Discussion',
|
|
73
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nDeletes a project discussion together with all its replies.\n\n__Note:__ Only the author of the discussion and project managers can delete it',
|
|
74
|
+
routing: {
|
|
75
|
+
request: {
|
|
76
|
+
method: 'DELETE',
|
|
77
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}'
|
|
78
|
+
},
|
|
79
|
+
output: {
|
|
80
|
+
postReceive: [
|
|
81
|
+
{
|
|
82
|
+
type: 'set',
|
|
83
|
+
properties: {
|
|
84
|
+
value: '={{ { "success": true } }}'
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: 'Edit Project Discussion',
|
|
93
|
+
value: 'api.projects.discussions.patch',
|
|
94
|
+
action: 'Edit Project Discussion',
|
|
95
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nRenames, closes, reopens, mutes or unmutes a project discussion. Closing or reopening posts a `system` reply and notifies the discussion participants. Muting applies only to the authenticated user.\n\n__Note:__ Only the author of the discussion and project managers can rename, close or reopen it. Anyone who can reply to the discussion can mute it for themselves',
|
|
96
|
+
routing: {
|
|
97
|
+
request: {
|
|
98
|
+
method: 'PATCH',
|
|
99
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}'
|
|
100
|
+
},
|
|
101
|
+
send: {
|
|
102
|
+
preSend: [
|
|
103
|
+
preSend_1.transformToJsonPatch
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
name: 'List Discussion Replies',
|
|
110
|
+
value: 'api.projects.discussions.replies.getMany',
|
|
111
|
+
action: 'List Discussion Replies',
|
|
112
|
+
description: '**Required scopes:** `project.discussion` (Read only).\n\nReturns the replies of a project discussion in the order they were posted, starting with the description of the discussion.',
|
|
113
|
+
routing: {
|
|
114
|
+
request: {
|
|
115
|
+
method: 'GET',
|
|
116
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}/replies'
|
|
117
|
+
},
|
|
118
|
+
send: {
|
|
119
|
+
paginate: '={{$parameter["returnAll"]}}'
|
|
120
|
+
},
|
|
121
|
+
output: {
|
|
122
|
+
postReceive: [
|
|
123
|
+
{
|
|
124
|
+
type: 'rootProperty',
|
|
125
|
+
enabled: '={{!$parameter["returnAll"]}}',
|
|
126
|
+
properties: {
|
|
127
|
+
property: 'data'
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
name: 'Add Discussion Reply',
|
|
136
|
+
value: 'api.projects.discussions.replies.post',
|
|
137
|
+
action: 'Add Discussion Reply',
|
|
138
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nPosts a reply to a project discussion. The discussion participants who have not muted it are notified about the reply, and the users mentioned in the reply are notified about the mention.\n\n__Note:__ Only project members can reply',
|
|
139
|
+
routing: {
|
|
140
|
+
request: {
|
|
141
|
+
method: 'POST',
|
|
142
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}/replies'
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
name: 'Get Discussion Reply',
|
|
148
|
+
value: 'api.projects.discussions.replies.get',
|
|
149
|
+
action: 'Get Discussion Reply',
|
|
150
|
+
description: '**Required scopes:** `project.discussion` (Read only).\n\nReturns a single reply of a project discussion.',
|
|
151
|
+
routing: {
|
|
152
|
+
request: {
|
|
153
|
+
method: 'GET',
|
|
154
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}/replies/{{$parameter["replyId"]}}'
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'Delete Discussion Reply',
|
|
160
|
+
value: 'api.projects.discussions.replies.delete',
|
|
161
|
+
action: 'Delete Discussion Reply',
|
|
162
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nDeletes a discussion reply.\n\n__Note:__ Only regular replies can be deleted, by their author or a project manager. The description and `system` replies stay until the discussion is deleted',
|
|
163
|
+
routing: {
|
|
164
|
+
request: {
|
|
165
|
+
method: 'DELETE',
|
|
166
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}/replies/{{$parameter["replyId"]}}'
|
|
167
|
+
},
|
|
168
|
+
output: {
|
|
169
|
+
postReceive: [
|
|
170
|
+
{
|
|
171
|
+
type: 'set',
|
|
172
|
+
properties: {
|
|
173
|
+
value: '={{ { "success": true } }}'
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
]
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: 'Edit Discussion Reply',
|
|
182
|
+
value: 'api.projects.discussions.replies.patch',
|
|
183
|
+
action: 'Edit Discussion Reply',
|
|
184
|
+
description: '**Required scopes:** `project.discussion` (Read and Write).\n\nEdits the text of a discussion reply. Users newly mentioned in the text are notified about the mention.\n\n__Note:__ Only the author can edit their `reply` or `description`. `system` replies can\'t be edited',
|
|
185
|
+
routing: {
|
|
186
|
+
request: {
|
|
187
|
+
method: 'PATCH',
|
|
188
|
+
url: '=/projects/{{$parameter["projectId"]}}/discussions/{{$parameter["discussionId"]}}/replies/{{$parameter["replyId"]}}'
|
|
189
|
+
},
|
|
190
|
+
send: {
|
|
191
|
+
preSend: [
|
|
192
|
+
preSend_1.transformToJsonPatch
|
|
193
|
+
]
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
default: 'api.projects.discussions.getMany'
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
displayName: 'GET /projects/{projectId}/discussions',
|
|
202
|
+
name: 'operation',
|
|
203
|
+
type: 'notice',
|
|
204
|
+
typeOptions: {
|
|
205
|
+
theme: 'info'
|
|
206
|
+
},
|
|
207
|
+
default: '',
|
|
208
|
+
displayOptions: {
|
|
209
|
+
show: {
|
|
210
|
+
resource: [
|
|
211
|
+
'discussions'
|
|
212
|
+
],
|
|
213
|
+
operation: [
|
|
214
|
+
'api.projects.discussions.getMany'
|
|
215
|
+
]
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
displayName: 'POST /projects/{projectId}/discussions',
|
|
221
|
+
name: 'operation',
|
|
222
|
+
type: 'notice',
|
|
223
|
+
typeOptions: {
|
|
224
|
+
theme: 'info'
|
|
225
|
+
},
|
|
226
|
+
default: '',
|
|
227
|
+
displayOptions: {
|
|
228
|
+
show: {
|
|
229
|
+
resource: [
|
|
230
|
+
'discussions'
|
|
231
|
+
],
|
|
232
|
+
operation: [
|
|
233
|
+
'api.projects.discussions.post'
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
displayName: 'GET /projects/{projectId}/discussions/{discussionId}',
|
|
240
|
+
name: 'operation',
|
|
241
|
+
type: 'notice',
|
|
242
|
+
typeOptions: {
|
|
243
|
+
theme: 'info'
|
|
244
|
+
},
|
|
245
|
+
default: '',
|
|
246
|
+
displayOptions: {
|
|
247
|
+
show: {
|
|
248
|
+
resource: [
|
|
249
|
+
'discussions'
|
|
250
|
+
],
|
|
251
|
+
operation: [
|
|
252
|
+
'api.projects.discussions.get'
|
|
253
|
+
]
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
displayName: 'DELETE /projects/{projectId}/discussions/{discussionId}',
|
|
259
|
+
name: 'operation',
|
|
260
|
+
type: 'notice',
|
|
261
|
+
typeOptions: {
|
|
262
|
+
theme: 'info'
|
|
263
|
+
},
|
|
264
|
+
default: '',
|
|
265
|
+
displayOptions: {
|
|
266
|
+
show: {
|
|
267
|
+
resource: [
|
|
268
|
+
'discussions'
|
|
269
|
+
],
|
|
270
|
+
operation: [
|
|
271
|
+
'api.projects.discussions.delete'
|
|
272
|
+
]
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
displayName: 'PATCH /projects/{projectId}/discussions/{discussionId}',
|
|
278
|
+
name: 'operation',
|
|
279
|
+
type: 'notice',
|
|
280
|
+
typeOptions: {
|
|
281
|
+
theme: 'info'
|
|
282
|
+
},
|
|
283
|
+
default: '',
|
|
284
|
+
displayOptions: {
|
|
285
|
+
show: {
|
|
286
|
+
resource: [
|
|
287
|
+
'discussions'
|
|
288
|
+
],
|
|
289
|
+
operation: [
|
|
290
|
+
'api.projects.discussions.patch'
|
|
291
|
+
]
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
displayName: 'GET /projects/{projectId}/discussions/{discussionId}/replies',
|
|
297
|
+
name: 'operation',
|
|
298
|
+
type: 'notice',
|
|
299
|
+
typeOptions: {
|
|
300
|
+
theme: 'info'
|
|
301
|
+
},
|
|
302
|
+
default: '',
|
|
303
|
+
displayOptions: {
|
|
304
|
+
show: {
|
|
305
|
+
resource: [
|
|
306
|
+
'discussions'
|
|
307
|
+
],
|
|
308
|
+
operation: [
|
|
309
|
+
'api.projects.discussions.replies.getMany'
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
displayName: 'POST /projects/{projectId}/discussions/{discussionId}/replies',
|
|
316
|
+
name: 'operation',
|
|
317
|
+
type: 'notice',
|
|
318
|
+
typeOptions: {
|
|
319
|
+
theme: 'info'
|
|
320
|
+
},
|
|
321
|
+
default: '',
|
|
322
|
+
displayOptions: {
|
|
323
|
+
show: {
|
|
324
|
+
resource: [
|
|
325
|
+
'discussions'
|
|
326
|
+
],
|
|
327
|
+
operation: [
|
|
328
|
+
'api.projects.discussions.replies.post'
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
displayName: 'GET /projects/{projectId}/discussions/{discussionId}/replies/{replyId}',
|
|
335
|
+
name: 'operation',
|
|
336
|
+
type: 'notice',
|
|
337
|
+
typeOptions: {
|
|
338
|
+
theme: 'info'
|
|
339
|
+
},
|
|
340
|
+
default: '',
|
|
341
|
+
displayOptions: {
|
|
342
|
+
show: {
|
|
343
|
+
resource: [
|
|
344
|
+
'discussions'
|
|
345
|
+
],
|
|
346
|
+
operation: [
|
|
347
|
+
'api.projects.discussions.replies.get'
|
|
348
|
+
]
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
displayName: 'DELETE /projects/{projectId}/discussions/{discussionId}/replies/{replyId}',
|
|
354
|
+
name: 'operation',
|
|
355
|
+
type: 'notice',
|
|
356
|
+
typeOptions: {
|
|
357
|
+
theme: 'info'
|
|
358
|
+
},
|
|
359
|
+
default: '',
|
|
360
|
+
displayOptions: {
|
|
361
|
+
show: {
|
|
362
|
+
resource: [
|
|
363
|
+
'discussions'
|
|
364
|
+
],
|
|
365
|
+
operation: [
|
|
366
|
+
'api.projects.discussions.replies.delete'
|
|
367
|
+
]
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
displayName: 'PATCH /projects/{projectId}/discussions/{discussionId}/replies/{replyId}',
|
|
373
|
+
name: 'operation',
|
|
374
|
+
type: 'notice',
|
|
375
|
+
typeOptions: {
|
|
376
|
+
theme: 'info'
|
|
377
|
+
},
|
|
378
|
+
default: '',
|
|
379
|
+
displayOptions: {
|
|
380
|
+
show: {
|
|
381
|
+
resource: [
|
|
382
|
+
'discussions'
|
|
383
|
+
],
|
|
384
|
+
operation: [
|
|
385
|
+
'api.projects.discussions.replies.patch'
|
|
386
|
+
]
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
displayName: 'Project Id',
|
|
392
|
+
name: 'projectId',
|
|
393
|
+
required: true,
|
|
394
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
395
|
+
default: '',
|
|
396
|
+
type: 'options',
|
|
397
|
+
displayOptions: {
|
|
398
|
+
show: {
|
|
399
|
+
resource: [
|
|
400
|
+
'discussions'
|
|
401
|
+
],
|
|
402
|
+
operation: [
|
|
403
|
+
'api.projects.discussions.getMany'
|
|
404
|
+
]
|
|
405
|
+
}
|
|
406
|
+
},
|
|
407
|
+
typeOptions: {
|
|
408
|
+
loadOptionsMethod: 'getProjects'
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
displayName: 'Status',
|
|
413
|
+
name: 'status',
|
|
414
|
+
description: 'Filter results to discussions with the given statuses: `open`, `closed`. It can be one status or a list of comma-separated ones. Default is `open`',
|
|
415
|
+
default: '',
|
|
416
|
+
type: 'string',
|
|
417
|
+
routing: {
|
|
418
|
+
send: {
|
|
419
|
+
type: 'query',
|
|
420
|
+
property: 'status',
|
|
421
|
+
value: '={{ $value || undefined }}',
|
|
422
|
+
propertyInDotNotation: false
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
displayOptions: {
|
|
426
|
+
show: {
|
|
427
|
+
resource: [
|
|
428
|
+
'discussions'
|
|
429
|
+
],
|
|
430
|
+
operation: [
|
|
431
|
+
'api.projects.discussions.getMany'
|
|
432
|
+
]
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
placeholder: 'open,closed'
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
displayName: 'User Ids',
|
|
439
|
+
name: 'userIds',
|
|
440
|
+
description: 'Filter results to discussions started by the given users. Get via [List Project Members](#operation/api.projects.members.getMany). It can be one user ID or a list of comma-separated ones',
|
|
441
|
+
default: [],
|
|
442
|
+
type: 'multiOptions',
|
|
443
|
+
routing: {
|
|
444
|
+
send: {
|
|
445
|
+
type: 'query',
|
|
446
|
+
property: 'userIds',
|
|
447
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
448
|
+
propertyInDotNotation: false
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
displayOptions: {
|
|
452
|
+
show: {
|
|
453
|
+
resource: [
|
|
454
|
+
'discussions'
|
|
455
|
+
],
|
|
456
|
+
operation: [
|
|
457
|
+
'api.projects.discussions.getMany'
|
|
458
|
+
]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
typeOptions: {
|
|
462
|
+
loadOptionsMethod: 'getUsersMulti'
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
displayName: 'Language Ids',
|
|
467
|
+
name: 'languageIds',
|
|
468
|
+
description: 'Filter results to discussions about the given target languages. Get via [Project Target Languages](#operation/api.projects.get). It can be one language ID or a list of comma-separated ones',
|
|
469
|
+
default: [],
|
|
470
|
+
type: 'multiOptions',
|
|
471
|
+
routing: {
|
|
472
|
+
send: {
|
|
473
|
+
type: 'query',
|
|
474
|
+
property: 'languageIds',
|
|
475
|
+
value: '={{ $value.length ? $value.join(\',\') : undefined }}',
|
|
476
|
+
propertyInDotNotation: false
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
displayOptions: {
|
|
480
|
+
show: {
|
|
481
|
+
resource: [
|
|
482
|
+
'discussions'
|
|
483
|
+
],
|
|
484
|
+
operation: [
|
|
485
|
+
'api.projects.discussions.getMany'
|
|
486
|
+
]
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
typeOptions: {
|
|
490
|
+
loadOptionsMethod: 'getLanguagesMulti'
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
displayName: 'Search',
|
|
495
|
+
name: 'search',
|
|
496
|
+
description: 'Filter results to discussions whose title, description or any regular reply contains the given text, up to 255 characters',
|
|
497
|
+
default: '',
|
|
498
|
+
type: 'string',
|
|
499
|
+
routing: {
|
|
500
|
+
send: {
|
|
501
|
+
type: 'query',
|
|
502
|
+
property: 'search',
|
|
503
|
+
value: '={{ $value || undefined }}',
|
|
504
|
+
propertyInDotNotation: false
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
displayOptions: {
|
|
508
|
+
show: {
|
|
509
|
+
resource: [
|
|
510
|
+
'discussions'
|
|
511
|
+
],
|
|
512
|
+
operation: [
|
|
513
|
+
'api.projects.discussions.getMany'
|
|
514
|
+
]
|
|
515
|
+
}
|
|
516
|
+
},
|
|
517
|
+
placeholder: 'checkout'
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
displayName: 'Order By',
|
|
521
|
+
name: 'orderBy',
|
|
522
|
+
description: 'Sort results by `id`, `title`, `createdAt`, `updatedAt` or `repliesCount`. Default is `updatedAt desc`. Read more about [sorting rules](#section/Introduction/Sorting)',
|
|
523
|
+
default: '',
|
|
524
|
+
type: 'string',
|
|
525
|
+
routing: {
|
|
526
|
+
send: {
|
|
527
|
+
type: 'query',
|
|
528
|
+
property: 'orderBy',
|
|
529
|
+
value: '={{ $value || undefined }}',
|
|
530
|
+
propertyInDotNotation: false
|
|
531
|
+
}
|
|
532
|
+
},
|
|
533
|
+
displayOptions: {
|
|
534
|
+
show: {
|
|
535
|
+
resource: [
|
|
536
|
+
'discussions'
|
|
537
|
+
],
|
|
538
|
+
operation: [
|
|
539
|
+
'api.projects.discussions.getMany'
|
|
540
|
+
]
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
placeholder: 'repliesCount desc'
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
displayName: 'Limit',
|
|
547
|
+
name: 'limit',
|
|
548
|
+
description: 'Max number of results to return',
|
|
549
|
+
default: 50,
|
|
550
|
+
type: 'number',
|
|
551
|
+
routing: {
|
|
552
|
+
send: {
|
|
553
|
+
type: 'query',
|
|
554
|
+
property: 'limit',
|
|
555
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
556
|
+
propertyInDotNotation: false
|
|
557
|
+
}
|
|
558
|
+
},
|
|
559
|
+
displayOptions: {
|
|
560
|
+
show: {
|
|
561
|
+
resource: [
|
|
562
|
+
'discussions'
|
|
563
|
+
],
|
|
564
|
+
operation: [
|
|
565
|
+
'api.projects.discussions.getMany'
|
|
566
|
+
],
|
|
567
|
+
returnAll: [
|
|
568
|
+
false
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
typeOptions: {
|
|
573
|
+
minValue: 1
|
|
574
|
+
}
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
displayName: 'Project Id',
|
|
578
|
+
name: 'projectId',
|
|
579
|
+
required: true,
|
|
580
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
581
|
+
default: '',
|
|
582
|
+
type: 'options',
|
|
583
|
+
displayOptions: {
|
|
584
|
+
show: {
|
|
585
|
+
resource: [
|
|
586
|
+
'discussions'
|
|
587
|
+
],
|
|
588
|
+
operation: [
|
|
589
|
+
'api.projects.discussions.post'
|
|
590
|
+
]
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
typeOptions: {
|
|
594
|
+
loadOptionsMethod: 'getProjects'
|
|
595
|
+
}
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
displayName: 'Title',
|
|
599
|
+
required: true,
|
|
600
|
+
name: 'title',
|
|
601
|
+
type: 'string',
|
|
602
|
+
default: '',
|
|
603
|
+
description: 'Discussion title, up to 255 characters',
|
|
604
|
+
routing: {
|
|
605
|
+
send: {
|
|
606
|
+
property: 'title',
|
|
607
|
+
propertyInDotNotation: false,
|
|
608
|
+
type: 'body',
|
|
609
|
+
value: '={{ $value || undefined }}'
|
|
610
|
+
}
|
|
611
|
+
},
|
|
612
|
+
displayOptions: {
|
|
613
|
+
show: {
|
|
614
|
+
resource: [
|
|
615
|
+
'discussions'
|
|
616
|
+
],
|
|
617
|
+
operation: [
|
|
618
|
+
'api.projects.discussions.post'
|
|
619
|
+
]
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
placeholder: 'Tone of voice for the checkout screens'
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
displayName: 'Text',
|
|
626
|
+
required: true,
|
|
627
|
+
name: 'text',
|
|
628
|
+
type: 'string',
|
|
629
|
+
default: '',
|
|
630
|
+
description: 'Description of the discussion in Markdown, up to 16000 characters, posted as its first reply. Mention a project member with `@username` to notify them',
|
|
631
|
+
routing: {
|
|
632
|
+
send: {
|
|
633
|
+
property: 'text',
|
|
634
|
+
propertyInDotNotation: false,
|
|
635
|
+
type: 'body',
|
|
636
|
+
value: '={{ $value || undefined }}'
|
|
637
|
+
}
|
|
638
|
+
},
|
|
639
|
+
displayOptions: {
|
|
640
|
+
show: {
|
|
641
|
+
resource: [
|
|
642
|
+
'discussions'
|
|
643
|
+
],
|
|
644
|
+
operation: [
|
|
645
|
+
'api.projects.discussions.post'
|
|
646
|
+
]
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
placeholder: 'Should we address customers formally on the checkout screens? @olena what do you think?'
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
displayName: 'Language Id',
|
|
653
|
+
name: 'languageId',
|
|
654
|
+
type: 'options',
|
|
655
|
+
default: '',
|
|
656
|
+
description: 'ID of the target language the discussion is about. Get via [Project Target Languages](#operation/api.projects.get). `null` or omitted for a discussion about all languages',
|
|
657
|
+
routing: {
|
|
658
|
+
send: {
|
|
659
|
+
property: 'languageId',
|
|
660
|
+
propertyInDotNotation: false,
|
|
661
|
+
type: 'body',
|
|
662
|
+
value: '={{ $value || undefined }}'
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
displayOptions: {
|
|
666
|
+
show: {
|
|
667
|
+
resource: [
|
|
668
|
+
'discussions'
|
|
669
|
+
],
|
|
670
|
+
operation: [
|
|
671
|
+
'api.projects.discussions.post'
|
|
672
|
+
]
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
typeOptions: {
|
|
676
|
+
loadOptionsMethod: 'getLanguages'
|
|
677
|
+
}
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
displayName: 'Project Id',
|
|
681
|
+
name: 'projectId',
|
|
682
|
+
required: true,
|
|
683
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
684
|
+
default: '',
|
|
685
|
+
type: 'options',
|
|
686
|
+
displayOptions: {
|
|
687
|
+
show: {
|
|
688
|
+
resource: [
|
|
689
|
+
'discussions'
|
|
690
|
+
],
|
|
691
|
+
operation: [
|
|
692
|
+
'api.projects.discussions.get'
|
|
693
|
+
]
|
|
694
|
+
}
|
|
695
|
+
},
|
|
696
|
+
typeOptions: {
|
|
697
|
+
loadOptionsMethod: 'getProjects'
|
|
698
|
+
}
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
displayName: 'Discussion Id',
|
|
702
|
+
name: 'discussionId',
|
|
703
|
+
required: true,
|
|
704
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
705
|
+
default: undefined,
|
|
706
|
+
type: 'number',
|
|
707
|
+
displayOptions: {
|
|
708
|
+
show: {
|
|
709
|
+
resource: [
|
|
710
|
+
'discussions'
|
|
711
|
+
],
|
|
712
|
+
operation: [
|
|
713
|
+
'api.projects.discussions.get'
|
|
714
|
+
]
|
|
715
|
+
}
|
|
716
|
+
},
|
|
717
|
+
placeholder: '55'
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
displayName: 'Project Id',
|
|
721
|
+
name: 'projectId',
|
|
722
|
+
required: true,
|
|
723
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
724
|
+
default: '',
|
|
725
|
+
type: 'options',
|
|
726
|
+
displayOptions: {
|
|
727
|
+
show: {
|
|
728
|
+
resource: [
|
|
729
|
+
'discussions'
|
|
730
|
+
],
|
|
731
|
+
operation: [
|
|
732
|
+
'api.projects.discussions.delete'
|
|
733
|
+
]
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
typeOptions: {
|
|
737
|
+
loadOptionsMethod: 'getProjects'
|
|
738
|
+
}
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
displayName: 'Discussion Id',
|
|
742
|
+
name: 'discussionId',
|
|
743
|
+
required: true,
|
|
744
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
745
|
+
default: undefined,
|
|
746
|
+
type: 'number',
|
|
747
|
+
displayOptions: {
|
|
748
|
+
show: {
|
|
749
|
+
resource: [
|
|
750
|
+
'discussions'
|
|
751
|
+
],
|
|
752
|
+
operation: [
|
|
753
|
+
'api.projects.discussions.delete'
|
|
754
|
+
]
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
placeholder: '55'
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
displayName: 'Project Id',
|
|
761
|
+
name: 'projectId',
|
|
762
|
+
required: true,
|
|
763
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
764
|
+
default: '',
|
|
765
|
+
type: 'options',
|
|
766
|
+
displayOptions: {
|
|
767
|
+
show: {
|
|
768
|
+
resource: [
|
|
769
|
+
'discussions'
|
|
770
|
+
],
|
|
771
|
+
operation: [
|
|
772
|
+
'api.projects.discussions.patch'
|
|
773
|
+
]
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
typeOptions: {
|
|
777
|
+
loadOptionsMethod: 'getProjects'
|
|
778
|
+
}
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
displayName: 'Discussion Id',
|
|
782
|
+
name: 'discussionId',
|
|
783
|
+
required: true,
|
|
784
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
785
|
+
default: undefined,
|
|
786
|
+
type: 'number',
|
|
787
|
+
displayOptions: {
|
|
788
|
+
show: {
|
|
789
|
+
resource: [
|
|
790
|
+
'discussions'
|
|
791
|
+
],
|
|
792
|
+
operation: [
|
|
793
|
+
'api.projects.discussions.patch'
|
|
794
|
+
]
|
|
795
|
+
}
|
|
796
|
+
},
|
|
797
|
+
placeholder: '55'
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
displayName: 'Project Id',
|
|
801
|
+
name: 'projectId',
|
|
802
|
+
required: true,
|
|
803
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
804
|
+
default: '',
|
|
805
|
+
type: 'options',
|
|
806
|
+
displayOptions: {
|
|
807
|
+
show: {
|
|
808
|
+
resource: [
|
|
809
|
+
'discussions'
|
|
810
|
+
],
|
|
811
|
+
operation: [
|
|
812
|
+
'api.projects.discussions.replies.getMany'
|
|
813
|
+
]
|
|
814
|
+
}
|
|
815
|
+
},
|
|
816
|
+
typeOptions: {
|
|
817
|
+
loadOptionsMethod: 'getProjects'
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
displayName: 'Discussion Id',
|
|
822
|
+
name: 'discussionId',
|
|
823
|
+
required: true,
|
|
824
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
825
|
+
default: undefined,
|
|
826
|
+
type: 'number',
|
|
827
|
+
displayOptions: {
|
|
828
|
+
show: {
|
|
829
|
+
resource: [
|
|
830
|
+
'discussions'
|
|
831
|
+
],
|
|
832
|
+
operation: [
|
|
833
|
+
'api.projects.discussions.replies.getMany'
|
|
834
|
+
]
|
|
835
|
+
}
|
|
836
|
+
},
|
|
837
|
+
placeholder: '55'
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
displayName: 'Limit',
|
|
841
|
+
name: 'limit',
|
|
842
|
+
description: 'Max number of results to return',
|
|
843
|
+
default: 50,
|
|
844
|
+
type: 'number',
|
|
845
|
+
routing: {
|
|
846
|
+
send: {
|
|
847
|
+
type: 'query',
|
|
848
|
+
property: 'limit',
|
|
849
|
+
value: '={{ typeof $value === \'number\' ? $value : undefined }}',
|
|
850
|
+
propertyInDotNotation: false
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
displayOptions: {
|
|
854
|
+
show: {
|
|
855
|
+
resource: [
|
|
856
|
+
'discussions'
|
|
857
|
+
],
|
|
858
|
+
operation: [
|
|
859
|
+
'api.projects.discussions.replies.getMany'
|
|
860
|
+
],
|
|
861
|
+
returnAll: [
|
|
862
|
+
false
|
|
863
|
+
]
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
typeOptions: {
|
|
867
|
+
minValue: 1
|
|
868
|
+
}
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
displayName: 'Project Id',
|
|
872
|
+
name: 'projectId',
|
|
873
|
+
required: true,
|
|
874
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
875
|
+
default: '',
|
|
876
|
+
type: 'options',
|
|
877
|
+
displayOptions: {
|
|
878
|
+
show: {
|
|
879
|
+
resource: [
|
|
880
|
+
'discussions'
|
|
881
|
+
],
|
|
882
|
+
operation: [
|
|
883
|
+
'api.projects.discussions.replies.post'
|
|
884
|
+
]
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
typeOptions: {
|
|
888
|
+
loadOptionsMethod: 'getProjects'
|
|
889
|
+
}
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
displayName: 'Discussion Id',
|
|
893
|
+
name: 'discussionId',
|
|
894
|
+
required: true,
|
|
895
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
896
|
+
default: undefined,
|
|
897
|
+
type: 'number',
|
|
898
|
+
displayOptions: {
|
|
899
|
+
show: {
|
|
900
|
+
resource: [
|
|
901
|
+
'discussions'
|
|
902
|
+
],
|
|
903
|
+
operation: [
|
|
904
|
+
'api.projects.discussions.replies.post'
|
|
905
|
+
]
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
placeholder: '55'
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
displayName: 'Text',
|
|
912
|
+
required: true,
|
|
913
|
+
name: 'text',
|
|
914
|
+
type: 'string',
|
|
915
|
+
default: '',
|
|
916
|
+
description: 'Reply text in Markdown, up to 16000 characters. Mention a project member with `@username` to notify them',
|
|
917
|
+
routing: {
|
|
918
|
+
send: {
|
|
919
|
+
property: 'text',
|
|
920
|
+
propertyInDotNotation: false,
|
|
921
|
+
type: 'body',
|
|
922
|
+
value: '={{ $value || undefined }}'
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
displayOptions: {
|
|
926
|
+
show: {
|
|
927
|
+
resource: [
|
|
928
|
+
'discussions'
|
|
929
|
+
],
|
|
930
|
+
operation: [
|
|
931
|
+
'api.projects.discussions.replies.post'
|
|
932
|
+
]
|
|
933
|
+
}
|
|
934
|
+
},
|
|
935
|
+
placeholder: 'Informal address matches the rest of the app, so I would keep it'
|
|
936
|
+
},
|
|
937
|
+
{
|
|
938
|
+
displayName: 'Project Id',
|
|
939
|
+
name: 'projectId',
|
|
940
|
+
required: true,
|
|
941
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
942
|
+
default: '',
|
|
943
|
+
type: 'options',
|
|
944
|
+
displayOptions: {
|
|
945
|
+
show: {
|
|
946
|
+
resource: [
|
|
947
|
+
'discussions'
|
|
948
|
+
],
|
|
949
|
+
operation: [
|
|
950
|
+
'api.projects.discussions.replies.get'
|
|
951
|
+
]
|
|
952
|
+
}
|
|
953
|
+
},
|
|
954
|
+
typeOptions: {
|
|
955
|
+
loadOptionsMethod: 'getProjects'
|
|
956
|
+
}
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
displayName: 'Discussion Id',
|
|
960
|
+
name: 'discussionId',
|
|
961
|
+
required: true,
|
|
962
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
963
|
+
default: undefined,
|
|
964
|
+
type: 'number',
|
|
965
|
+
displayOptions: {
|
|
966
|
+
show: {
|
|
967
|
+
resource: [
|
|
968
|
+
'discussions'
|
|
969
|
+
],
|
|
970
|
+
operation: [
|
|
971
|
+
'api.projects.discussions.replies.get'
|
|
972
|
+
]
|
|
973
|
+
}
|
|
974
|
+
},
|
|
975
|
+
placeholder: '55'
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
displayName: 'Reply Id',
|
|
979
|
+
name: 'replyId',
|
|
980
|
+
required: true,
|
|
981
|
+
description: 'ID of the reply. Get via [List Discussion Replies](#operation/api.projects.discussions.replies.getMany)',
|
|
982
|
+
default: undefined,
|
|
983
|
+
type: 'number',
|
|
984
|
+
displayOptions: {
|
|
985
|
+
show: {
|
|
986
|
+
resource: [
|
|
987
|
+
'discussions'
|
|
988
|
+
],
|
|
989
|
+
operation: [
|
|
990
|
+
'api.projects.discussions.replies.get'
|
|
991
|
+
]
|
|
992
|
+
}
|
|
993
|
+
},
|
|
994
|
+
placeholder: '912'
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
displayName: 'Project Id',
|
|
998
|
+
name: 'projectId',
|
|
999
|
+
required: true,
|
|
1000
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1001
|
+
default: '',
|
|
1002
|
+
type: 'options',
|
|
1003
|
+
displayOptions: {
|
|
1004
|
+
show: {
|
|
1005
|
+
resource: [
|
|
1006
|
+
'discussions'
|
|
1007
|
+
],
|
|
1008
|
+
operation: [
|
|
1009
|
+
'api.projects.discussions.replies.delete'
|
|
1010
|
+
]
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
typeOptions: {
|
|
1014
|
+
loadOptionsMethod: 'getProjects'
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
displayName: 'Discussion Id',
|
|
1019
|
+
name: 'discussionId',
|
|
1020
|
+
required: true,
|
|
1021
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
1022
|
+
default: undefined,
|
|
1023
|
+
type: 'number',
|
|
1024
|
+
displayOptions: {
|
|
1025
|
+
show: {
|
|
1026
|
+
resource: [
|
|
1027
|
+
'discussions'
|
|
1028
|
+
],
|
|
1029
|
+
operation: [
|
|
1030
|
+
'api.projects.discussions.replies.delete'
|
|
1031
|
+
]
|
|
1032
|
+
}
|
|
1033
|
+
},
|
|
1034
|
+
placeholder: '55'
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
displayName: 'Reply Id',
|
|
1038
|
+
name: 'replyId',
|
|
1039
|
+
required: true,
|
|
1040
|
+
description: 'ID of the reply. Get via [List Discussion Replies](#operation/api.projects.discussions.replies.getMany)',
|
|
1041
|
+
default: undefined,
|
|
1042
|
+
type: 'number',
|
|
1043
|
+
displayOptions: {
|
|
1044
|
+
show: {
|
|
1045
|
+
resource: [
|
|
1046
|
+
'discussions'
|
|
1047
|
+
],
|
|
1048
|
+
operation: [
|
|
1049
|
+
'api.projects.discussions.replies.delete'
|
|
1050
|
+
]
|
|
1051
|
+
}
|
|
1052
|
+
},
|
|
1053
|
+
placeholder: '912'
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
displayName: 'Project Id',
|
|
1057
|
+
name: 'projectId',
|
|
1058
|
+
required: true,
|
|
1059
|
+
description: 'Project Identifier. Get via [List Projects](#operation/api.projects.getMany)',
|
|
1060
|
+
default: '',
|
|
1061
|
+
type: 'options',
|
|
1062
|
+
displayOptions: {
|
|
1063
|
+
show: {
|
|
1064
|
+
resource: [
|
|
1065
|
+
'discussions'
|
|
1066
|
+
],
|
|
1067
|
+
operation: [
|
|
1068
|
+
'api.projects.discussions.replies.patch'
|
|
1069
|
+
]
|
|
1070
|
+
}
|
|
1071
|
+
},
|
|
1072
|
+
typeOptions: {
|
|
1073
|
+
loadOptionsMethod: 'getProjects'
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
displayName: 'Discussion Id',
|
|
1078
|
+
name: 'discussionId',
|
|
1079
|
+
required: true,
|
|
1080
|
+
description: 'ID of the discussion. Get via [List Project Discussions](#operation/api.projects.discussions.getMany)',
|
|
1081
|
+
default: undefined,
|
|
1082
|
+
type: 'number',
|
|
1083
|
+
displayOptions: {
|
|
1084
|
+
show: {
|
|
1085
|
+
resource: [
|
|
1086
|
+
'discussions'
|
|
1087
|
+
],
|
|
1088
|
+
operation: [
|
|
1089
|
+
'api.projects.discussions.replies.patch'
|
|
1090
|
+
]
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1093
|
+
placeholder: '55'
|
|
1094
|
+
},
|
|
1095
|
+
{
|
|
1096
|
+
displayName: 'Reply Id',
|
|
1097
|
+
name: 'replyId',
|
|
1098
|
+
required: true,
|
|
1099
|
+
description: 'ID of the reply. Get via [List Discussion Replies](#operation/api.projects.discussions.replies.getMany)',
|
|
1100
|
+
default: undefined,
|
|
1101
|
+
type: 'number',
|
|
1102
|
+
displayOptions: {
|
|
1103
|
+
show: {
|
|
1104
|
+
resource: [
|
|
1105
|
+
'discussions'
|
|
1106
|
+
],
|
|
1107
|
+
operation: [
|
|
1108
|
+
'api.projects.discussions.replies.patch'
|
|
1109
|
+
]
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
placeholder: '912'
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
displayName: 'Update Fields',
|
|
1116
|
+
name: 'updateFields',
|
|
1117
|
+
type: 'collection',
|
|
1118
|
+
placeholder: 'Add Field',
|
|
1119
|
+
default: {},
|
|
1120
|
+
displayOptions: {
|
|
1121
|
+
show: {
|
|
1122
|
+
resource: [
|
|
1123
|
+
'discussions'
|
|
1124
|
+
],
|
|
1125
|
+
operation: [
|
|
1126
|
+
'api.projects.discussions.patch'
|
|
1127
|
+
]
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
options: [
|
|
1131
|
+
{
|
|
1132
|
+
displayName: 'Title',
|
|
1133
|
+
name: 'title',
|
|
1134
|
+
type: 'string',
|
|
1135
|
+
default: '',
|
|
1136
|
+
description: 'Discussion title, up to 255 characters',
|
|
1137
|
+
placeholder: 'Tone of voice for the checkout screens'
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
displayName: 'Status',
|
|
1141
|
+
name: 'status',
|
|
1142
|
+
type: 'options',
|
|
1143
|
+
default: '',
|
|
1144
|
+
description: 'Discussion status. One of: `open`, `closed`',
|
|
1145
|
+
options: [
|
|
1146
|
+
{
|
|
1147
|
+
name: '-',
|
|
1148
|
+
value: ''
|
|
1149
|
+
},
|
|
1150
|
+
{
|
|
1151
|
+
name: 'open',
|
|
1152
|
+
value: 'open'
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
name: 'closed',
|
|
1156
|
+
value: 'closed'
|
|
1157
|
+
}
|
|
1158
|
+
]
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
displayName: 'Is Muted',
|
|
1162
|
+
name: 'isMuted',
|
|
1163
|
+
type: 'boolean',
|
|
1164
|
+
default: false,
|
|
1165
|
+
description: 'If `true`, the authenticated user muted the discussion and is not notified about new replies in it'
|
|
1166
|
+
}
|
|
1167
|
+
],
|
|
1168
|
+
routing: {
|
|
1169
|
+
send: {
|
|
1170
|
+
type: 'body',
|
|
1171
|
+
value: '={{ $value }}'
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
displayName: 'Update Fields',
|
|
1177
|
+
name: 'updateFields',
|
|
1178
|
+
type: 'collection',
|
|
1179
|
+
placeholder: 'Add Field',
|
|
1180
|
+
default: {},
|
|
1181
|
+
displayOptions: {
|
|
1182
|
+
show: {
|
|
1183
|
+
resource: [
|
|
1184
|
+
'discussions'
|
|
1185
|
+
],
|
|
1186
|
+
operation: [
|
|
1187
|
+
'api.projects.discussions.replies.patch'
|
|
1188
|
+
]
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
options: [
|
|
1192
|
+
{
|
|
1193
|
+
displayName: 'Text',
|
|
1194
|
+
name: 'text',
|
|
1195
|
+
type: 'string',
|
|
1196
|
+
default: '',
|
|
1197
|
+
description: 'Reply text in Markdown, up to 16000 characters. Mention a project member with `@username` to notify them',
|
|
1198
|
+
placeholder: 'Informal address matches the rest of the app, so I would keep it'
|
|
1199
|
+
}
|
|
1200
|
+
],
|
|
1201
|
+
routing: {
|
|
1202
|
+
send: {
|
|
1203
|
+
type: 'body',
|
|
1204
|
+
value: '={{ $value }}'
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
{
|
|
1209
|
+
displayName: 'Return All',
|
|
1210
|
+
name: 'returnAll',
|
|
1211
|
+
type: 'boolean',
|
|
1212
|
+
default: true,
|
|
1213
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1214
|
+
displayOptions: {
|
|
1215
|
+
show: {
|
|
1216
|
+
resource: [
|
|
1217
|
+
'discussions'
|
|
1218
|
+
],
|
|
1219
|
+
operation: [
|
|
1220
|
+
'api.projects.discussions.getMany'
|
|
1221
|
+
]
|
|
1222
|
+
}
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
displayName: 'Return All',
|
|
1227
|
+
name: 'returnAll',
|
|
1228
|
+
type: 'boolean',
|
|
1229
|
+
default: true,
|
|
1230
|
+
description: 'Whether to return all results or only up to a given limit',
|
|
1231
|
+
displayOptions: {
|
|
1232
|
+
show: {
|
|
1233
|
+
resource: [
|
|
1234
|
+
'discussions'
|
|
1235
|
+
],
|
|
1236
|
+
operation: [
|
|
1237
|
+
'api.projects.discussions.replies.getMany'
|
|
1238
|
+
]
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
];
|
|
1243
|
+
//# sourceMappingURL=discussions.js.map
|