@solibo/home-api 1.41.1 → 1.42.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/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/kotlin-kotlin-stdlib.mjs +0 -4
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +2 -234
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-api-accounting.mjs +581 -514
- package/solibo-sdk-sdk-api-accounting.mjs.map +1 -1
- package/solibo-sdk-sdk-api-board.mjs +531 -472
- package/solibo-sdk-sdk-api-board.mjs.map +1 -1
- package/solibo-sdk-sdk-api-communication.mjs +3595 -3221
- package/solibo-sdk-sdk-api-communication.mjs.map +1 -1
- package/solibo-sdk-sdk-api-company.mjs +4382 -3959
- package/solibo-sdk-sdk-api-company.mjs.map +1 -1
- package/solibo-sdk-sdk-api-conversation.mjs +9152 -8320
- package/solibo-sdk-sdk-api-conversation.mjs.map +1 -1
- package/solibo-sdk-sdk-api-document.mjs +7517 -6991
- package/solibo-sdk-sdk-api-document.mjs.map +1 -1
- package/solibo-sdk-sdk-api-economy.mjs +966 -856
- package/solibo-sdk-sdk-api-economy.mjs.map +1 -1
- package/solibo-sdk-sdk-api-expense.mjs +1015 -902
- package/solibo-sdk-sdk-api-expense.mjs.map +1 -1
- package/solibo-sdk-sdk-api-follow-up.mjs +113 -98
- package/solibo-sdk-sdk-api-follow-up.mjs.map +1 -1
- package/solibo-sdk-sdk-api-homepage.mjs +4147 -3763
- package/solibo-sdk-sdk-api-homepage.mjs.map +1 -1
- package/solibo-sdk-sdk-api-insurance.mjs +778 -695
- package/solibo-sdk-sdk-api-insurance.mjs.map +1 -1
- package/solibo-sdk-sdk-api-invoice.mjs +1179 -1050
- package/solibo-sdk-sdk-api-invoice.mjs.map +1 -1
- package/solibo-sdk-sdk-api-invoicing.mjs +11671 -10553
- package/solibo-sdk-sdk-api-invoicing.mjs.map +1 -1
- package/solibo-sdk-sdk-api-issue.mjs +1750 -1566
- package/solibo-sdk-sdk-api-issue.mjs.map +1 -1
- package/solibo-sdk-sdk-api-loan.mjs +1281 -1143
- package/solibo-sdk-sdk-api-loan.mjs.map +1 -1
- package/solibo-sdk-sdk-api-marketing.mjs +383 -337
- package/solibo-sdk-sdk-api-marketing.mjs.map +1 -1
- package/solibo-sdk-sdk-api-meeting.mjs +2388 -2154
- package/solibo-sdk-sdk-api-meeting.mjs.map +1 -1
- package/solibo-sdk-sdk-api-organization.mjs +1577 -1408
- package/solibo-sdk-sdk-api-organization.mjs.map +1 -1
- package/solibo-sdk-sdk-api-parking.mjs +1660 -1489
- package/solibo-sdk-sdk-api-parking.mjs.map +1 -1
- package/solibo-sdk-sdk-api-person.mjs +1488 -1339
- package/solibo-sdk-sdk-api-person.mjs.map +1 -1
- package/solibo-sdk-sdk-api-resident-communication.mjs +5547 -5028
- package/solibo-sdk-sdk-api-resident-communication.mjs.map +1 -1
- package/solibo-sdk-sdk-api-resident.mjs +2699 -2368
- package/solibo-sdk-sdk-api-resident.mjs.map +1 -1
- package/solibo-sdk-sdk-api-routines.mjs +1235 -1096
- package/solibo-sdk-sdk-api-routines.mjs.map +1 -1
- package/solibo-sdk-sdk-api-scoped-contact.mjs +704 -638
- package/solibo-sdk-sdk-api-scoped-contact.mjs.map +1 -1
- package/solibo-sdk-sdk-api-section.mjs +4076 -3685
- package/solibo-sdk-sdk-api-section.mjs.map +1 -1
- package/solibo-sdk-sdk-api-settlement.mjs +2151 -1931
- package/solibo-sdk-sdk-api-settlement.mjs.map +1 -1
- package/solibo-sdk-sdk-api-storage.mjs +1621 -1454
- package/solibo-sdk-sdk-api-storage.mjs.map +1 -1
- package/solibo-sdk-sdk-api-supplier.mjs +2286 -2044
- package/solibo-sdk-sdk-api-supplier.mjs.map +1 -1
- package/solibo-sdk-sdk-api-task.mjs +818 -727
- package/solibo-sdk-sdk-api-task.mjs.map +1 -1
- package/solibo-sdk-sdk-api-third-party-information.mjs +1332 -1185
- package/solibo-sdk-sdk-api-third-party-information.mjs.map +1 -1
- package/solibo-sdk-sdk-api-user.mjs +1059 -945
- package/solibo-sdk-sdk-api-user.mjs.map +1 -1
- package/solibo-sdk-sdk-core.mjs +121 -155
- package/solibo-sdk-sdk-core.mjs.map +1 -1
- package/solibo-sdk-sdk-home-api.d.mts +716 -2
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
protoOf180f3jzyo7rfj as protoOf,
|
|
5
5
|
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
6
6
|
CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl,
|
|
7
|
+
await3n7kedgocftsv as await_0,
|
|
8
|
+
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
9
|
+
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
10
|
+
promisify1z0ncraq1ipzh as promisify,
|
|
11
|
+
Unit_instance3kz1zqli6gr1r as Unit_instance,
|
|
12
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
7
13
|
listOf1jh22dvmctj1r as listOf,
|
|
8
14
|
LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$,
|
|
9
15
|
replace3le3ie7l9k8aq as replace,
|
|
10
|
-
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
11
16
|
arrayOf1akklvh2at202 as arrayOf,
|
|
12
17
|
createKType31ecntyyaay3k as createKType,
|
|
13
|
-
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
14
|
-
await3n7kedgocftsv as await_0,
|
|
15
18
|
Unitkvevlwgzwiuc as Unit,
|
|
16
19
|
listOfvhqybd2zx248 as listOf_0,
|
|
17
|
-
Unit_instance3kz1zqli6gr1r as Unit_instance,
|
|
18
|
-
promisify1z0ncraq1ipzh as promisify,
|
|
19
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
20
20
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
21
21
|
THROW_CCE2g6jy02ryeudk as THROW_CCE,
|
|
22
22
|
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
Companion_getInstance1if1t4zy98q04 as Companion_getInstance,
|
|
44
44
|
ApiClient_init_$Init$1zeqbeizsm394 as ApiClient_init_$Init$,
|
|
45
45
|
ApiClient_init_$Init$38ftv1s10hf6v as ApiClient_init_$Init$_0,
|
|
46
|
+
ApiClient2azxax1pjdtdm as ApiClient,
|
|
46
47
|
RequestMethod_POST_getInstance29fppyvplo8n0 as RequestMethod_POST_getInstance,
|
|
47
48
|
RequestConfig10esd7ix0dbbm as RequestConfig,
|
|
48
49
|
IssueDetails2gzmci55nbdgd as IssueDetails,
|
|
@@ -52,7 +53,6 @@ import {
|
|
|
52
53
|
toMultiValue5gsdsvx60e2f as toMultiValue,
|
|
53
54
|
RequestMethod_GET_getInstance1hbf807ypkdh8 as RequestMethod_GET_getInstance,
|
|
54
55
|
RequestMethod_PUT_getInstance20qfhqm35d9pr as RequestMethod_PUT_getInstance,
|
|
55
|
-
ApiClient2azxax1pjdtdm as ApiClient,
|
|
56
56
|
$serializer_getInstance2qc237ormc56f as $serializer_getInstance,
|
|
57
57
|
Companion_getInstance3e1jznytokkwk as Companion_getInstance_0,
|
|
58
58
|
$serializer_getInstancernln83sjtidj as $serializer_getInstance_0,
|
|
@@ -81,43 +81,43 @@ import {
|
|
|
81
81
|
var imul = Math.imul;
|
|
82
82
|
//endregion
|
|
83
83
|
//region block: pre-declaration
|
|
84
|
-
initMetadataForCoroutine($closeIssueCOROUTINE$, CoroutineImpl);
|
|
85
84
|
initMetadataForCoroutine($closeIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
86
|
-
initMetadataForCoroutine($createIssueCOROUTINE$, CoroutineImpl);
|
|
87
85
|
initMetadataForCoroutine($createIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
88
|
-
initMetadataForCoroutine($createIssueCommentCOROUTINE$, CoroutineImpl);
|
|
89
86
|
initMetadataForCoroutine($createIssueComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
90
|
-
initMetadataForCoroutine($createIssueConversationCOROUTINE$, CoroutineImpl);
|
|
91
87
|
initMetadataForCoroutine($createIssueConversation$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
92
|
-
initMetadataForCoroutine($createIssueSectionCOROUTINE$, CoroutineImpl);
|
|
93
88
|
initMetadataForCoroutine($createIssueSection$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
94
|
-
initMetadataForCoroutine($createMultipleIssuesCOROUTINE$, CoroutineImpl);
|
|
95
89
|
initMetadataForCoroutine($createMultipleIssues$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
96
|
-
initMetadataForCoroutine($deleteIssueCOROUTINE$, CoroutineImpl);
|
|
97
90
|
initMetadataForCoroutine($deleteIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
98
|
-
initMetadataForCoroutine($deleteIssueConversationCOROUTINE$, CoroutineImpl);
|
|
99
91
|
initMetadataForCoroutine($deleteIssueConversation$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
100
|
-
initMetadataForCoroutine($deleteIssueSectionCOROUTINE$, CoroutineImpl);
|
|
101
92
|
initMetadataForCoroutine($deleteIssueSection$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
102
|
-
initMetadataForCoroutine($indexIssueCOROUTINE$, CoroutineImpl);
|
|
103
93
|
initMetadataForCoroutine($indexIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
104
|
-
initMetadataForCoroutine($indexIssueUserCOROUTINE$, CoroutineImpl);
|
|
105
94
|
initMetadataForCoroutine($indexIssueUser$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
106
|
-
initMetadataForCoroutine($reOpenIssueCOROUTINE$, CoroutineImpl);
|
|
107
95
|
initMetadataForCoroutine($reOpenIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
108
|
-
initMetadataForCoroutine($showIssueCOROUTINE$, CoroutineImpl);
|
|
109
96
|
initMetadataForCoroutine($showIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
110
|
-
initMetadataForCoroutine($updateIssueCOROUTINE$, CoroutineImpl);
|
|
111
97
|
initMetadataForCoroutine($updateIssue$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
112
|
-
initMetadataForCoroutine($updateIssueCommentCOROUTINE$, CoroutineImpl);
|
|
113
98
|
initMetadataForCoroutine($updateIssueComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
114
|
-
initMetadataForCoroutine($updateIssueConclusionCOROUTINE$, CoroutineImpl);
|
|
115
99
|
initMetadataForCoroutine($updateIssueConclusion$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
116
|
-
initMetadataForCoroutine($updateIssueReportCOROUTINE$, CoroutineImpl);
|
|
117
100
|
initMetadataForCoroutine($updateIssueReport$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
118
|
-
initMetadataForCoroutine($updateIssueResponsibleCOROUTINE$, CoroutineImpl);
|
|
119
101
|
initMetadataForCoroutine($updateIssueResponsible$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
120
102
|
initMetadataForClass(IssueApi, 'IssueApi', create, ApiClient, VOID, [2, 3, 1, 11, 4]);
|
|
103
|
+
initMetadataForCoroutine($closeIssueOperationCOROUTINE$, CoroutineImpl);
|
|
104
|
+
initMetadataForCoroutine($createIssueCommentOperationCOROUTINE$, CoroutineImpl);
|
|
105
|
+
initMetadataForCoroutine($createIssueConversationOperationCOROUTINE$, CoroutineImpl);
|
|
106
|
+
initMetadataForCoroutine($createIssueOperationCOROUTINE$, CoroutineImpl);
|
|
107
|
+
initMetadataForCoroutine($createIssueSectionOperationCOROUTINE$, CoroutineImpl);
|
|
108
|
+
initMetadataForCoroutine($createMultipleIssuesOperationCOROUTINE$, CoroutineImpl);
|
|
109
|
+
initMetadataForCoroutine($deleteIssueConversationOperationCOROUTINE$, CoroutineImpl);
|
|
110
|
+
initMetadataForCoroutine($deleteIssueOperationCOROUTINE$, CoroutineImpl);
|
|
111
|
+
initMetadataForCoroutine($deleteIssueSectionOperationCOROUTINE$, CoroutineImpl);
|
|
112
|
+
initMetadataForCoroutine($indexIssueOperationCOROUTINE$, CoroutineImpl);
|
|
113
|
+
initMetadataForCoroutine($indexIssueUserOperationCOROUTINE$, CoroutineImpl);
|
|
114
|
+
initMetadataForCoroutine($reOpenIssueOperationCOROUTINE$, CoroutineImpl);
|
|
115
|
+
initMetadataForCoroutine($showIssueOperationCOROUTINE$, CoroutineImpl);
|
|
116
|
+
initMetadataForCoroutine($updateIssueCommentOperationCOROUTINE$, CoroutineImpl);
|
|
117
|
+
initMetadataForCoroutine($updateIssueConclusionOperationCOROUTINE$, CoroutineImpl);
|
|
118
|
+
initMetadataForCoroutine($updateIssueOperationCOROUTINE$, CoroutineImpl);
|
|
119
|
+
initMetadataForCoroutine($updateIssueReportOperationCOROUTINE$, CoroutineImpl);
|
|
120
|
+
initMetadataForCoroutine($updateIssueResponsibleOperationCOROUTINE$, CoroutineImpl);
|
|
121
121
|
initMetadataForCompanion(Companion);
|
|
122
122
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
123
123
|
initMetadataForClass(BulkCreateIssueCommand, 'BulkCreateIssueCommand', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
@@ -193,67 +193,6 @@ function IssueApi_init_$Init$_0(baseUrl, httpClient, $this) {
|
|
|
193
193
|
function createWithClient(baseUrl, httpClient) {
|
|
194
194
|
return IssueApi_init_$Init$_0(baseUrl, httpClient, objectCreate(protoOf(IssueApi)));
|
|
195
195
|
}
|
|
196
|
-
function $closeIssueCOROUTINE$(_this__u8e3s4, companyId, issueId, resultContinuation) {
|
|
197
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
198
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
199
|
-
this.companyId_1 = companyId;
|
|
200
|
-
this.issueId_1 = issueId;
|
|
201
|
-
}
|
|
202
|
-
protoOf($closeIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
203
|
-
var suspendResult = this.result_1;
|
|
204
|
-
$sm: do
|
|
205
|
-
try {
|
|
206
|
-
var tmp = this.state_1;
|
|
207
|
-
switch (tmp) {
|
|
208
|
-
case 0:
|
|
209
|
-
this.exceptionState_1 = 2;
|
|
210
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
211
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
212
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
213
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
214
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
215
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/close', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
216
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
217
|
-
this.state_1 = 1;
|
|
218
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
219
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
220
|
-
return suspendResult;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
continue $sm;
|
|
224
|
-
case 1:
|
|
225
|
-
var this_0 = suspendResult;
|
|
226
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
227
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
228
|
-
var tmp_2;
|
|
229
|
-
try {
|
|
230
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
231
|
-
} catch ($p) {
|
|
232
|
-
var tmp_3;
|
|
233
|
-
if ($p instanceof Error) {
|
|
234
|
-
var _unused_var__etf5q3 = $p;
|
|
235
|
-
tmp_3 = null;
|
|
236
|
-
} else {
|
|
237
|
-
throw $p;
|
|
238
|
-
}
|
|
239
|
-
tmp_2 = tmp_3;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
243
|
-
case 2:
|
|
244
|
-
throw this.exception_1;
|
|
245
|
-
}
|
|
246
|
-
} catch ($p_0) {
|
|
247
|
-
var e = $p_0;
|
|
248
|
-
if (this.exceptionState_1 === 2) {
|
|
249
|
-
throw e;
|
|
250
|
-
} else {
|
|
251
|
-
this.state_1 = this.exceptionState_1;
|
|
252
|
-
this.exception_1 = e;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
while (true);
|
|
256
|
-
};
|
|
257
196
|
function $closeIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, resultContinuation) {
|
|
258
197
|
CoroutineImpl.call(this, resultContinuation);
|
|
259
198
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -308,67 +247,6 @@ protoOf($closeIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
308
247
|
}
|
|
309
248
|
while (true);
|
|
310
249
|
};
|
|
311
|
-
function $createIssueCOROUTINE$(_this__u8e3s4, companyId, createIssueCommand, resultContinuation) {
|
|
312
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
313
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
314
|
-
this.companyId_1 = companyId;
|
|
315
|
-
this.createIssueCommand_1 = createIssueCommand;
|
|
316
|
-
}
|
|
317
|
-
protoOf($createIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
318
|
-
var suspendResult = this.result_1;
|
|
319
|
-
$sm: do
|
|
320
|
-
try {
|
|
321
|
-
var tmp = this.state_1;
|
|
322
|
-
switch (tmp) {
|
|
323
|
-
case 0:
|
|
324
|
-
this.exceptionState_1 = 2;
|
|
325
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
326
|
-
var localVariableBody = this.createIssueCommand_1;
|
|
327
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
328
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
329
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
330
|
-
var tmp1_path = replace('/companies/{companyId}/issues', '{companyId}', this.companyId_1.toString());
|
|
331
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
332
|
-
this.state_1 = 1;
|
|
333
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
334
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
335
|
-
return suspendResult;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
continue $sm;
|
|
339
|
-
case 1:
|
|
340
|
-
var this_0 = suspendResult;
|
|
341
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
342
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
343
|
-
var tmp_2;
|
|
344
|
-
try {
|
|
345
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
346
|
-
} catch ($p) {
|
|
347
|
-
var tmp_3;
|
|
348
|
-
if ($p instanceof Error) {
|
|
349
|
-
var _unused_var__etf5q3 = $p;
|
|
350
|
-
tmp_3 = null;
|
|
351
|
-
} else {
|
|
352
|
-
throw $p;
|
|
353
|
-
}
|
|
354
|
-
tmp_2 = tmp_3;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
358
|
-
case 2:
|
|
359
|
-
throw this.exception_1;
|
|
360
|
-
}
|
|
361
|
-
} catch ($p_0) {
|
|
362
|
-
var e = $p_0;
|
|
363
|
-
if (this.exceptionState_1 === 2) {
|
|
364
|
-
throw e;
|
|
365
|
-
} else {
|
|
366
|
-
this.state_1 = this.exceptionState_1;
|
|
367
|
-
this.exception_1 = e;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
while (true);
|
|
371
|
-
};
|
|
372
250
|
function $createIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, createIssueCommand, resultContinuation) {
|
|
373
251
|
CoroutineImpl.call(this, resultContinuation);
|
|
374
252
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -423,68 +301,6 @@ protoOf($createIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
423
301
|
}
|
|
424
302
|
while (true);
|
|
425
303
|
};
|
|
426
|
-
function $createIssueCommentCOROUTINE$(_this__u8e3s4, companyId, issueId, createIssueCommentCommand, resultContinuation) {
|
|
427
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
428
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
429
|
-
this.companyId_1 = companyId;
|
|
430
|
-
this.issueId_1 = issueId;
|
|
431
|
-
this.createIssueCommentCommand_1 = createIssueCommentCommand;
|
|
432
|
-
}
|
|
433
|
-
protoOf($createIssueCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
434
|
-
var suspendResult = this.result_1;
|
|
435
|
-
$sm: do
|
|
436
|
-
try {
|
|
437
|
-
var tmp = this.state_1;
|
|
438
|
-
switch (tmp) {
|
|
439
|
-
case 0:
|
|
440
|
-
this.exceptionState_1 = 2;
|
|
441
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
442
|
-
var localVariableBody = this.createIssueCommentCommand_1;
|
|
443
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
444
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
445
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
446
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/comments', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
447
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
448
|
-
this.state_1 = 1;
|
|
449
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
450
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
451
|
-
return suspendResult;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
continue $sm;
|
|
455
|
-
case 1:
|
|
456
|
-
var this_0 = suspendResult;
|
|
457
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
458
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
459
|
-
var tmp_2;
|
|
460
|
-
try {
|
|
461
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
462
|
-
} catch ($p) {
|
|
463
|
-
var tmp_3;
|
|
464
|
-
if ($p instanceof Error) {
|
|
465
|
-
var _unused_var__etf5q3 = $p;
|
|
466
|
-
tmp_3 = null;
|
|
467
|
-
} else {
|
|
468
|
-
throw $p;
|
|
469
|
-
}
|
|
470
|
-
tmp_2 = tmp_3;
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
474
|
-
case 2:
|
|
475
|
-
throw this.exception_1;
|
|
476
|
-
}
|
|
477
|
-
} catch ($p_0) {
|
|
478
|
-
var e = $p_0;
|
|
479
|
-
if (this.exceptionState_1 === 2) {
|
|
480
|
-
throw e;
|
|
481
|
-
} else {
|
|
482
|
-
this.state_1 = this.exceptionState_1;
|
|
483
|
-
this.exception_1 = e;
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
while (true);
|
|
487
|
-
};
|
|
488
304
|
function $createIssueComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, createIssueCommentCommand, resultContinuation) {
|
|
489
305
|
CoroutineImpl.call(this, resultContinuation);
|
|
490
306
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -540,68 +356,6 @@ protoOf($createIssueComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
540
356
|
}
|
|
541
357
|
while (true);
|
|
542
358
|
};
|
|
543
|
-
function $createIssueConversationCOROUTINE$(_this__u8e3s4, companyId, issueId, conversationId, resultContinuation) {
|
|
544
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
545
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
546
|
-
this.companyId_1 = companyId;
|
|
547
|
-
this.issueId_1 = issueId;
|
|
548
|
-
this.conversationId_1 = conversationId;
|
|
549
|
-
}
|
|
550
|
-
protoOf($createIssueConversationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
551
|
-
var suspendResult = this.result_1;
|
|
552
|
-
$sm: do
|
|
553
|
-
try {
|
|
554
|
-
var tmp = this.state_1;
|
|
555
|
-
switch (tmp) {
|
|
556
|
-
case 0:
|
|
557
|
-
this.exceptionState_1 = 2;
|
|
558
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
559
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
560
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
561
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
562
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
563
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/conversations/{conversationId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{conversationId}', this.conversationId_1.toString());
|
|
564
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
565
|
-
this.state_1 = 1;
|
|
566
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
567
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
568
|
-
return suspendResult;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
continue $sm;
|
|
572
|
-
case 1:
|
|
573
|
-
var this_0 = suspendResult;
|
|
574
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
575
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
576
|
-
var tmp_2;
|
|
577
|
-
try {
|
|
578
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
579
|
-
} catch ($p) {
|
|
580
|
-
var tmp_3;
|
|
581
|
-
if ($p instanceof Error) {
|
|
582
|
-
var _unused_var__etf5q3 = $p;
|
|
583
|
-
tmp_3 = null;
|
|
584
|
-
} else {
|
|
585
|
-
throw $p;
|
|
586
|
-
}
|
|
587
|
-
tmp_2 = tmp_3;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
591
|
-
case 2:
|
|
592
|
-
throw this.exception_1;
|
|
593
|
-
}
|
|
594
|
-
} catch ($p_0) {
|
|
595
|
-
var e = $p_0;
|
|
596
|
-
if (this.exceptionState_1 === 2) {
|
|
597
|
-
throw e;
|
|
598
|
-
} else {
|
|
599
|
-
this.state_1 = this.exceptionState_1;
|
|
600
|
-
this.exception_1 = e;
|
|
601
|
-
}
|
|
602
|
-
}
|
|
603
|
-
while (true);
|
|
604
|
-
};
|
|
605
359
|
function $createIssueConversation$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, conversationId, resultContinuation) {
|
|
606
360
|
CoroutineImpl.call(this, resultContinuation);
|
|
607
361
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -657,76 +411,14 @@ protoOf($createIssueConversation$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
657
411
|
}
|
|
658
412
|
while (true);
|
|
659
413
|
};
|
|
660
|
-
function $
|
|
414
|
+
function $createIssueSection$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, sectionId, resultContinuation) {
|
|
661
415
|
CoroutineImpl.call(this, resultContinuation);
|
|
662
416
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
663
417
|
this.companyId_1 = companyId;
|
|
664
418
|
this.issueId_1 = issueId;
|
|
665
419
|
this.sectionId_1 = sectionId;
|
|
666
420
|
}
|
|
667
|
-
protoOf($
|
|
668
|
-
var suspendResult = this.result_1;
|
|
669
|
-
$sm: do
|
|
670
|
-
try {
|
|
671
|
-
var tmp = this.state_1;
|
|
672
|
-
switch (tmp) {
|
|
673
|
-
case 0:
|
|
674
|
-
this.exceptionState_1 = 2;
|
|
675
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
676
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
677
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
678
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
679
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
680
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/sections/{sectionId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{sectionId}', this.sectionId_1.toString());
|
|
681
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
682
|
-
this.state_1 = 1;
|
|
683
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
684
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
685
|
-
return suspendResult;
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
continue $sm;
|
|
689
|
-
case 1:
|
|
690
|
-
var this_0 = suspendResult;
|
|
691
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
692
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
693
|
-
var tmp_2;
|
|
694
|
-
try {
|
|
695
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
696
|
-
} catch ($p) {
|
|
697
|
-
var tmp_3;
|
|
698
|
-
if ($p instanceof Error) {
|
|
699
|
-
var _unused_var__etf5q3 = $p;
|
|
700
|
-
tmp_3 = null;
|
|
701
|
-
} else {
|
|
702
|
-
throw $p;
|
|
703
|
-
}
|
|
704
|
-
tmp_2 = tmp_3;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
708
|
-
case 2:
|
|
709
|
-
throw this.exception_1;
|
|
710
|
-
}
|
|
711
|
-
} catch ($p_0) {
|
|
712
|
-
var e = $p_0;
|
|
713
|
-
if (this.exceptionState_1 === 2) {
|
|
714
|
-
throw e;
|
|
715
|
-
} else {
|
|
716
|
-
this.state_1 = this.exceptionState_1;
|
|
717
|
-
this.exception_1 = e;
|
|
718
|
-
}
|
|
719
|
-
}
|
|
720
|
-
while (true);
|
|
721
|
-
};
|
|
722
|
-
function $createIssueSection$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, sectionId, resultContinuation) {
|
|
723
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
724
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
725
|
-
this.companyId_1 = companyId;
|
|
726
|
-
this.issueId_1 = issueId;
|
|
727
|
-
this.sectionId_1 = sectionId;
|
|
728
|
-
}
|
|
729
|
-
protoOf($createIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
421
|
+
protoOf($createIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
730
422
|
var suspendResult = this.result_1;
|
|
731
423
|
$sm: do
|
|
732
424
|
try {
|
|
@@ -774,65 +466,6 @@ protoOf($createIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
774
466
|
}
|
|
775
467
|
while (true);
|
|
776
468
|
};
|
|
777
|
-
function $createMultipleIssuesCOROUTINE$(_this__u8e3s4, bulkCreateIssuesCommand, resultContinuation) {
|
|
778
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
779
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
780
|
-
this.bulkCreateIssuesCommand_1 = bulkCreateIssuesCommand;
|
|
781
|
-
}
|
|
782
|
-
protoOf($createMultipleIssuesCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
783
|
-
var suspendResult = this.result_1;
|
|
784
|
-
$sm: do
|
|
785
|
-
try {
|
|
786
|
-
var tmp = this.state_1;
|
|
787
|
-
switch (tmp) {
|
|
788
|
-
case 0:
|
|
789
|
-
this.exceptionState_1 = 2;
|
|
790
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
791
|
-
var localVariableBody = this.bulkCreateIssuesCommand_1;
|
|
792
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
793
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
794
|
-
var tmp0_method = RequestMethod_POST_getInstance();
|
|
795
|
-
var localVariableConfig = new RequestConfig(tmp0_method, '/companies/issues/multiple', localVariableHeaders, VOID, localVariableQuery, true);
|
|
796
|
-
this.state_1 = 1;
|
|
797
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
798
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
799
|
-
return suspendResult;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
continue $sm;
|
|
803
|
-
case 1:
|
|
804
|
-
var this_0 = suspendResult;
|
|
805
|
-
var tmp_0 = getKClass(BulkCreateIssuesResult);
|
|
806
|
-
var tmp_1 = null instanceof BulkCreateIssuesResult;
|
|
807
|
-
var tmp_2;
|
|
808
|
-
try {
|
|
809
|
-
tmp_2 = createKType(getKClass(BulkCreateIssuesResult), arrayOf([]), false);
|
|
810
|
-
} catch ($p) {
|
|
811
|
-
var tmp_3;
|
|
812
|
-
if ($p instanceof Error) {
|
|
813
|
-
var _unused_var__etf5q3 = $p;
|
|
814
|
-
tmp_3 = null;
|
|
815
|
-
} else {
|
|
816
|
-
throw $p;
|
|
817
|
-
}
|
|
818
|
-
tmp_2 = tmp_3;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
822
|
-
case 2:
|
|
823
|
-
throw this.exception_1;
|
|
824
|
-
}
|
|
825
|
-
} catch ($p_0) {
|
|
826
|
-
var e = $p_0;
|
|
827
|
-
if (this.exceptionState_1 === 2) {
|
|
828
|
-
throw e;
|
|
829
|
-
} else {
|
|
830
|
-
this.state_1 = this.exceptionState_1;
|
|
831
|
-
this.exception_1 = e;
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
while (true);
|
|
835
|
-
};
|
|
836
469
|
function $createMultipleIssues$suspendBridgeCOROUTINE$(_this__u8e3s4, bulkCreateIssuesCommand, resultContinuation) {
|
|
837
470
|
CoroutineImpl.call(this, resultContinuation);
|
|
838
471
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -886,67 +519,6 @@ protoOf($createMultipleIssues$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = func
|
|
|
886
519
|
}
|
|
887
520
|
while (true);
|
|
888
521
|
};
|
|
889
|
-
function $deleteIssueCOROUTINE$(_this__u8e3s4, companyId, issueId, resultContinuation) {
|
|
890
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
891
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
892
|
-
this.companyId_1 = companyId;
|
|
893
|
-
this.issueId_1 = issueId;
|
|
894
|
-
}
|
|
895
|
-
protoOf($deleteIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
896
|
-
var suspendResult = this.result_1;
|
|
897
|
-
$sm: do
|
|
898
|
-
try {
|
|
899
|
-
var tmp = this.state_1;
|
|
900
|
-
switch (tmp) {
|
|
901
|
-
case 0:
|
|
902
|
-
this.exceptionState_1 = 2;
|
|
903
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
904
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
905
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
906
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
907
|
-
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
908
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
909
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
910
|
-
this.state_1 = 1;
|
|
911
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
912
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
913
|
-
return suspendResult;
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
continue $sm;
|
|
917
|
-
case 1:
|
|
918
|
-
var this_0 = suspendResult;
|
|
919
|
-
var tmp_0 = getKClass(Unit);
|
|
920
|
-
var tmp_1 = null instanceof Unit;
|
|
921
|
-
var tmp_2;
|
|
922
|
-
try {
|
|
923
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
924
|
-
} catch ($p) {
|
|
925
|
-
var tmp_3;
|
|
926
|
-
if ($p instanceof Error) {
|
|
927
|
-
var _unused_var__etf5q3 = $p;
|
|
928
|
-
tmp_3 = null;
|
|
929
|
-
} else {
|
|
930
|
-
throw $p;
|
|
931
|
-
}
|
|
932
|
-
tmp_2 = tmp_3;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
936
|
-
case 2:
|
|
937
|
-
throw this.exception_1;
|
|
938
|
-
}
|
|
939
|
-
} catch ($p_0) {
|
|
940
|
-
var e = $p_0;
|
|
941
|
-
if (this.exceptionState_1 === 2) {
|
|
942
|
-
throw e;
|
|
943
|
-
} else {
|
|
944
|
-
this.state_1 = this.exceptionState_1;
|
|
945
|
-
this.exception_1 = e;
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
while (true);
|
|
949
|
-
};
|
|
950
522
|
function $deleteIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, resultContinuation) {
|
|
951
523
|
CoroutineImpl.call(this, resultContinuation);
|
|
952
524
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -1001,60 +573,53 @@ protoOf($deleteIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1001
573
|
}
|
|
1002
574
|
while (true);
|
|
1003
575
|
};
|
|
1004
|
-
function $
|
|
576
|
+
function $deleteIssueConversation$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, conversationId, resultContinuation) {
|
|
1005
577
|
CoroutineImpl.call(this, resultContinuation);
|
|
1006
578
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1007
579
|
this.companyId_1 = companyId;
|
|
1008
580
|
this.issueId_1 = issueId;
|
|
1009
581
|
this.conversationId_1 = conversationId;
|
|
1010
582
|
}
|
|
1011
|
-
protoOf($
|
|
583
|
+
protoOf($deleteIssueConversation$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1012
584
|
var suspendResult = this.result_1;
|
|
1013
585
|
$sm: do
|
|
1014
586
|
try {
|
|
1015
587
|
var tmp = this.state_1;
|
|
1016
588
|
switch (tmp) {
|
|
1017
589
|
case 0:
|
|
1018
|
-
this.exceptionState_1 =
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/conversations/{conversationId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{conversationId}', this.conversationId_1.toString());
|
|
1025
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1026
|
-
this.state_1 = 1;
|
|
1027
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1028
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1029
|
-
return suspendResult;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
|
-
continue $sm;
|
|
1033
|
-
case 1:
|
|
1034
|
-
var this_0 = suspendResult;
|
|
1035
|
-
var tmp_0 = getKClass(Unit);
|
|
1036
|
-
var tmp_1 = null instanceof Unit;
|
|
1037
|
-
var tmp_2;
|
|
1038
|
-
try {
|
|
1039
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1040
|
-
} catch ($p) {
|
|
1041
|
-
var tmp_3;
|
|
1042
|
-
if ($p instanceof Error) {
|
|
1043
|
-
var _unused_var__etf5q3 = $p;
|
|
1044
|
-
tmp_3 = null;
|
|
1045
|
-
} else {
|
|
1046
|
-
throw $p;
|
|
590
|
+
this.exceptionState_1 = 4;
|
|
591
|
+
if (this._this__u8e3s4__1.deleteIssueConversation === protoOf(IssueApi).deleteIssueConversation) {
|
|
592
|
+
this.state_1 = 2;
|
|
593
|
+
suspendResult = this._this__u8e3s4__1.deleteIssueConversation_2u1oxd_k$(this.companyId_1, this.issueId_1, this.conversationId_1, this);
|
|
594
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
595
|
+
return suspendResult;
|
|
1047
596
|
}
|
|
1048
|
-
|
|
597
|
+
continue $sm;
|
|
598
|
+
} else {
|
|
599
|
+
this.state_1 = 1;
|
|
600
|
+
suspendResult = await_0(this._this__u8e3s4__1.deleteIssueConversation(this.companyId_1, this.issueId_1, this.conversationId_1), this);
|
|
601
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
602
|
+
return suspendResult;
|
|
603
|
+
}
|
|
604
|
+
continue $sm;
|
|
1049
605
|
}
|
|
1050
606
|
|
|
1051
|
-
|
|
607
|
+
case 1:
|
|
608
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
609
|
+
this.state_1 = 3;
|
|
610
|
+
continue $sm;
|
|
1052
611
|
case 2:
|
|
612
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
613
|
+
this.state_1 = 3;
|
|
614
|
+
continue $sm;
|
|
615
|
+
case 3:
|
|
616
|
+
return this.WHEN_RESULT0__1;
|
|
617
|
+
case 4:
|
|
1053
618
|
throw this.exception_1;
|
|
1054
619
|
}
|
|
1055
|
-
} catch ($
|
|
1056
|
-
var e = $
|
|
1057
|
-
if (this.exceptionState_1 ===
|
|
620
|
+
} catch ($p) {
|
|
621
|
+
var e = $p;
|
|
622
|
+
if (this.exceptionState_1 === 4) {
|
|
1058
623
|
throw e;
|
|
1059
624
|
} else {
|
|
1060
625
|
this.state_1 = this.exceptionState_1;
|
|
@@ -1063,14 +628,14 @@ protoOf($deleteIssueConversationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1063
628
|
}
|
|
1064
629
|
while (true);
|
|
1065
630
|
};
|
|
1066
|
-
function $
|
|
631
|
+
function $deleteIssueSection$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, sectionId, resultContinuation) {
|
|
1067
632
|
CoroutineImpl.call(this, resultContinuation);
|
|
1068
633
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1069
634
|
this.companyId_1 = companyId;
|
|
1070
635
|
this.issueId_1 = issueId;
|
|
1071
|
-
this.
|
|
636
|
+
this.sectionId_1 = sectionId;
|
|
1072
637
|
}
|
|
1073
|
-
protoOf($
|
|
638
|
+
protoOf($deleteIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1074
639
|
var suspendResult = this.result_1;
|
|
1075
640
|
$sm: do
|
|
1076
641
|
try {
|
|
@@ -1078,16 +643,16 @@ protoOf($deleteIssueConversation$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
1078
643
|
switch (tmp) {
|
|
1079
644
|
case 0:
|
|
1080
645
|
this.exceptionState_1 = 4;
|
|
1081
|
-
if (this._this__u8e3s4__1.
|
|
646
|
+
if (this._this__u8e3s4__1.deleteIssueSection === protoOf(IssueApi).deleteIssueSection) {
|
|
1082
647
|
this.state_1 = 2;
|
|
1083
|
-
suspendResult = this._this__u8e3s4__1.
|
|
648
|
+
suspendResult = this._this__u8e3s4__1.deleteIssueSection_urkmkp_k$(this.companyId_1, this.issueId_1, this.sectionId_1, this);
|
|
1084
649
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1085
650
|
return suspendResult;
|
|
1086
651
|
}
|
|
1087
652
|
continue $sm;
|
|
1088
653
|
} else {
|
|
1089
654
|
this.state_1 = 1;
|
|
1090
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
655
|
+
suspendResult = await_0(this._this__u8e3s4__1.deleteIssueSection(this.companyId_1, this.issueId_1, this.sectionId_1), this);
|
|
1091
656
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1092
657
|
return suspendResult;
|
|
1093
658
|
}
|
|
@@ -1118,60 +683,61 @@ protoOf($deleteIssueConversation$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
1118
683
|
}
|
|
1119
684
|
while (true);
|
|
1120
685
|
};
|
|
1121
|
-
function $
|
|
686
|
+
function $indexIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1122
687
|
CoroutineImpl.call(this, resultContinuation);
|
|
1123
688
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1124
689
|
this.companyId_1 = companyId;
|
|
1125
|
-
this.
|
|
1126
|
-
this.
|
|
690
|
+
this.search_1 = search;
|
|
691
|
+
this.status_1 = status;
|
|
692
|
+
this.responsibleId_1 = responsibleId;
|
|
693
|
+
this.createdAtFrom_1 = createdAtFrom;
|
|
694
|
+
this.createdAtTo_1 = createdAtTo;
|
|
695
|
+
this.updatedSince_1 = updatedSince;
|
|
696
|
+
this.fields_1 = fields;
|
|
697
|
+
this.pageToken_1 = pageToken;
|
|
698
|
+
this.autoPaginate_1 = autoPaginate;
|
|
699
|
+
this.count_1 = count;
|
|
1127
700
|
}
|
|
1128
|
-
protoOf($
|
|
701
|
+
protoOf($indexIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1129
702
|
var suspendResult = this.result_1;
|
|
1130
703
|
$sm: do
|
|
1131
704
|
try {
|
|
1132
705
|
var tmp = this.state_1;
|
|
1133
706
|
switch (tmp) {
|
|
1134
707
|
case 0:
|
|
1135
|
-
this.exceptionState_1 =
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/sections/{sectionId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{sectionId}', this.sectionId_1.toString());
|
|
1142
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1143
|
-
this.state_1 = 1;
|
|
1144
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1145
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1146
|
-
return suspendResult;
|
|
1147
|
-
}
|
|
1148
|
-
|
|
1149
|
-
continue $sm;
|
|
1150
|
-
case 1:
|
|
1151
|
-
var this_0 = suspendResult;
|
|
1152
|
-
var tmp_0 = getKClass(Unit);
|
|
1153
|
-
var tmp_1 = null instanceof Unit;
|
|
1154
|
-
var tmp_2;
|
|
1155
|
-
try {
|
|
1156
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1157
|
-
} catch ($p) {
|
|
1158
|
-
var tmp_3;
|
|
1159
|
-
if ($p instanceof Error) {
|
|
1160
|
-
var _unused_var__etf5q3 = $p;
|
|
1161
|
-
tmp_3 = null;
|
|
1162
|
-
} else {
|
|
1163
|
-
throw $p;
|
|
708
|
+
this.exceptionState_1 = 4;
|
|
709
|
+
if (this._this__u8e3s4__1.indexIssue === protoOf(IssueApi).indexIssue) {
|
|
710
|
+
this.state_1 = 2;
|
|
711
|
+
suspendResult = this._this__u8e3s4__1.indexIssue$default_phnps0_k$(this.companyId_1, this.search_1, this.status_1, this.responsibleId_1, this.createdAtFrom_1, this.createdAtTo_1, this.updatedSince_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
|
|
712
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
713
|
+
return suspendResult;
|
|
1164
714
|
}
|
|
1165
|
-
|
|
715
|
+
continue $sm;
|
|
716
|
+
} else {
|
|
717
|
+
this.state_1 = 1;
|
|
718
|
+
suspendResult = await_0(this._this__u8e3s4__1.indexIssue(this.companyId_1, this.search_1, this.status_1, this.responsibleId_1, this.createdAtFrom_1, this.createdAtTo_1, this.updatedSince_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
719
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
720
|
+
return suspendResult;
|
|
721
|
+
}
|
|
722
|
+
continue $sm;
|
|
1166
723
|
}
|
|
1167
724
|
|
|
1168
|
-
|
|
725
|
+
case 1:
|
|
726
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
727
|
+
this.state_1 = 3;
|
|
728
|
+
continue $sm;
|
|
1169
729
|
case 2:
|
|
730
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
731
|
+
this.state_1 = 3;
|
|
732
|
+
continue $sm;
|
|
733
|
+
case 3:
|
|
734
|
+
return this.WHEN_RESULT0__1;
|
|
735
|
+
case 4:
|
|
1170
736
|
throw this.exception_1;
|
|
1171
737
|
}
|
|
1172
|
-
} catch ($
|
|
1173
|
-
var e = $
|
|
1174
|
-
if (this.exceptionState_1 ===
|
|
738
|
+
} catch ($p) {
|
|
739
|
+
var e = $p;
|
|
740
|
+
if (this.exceptionState_1 === 4) {
|
|
1175
741
|
throw e;
|
|
1176
742
|
} else {
|
|
1177
743
|
this.state_1 = this.exceptionState_1;
|
|
@@ -1180,14 +746,22 @@ protoOf($deleteIssueSectionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1180
746
|
}
|
|
1181
747
|
while (true);
|
|
1182
748
|
};
|
|
1183
|
-
function $
|
|
749
|
+
function $indexIssueUser$suspendBridgeCOROUTINE$(_this__u8e3s4, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1184
750
|
CoroutineImpl.call(this, resultContinuation);
|
|
1185
751
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1186
|
-
this.
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
752
|
+
this.search_1 = search;
|
|
753
|
+
this.companyIds_1 = companyIds;
|
|
754
|
+
this.status_1 = status;
|
|
755
|
+
this.responsibleId_1 = responsibleId;
|
|
756
|
+
this.createdAtFrom_1 = createdAtFrom;
|
|
757
|
+
this.createdAtTo_1 = createdAtTo;
|
|
758
|
+
this.updatedSince_1 = updatedSince;
|
|
759
|
+
this.fields_1 = fields;
|
|
760
|
+
this.pageToken_1 = pageToken;
|
|
761
|
+
this.autoPaginate_1 = autoPaginate;
|
|
762
|
+
this.count_1 = count;
|
|
1189
763
|
}
|
|
1190
|
-
protoOf($
|
|
764
|
+
protoOf($indexIssueUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1191
765
|
var suspendResult = this.result_1;
|
|
1192
766
|
$sm: do
|
|
1193
767
|
try {
|
|
@@ -1195,16 +769,16 @@ protoOf($deleteIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
1195
769
|
switch (tmp) {
|
|
1196
770
|
case 0:
|
|
1197
771
|
this.exceptionState_1 = 4;
|
|
1198
|
-
if (this._this__u8e3s4__1.
|
|
772
|
+
if (this._this__u8e3s4__1.indexIssueUser === protoOf(IssueApi).indexIssueUser) {
|
|
1199
773
|
this.state_1 = 2;
|
|
1200
|
-
suspendResult = this._this__u8e3s4__1.
|
|
774
|
+
suspendResult = this._this__u8e3s4__1.indexIssueUser$default_3neqsr_k$(this.search_1, this.companyIds_1, this.status_1, this.responsibleId_1, this.createdAtFrom_1, this.createdAtTo_1, this.updatedSince_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
|
|
1201
775
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1202
776
|
return suspendResult;
|
|
1203
777
|
}
|
|
1204
778
|
continue $sm;
|
|
1205
779
|
} else {
|
|
1206
780
|
this.state_1 = 1;
|
|
1207
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
781
|
+
suspendResult = await_0(this._this__u8e3s4__1.indexIssueUser(this.search_1, this.companyIds_1, this.status_1, this.responsibleId_1, this.createdAtFrom_1, this.createdAtTo_1, this.updatedSince_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
1208
782
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1209
783
|
return suspendResult;
|
|
1210
784
|
}
|
|
@@ -1235,145 +809,52 @@ protoOf($deleteIssueSection$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = functi
|
|
|
1235
809
|
}
|
|
1236
810
|
while (true);
|
|
1237
811
|
};
|
|
1238
|
-
function $
|
|
812
|
+
function $reOpenIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, resultContinuation) {
|
|
1239
813
|
CoroutineImpl.call(this, resultContinuation);
|
|
1240
814
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1241
815
|
this.companyId_1 = companyId;
|
|
1242
|
-
this.
|
|
1243
|
-
this.status_1 = status;
|
|
1244
|
-
this.responsibleId_1 = responsibleId;
|
|
1245
|
-
this.createdAtFrom_1 = createdAtFrom;
|
|
1246
|
-
this.createdAtTo_1 = createdAtTo;
|
|
1247
|
-
this.updatedSince_1 = updatedSince;
|
|
1248
|
-
this.fields_1 = fields;
|
|
1249
|
-
this.pageToken_1 = pageToken;
|
|
1250
|
-
this.autoPaginate_1 = autoPaginate;
|
|
1251
|
-
this.count_1 = count;
|
|
816
|
+
this.issueId_1 = issueId;
|
|
1252
817
|
}
|
|
1253
|
-
protoOf($
|
|
818
|
+
protoOf($reOpenIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1254
819
|
var suspendResult = this.result_1;
|
|
1255
820
|
$sm: do
|
|
1256
821
|
try {
|
|
1257
822
|
var tmp = this.state_1;
|
|
1258
823
|
switch (tmp) {
|
|
1259
824
|
case 0:
|
|
1260
|
-
this.exceptionState_1 =
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
else {
|
|
1267
|
-
var value = listOf_0(this.search_1);
|
|
1268
|
-
localVariableQuery.put_4fpzoq_k$('search', value);
|
|
1269
|
-
}
|
|
1270
|
-
|
|
1271
|
-
var tmp1_safe_receiver = this.status_1;
|
|
1272
|
-
if (tmp1_safe_receiver == null)
|
|
1273
|
-
null;
|
|
1274
|
-
else {
|
|
1275
|
-
var value_0 = toMultiValue(tmp1_safe_receiver, 'multi');
|
|
1276
|
-
localVariableQuery.put_4fpzoq_k$('status', value_0);
|
|
1277
|
-
}
|
|
1278
|
-
|
|
1279
|
-
if (this.responsibleId_1 == null)
|
|
1280
|
-
null;
|
|
1281
|
-
else {
|
|
1282
|
-
var tmp2 = 'responsibleId';
|
|
1283
|
-
var value_1 = listOf_0(this.responsibleId_1.toString());
|
|
1284
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value_1);
|
|
1285
|
-
}
|
|
1286
|
-
|
|
1287
|
-
if (this.createdAtFrom_1 == null)
|
|
1288
|
-
null;
|
|
1289
|
-
else {
|
|
1290
|
-
var tmp2_0 = 'createdAtFrom';
|
|
1291
|
-
var value_2 = listOf_0(this.createdAtFrom_1.toString());
|
|
1292
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
if (this.createdAtTo_1 == null)
|
|
1296
|
-
null;
|
|
1297
|
-
else {
|
|
1298
|
-
var tmp2_1 = 'createdAtTo';
|
|
1299
|
-
var value_3 = listOf_0(this.createdAtTo_1.toString());
|
|
1300
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_3);
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
if (this.updatedSince_1 == null)
|
|
1304
|
-
null;
|
|
1305
|
-
else {
|
|
1306
|
-
var tmp2_2 = 'updatedSince';
|
|
1307
|
-
var value_4 = listOf_0(this.updatedSince_1.toString());
|
|
1308
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_2, value_4);
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
if (this.fields_1 == null)
|
|
1312
|
-
null;
|
|
1313
|
-
else {
|
|
1314
|
-
var value_5 = listOf_0(this.fields_1);
|
|
1315
|
-
localVariableQuery.put_4fpzoq_k$('fields', value_5);
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
if (this.pageToken_1 == null)
|
|
1319
|
-
null;
|
|
1320
|
-
else {
|
|
1321
|
-
var tmp2_3 = 'pageToken';
|
|
1322
|
-
var value_6 = listOf_0(this.pageToken_1);
|
|
1323
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_3, value_6);
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
if (this.autoPaginate_1 == null)
|
|
1327
|
-
null;
|
|
1328
|
-
else {
|
|
1329
|
-
var tmp2_4 = 'autoPaginate';
|
|
1330
|
-
var value_7 = listOf_0('' + this.autoPaginate_1);
|
|
1331
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_4, value_7);
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
if (this.count_1 == null)
|
|
1335
|
-
null;
|
|
1336
|
-
else {
|
|
1337
|
-
var value_8 = listOf_0('' + this.count_1);
|
|
1338
|
-
localVariableQuery.put_4fpzoq_k$('count', value_8);
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1342
|
-
var tmp10_method = RequestMethod_GET_getInstance();
|
|
1343
|
-
var tmp11_path = replace('/companies/{companyId}/issues', '{companyId}', this.companyId_1.toString());
|
|
1344
|
-
var localVariableConfig = new RequestConfig(tmp10_method, tmp11_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1345
|
-
this.state_1 = 1;
|
|
1346
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1347
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1348
|
-
return suspendResult;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
continue $sm;
|
|
1352
|
-
case 1:
|
|
1353
|
-
var this_0 = suspendResult;
|
|
1354
|
-
var tmp_0 = getKClass(PagedListIssue);
|
|
1355
|
-
var tmp_1 = null instanceof PagedListIssue;
|
|
1356
|
-
var tmp_2;
|
|
1357
|
-
try {
|
|
1358
|
-
tmp_2 = createKType(getKClass(PagedListIssue), arrayOf([]), false);
|
|
1359
|
-
} catch ($p) {
|
|
1360
|
-
var tmp_3;
|
|
1361
|
-
if ($p instanceof Error) {
|
|
1362
|
-
var _unused_var__etf5q3 = $p;
|
|
1363
|
-
tmp_3 = null;
|
|
1364
|
-
} else {
|
|
1365
|
-
throw $p;
|
|
825
|
+
this.exceptionState_1 = 4;
|
|
826
|
+
if (this._this__u8e3s4__1.reOpenIssue === protoOf(IssueApi).reOpenIssue) {
|
|
827
|
+
this.state_1 = 2;
|
|
828
|
+
suspendResult = this._this__u8e3s4__1.reOpenIssue_jyiwjk_k$(this.companyId_1, this.issueId_1, this);
|
|
829
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
830
|
+
return suspendResult;
|
|
1366
831
|
}
|
|
1367
|
-
|
|
832
|
+
continue $sm;
|
|
833
|
+
} else {
|
|
834
|
+
this.state_1 = 1;
|
|
835
|
+
suspendResult = await_0(this._this__u8e3s4__1.reOpenIssue(this.companyId_1, this.issueId_1), this);
|
|
836
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
837
|
+
return suspendResult;
|
|
838
|
+
}
|
|
839
|
+
continue $sm;
|
|
1368
840
|
}
|
|
1369
841
|
|
|
1370
|
-
|
|
842
|
+
case 1:
|
|
843
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
844
|
+
this.state_1 = 3;
|
|
845
|
+
continue $sm;
|
|
1371
846
|
case 2:
|
|
847
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
848
|
+
this.state_1 = 3;
|
|
849
|
+
continue $sm;
|
|
850
|
+
case 3:
|
|
851
|
+
return this.WHEN_RESULT0__1;
|
|
852
|
+
case 4:
|
|
1372
853
|
throw this.exception_1;
|
|
1373
854
|
}
|
|
1374
|
-
} catch ($
|
|
1375
|
-
var e = $
|
|
1376
|
-
if (this.exceptionState_1 ===
|
|
855
|
+
} catch ($p) {
|
|
856
|
+
var e = $p;
|
|
857
|
+
if (this.exceptionState_1 === 4) {
|
|
1377
858
|
throw e;
|
|
1378
859
|
} else {
|
|
1379
860
|
this.state_1 = this.exceptionState_1;
|
|
@@ -1382,22 +863,14 @@ protoOf($indexIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1382
863
|
}
|
|
1383
864
|
while (true);
|
|
1384
865
|
};
|
|
1385
|
-
function $
|
|
866
|
+
function $showIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, fields, resultContinuation) {
|
|
1386
867
|
CoroutineImpl.call(this, resultContinuation);
|
|
1387
868
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1388
869
|
this.companyId_1 = companyId;
|
|
1389
|
-
this.
|
|
1390
|
-
this.status_1 = status;
|
|
1391
|
-
this.responsibleId_1 = responsibleId;
|
|
1392
|
-
this.createdAtFrom_1 = createdAtFrom;
|
|
1393
|
-
this.createdAtTo_1 = createdAtTo;
|
|
1394
|
-
this.updatedSince_1 = updatedSince;
|
|
870
|
+
this.issueId_1 = issueId;
|
|
1395
871
|
this.fields_1 = fields;
|
|
1396
|
-
this.pageToken_1 = pageToken;
|
|
1397
|
-
this.autoPaginate_1 = autoPaginate;
|
|
1398
|
-
this.count_1 = count;
|
|
1399
872
|
}
|
|
1400
|
-
protoOf($
|
|
873
|
+
protoOf($showIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1401
874
|
var suspendResult = this.result_1;
|
|
1402
875
|
$sm: do
|
|
1403
876
|
try {
|
|
@@ -1405,16 +878,16 @@ protoOf($indexIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1405
878
|
switch (tmp) {
|
|
1406
879
|
case 0:
|
|
1407
880
|
this.exceptionState_1 = 4;
|
|
1408
|
-
if (this._this__u8e3s4__1.
|
|
881
|
+
if (this._this__u8e3s4__1.showIssue === protoOf(IssueApi).showIssue) {
|
|
1409
882
|
this.state_1 = 2;
|
|
1410
|
-
suspendResult = this._this__u8e3s4__1.
|
|
883
|
+
suspendResult = this._this__u8e3s4__1.showIssue$default_vxvv5l_k$(this.companyId_1, this.issueId_1, this.fields_1, this);
|
|
1411
884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1412
885
|
return suspendResult;
|
|
1413
886
|
}
|
|
1414
887
|
continue $sm;
|
|
1415
888
|
} else {
|
|
1416
889
|
this.state_1 = 1;
|
|
1417
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
890
|
+
suspendResult = await_0(this._this__u8e3s4__1.showIssue(this.companyId_1, this.issueId_1, this.fields_1), this);
|
|
1418
891
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1419
892
|
return suspendResult;
|
|
1420
893
|
}
|
|
@@ -1445,177 +918,14 @@ protoOf($indexIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1445
918
|
}
|
|
1446
919
|
while (true);
|
|
1447
920
|
};
|
|
1448
|
-
function $
|
|
921
|
+
function $updateIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, updateIssueCommand, resultContinuation) {
|
|
1449
922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1450
923
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1451
|
-
this.
|
|
1452
|
-
this.
|
|
1453
|
-
this.
|
|
1454
|
-
this.responsibleId_1 = responsibleId;
|
|
1455
|
-
this.createdAtFrom_1 = createdAtFrom;
|
|
1456
|
-
this.createdAtTo_1 = createdAtTo;
|
|
1457
|
-
this.updatedSince_1 = updatedSince;
|
|
1458
|
-
this.fields_1 = fields;
|
|
1459
|
-
this.pageToken_1 = pageToken;
|
|
1460
|
-
this.autoPaginate_1 = autoPaginate;
|
|
1461
|
-
this.count_1 = count;
|
|
1462
|
-
}
|
|
1463
|
-
protoOf($indexIssueUserCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1464
|
-
var suspendResult = this.result_1;
|
|
1465
|
-
$sm: do
|
|
1466
|
-
try {
|
|
1467
|
-
var tmp = this.state_1;
|
|
1468
|
-
switch (tmp) {
|
|
1469
|
-
case 0:
|
|
1470
|
-
this.exceptionState_1 = 2;
|
|
1471
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1472
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
1473
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1474
|
-
if (this.search_1 == null)
|
|
1475
|
-
null;
|
|
1476
|
-
else {
|
|
1477
|
-
var value = listOf_0(this.search_1);
|
|
1478
|
-
localVariableQuery.put_4fpzoq_k$('search', value);
|
|
1479
|
-
}
|
|
1480
|
-
|
|
1481
|
-
var tmp1_safe_receiver = this.companyIds_1;
|
|
1482
|
-
if (tmp1_safe_receiver == null)
|
|
1483
|
-
null;
|
|
1484
|
-
else {
|
|
1485
|
-
var tmp2 = 'companyIds';
|
|
1486
|
-
var value_0 = toMultiValue(tmp1_safe_receiver, 'multi');
|
|
1487
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value_0);
|
|
1488
|
-
}
|
|
1489
|
-
|
|
1490
|
-
var tmp2_safe_receiver = this.status_1;
|
|
1491
|
-
if (tmp2_safe_receiver == null)
|
|
1492
|
-
null;
|
|
1493
|
-
else {
|
|
1494
|
-
var value_1 = toMultiValue(tmp2_safe_receiver, 'multi');
|
|
1495
|
-
localVariableQuery.put_4fpzoq_k$('status', value_1);
|
|
1496
|
-
}
|
|
1497
|
-
|
|
1498
|
-
if (this.responsibleId_1 == null)
|
|
1499
|
-
null;
|
|
1500
|
-
else {
|
|
1501
|
-
var tmp2_0 = 'responsibleId';
|
|
1502
|
-
var value_2 = listOf_0(this.responsibleId_1.toString());
|
|
1503
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
if (this.createdAtFrom_1 == null)
|
|
1507
|
-
null;
|
|
1508
|
-
else {
|
|
1509
|
-
var tmp2_1 = 'createdAtFrom';
|
|
1510
|
-
var value_3 = listOf_0(this.createdAtFrom_1.toString());
|
|
1511
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_3);
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
if (this.createdAtTo_1 == null)
|
|
1515
|
-
null;
|
|
1516
|
-
else {
|
|
1517
|
-
var tmp2_2 = 'createdAtTo';
|
|
1518
|
-
var value_4 = listOf_0(this.createdAtTo_1.toString());
|
|
1519
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_2, value_4);
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
if (this.updatedSince_1 == null)
|
|
1523
|
-
null;
|
|
1524
|
-
else {
|
|
1525
|
-
var tmp2_3 = 'updatedSince';
|
|
1526
|
-
var value_5 = listOf_0(this.updatedSince_1.toString());
|
|
1527
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_3, value_5);
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
if (this.fields_1 == null)
|
|
1531
|
-
null;
|
|
1532
|
-
else {
|
|
1533
|
-
var value_6 = listOf_0(this.fields_1);
|
|
1534
|
-
localVariableQuery.put_4fpzoq_k$('fields', value_6);
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
if (this.pageToken_1 == null)
|
|
1538
|
-
null;
|
|
1539
|
-
else {
|
|
1540
|
-
var tmp2_4 = 'pageToken';
|
|
1541
|
-
var value_7 = listOf_0(this.pageToken_1);
|
|
1542
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_4, value_7);
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
if (this.autoPaginate_1 == null)
|
|
1546
|
-
null;
|
|
1547
|
-
else {
|
|
1548
|
-
var tmp2_5 = 'autoPaginate';
|
|
1549
|
-
var value_8 = listOf_0('' + this.autoPaginate_1);
|
|
1550
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_5, value_8);
|
|
1551
|
-
}
|
|
1552
|
-
|
|
1553
|
-
if (this.count_1 == null)
|
|
1554
|
-
null;
|
|
1555
|
-
else {
|
|
1556
|
-
var value_9 = listOf_0('' + this.count_1);
|
|
1557
|
-
localVariableQuery.put_4fpzoq_k$('count', value_9);
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1561
|
-
var tmp11_method = RequestMethod_GET_getInstance();
|
|
1562
|
-
var localVariableConfig = new RequestConfig(tmp11_method, '/companies/issues', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1563
|
-
this.state_1 = 1;
|
|
1564
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1565
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1566
|
-
return suspendResult;
|
|
1567
|
-
}
|
|
1568
|
-
|
|
1569
|
-
continue $sm;
|
|
1570
|
-
case 1:
|
|
1571
|
-
var this_0 = suspendResult;
|
|
1572
|
-
var tmp_0 = getKClass(PagedListIssue);
|
|
1573
|
-
var tmp_1 = null instanceof PagedListIssue;
|
|
1574
|
-
var tmp_2;
|
|
1575
|
-
try {
|
|
1576
|
-
tmp_2 = createKType(getKClass(PagedListIssue), arrayOf([]), false);
|
|
1577
|
-
} catch ($p) {
|
|
1578
|
-
var tmp_3;
|
|
1579
|
-
if ($p instanceof Error) {
|
|
1580
|
-
var _unused_var__etf5q3 = $p;
|
|
1581
|
-
tmp_3 = null;
|
|
1582
|
-
} else {
|
|
1583
|
-
throw $p;
|
|
1584
|
-
}
|
|
1585
|
-
tmp_2 = tmp_3;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1589
|
-
case 2:
|
|
1590
|
-
throw this.exception_1;
|
|
1591
|
-
}
|
|
1592
|
-
} catch ($p_0) {
|
|
1593
|
-
var e = $p_0;
|
|
1594
|
-
if (this.exceptionState_1 === 2) {
|
|
1595
|
-
throw e;
|
|
1596
|
-
} else {
|
|
1597
|
-
this.state_1 = this.exceptionState_1;
|
|
1598
|
-
this.exception_1 = e;
|
|
1599
|
-
}
|
|
1600
|
-
}
|
|
1601
|
-
while (true);
|
|
1602
|
-
};
|
|
1603
|
-
function $indexIssueUser$suspendBridgeCOROUTINE$(_this__u8e3s4, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1604
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1605
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1606
|
-
this.search_1 = search;
|
|
1607
|
-
this.companyIds_1 = companyIds;
|
|
1608
|
-
this.status_1 = status;
|
|
1609
|
-
this.responsibleId_1 = responsibleId;
|
|
1610
|
-
this.createdAtFrom_1 = createdAtFrom;
|
|
1611
|
-
this.createdAtTo_1 = createdAtTo;
|
|
1612
|
-
this.updatedSince_1 = updatedSince;
|
|
1613
|
-
this.fields_1 = fields;
|
|
1614
|
-
this.pageToken_1 = pageToken;
|
|
1615
|
-
this.autoPaginate_1 = autoPaginate;
|
|
1616
|
-
this.count_1 = count;
|
|
924
|
+
this.companyId_1 = companyId;
|
|
925
|
+
this.issueId_1 = issueId;
|
|
926
|
+
this.updateIssueCommand_1 = updateIssueCommand;
|
|
1617
927
|
}
|
|
1618
|
-
protoOf($
|
|
928
|
+
protoOf($updateIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1619
929
|
var suspendResult = this.result_1;
|
|
1620
930
|
$sm: do
|
|
1621
931
|
try {
|
|
@@ -1623,16 +933,16 @@ protoOf($indexIssueUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function (
|
|
|
1623
933
|
switch (tmp) {
|
|
1624
934
|
case 0:
|
|
1625
935
|
this.exceptionState_1 = 4;
|
|
1626
|
-
if (this._this__u8e3s4__1.
|
|
936
|
+
if (this._this__u8e3s4__1.updateIssue === protoOf(IssueApi).updateIssue) {
|
|
1627
937
|
this.state_1 = 2;
|
|
1628
|
-
suspendResult = this._this__u8e3s4__1.
|
|
938
|
+
suspendResult = this._this__u8e3s4__1.updateIssue_99lneu_k$(this.companyId_1, this.issueId_1, this.updateIssueCommand_1, this);
|
|
1629
939
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1630
940
|
return suspendResult;
|
|
1631
941
|
}
|
|
1632
942
|
continue $sm;
|
|
1633
943
|
} else {
|
|
1634
944
|
this.state_1 = 1;
|
|
1635
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
945
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssue(this.companyId_1, this.issueId_1, this.updateIssueCommand_1), this);
|
|
1636
946
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1637
947
|
return suspendResult;
|
|
1638
948
|
}
|
|
@@ -1663,59 +973,54 @@ protoOf($indexIssueUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function (
|
|
|
1663
973
|
}
|
|
1664
974
|
while (true);
|
|
1665
975
|
};
|
|
1666
|
-
function $
|
|
976
|
+
function $updateIssueComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, commentId, updateIssueCommentCommand, resultContinuation) {
|
|
1667
977
|
CoroutineImpl.call(this, resultContinuation);
|
|
1668
978
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1669
979
|
this.companyId_1 = companyId;
|
|
1670
980
|
this.issueId_1 = issueId;
|
|
981
|
+
this.commentId_1 = commentId;
|
|
982
|
+
this.updateIssueCommentCommand_1 = updateIssueCommentCommand;
|
|
1671
983
|
}
|
|
1672
|
-
protoOf($
|
|
984
|
+
protoOf($updateIssueComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1673
985
|
var suspendResult = this.result_1;
|
|
1674
986
|
$sm: do
|
|
1675
987
|
try {
|
|
1676
988
|
var tmp = this.state_1;
|
|
1677
989
|
switch (tmp) {
|
|
1678
990
|
case 0:
|
|
1679
|
-
this.exceptionState_1 =
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/reOpen', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
1686
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1687
|
-
this.state_1 = 1;
|
|
1688
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1689
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1690
|
-
return suspendResult;
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
continue $sm;
|
|
1694
|
-
case 1:
|
|
1695
|
-
var this_0 = suspendResult;
|
|
1696
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
1697
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
1698
|
-
var tmp_2;
|
|
1699
|
-
try {
|
|
1700
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1701
|
-
} catch ($p) {
|
|
1702
|
-
var tmp_3;
|
|
1703
|
-
if ($p instanceof Error) {
|
|
1704
|
-
var _unused_var__etf5q3 = $p;
|
|
1705
|
-
tmp_3 = null;
|
|
1706
|
-
} else {
|
|
1707
|
-
throw $p;
|
|
991
|
+
this.exceptionState_1 = 4;
|
|
992
|
+
if (this._this__u8e3s4__1.updateIssueComment === protoOf(IssueApi).updateIssueComment) {
|
|
993
|
+
this.state_1 = 2;
|
|
994
|
+
suspendResult = this._this__u8e3s4__1.updateIssueComment_aqs53y_k$(this.companyId_1, this.issueId_1, this.commentId_1, this.updateIssueCommentCommand_1, this);
|
|
995
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
996
|
+
return suspendResult;
|
|
1708
997
|
}
|
|
1709
|
-
|
|
998
|
+
continue $sm;
|
|
999
|
+
} else {
|
|
1000
|
+
this.state_1 = 1;
|
|
1001
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssueComment(this.companyId_1, this.issueId_1, this.commentId_1, this.updateIssueCommentCommand_1), this);
|
|
1002
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1003
|
+
return suspendResult;
|
|
1004
|
+
}
|
|
1005
|
+
continue $sm;
|
|
1710
1006
|
}
|
|
1711
1007
|
|
|
1712
|
-
|
|
1008
|
+
case 1:
|
|
1009
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
1010
|
+
this.state_1 = 3;
|
|
1011
|
+
continue $sm;
|
|
1713
1012
|
case 2:
|
|
1013
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
1014
|
+
this.state_1 = 3;
|
|
1015
|
+
continue $sm;
|
|
1016
|
+
case 3:
|
|
1017
|
+
return this.WHEN_RESULT0__1;
|
|
1018
|
+
case 4:
|
|
1714
1019
|
throw this.exception_1;
|
|
1715
1020
|
}
|
|
1716
|
-
} catch ($
|
|
1717
|
-
var e = $
|
|
1718
|
-
if (this.exceptionState_1 ===
|
|
1021
|
+
} catch ($p) {
|
|
1022
|
+
var e = $p;
|
|
1023
|
+
if (this.exceptionState_1 === 4) {
|
|
1719
1024
|
throw e;
|
|
1720
1025
|
} else {
|
|
1721
1026
|
this.state_1 = this.exceptionState_1;
|
|
@@ -1724,13 +1029,14 @@ protoOf($reOpenIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1724
1029
|
}
|
|
1725
1030
|
while (true);
|
|
1726
1031
|
};
|
|
1727
|
-
function $
|
|
1032
|
+
function $updateIssueConclusion$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, updateResolutionCommand, resultContinuation) {
|
|
1728
1033
|
CoroutineImpl.call(this, resultContinuation);
|
|
1729
1034
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1730
1035
|
this.companyId_1 = companyId;
|
|
1731
1036
|
this.issueId_1 = issueId;
|
|
1037
|
+
this.updateResolutionCommand_1 = updateResolutionCommand;
|
|
1732
1038
|
}
|
|
1733
|
-
protoOf($
|
|
1039
|
+
protoOf($updateIssueConclusion$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1734
1040
|
var suspendResult = this.result_1;
|
|
1735
1041
|
$sm: do
|
|
1736
1042
|
try {
|
|
@@ -1738,16 +1044,16 @@ protoOf($reOpenIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1738
1044
|
switch (tmp) {
|
|
1739
1045
|
case 0:
|
|
1740
1046
|
this.exceptionState_1 = 4;
|
|
1741
|
-
if (this._this__u8e3s4__1.
|
|
1047
|
+
if (this._this__u8e3s4__1.updateIssueConclusion === protoOf(IssueApi).updateIssueConclusion) {
|
|
1742
1048
|
this.state_1 = 2;
|
|
1743
|
-
suspendResult = this._this__u8e3s4__1.
|
|
1049
|
+
suspendResult = this._this__u8e3s4__1.updateIssueConclusion_kzvp9e_k$(this.companyId_1, this.issueId_1, this.updateResolutionCommand_1, this);
|
|
1744
1050
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1745
1051
|
return suspendResult;
|
|
1746
1052
|
}
|
|
1747
1053
|
continue $sm;
|
|
1748
1054
|
} else {
|
|
1749
1055
|
this.state_1 = 1;
|
|
1750
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
1056
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssueConclusion(this.companyId_1, this.issueId_1, this.updateResolutionCommand_1), this);
|
|
1751
1057
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1752
1058
|
return suspendResult;
|
|
1753
1059
|
}
|
|
@@ -1778,83 +1084,14 @@ protoOf($reOpenIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1778
1084
|
}
|
|
1779
1085
|
while (true);
|
|
1780
1086
|
};
|
|
1781
|
-
function $
|
|
1087
|
+
function $updateIssueReport$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, updateReportCommand, resultContinuation) {
|
|
1782
1088
|
CoroutineImpl.call(this, resultContinuation);
|
|
1783
1089
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1784
1090
|
this.companyId_1 = companyId;
|
|
1785
1091
|
this.issueId_1 = issueId;
|
|
1786
|
-
this.
|
|
1092
|
+
this.updateReportCommand_1 = updateReportCommand;
|
|
1787
1093
|
}
|
|
1788
|
-
protoOf($
|
|
1789
|
-
var suspendResult = this.result_1;
|
|
1790
|
-
$sm: do
|
|
1791
|
-
try {
|
|
1792
|
-
var tmp = this.state_1;
|
|
1793
|
-
switch (tmp) {
|
|
1794
|
-
case 0:
|
|
1795
|
-
this.exceptionState_1 = 2;
|
|
1796
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1797
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
1798
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1799
|
-
if (this.fields_1 == null)
|
|
1800
|
-
null;
|
|
1801
|
-
else {
|
|
1802
|
-
var value = listOf_0(this.fields_1);
|
|
1803
|
-
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1807
|
-
var tmp1_method = RequestMethod_GET_getInstance();
|
|
1808
|
-
var tmp2_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
1809
|
-
var localVariableConfig = new RequestConfig(tmp1_method, tmp2_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1810
|
-
this.state_1 = 1;
|
|
1811
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1812
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1813
|
-
return suspendResult;
|
|
1814
|
-
}
|
|
1815
|
-
|
|
1816
|
-
continue $sm;
|
|
1817
|
-
case 1:
|
|
1818
|
-
var this_0 = suspendResult;
|
|
1819
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
1820
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
1821
|
-
var tmp_2;
|
|
1822
|
-
try {
|
|
1823
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1824
|
-
} catch ($p) {
|
|
1825
|
-
var tmp_3;
|
|
1826
|
-
if ($p instanceof Error) {
|
|
1827
|
-
var _unused_var__etf5q3 = $p;
|
|
1828
|
-
tmp_3 = null;
|
|
1829
|
-
} else {
|
|
1830
|
-
throw $p;
|
|
1831
|
-
}
|
|
1832
|
-
tmp_2 = tmp_3;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1836
|
-
case 2:
|
|
1837
|
-
throw this.exception_1;
|
|
1838
|
-
}
|
|
1839
|
-
} catch ($p_0) {
|
|
1840
|
-
var e = $p_0;
|
|
1841
|
-
if (this.exceptionState_1 === 2) {
|
|
1842
|
-
throw e;
|
|
1843
|
-
} else {
|
|
1844
|
-
this.state_1 = this.exceptionState_1;
|
|
1845
|
-
this.exception_1 = e;
|
|
1846
|
-
}
|
|
1847
|
-
}
|
|
1848
|
-
while (true);
|
|
1849
|
-
};
|
|
1850
|
-
function $showIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, fields, resultContinuation) {
|
|
1851
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1852
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1853
|
-
this.companyId_1 = companyId;
|
|
1854
|
-
this.issueId_1 = issueId;
|
|
1855
|
-
this.fields_1 = fields;
|
|
1856
|
-
}
|
|
1857
|
-
protoOf($showIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1094
|
+
protoOf($updateIssueReport$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1858
1095
|
var suspendResult = this.result_1;
|
|
1859
1096
|
$sm: do
|
|
1860
1097
|
try {
|
|
@@ -1862,16 +1099,16 @@ protoOf($showIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1862
1099
|
switch (tmp) {
|
|
1863
1100
|
case 0:
|
|
1864
1101
|
this.exceptionState_1 = 4;
|
|
1865
|
-
if (this._this__u8e3s4__1.
|
|
1102
|
+
if (this._this__u8e3s4__1.updateIssueReport === protoOf(IssueApi).updateIssueReport) {
|
|
1866
1103
|
this.state_1 = 2;
|
|
1867
|
-
suspendResult = this._this__u8e3s4__1.
|
|
1104
|
+
suspendResult = this._this__u8e3s4__1.updateIssueReport_1sa4jl_k$(this.companyId_1, this.issueId_1, this.updateReportCommand_1, this);
|
|
1868
1105
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1869
1106
|
return suspendResult;
|
|
1870
1107
|
}
|
|
1871
1108
|
continue $sm;
|
|
1872
1109
|
} else {
|
|
1873
1110
|
this.state_1 = 1;
|
|
1874
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
1111
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssueReport(this.companyId_1, this.issueId_1, this.updateReportCommand_1), this);
|
|
1875
1112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1876
1113
|
return suspendResult;
|
|
1877
1114
|
}
|
|
@@ -1902,76 +1139,14 @@ protoOf($showIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1902
1139
|
}
|
|
1903
1140
|
while (true);
|
|
1904
1141
|
};
|
|
1905
|
-
function $
|
|
1906
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1907
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1908
|
-
this.companyId_1 = companyId;
|
|
1909
|
-
this.issueId_1 = issueId;
|
|
1910
|
-
this.updateIssueCommand_1 = updateIssueCommand;
|
|
1911
|
-
}
|
|
1912
|
-
protoOf($updateIssueCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1913
|
-
var suspendResult = this.result_1;
|
|
1914
|
-
$sm: do
|
|
1915
|
-
try {
|
|
1916
|
-
var tmp = this.state_1;
|
|
1917
|
-
switch (tmp) {
|
|
1918
|
-
case 0:
|
|
1919
|
-
this.exceptionState_1 = 2;
|
|
1920
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1921
|
-
var localVariableBody = this.updateIssueCommand_1;
|
|
1922
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1923
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1924
|
-
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
1925
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
1926
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1927
|
-
this.state_1 = 1;
|
|
1928
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1929
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1930
|
-
return suspendResult;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
continue $sm;
|
|
1934
|
-
case 1:
|
|
1935
|
-
var this_0 = suspendResult;
|
|
1936
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
1937
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
1938
|
-
var tmp_2;
|
|
1939
|
-
try {
|
|
1940
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1941
|
-
} catch ($p) {
|
|
1942
|
-
var tmp_3;
|
|
1943
|
-
if ($p instanceof Error) {
|
|
1944
|
-
var _unused_var__etf5q3 = $p;
|
|
1945
|
-
tmp_3 = null;
|
|
1946
|
-
} else {
|
|
1947
|
-
throw $p;
|
|
1948
|
-
}
|
|
1949
|
-
tmp_2 = tmp_3;
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1953
|
-
case 2:
|
|
1954
|
-
throw this.exception_1;
|
|
1955
|
-
}
|
|
1956
|
-
} catch ($p_0) {
|
|
1957
|
-
var e = $p_0;
|
|
1958
|
-
if (this.exceptionState_1 === 2) {
|
|
1959
|
-
throw e;
|
|
1960
|
-
} else {
|
|
1961
|
-
this.state_1 = this.exceptionState_1;
|
|
1962
|
-
this.exception_1 = e;
|
|
1963
|
-
}
|
|
1964
|
-
}
|
|
1965
|
-
while (true);
|
|
1966
|
-
};
|
|
1967
|
-
function $updateIssue$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, updateIssueCommand, resultContinuation) {
|
|
1142
|
+
function $updateIssueResponsible$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, issueId, changeResponsibleCommand, resultContinuation) {
|
|
1968
1143
|
CoroutineImpl.call(this, resultContinuation);
|
|
1969
1144
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1970
1145
|
this.companyId_1 = companyId;
|
|
1971
1146
|
this.issueId_1 = issueId;
|
|
1972
|
-
this.
|
|
1147
|
+
this.changeResponsibleCommand_1 = changeResponsibleCommand;
|
|
1973
1148
|
}
|
|
1974
|
-
protoOf($
|
|
1149
|
+
protoOf($updateIssueResponsible$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1975
1150
|
var suspendResult = this.result_1;
|
|
1976
1151
|
$sm: do
|
|
1977
1152
|
try {
|
|
@@ -1979,16 +1154,16 @@ protoOf($updateIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1979
1154
|
switch (tmp) {
|
|
1980
1155
|
case 0:
|
|
1981
1156
|
this.exceptionState_1 = 4;
|
|
1982
|
-
if (this._this__u8e3s4__1.
|
|
1157
|
+
if (this._this__u8e3s4__1.updateIssueResponsible === protoOf(IssueApi).updateIssueResponsible) {
|
|
1983
1158
|
this.state_1 = 2;
|
|
1984
|
-
suspendResult = this._this__u8e3s4__1.
|
|
1159
|
+
suspendResult = this._this__u8e3s4__1.updateIssueResponsible_dxfzoa_k$(this.companyId_1, this.issueId_1, this.changeResponsibleCommand_1, this);
|
|
1985
1160
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1986
1161
|
return suspendResult;
|
|
1987
1162
|
}
|
|
1988
1163
|
continue $sm;
|
|
1989
1164
|
} else {
|
|
1990
1165
|
this.state_1 = 1;
|
|
1991
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
1166
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateIssueResponsible(this.companyId_1, this.issueId_1, this.changeResponsibleCommand_1), this);
|
|
1992
1167
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1993
1168
|
return suspendResult;
|
|
1994
1169
|
}
|
|
@@ -2019,133 +1194,545 @@ protoOf($updateIssue$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2019
1194
|
}
|
|
2020
1195
|
while (true);
|
|
2021
1196
|
};
|
|
2022
|
-
function
|
|
2023
|
-
|
|
2024
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
2025
|
-
this.companyId_1 = companyId;
|
|
2026
|
-
this.issueId_1 = issueId;
|
|
2027
|
-
this.commentId_1 = commentId;
|
|
2028
|
-
this.updateIssueCommentCommand_1 = updateIssueCommentCommand;
|
|
2029
|
-
}
|
|
2030
|
-
protoOf($updateIssueCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2031
|
-
var suspendResult = this.result_1;
|
|
2032
|
-
$sm: do
|
|
2033
|
-
try {
|
|
2034
|
-
var tmp = this.state_1;
|
|
2035
|
-
switch (tmp) {
|
|
2036
|
-
case 0:
|
|
2037
|
-
this.exceptionState_1 = 2;
|
|
2038
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2039
|
-
var localVariableBody = this.updateIssueCommentCommand_1;
|
|
2040
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2041
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2042
|
-
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2043
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/comments/{commentId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
2044
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2045
|
-
this.state_1 = 1;
|
|
2046
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2047
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2048
|
-
return suspendResult;
|
|
2049
|
-
}
|
|
2050
|
-
|
|
2051
|
-
continue $sm;
|
|
2052
|
-
case 1:
|
|
2053
|
-
var this_0 = suspendResult;
|
|
2054
|
-
var tmp_0 = getKClass(IssueDetails);
|
|
2055
|
-
var tmp_1 = null instanceof IssueDetails;
|
|
2056
|
-
var tmp_2;
|
|
2057
|
-
try {
|
|
2058
|
-
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2059
|
-
} catch ($p) {
|
|
2060
|
-
var tmp_3;
|
|
2061
|
-
if ($p instanceof Error) {
|
|
2062
|
-
var _unused_var__etf5q3 = $p;
|
|
2063
|
-
tmp_3 = null;
|
|
2064
|
-
} else {
|
|
2065
|
-
throw $p;
|
|
2066
|
-
}
|
|
2067
|
-
tmp_2 = tmp_3;
|
|
2068
|
-
}
|
|
2069
|
-
|
|
2070
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2071
|
-
case 2:
|
|
2072
|
-
throw this.exception_1;
|
|
2073
|
-
}
|
|
2074
|
-
} catch ($p_0) {
|
|
2075
|
-
var e = $p_0;
|
|
2076
|
-
if (this.exceptionState_1 === 2) {
|
|
2077
|
-
throw e;
|
|
2078
|
-
} else {
|
|
2079
|
-
this.state_1 = this.exceptionState_1;
|
|
2080
|
-
this.exception_1 = e;
|
|
2081
|
-
}
|
|
2082
|
-
}
|
|
2083
|
-
while (true);
|
|
1197
|
+
protoOf(IssueApi).closeIssue_rqzvuj_k$ = function (companyId, issueId, $completion) {
|
|
1198
|
+
return closeIssueOperation_0(this, companyId, issueId, $completion);
|
|
2084
1199
|
};
|
|
2085
|
-
function
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
$
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
1200
|
+
protoOf(IssueApi).closeIssue = function (companyId, issueId) {
|
|
1201
|
+
var tmp = this;
|
|
1202
|
+
return promisify(function ($completion) {
|
|
1203
|
+
return tmp.closeIssue_rqzvuj_k$(companyId, issueId, $completion);
|
|
1204
|
+
});
|
|
1205
|
+
};
|
|
1206
|
+
protoOf(IssueApi).closeIssue$suspendBridge_vxae9y_k$ = function (companyId, issueId, $completion) {
|
|
1207
|
+
var tmp = new $closeIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
1208
|
+
tmp.result_1 = Unit_instance;
|
|
1209
|
+
tmp.exception_1 = null;
|
|
1210
|
+
return tmp.doResume_5yljmg_k$();
|
|
1211
|
+
};
|
|
1212
|
+
protoOf(IssueApi).createIssue_jks8z4_k$ = function (companyId, createIssueCommand, $completion) {
|
|
1213
|
+
return createIssueOperation_0(this, companyId, createIssueCommand, $completion);
|
|
1214
|
+
};
|
|
1215
|
+
protoOf(IssueApi).createIssue = function (companyId, createIssueCommand) {
|
|
1216
|
+
var tmp = this;
|
|
1217
|
+
return promisify(function ($completion) {
|
|
1218
|
+
return tmp.createIssue_jks8z4_k$(companyId, createIssueCommand, $completion);
|
|
1219
|
+
});
|
|
1220
|
+
};
|
|
1221
|
+
protoOf(IssueApi).createIssue$suspendBridge_82o6hb_k$ = function (companyId, createIssueCommand, $completion) {
|
|
1222
|
+
var tmp = new $createIssue$suspendBridgeCOROUTINE$(this, companyId, createIssueCommand, $completion);
|
|
1223
|
+
tmp.result_1 = Unit_instance;
|
|
1224
|
+
tmp.exception_1 = null;
|
|
1225
|
+
return tmp.doResume_5yljmg_k$();
|
|
1226
|
+
};
|
|
1227
|
+
protoOf(IssueApi).createIssueComment_zf5eim_k$ = function (companyId, issueId, createIssueCommentCommand, $completion) {
|
|
1228
|
+
return createIssueCommentOperation_0(this, companyId, issueId, createIssueCommentCommand, $completion);
|
|
1229
|
+
};
|
|
1230
|
+
protoOf(IssueApi).createIssueComment = function (companyId, issueId, createIssueCommentCommand) {
|
|
1231
|
+
var tmp = this;
|
|
1232
|
+
return promisify(function ($completion) {
|
|
1233
|
+
return tmp.createIssueComment_zf5eim_k$(companyId, issueId, createIssueCommentCommand, $completion);
|
|
1234
|
+
});
|
|
1235
|
+
};
|
|
1236
|
+
protoOf(IssueApi).createIssueComment$suspendBridge_pacn7_k$ = function (companyId, issueId, createIssueCommentCommand, $completion) {
|
|
1237
|
+
var tmp = new $createIssueComment$suspendBridgeCOROUTINE$(this, companyId, issueId, createIssueCommentCommand, $completion);
|
|
1238
|
+
tmp.result_1 = Unit_instance;
|
|
1239
|
+
tmp.exception_1 = null;
|
|
1240
|
+
return tmp.doResume_5yljmg_k$();
|
|
1241
|
+
};
|
|
1242
|
+
protoOf(IssueApi).createIssueConversation_nj8h08_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
1243
|
+
return createIssueConversationOperation_0(this, companyId, issueId, conversationId, $completion);
|
|
1244
|
+
};
|
|
1245
|
+
protoOf(IssueApi).createIssueConversation = function (companyId, issueId, conversationId) {
|
|
1246
|
+
var tmp = this;
|
|
1247
|
+
return promisify(function ($completion) {
|
|
1248
|
+
return tmp.createIssueConversation_nj8h08_k$(companyId, issueId, conversationId, $completion);
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1251
|
+
protoOf(IssueApi).createIssueConversation$suspendBridge_mwifk7_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
1252
|
+
var tmp = new $createIssueConversation$suspendBridgeCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
1253
|
+
tmp.result_1 = Unit_instance;
|
|
1254
|
+
tmp.exception_1 = null;
|
|
1255
|
+
return tmp.doResume_5yljmg_k$();
|
|
1256
|
+
};
|
|
1257
|
+
protoOf(IssueApi).createIssueSection_9wyz6o_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
1258
|
+
return createIssueSectionOperation_0(this, companyId, issueId, sectionId, $completion);
|
|
1259
|
+
};
|
|
1260
|
+
protoOf(IssueApi).createIssueSection = function (companyId, issueId, sectionId) {
|
|
1261
|
+
var tmp = this;
|
|
1262
|
+
return promisify(function ($completion) {
|
|
1263
|
+
return tmp.createIssueSection_9wyz6o_k$(companyId, issueId, sectionId, $completion);
|
|
1264
|
+
});
|
|
1265
|
+
};
|
|
1266
|
+
protoOf(IssueApi).createIssueSection$suspendBridge_wkxp6n_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
1267
|
+
var tmp = new $createIssueSection$suspendBridgeCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
1268
|
+
tmp.result_1 = Unit_instance;
|
|
1269
|
+
tmp.exception_1 = null;
|
|
1270
|
+
return tmp.doResume_5yljmg_k$();
|
|
1271
|
+
};
|
|
1272
|
+
protoOf(IssueApi).createMultipleIssues_kxcdu8_k$ = function (bulkCreateIssuesCommand, $completion) {
|
|
1273
|
+
return createMultipleIssuesOperation_0(this, bulkCreateIssuesCommand, $completion);
|
|
1274
|
+
};
|
|
1275
|
+
protoOf(IssueApi).createMultipleIssues = function (bulkCreateIssuesCommand) {
|
|
1276
|
+
var tmp = this;
|
|
1277
|
+
return promisify(function ($completion) {
|
|
1278
|
+
return tmp.createMultipleIssues_kxcdu8_k$(bulkCreateIssuesCommand, $completion);
|
|
1279
|
+
});
|
|
1280
|
+
};
|
|
1281
|
+
protoOf(IssueApi).createMultipleIssues$suspendBridge_wtaoen_k$ = function (bulkCreateIssuesCommand, $completion) {
|
|
1282
|
+
var tmp = new $createMultipleIssues$suspendBridgeCOROUTINE$(this, bulkCreateIssuesCommand, $completion);
|
|
1283
|
+
tmp.result_1 = Unit_instance;
|
|
1284
|
+
tmp.exception_1 = null;
|
|
1285
|
+
return tmp.doResume_5yljmg_k$();
|
|
1286
|
+
};
|
|
1287
|
+
protoOf(IssueApi).deleteIssue_a8ms8a_k$ = function (companyId, issueId, $completion) {
|
|
1288
|
+
return deleteIssueOperation_0(this, companyId, issueId, $completion);
|
|
1289
|
+
};
|
|
1290
|
+
protoOf(IssueApi).deleteIssue = function (companyId, issueId) {
|
|
1291
|
+
var tmp = this;
|
|
1292
|
+
return promisify(function ($completion) {
|
|
1293
|
+
return tmp.deleteIssue_a8ms8a_k$(companyId, issueId, $completion);
|
|
1294
|
+
});
|
|
1295
|
+
};
|
|
1296
|
+
protoOf(IssueApi).deleteIssue$suspendBridge_yx5oid_k$ = function (companyId, issueId, $completion) {
|
|
1297
|
+
var tmp = new $deleteIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
1298
|
+
tmp.result_1 = Unit_instance;
|
|
1299
|
+
tmp.exception_1 = null;
|
|
1300
|
+
return tmp.doResume_5yljmg_k$();
|
|
1301
|
+
};
|
|
1302
|
+
protoOf(IssueApi).deleteIssueConversation_2u1oxd_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
1303
|
+
return deleteIssueConversationOperation_0(this, companyId, issueId, conversationId, $completion);
|
|
1304
|
+
};
|
|
1305
|
+
protoOf(IssueApi).deleteIssueConversation = function (companyId, issueId, conversationId) {
|
|
1306
|
+
var tmp = this;
|
|
1307
|
+
return promisify(function ($completion) {
|
|
1308
|
+
return tmp.deleteIssueConversation_2u1oxd_k$(companyId, issueId, conversationId, $completion);
|
|
1309
|
+
});
|
|
1310
|
+
};
|
|
1311
|
+
protoOf(IssueApi).deleteIssueConversation$suspendBridge_wllgtq_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
1312
|
+
var tmp = new $deleteIssueConversation$suspendBridgeCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
1313
|
+
tmp.result_1 = Unit_instance;
|
|
1314
|
+
tmp.exception_1 = null;
|
|
1315
|
+
return tmp.doResume_5yljmg_k$();
|
|
1316
|
+
};
|
|
1317
|
+
protoOf(IssueApi).deleteIssueSection_urkmkp_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
1318
|
+
return deleteIssueSectionOperation_0(this, companyId, issueId, sectionId, $completion);
|
|
1319
|
+
};
|
|
1320
|
+
protoOf(IssueApi).deleteIssueSection = function (companyId, issueId, sectionId) {
|
|
1321
|
+
var tmp = this;
|
|
1322
|
+
return promisify(function ($completion) {
|
|
1323
|
+
return tmp.deleteIssueSection_urkmkp_k$(companyId, issueId, sectionId, $completion);
|
|
1324
|
+
});
|
|
1325
|
+
};
|
|
1326
|
+
protoOf(IssueApi).deleteIssueSection$suspendBridge_j6u65k_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
1327
|
+
var tmp = new $deleteIssueSection$suspendBridgeCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
1328
|
+
tmp.result_1 = Unit_instance;
|
|
1329
|
+
tmp.exception_1 = null;
|
|
1330
|
+
return tmp.doResume_5yljmg_k$();
|
|
1331
|
+
};
|
|
1332
|
+
protoOf(IssueApi).indexIssue_k8v5tp_k$ = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
1333
|
+
return indexIssueOperation_0(this, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1334
|
+
};
|
|
1335
|
+
protoOf(IssueApi).indexIssue$default_phnps0_k$ = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
1336
|
+
search = search === VOID ? null : search;
|
|
1337
|
+
status = status === VOID ? null : status;
|
|
1338
|
+
responsibleId = responsibleId === VOID ? null : responsibleId;
|
|
1339
|
+
createdAtFrom = createdAtFrom === VOID ? null : createdAtFrom;
|
|
1340
|
+
createdAtTo = createdAtTo === VOID ? null : createdAtTo;
|
|
1341
|
+
updatedSince = updatedSince === VOID ? null : updatedSince;
|
|
1342
|
+
fields = fields === VOID ? null : fields;
|
|
1343
|
+
pageToken = pageToken === VOID ? null : pageToken;
|
|
1344
|
+
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
1345
|
+
count = count === VOID ? null : count;
|
|
1346
|
+
return $super === VOID ? this.indexIssue_k8v5tp_k$(companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) : $super.indexIssue_k8v5tp_k$.call(this, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1347
|
+
};
|
|
1348
|
+
protoOf(IssueApi).indexIssue = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count) {
|
|
1349
|
+
var tmp = this;
|
|
1350
|
+
return promisify(function ($completion) {
|
|
1351
|
+
return tmp.indexIssue$default_phnps0_k$(companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1352
|
+
});
|
|
1353
|
+
};
|
|
1354
|
+
protoOf(IssueApi).indexIssue$suspendBridge_ryc8ke_k$ = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
1355
|
+
var tmp = new $indexIssue$suspendBridgeCOROUTINE$(this, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1356
|
+
tmp.result_1 = Unit_instance;
|
|
1357
|
+
tmp.exception_1 = null;
|
|
1358
|
+
return tmp.doResume_5yljmg_k$();
|
|
1359
|
+
};
|
|
1360
|
+
protoOf(IssueApi).indexIssueUser_38fe03_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
1361
|
+
return indexIssueUserOperation_0(this, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1362
|
+
};
|
|
1363
|
+
protoOf(IssueApi).indexIssueUser$default_3neqsr_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
1364
|
+
search = search === VOID ? null : search;
|
|
1365
|
+
companyIds = companyIds === VOID ? null : companyIds;
|
|
1366
|
+
status = status === VOID ? null : status;
|
|
1367
|
+
responsibleId = responsibleId === VOID ? null : responsibleId;
|
|
1368
|
+
createdAtFrom = createdAtFrom === VOID ? null : createdAtFrom;
|
|
1369
|
+
createdAtTo = createdAtTo === VOID ? null : createdAtTo;
|
|
1370
|
+
updatedSince = updatedSince === VOID ? null : updatedSince;
|
|
1371
|
+
fields = fields === VOID ? null : fields;
|
|
1372
|
+
pageToken = pageToken === VOID ? null : pageToken;
|
|
1373
|
+
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
1374
|
+
count = count === VOID ? null : count;
|
|
1375
|
+
return $super === VOID ? this.indexIssueUser_38fe03_k$(search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) : $super.indexIssueUser_38fe03_k$.call(this, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1376
|
+
};
|
|
1377
|
+
protoOf(IssueApi).indexIssueUser = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count) {
|
|
1378
|
+
var tmp = this;
|
|
1379
|
+
return promisify(function ($completion) {
|
|
1380
|
+
return tmp.indexIssueUser$default_3neqsr_k$(search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1381
|
+
});
|
|
1382
|
+
};
|
|
1383
|
+
protoOf(IssueApi).indexIssueUser$suspendBridge_uo77us_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
1384
|
+
var tmp = new $indexIssueUser$suspendBridgeCOROUTINE$(this, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
1385
|
+
tmp.result_1 = Unit_instance;
|
|
1386
|
+
tmp.exception_1 = null;
|
|
1387
|
+
return tmp.doResume_5yljmg_k$();
|
|
1388
|
+
};
|
|
1389
|
+
protoOf(IssueApi).reOpenIssue_jyiwjk_k$ = function (companyId, issueId, $completion) {
|
|
1390
|
+
return reOpenIssueOperation_0(this, companyId, issueId, $completion);
|
|
1391
|
+
};
|
|
1392
|
+
protoOf(IssueApi).reOpenIssue = function (companyId, issueId) {
|
|
1393
|
+
var tmp = this;
|
|
1394
|
+
return promisify(function ($completion) {
|
|
1395
|
+
return tmp.reOpenIssue_jyiwjk_k$(companyId, issueId, $completion);
|
|
1396
|
+
});
|
|
1397
|
+
};
|
|
1398
|
+
protoOf(IssueApi).reOpenIssue$suspendBridge_5eq8qn_k$ = function (companyId, issueId, $completion) {
|
|
1399
|
+
var tmp = new $reOpenIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
1400
|
+
tmp.result_1 = Unit_instance;
|
|
1401
|
+
tmp.exception_1 = null;
|
|
1402
|
+
return tmp.doResume_5yljmg_k$();
|
|
1403
|
+
};
|
|
1404
|
+
protoOf(IssueApi).showIssue_39aopz_k$ = function (companyId, issueId, fields, $completion) {
|
|
1405
|
+
return showIssueOperation_0(this, companyId, issueId, fields, $completion);
|
|
1406
|
+
};
|
|
1407
|
+
protoOf(IssueApi).showIssue$default_vxvv5l_k$ = function (companyId, issueId, fields, $completion, $super) {
|
|
1408
|
+
fields = fields === VOID ? null : fields;
|
|
1409
|
+
return $super === VOID ? this.showIssue_39aopz_k$(companyId, issueId, fields, $completion) : $super.showIssue_39aopz_k$.call(this, companyId, issueId, fields, $completion);
|
|
1410
|
+
};
|
|
1411
|
+
protoOf(IssueApi).showIssue = function (companyId, issueId, fields) {
|
|
1412
|
+
var tmp = this;
|
|
1413
|
+
return promisify(function ($completion) {
|
|
1414
|
+
return tmp.showIssue$default_vxvv5l_k$(companyId, issueId, fields, $completion);
|
|
1415
|
+
});
|
|
1416
|
+
};
|
|
1417
|
+
protoOf(IssueApi).showIssue$suspendBridge_ifbo9y_k$ = function (companyId, issueId, fields, $completion) {
|
|
1418
|
+
var tmp = new $showIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, fields, $completion);
|
|
1419
|
+
tmp.result_1 = Unit_instance;
|
|
1420
|
+
tmp.exception_1 = null;
|
|
1421
|
+
return tmp.doResume_5yljmg_k$();
|
|
1422
|
+
};
|
|
1423
|
+
protoOf(IssueApi).updateIssue_99lneu_k$ = function (companyId, issueId, updateIssueCommand, $completion) {
|
|
1424
|
+
return updateIssueOperation_0(this, companyId, issueId, updateIssueCommand, $completion);
|
|
1425
|
+
};
|
|
1426
|
+
protoOf(IssueApi).updateIssue = function (companyId, issueId, updateIssueCommand) {
|
|
1427
|
+
var tmp = this;
|
|
1428
|
+
return promisify(function ($completion) {
|
|
1429
|
+
return tmp.updateIssue_99lneu_k$(companyId, issueId, updateIssueCommand, $completion);
|
|
1430
|
+
});
|
|
1431
|
+
};
|
|
1432
|
+
protoOf(IssueApi).updateIssue$suspendBridge_avasn_k$ = function (companyId, issueId, updateIssueCommand, $completion) {
|
|
1433
|
+
var tmp = new $updateIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, updateIssueCommand, $completion);
|
|
1434
|
+
tmp.result_1 = Unit_instance;
|
|
1435
|
+
tmp.exception_1 = null;
|
|
1436
|
+
return tmp.doResume_5yljmg_k$();
|
|
1437
|
+
};
|
|
1438
|
+
protoOf(IssueApi).updateIssueComment_aqs53y_k$ = function (companyId, issueId, commentId, updateIssueCommentCommand, $completion) {
|
|
1439
|
+
return updateIssueCommentOperation_0(this, companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
1440
|
+
};
|
|
1441
|
+
protoOf(IssueApi).updateIssueComment = function (companyId, issueId, commentId, updateIssueCommentCommand) {
|
|
1442
|
+
var tmp = this;
|
|
1443
|
+
return promisify(function ($completion) {
|
|
1444
|
+
return tmp.updateIssueComment_aqs53y_k$(companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
1445
|
+
});
|
|
1446
|
+
};
|
|
1447
|
+
protoOf(IssueApi).updateIssueComment$suspendBridge_2g0pkv_k$ = function (companyId, issueId, commentId, updateIssueCommentCommand, $completion) {
|
|
1448
|
+
var tmp = new $updateIssueComment$suspendBridgeCOROUTINE$(this, companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
1449
|
+
tmp.result_1 = Unit_instance;
|
|
1450
|
+
tmp.exception_1 = null;
|
|
1451
|
+
return tmp.doResume_5yljmg_k$();
|
|
1452
|
+
};
|
|
1453
|
+
protoOf(IssueApi).updateIssueConclusion_kzvp9e_k$ = function (companyId, issueId, updateResolutionCommand, $completion) {
|
|
1454
|
+
return updateIssueConclusionOperation_0(this, companyId, issueId, updateResolutionCommand, $completion);
|
|
1455
|
+
};
|
|
1456
|
+
protoOf(IssueApi).updateIssueConclusion = function (companyId, issueId, updateResolutionCommand) {
|
|
1457
|
+
var tmp = this;
|
|
1458
|
+
return promisify(function ($completion) {
|
|
1459
|
+
return tmp.updateIssueConclusion_kzvp9e_k$(companyId, issueId, updateResolutionCommand, $completion);
|
|
1460
|
+
});
|
|
1461
|
+
};
|
|
1462
|
+
protoOf(IssueApi).updateIssueConclusion$suspendBridge_bb0fq5_k$ = function (companyId, issueId, updateResolutionCommand, $completion) {
|
|
1463
|
+
var tmp = new $updateIssueConclusion$suspendBridgeCOROUTINE$(this, companyId, issueId, updateResolutionCommand, $completion);
|
|
1464
|
+
tmp.result_1 = Unit_instance;
|
|
1465
|
+
tmp.exception_1 = null;
|
|
1466
|
+
return tmp.doResume_5yljmg_k$();
|
|
1467
|
+
};
|
|
1468
|
+
protoOf(IssueApi).updateIssueReport_1sa4jl_k$ = function (companyId, issueId, updateReportCommand, $completion) {
|
|
1469
|
+
return updateIssueReportOperation_0(this, companyId, issueId, updateReportCommand, $completion);
|
|
1470
|
+
};
|
|
1471
|
+
protoOf(IssueApi).updateIssueReport = function (companyId, issueId, updateReportCommand) {
|
|
1472
|
+
var tmp = this;
|
|
1473
|
+
return promisify(function ($completion) {
|
|
1474
|
+
return tmp.updateIssueReport_1sa4jl_k$(companyId, issueId, updateReportCommand, $completion);
|
|
1475
|
+
});
|
|
1476
|
+
};
|
|
1477
|
+
protoOf(IssueApi).updateIssueReport$suspendBridge_rtkkqo_k$ = function (companyId, issueId, updateReportCommand, $completion) {
|
|
1478
|
+
var tmp = new $updateIssueReport$suspendBridgeCOROUTINE$(this, companyId, issueId, updateReportCommand, $completion);
|
|
1479
|
+
tmp.result_1 = Unit_instance;
|
|
1480
|
+
tmp.exception_1 = null;
|
|
1481
|
+
return tmp.doResume_5yljmg_k$();
|
|
1482
|
+
};
|
|
1483
|
+
protoOf(IssueApi).updateIssueResponsible_dxfzoa_k$ = function (companyId, issueId, changeResponsibleCommand, $completion) {
|
|
1484
|
+
return updateIssueResponsibleOperation_0(this, companyId, issueId, changeResponsibleCommand, $completion);
|
|
1485
|
+
};
|
|
1486
|
+
protoOf(IssueApi).updateIssueResponsible = function (companyId, issueId, changeResponsibleCommand) {
|
|
1487
|
+
var tmp = this;
|
|
1488
|
+
return promisify(function ($completion) {
|
|
1489
|
+
return tmp.updateIssueResponsible_dxfzoa_k$(companyId, issueId, changeResponsibleCommand, $completion);
|
|
1490
|
+
});
|
|
1491
|
+
};
|
|
1492
|
+
protoOf(IssueApi).updateIssueResponsible$suspendBridge_leedq1_k$ = function (companyId, issueId, changeResponsibleCommand, $completion) {
|
|
1493
|
+
var tmp = new $updateIssueResponsible$suspendBridgeCOROUTINE$(this, companyId, issueId, changeResponsibleCommand, $completion);
|
|
1494
|
+
tmp.result_1 = Unit_instance;
|
|
1495
|
+
tmp.exception_1 = null;
|
|
1496
|
+
return tmp.doResume_5yljmg_k$();
|
|
1497
|
+
};
|
|
1498
|
+
function IssueApi() {
|
|
1499
|
+
}
|
|
1500
|
+
function closeIssueOperation(client, companyId, issueId) {
|
|
1501
|
+
return promisify(function ($completion) {
|
|
1502
|
+
return closeIssueOperation_0(client, companyId, issueId, $completion);
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
function closeIssueOperation_0(client, companyId, issueId, $completion) {
|
|
1506
|
+
var tmp = new $closeIssueOperationCOROUTINE$(client, companyId, issueId, $completion);
|
|
1507
|
+
tmp.result_1 = Unit_instance;
|
|
1508
|
+
tmp.exception_1 = null;
|
|
1509
|
+
return tmp.doResume_5yljmg_k$();
|
|
1510
|
+
}
|
|
1511
|
+
function $closeIssueOperationCOROUTINE$(client, companyId, issueId, resultContinuation) {
|
|
1512
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1513
|
+
this.client_1 = client;
|
|
1514
|
+
this.companyId_1 = companyId;
|
|
1515
|
+
this.issueId_1 = issueId;
|
|
1516
|
+
}
|
|
1517
|
+
protoOf($closeIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1518
|
+
var suspendResult = this.result_1;
|
|
1519
|
+
$sm: do
|
|
1520
|
+
try {
|
|
1521
|
+
var tmp = this.state_1;
|
|
1522
|
+
switch (tmp) {
|
|
1523
|
+
case 0:
|
|
1524
|
+
this.exceptionState_1 = 2;
|
|
1525
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1526
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1527
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1528
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1529
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1530
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/close', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
1531
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1532
|
+
this.state_1 = 1;
|
|
1533
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1534
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1535
|
+
return suspendResult;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
continue $sm;
|
|
1539
|
+
case 1:
|
|
1540
|
+
var this_0 = suspendResult;
|
|
1541
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
1542
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
1543
|
+
var tmp_2;
|
|
1544
|
+
try {
|
|
1545
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1546
|
+
} catch ($p) {
|
|
1547
|
+
var tmp_3;
|
|
1548
|
+
if ($p instanceof Error) {
|
|
1549
|
+
var _unused_var__etf5q3 = $p;
|
|
1550
|
+
tmp_3 = null;
|
|
1551
|
+
} else {
|
|
1552
|
+
throw $p;
|
|
1553
|
+
}
|
|
1554
|
+
tmp_2 = tmp_3;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1558
|
+
case 2:
|
|
1559
|
+
throw this.exception_1;
|
|
1560
|
+
}
|
|
1561
|
+
} catch ($p_0) {
|
|
1562
|
+
var e = $p_0;
|
|
1563
|
+
if (this.exceptionState_1 === 2) {
|
|
1564
|
+
throw e;
|
|
1565
|
+
} else {
|
|
1566
|
+
this.state_1 = this.exceptionState_1;
|
|
1567
|
+
this.exception_1 = e;
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
while (true);
|
|
1571
|
+
};
|
|
1572
|
+
function createIssueCommentOperation(client, companyId, issueId, createIssueCommentCommand) {
|
|
1573
|
+
return promisify(function ($completion) {
|
|
1574
|
+
return createIssueCommentOperation_0(client, companyId, issueId, createIssueCommentCommand, $completion);
|
|
1575
|
+
});
|
|
1576
|
+
}
|
|
1577
|
+
function createIssueCommentOperation_0(client, companyId, issueId, createIssueCommentCommand, $completion) {
|
|
1578
|
+
var tmp = new $createIssueCommentOperationCOROUTINE$(client, companyId, issueId, createIssueCommentCommand, $completion);
|
|
1579
|
+
tmp.result_1 = Unit_instance;
|
|
1580
|
+
tmp.exception_1 = null;
|
|
1581
|
+
return tmp.doResume_5yljmg_k$();
|
|
1582
|
+
}
|
|
1583
|
+
function $createIssueCommentOperationCOROUTINE$(client, companyId, issueId, createIssueCommentCommand, resultContinuation) {
|
|
1584
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1585
|
+
this.client_1 = client;
|
|
1586
|
+
this.companyId_1 = companyId;
|
|
1587
|
+
this.issueId_1 = issueId;
|
|
1588
|
+
this.createIssueCommentCommand_1 = createIssueCommentCommand;
|
|
1589
|
+
}
|
|
1590
|
+
protoOf($createIssueCommentOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1591
|
+
var suspendResult = this.result_1;
|
|
1592
|
+
$sm: do
|
|
1593
|
+
try {
|
|
1594
|
+
var tmp = this.state_1;
|
|
1595
|
+
switch (tmp) {
|
|
1596
|
+
case 0:
|
|
1597
|
+
this.exceptionState_1 = 2;
|
|
1598
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1599
|
+
var localVariableBody = this.createIssueCommentCommand_1;
|
|
1600
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1601
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1602
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1603
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/comments', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
1604
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1605
|
+
this.state_1 = 1;
|
|
1606
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1607
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1608
|
+
return suspendResult;
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
continue $sm;
|
|
1612
|
+
case 1:
|
|
1613
|
+
var this_0 = suspendResult;
|
|
1614
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
1615
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
1616
|
+
var tmp_2;
|
|
1617
|
+
try {
|
|
1618
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1619
|
+
} catch ($p) {
|
|
1620
|
+
var tmp_3;
|
|
1621
|
+
if ($p instanceof Error) {
|
|
1622
|
+
var _unused_var__etf5q3 = $p;
|
|
1623
|
+
tmp_3 = null;
|
|
1624
|
+
} else {
|
|
1625
|
+
throw $p;
|
|
1626
|
+
}
|
|
1627
|
+
tmp_2 = tmp_3;
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1631
|
+
case 2:
|
|
1632
|
+
throw this.exception_1;
|
|
1633
|
+
}
|
|
1634
|
+
} catch ($p_0) {
|
|
1635
|
+
var e = $p_0;
|
|
1636
|
+
if (this.exceptionState_1 === 2) {
|
|
1637
|
+
throw e;
|
|
1638
|
+
} else {
|
|
1639
|
+
this.state_1 = this.exceptionState_1;
|
|
1640
|
+
this.exception_1 = e;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
while (true);
|
|
1644
|
+
};
|
|
1645
|
+
function createIssueConversationOperation(client, companyId, issueId, conversationId) {
|
|
1646
|
+
return promisify(function ($completion) {
|
|
1647
|
+
return createIssueConversationOperation_0(client, companyId, issueId, conversationId, $completion);
|
|
1648
|
+
});
|
|
1649
|
+
}
|
|
1650
|
+
function createIssueConversationOperation_0(client, companyId, issueId, conversationId, $completion) {
|
|
1651
|
+
var tmp = new $createIssueConversationOperationCOROUTINE$(client, companyId, issueId, conversationId, $completion);
|
|
1652
|
+
tmp.result_1 = Unit_instance;
|
|
1653
|
+
tmp.exception_1 = null;
|
|
1654
|
+
return tmp.doResume_5yljmg_k$();
|
|
1655
|
+
}
|
|
1656
|
+
function $createIssueConversationOperationCOROUTINE$(client, companyId, issueId, conversationId, resultContinuation) {
|
|
1657
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1658
|
+
this.client_1 = client;
|
|
1659
|
+
this.companyId_1 = companyId;
|
|
1660
|
+
this.issueId_1 = issueId;
|
|
1661
|
+
this.conversationId_1 = conversationId;
|
|
1662
|
+
}
|
|
1663
|
+
protoOf($createIssueConversationOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1664
|
+
var suspendResult = this.result_1;
|
|
1665
|
+
$sm: do
|
|
1666
|
+
try {
|
|
1667
|
+
var tmp = this.state_1;
|
|
1668
|
+
switch (tmp) {
|
|
1669
|
+
case 0:
|
|
1670
|
+
this.exceptionState_1 = 2;
|
|
1671
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1672
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1673
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1674
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1675
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1676
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/conversations/{conversationId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{conversationId}', this.conversationId_1.toString());
|
|
1677
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1678
|
+
this.state_1 = 1;
|
|
1679
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1680
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1681
|
+
return suspendResult;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
continue $sm;
|
|
1685
|
+
case 1:
|
|
1686
|
+
var this_0 = suspendResult;
|
|
1687
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
1688
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
1689
|
+
var tmp_2;
|
|
1690
|
+
try {
|
|
1691
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1692
|
+
} catch ($p) {
|
|
1693
|
+
var tmp_3;
|
|
1694
|
+
if ($p instanceof Error) {
|
|
1695
|
+
var _unused_var__etf5q3 = $p;
|
|
1696
|
+
tmp_3 = null;
|
|
1697
|
+
} else {
|
|
1698
|
+
throw $p;
|
|
1699
|
+
}
|
|
1700
|
+
tmp_2 = tmp_3;
|
|
1701
|
+
}
|
|
1702
|
+
|
|
1703
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1704
|
+
case 2:
|
|
1705
|
+
throw this.exception_1;
|
|
1706
|
+
}
|
|
1707
|
+
} catch ($p_0) {
|
|
1708
|
+
var e = $p_0;
|
|
1709
|
+
if (this.exceptionState_1 === 2) {
|
|
1710
|
+
throw e;
|
|
1711
|
+
} else {
|
|
1712
|
+
this.state_1 = this.exceptionState_1;
|
|
1713
|
+
this.exception_1 = e;
|
|
1714
|
+
}
|
|
2138
1715
|
}
|
|
2139
1716
|
while (true);
|
|
2140
1717
|
};
|
|
2141
|
-
function
|
|
1718
|
+
function createIssueOperation(client, companyId, createIssueCommand) {
|
|
1719
|
+
return promisify(function ($completion) {
|
|
1720
|
+
return createIssueOperation_0(client, companyId, createIssueCommand, $completion);
|
|
1721
|
+
});
|
|
1722
|
+
}
|
|
1723
|
+
function createIssueOperation_0(client, companyId, createIssueCommand, $completion) {
|
|
1724
|
+
var tmp = new $createIssueOperationCOROUTINE$(client, companyId, createIssueCommand, $completion);
|
|
1725
|
+
tmp.result_1 = Unit_instance;
|
|
1726
|
+
tmp.exception_1 = null;
|
|
1727
|
+
return tmp.doResume_5yljmg_k$();
|
|
1728
|
+
}
|
|
1729
|
+
function $createIssueOperationCOROUTINE$(client, companyId, createIssueCommand, resultContinuation) {
|
|
2142
1730
|
CoroutineImpl.call(this, resultContinuation);
|
|
2143
|
-
this.
|
|
1731
|
+
this.client_1 = client;
|
|
2144
1732
|
this.companyId_1 = companyId;
|
|
2145
|
-
this.
|
|
2146
|
-
this.updateResolutionCommand_1 = updateResolutionCommand;
|
|
1733
|
+
this.createIssueCommand_1 = createIssueCommand;
|
|
2147
1734
|
}
|
|
2148
|
-
protoOf($
|
|
1735
|
+
protoOf($createIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2149
1736
|
var suspendResult = this.result_1;
|
|
2150
1737
|
$sm: do
|
|
2151
1738
|
try {
|
|
@@ -2154,14 +1741,14 @@ protoOf($updateIssueConclusionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2154
1741
|
case 0:
|
|
2155
1742
|
this.exceptionState_1 = 2;
|
|
2156
1743
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2157
|
-
var localVariableBody = this.
|
|
1744
|
+
var localVariableBody = this.createIssueCommand_1;
|
|
2158
1745
|
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2159
1746
|
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2160
|
-
var tmp0_method =
|
|
2161
|
-
var tmp1_path = replace(
|
|
1747
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1748
|
+
var tmp1_path = replace('/companies/{companyId}/issues', '{companyId}', this.companyId_1.toString());
|
|
2162
1749
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2163
1750
|
this.state_1 = 1;
|
|
2164
|
-
suspendResult = this.
|
|
1751
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2165
1752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2166
1753
|
return suspendResult;
|
|
2167
1754
|
}
|
|
@@ -2200,53 +1787,71 @@ protoOf($updateIssueConclusionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2200
1787
|
}
|
|
2201
1788
|
while (true);
|
|
2202
1789
|
};
|
|
2203
|
-
function
|
|
1790
|
+
function createIssueSectionOperation(client, companyId, issueId, sectionId) {
|
|
1791
|
+
return promisify(function ($completion) {
|
|
1792
|
+
return createIssueSectionOperation_0(client, companyId, issueId, sectionId, $completion);
|
|
1793
|
+
});
|
|
1794
|
+
}
|
|
1795
|
+
function createIssueSectionOperation_0(client, companyId, issueId, sectionId, $completion) {
|
|
1796
|
+
var tmp = new $createIssueSectionOperationCOROUTINE$(client, companyId, issueId, sectionId, $completion);
|
|
1797
|
+
tmp.result_1 = Unit_instance;
|
|
1798
|
+
tmp.exception_1 = null;
|
|
1799
|
+
return tmp.doResume_5yljmg_k$();
|
|
1800
|
+
}
|
|
1801
|
+
function $createIssueSectionOperationCOROUTINE$(client, companyId, issueId, sectionId, resultContinuation) {
|
|
2204
1802
|
CoroutineImpl.call(this, resultContinuation);
|
|
2205
|
-
this.
|
|
1803
|
+
this.client_1 = client;
|
|
2206
1804
|
this.companyId_1 = companyId;
|
|
2207
1805
|
this.issueId_1 = issueId;
|
|
2208
|
-
this.
|
|
1806
|
+
this.sectionId_1 = sectionId;
|
|
2209
1807
|
}
|
|
2210
|
-
protoOf($
|
|
1808
|
+
protoOf($createIssueSectionOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2211
1809
|
var suspendResult = this.result_1;
|
|
2212
1810
|
$sm: do
|
|
2213
1811
|
try {
|
|
2214
1812
|
var tmp = this.state_1;
|
|
2215
1813
|
switch (tmp) {
|
|
2216
1814
|
case 0:
|
|
2217
|
-
this.exceptionState_1 =
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
return suspendResult;
|
|
2230
|
-
}
|
|
2231
|
-
continue $sm;
|
|
1815
|
+
this.exceptionState_1 = 2;
|
|
1816
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1817
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1818
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1819
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1820
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1821
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/sections/{sectionId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{sectionId}', this.sectionId_1.toString());
|
|
1822
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1823
|
+
this.state_1 = 1;
|
|
1824
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1825
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1826
|
+
return suspendResult;
|
|
2232
1827
|
}
|
|
2233
1828
|
|
|
2234
|
-
case 1:
|
|
2235
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2236
|
-
this.state_1 = 3;
|
|
2237
1829
|
continue $sm;
|
|
1830
|
+
case 1:
|
|
1831
|
+
var this_0 = suspendResult;
|
|
1832
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
1833
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
1834
|
+
var tmp_2;
|
|
1835
|
+
try {
|
|
1836
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
1837
|
+
} catch ($p) {
|
|
1838
|
+
var tmp_3;
|
|
1839
|
+
if ($p instanceof Error) {
|
|
1840
|
+
var _unused_var__etf5q3 = $p;
|
|
1841
|
+
tmp_3 = null;
|
|
1842
|
+
} else {
|
|
1843
|
+
throw $p;
|
|
1844
|
+
}
|
|
1845
|
+
tmp_2 = tmp_3;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2238
1849
|
case 2:
|
|
2239
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2240
|
-
this.state_1 = 3;
|
|
2241
|
-
continue $sm;
|
|
2242
|
-
case 3:
|
|
2243
|
-
return this.WHEN_RESULT0__1;
|
|
2244
|
-
case 4:
|
|
2245
1850
|
throw this.exception_1;
|
|
2246
1851
|
}
|
|
2247
|
-
} catch ($
|
|
2248
|
-
var e = $
|
|
2249
|
-
if (this.exceptionState_1 ===
|
|
1852
|
+
} catch ($p_0) {
|
|
1853
|
+
var e = $p_0;
|
|
1854
|
+
if (this.exceptionState_1 === 2) {
|
|
2250
1855
|
throw e;
|
|
2251
1856
|
} else {
|
|
2252
1857
|
this.state_1 = this.exceptionState_1;
|
|
@@ -2255,14 +1860,23 @@ protoOf($updateIssueConclusion$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = fun
|
|
|
2255
1860
|
}
|
|
2256
1861
|
while (true);
|
|
2257
1862
|
};
|
|
2258
|
-
function
|
|
1863
|
+
function createMultipleIssuesOperation(client, bulkCreateIssuesCommand) {
|
|
1864
|
+
return promisify(function ($completion) {
|
|
1865
|
+
return createMultipleIssuesOperation_0(client, bulkCreateIssuesCommand, $completion);
|
|
1866
|
+
});
|
|
1867
|
+
}
|
|
1868
|
+
function createMultipleIssuesOperation_0(client, bulkCreateIssuesCommand, $completion) {
|
|
1869
|
+
var tmp = new $createMultipleIssuesOperationCOROUTINE$(client, bulkCreateIssuesCommand, $completion);
|
|
1870
|
+
tmp.result_1 = Unit_instance;
|
|
1871
|
+
tmp.exception_1 = null;
|
|
1872
|
+
return tmp.doResume_5yljmg_k$();
|
|
1873
|
+
}
|
|
1874
|
+
function $createMultipleIssuesOperationCOROUTINE$(client, bulkCreateIssuesCommand, resultContinuation) {
|
|
2259
1875
|
CoroutineImpl.call(this, resultContinuation);
|
|
2260
|
-
this.
|
|
2261
|
-
this.
|
|
2262
|
-
this.issueId_1 = issueId;
|
|
2263
|
-
this.updateReportCommand_1 = updateReportCommand;
|
|
1876
|
+
this.client_1 = client;
|
|
1877
|
+
this.bulkCreateIssuesCommand_1 = bulkCreateIssuesCommand;
|
|
2264
1878
|
}
|
|
2265
|
-
protoOf($
|
|
1879
|
+
protoOf($createMultipleIssuesOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2266
1880
|
var suspendResult = this.result_1;
|
|
2267
1881
|
$sm: do
|
|
2268
1882
|
try {
|
|
@@ -2271,14 +1885,13 @@ protoOf($updateIssueReportCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2271
1885
|
case 0:
|
|
2272
1886
|
this.exceptionState_1 = 2;
|
|
2273
1887
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2274
|
-
var localVariableBody = this.
|
|
1888
|
+
var localVariableBody = this.bulkCreateIssuesCommand_1;
|
|
2275
1889
|
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2276
1890
|
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2277
|
-
var tmp0_method =
|
|
2278
|
-
var
|
|
2279
|
-
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1891
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
1892
|
+
var localVariableConfig = new RequestConfig(tmp0_method, '/companies/issues/multiple', localVariableHeaders, VOID, localVariableQuery, true);
|
|
2280
1893
|
this.state_1 = 1;
|
|
2281
|
-
suspendResult = this.
|
|
1894
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2282
1895
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2283
1896
|
return suspendResult;
|
|
2284
1897
|
}
|
|
@@ -2286,11 +1899,11 @@ protoOf($updateIssueReportCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2286
1899
|
continue $sm;
|
|
2287
1900
|
case 1:
|
|
2288
1901
|
var this_0 = suspendResult;
|
|
2289
|
-
var tmp_0 = getKClass(
|
|
2290
|
-
var tmp_1 = null instanceof
|
|
1902
|
+
var tmp_0 = getKClass(BulkCreateIssuesResult);
|
|
1903
|
+
var tmp_1 = null instanceof BulkCreateIssuesResult;
|
|
2291
1904
|
var tmp_2;
|
|
2292
1905
|
try {
|
|
2293
|
-
tmp_2 = createKType(getKClass(
|
|
1906
|
+
tmp_2 = createKType(getKClass(BulkCreateIssuesResult), arrayOf([]), false);
|
|
2294
1907
|
} catch ($p) {
|
|
2295
1908
|
var tmp_3;
|
|
2296
1909
|
if ($p instanceof Error) {
|
|
@@ -2317,53 +1930,71 @@ protoOf($updateIssueReportCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2317
1930
|
}
|
|
2318
1931
|
while (true);
|
|
2319
1932
|
};
|
|
2320
|
-
function
|
|
1933
|
+
function deleteIssueConversationOperation(client, companyId, issueId, conversationId) {
|
|
1934
|
+
return promisify(function ($completion) {
|
|
1935
|
+
return deleteIssueConversationOperation_0(client, companyId, issueId, conversationId, $completion);
|
|
1936
|
+
});
|
|
1937
|
+
}
|
|
1938
|
+
function deleteIssueConversationOperation_0(client, companyId, issueId, conversationId, $completion) {
|
|
1939
|
+
var tmp = new $deleteIssueConversationOperationCOROUTINE$(client, companyId, issueId, conversationId, $completion);
|
|
1940
|
+
tmp.result_1 = Unit_instance;
|
|
1941
|
+
tmp.exception_1 = null;
|
|
1942
|
+
return tmp.doResume_5yljmg_k$();
|
|
1943
|
+
}
|
|
1944
|
+
function $deleteIssueConversationOperationCOROUTINE$(client, companyId, issueId, conversationId, resultContinuation) {
|
|
2321
1945
|
CoroutineImpl.call(this, resultContinuation);
|
|
2322
|
-
this.
|
|
1946
|
+
this.client_1 = client;
|
|
2323
1947
|
this.companyId_1 = companyId;
|
|
2324
1948
|
this.issueId_1 = issueId;
|
|
2325
|
-
this.
|
|
1949
|
+
this.conversationId_1 = conversationId;
|
|
2326
1950
|
}
|
|
2327
|
-
protoOf($
|
|
1951
|
+
protoOf($deleteIssueConversationOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2328
1952
|
var suspendResult = this.result_1;
|
|
2329
1953
|
$sm: do
|
|
2330
1954
|
try {
|
|
2331
1955
|
var tmp = this.state_1;
|
|
2332
1956
|
switch (tmp) {
|
|
2333
1957
|
case 0:
|
|
2334
|
-
this.exceptionState_1 =
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
return suspendResult;
|
|
2347
|
-
}
|
|
2348
|
-
continue $sm;
|
|
1958
|
+
this.exceptionState_1 = 2;
|
|
1959
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1960
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1961
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1962
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1963
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
1964
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/conversations/{conversationId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{conversationId}', this.conversationId_1.toString());
|
|
1965
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1966
|
+
this.state_1 = 1;
|
|
1967
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1968
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1969
|
+
return suspendResult;
|
|
2349
1970
|
}
|
|
2350
1971
|
|
|
2351
|
-
case 1:
|
|
2352
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2353
|
-
this.state_1 = 3;
|
|
2354
1972
|
continue $sm;
|
|
1973
|
+
case 1:
|
|
1974
|
+
var this_0 = suspendResult;
|
|
1975
|
+
var tmp_0 = getKClass(Unit);
|
|
1976
|
+
var tmp_1 = null instanceof Unit;
|
|
1977
|
+
var tmp_2;
|
|
1978
|
+
try {
|
|
1979
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1980
|
+
} catch ($p) {
|
|
1981
|
+
var tmp_3;
|
|
1982
|
+
if ($p instanceof Error) {
|
|
1983
|
+
var _unused_var__etf5q3 = $p;
|
|
1984
|
+
tmp_3 = null;
|
|
1985
|
+
} else {
|
|
1986
|
+
throw $p;
|
|
1987
|
+
}
|
|
1988
|
+
tmp_2 = tmp_3;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2355
1992
|
case 2:
|
|
2356
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2357
|
-
this.state_1 = 3;
|
|
2358
|
-
continue $sm;
|
|
2359
|
-
case 3:
|
|
2360
|
-
return this.WHEN_RESULT0__1;
|
|
2361
|
-
case 4:
|
|
2362
1993
|
throw this.exception_1;
|
|
2363
1994
|
}
|
|
2364
|
-
} catch ($
|
|
2365
|
-
var e = $
|
|
2366
|
-
if (this.exceptionState_1 ===
|
|
1995
|
+
} catch ($p_0) {
|
|
1996
|
+
var e = $p_0;
|
|
1997
|
+
if (this.exceptionState_1 === 2) {
|
|
2367
1998
|
throw e;
|
|
2368
1999
|
} else {
|
|
2369
2000
|
this.state_1 = this.exceptionState_1;
|
|
@@ -2372,14 +2003,24 @@ protoOf($updateIssueReport$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = functio
|
|
|
2372
2003
|
}
|
|
2373
2004
|
while (true);
|
|
2374
2005
|
};
|
|
2375
|
-
function
|
|
2006
|
+
function deleteIssueOperation(client, companyId, issueId) {
|
|
2007
|
+
return promisify(function ($completion) {
|
|
2008
|
+
return deleteIssueOperation_0(client, companyId, issueId, $completion);
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
function deleteIssueOperation_0(client, companyId, issueId, $completion) {
|
|
2012
|
+
var tmp = new $deleteIssueOperationCOROUTINE$(client, companyId, issueId, $completion);
|
|
2013
|
+
tmp.result_1 = Unit_instance;
|
|
2014
|
+
tmp.exception_1 = null;
|
|
2015
|
+
return tmp.doResume_5yljmg_k$();
|
|
2016
|
+
}
|
|
2017
|
+
function $deleteIssueOperationCOROUTINE$(client, companyId, issueId, resultContinuation) {
|
|
2376
2018
|
CoroutineImpl.call(this, resultContinuation);
|
|
2377
|
-
this.
|
|
2019
|
+
this.client_1 = client;
|
|
2378
2020
|
this.companyId_1 = companyId;
|
|
2379
2021
|
this.issueId_1 = issueId;
|
|
2380
|
-
this.changeResponsibleCommand_1 = changeResponsibleCommand;
|
|
2381
2022
|
}
|
|
2382
|
-
protoOf($
|
|
2023
|
+
protoOf($deleteIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2383
2024
|
var suspendResult = this.result_1;
|
|
2384
2025
|
$sm: do
|
|
2385
2026
|
try {
|
|
@@ -2388,14 +2029,14 @@ protoOf($updateIssueResponsibleCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2388
2029
|
case 0:
|
|
2389
2030
|
this.exceptionState_1 = 2;
|
|
2390
2031
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2391
|
-
var localVariableBody =
|
|
2032
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2392
2033
|
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2393
2034
|
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2394
|
-
var tmp0_method =
|
|
2395
|
-
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}
|
|
2035
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
2036
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2396
2037
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2397
2038
|
this.state_1 = 1;
|
|
2398
|
-
suspendResult = this.
|
|
2039
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2399
2040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2400
2041
|
return suspendResult;
|
|
2401
2042
|
}
|
|
@@ -2403,11 +2044,11 @@ protoOf($updateIssueResponsibleCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2403
2044
|
continue $sm;
|
|
2404
2045
|
case 1:
|
|
2405
2046
|
var this_0 = suspendResult;
|
|
2406
|
-
var tmp_0 = getKClass(
|
|
2407
|
-
var tmp_1 = null instanceof
|
|
2047
|
+
var tmp_0 = getKClass(Unit);
|
|
2048
|
+
var tmp_1 = null instanceof Unit;
|
|
2408
2049
|
var tmp_2;
|
|
2409
2050
|
try {
|
|
2410
|
-
tmp_2 = createKType(getKClass(
|
|
2051
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
2411
2052
|
} catch ($p) {
|
|
2412
2053
|
var tmp_3;
|
|
2413
2054
|
if ($p instanceof Error) {
|
|
@@ -2434,53 +2075,71 @@ protoOf($updateIssueResponsibleCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
2434
2075
|
}
|
|
2435
2076
|
while (true);
|
|
2436
2077
|
};
|
|
2437
|
-
function
|
|
2078
|
+
function deleteIssueSectionOperation(client, companyId, issueId, sectionId) {
|
|
2079
|
+
return promisify(function ($completion) {
|
|
2080
|
+
return deleteIssueSectionOperation_0(client, companyId, issueId, sectionId, $completion);
|
|
2081
|
+
});
|
|
2082
|
+
}
|
|
2083
|
+
function deleteIssueSectionOperation_0(client, companyId, issueId, sectionId, $completion) {
|
|
2084
|
+
var tmp = new $deleteIssueSectionOperationCOROUTINE$(client, companyId, issueId, sectionId, $completion);
|
|
2085
|
+
tmp.result_1 = Unit_instance;
|
|
2086
|
+
tmp.exception_1 = null;
|
|
2087
|
+
return tmp.doResume_5yljmg_k$();
|
|
2088
|
+
}
|
|
2089
|
+
function $deleteIssueSectionOperationCOROUTINE$(client, companyId, issueId, sectionId, resultContinuation) {
|
|
2438
2090
|
CoroutineImpl.call(this, resultContinuation);
|
|
2439
|
-
this.
|
|
2091
|
+
this.client_1 = client;
|
|
2440
2092
|
this.companyId_1 = companyId;
|
|
2441
2093
|
this.issueId_1 = issueId;
|
|
2442
|
-
this.
|
|
2094
|
+
this.sectionId_1 = sectionId;
|
|
2443
2095
|
}
|
|
2444
|
-
protoOf($
|
|
2096
|
+
protoOf($deleteIssueSectionOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2445
2097
|
var suspendResult = this.result_1;
|
|
2446
2098
|
$sm: do
|
|
2447
2099
|
try {
|
|
2448
2100
|
var tmp = this.state_1;
|
|
2449
2101
|
switch (tmp) {
|
|
2450
2102
|
case 0:
|
|
2451
|
-
this.exceptionState_1 =
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2103
|
+
this.exceptionState_1 = 2;
|
|
2104
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2105
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2106
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2107
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2108
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
2109
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/sections/{sectionId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{sectionId}', this.sectionId_1.toString());
|
|
2110
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2111
|
+
this.state_1 = 1;
|
|
2112
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2113
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2114
|
+
return suspendResult;
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
continue $sm;
|
|
2118
|
+
case 1:
|
|
2119
|
+
var this_0 = suspendResult;
|
|
2120
|
+
var tmp_0 = getKClass(Unit);
|
|
2121
|
+
var tmp_1 = null instanceof Unit;
|
|
2122
|
+
var tmp_2;
|
|
2123
|
+
try {
|
|
2124
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
2125
|
+
} catch ($p) {
|
|
2126
|
+
var tmp_3;
|
|
2127
|
+
if ($p instanceof Error) {
|
|
2128
|
+
var _unused_var__etf5q3 = $p;
|
|
2129
|
+
tmp_3 = null;
|
|
2130
|
+
} else {
|
|
2131
|
+
throw $p;
|
|
2464
2132
|
}
|
|
2465
|
-
|
|
2133
|
+
tmp_2 = tmp_3;
|
|
2466
2134
|
}
|
|
2467
2135
|
|
|
2468
|
-
|
|
2469
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2470
|
-
this.state_1 = 3;
|
|
2471
|
-
continue $sm;
|
|
2136
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2472
2137
|
case 2:
|
|
2473
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
2474
|
-
this.state_1 = 3;
|
|
2475
|
-
continue $sm;
|
|
2476
|
-
case 3:
|
|
2477
|
-
return this.WHEN_RESULT0__1;
|
|
2478
|
-
case 4:
|
|
2479
2138
|
throw this.exception_1;
|
|
2480
2139
|
}
|
|
2481
|
-
} catch ($
|
|
2482
|
-
var e = $
|
|
2483
|
-
if (this.exceptionState_1 ===
|
|
2140
|
+
} catch ($p_0) {
|
|
2141
|
+
var e = $p_0;
|
|
2142
|
+
if (this.exceptionState_1 === 2) {
|
|
2484
2143
|
throw e;
|
|
2485
2144
|
} else {
|
|
2486
2145
|
this.state_1 = this.exceptionState_1;
|
|
@@ -2489,175 +2148,12 @@ protoOf($updateIssueResponsible$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = fu
|
|
|
2489
2148
|
}
|
|
2490
2149
|
while (true);
|
|
2491
2150
|
};
|
|
2492
|
-
|
|
2493
|
-
var tmp = new $closeIssueCOROUTINE$(this, companyId, issueId, $completion);
|
|
2494
|
-
tmp.result_1 = Unit_instance;
|
|
2495
|
-
tmp.exception_1 = null;
|
|
2496
|
-
return tmp.doResume_5yljmg_k$();
|
|
2497
|
-
};
|
|
2498
|
-
protoOf(IssueApi).closeIssue = function (companyId, issueId) {
|
|
2499
|
-
var tmp = this;
|
|
2500
|
-
return promisify(function ($completion) {
|
|
2501
|
-
return tmp.closeIssue_rqzvuj_k$(companyId, issueId, $completion);
|
|
2502
|
-
});
|
|
2503
|
-
};
|
|
2504
|
-
protoOf(IssueApi).closeIssue$suspendBridge_vxae9y_k$ = function (companyId, issueId, $completion) {
|
|
2505
|
-
var tmp = new $closeIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
2506
|
-
tmp.result_1 = Unit_instance;
|
|
2507
|
-
tmp.exception_1 = null;
|
|
2508
|
-
return tmp.doResume_5yljmg_k$();
|
|
2509
|
-
};
|
|
2510
|
-
protoOf(IssueApi).createIssue_jks8z4_k$ = function (companyId, createIssueCommand, $completion) {
|
|
2511
|
-
var tmp = new $createIssueCOROUTINE$(this, companyId, createIssueCommand, $completion);
|
|
2512
|
-
tmp.result_1 = Unit_instance;
|
|
2513
|
-
tmp.exception_1 = null;
|
|
2514
|
-
return tmp.doResume_5yljmg_k$();
|
|
2515
|
-
};
|
|
2516
|
-
protoOf(IssueApi).createIssue = function (companyId, createIssueCommand) {
|
|
2517
|
-
var tmp = this;
|
|
2518
|
-
return promisify(function ($completion) {
|
|
2519
|
-
return tmp.createIssue_jks8z4_k$(companyId, createIssueCommand, $completion);
|
|
2520
|
-
});
|
|
2521
|
-
};
|
|
2522
|
-
protoOf(IssueApi).createIssue$suspendBridge_82o6hb_k$ = function (companyId, createIssueCommand, $completion) {
|
|
2523
|
-
var tmp = new $createIssue$suspendBridgeCOROUTINE$(this, companyId, createIssueCommand, $completion);
|
|
2524
|
-
tmp.result_1 = Unit_instance;
|
|
2525
|
-
tmp.exception_1 = null;
|
|
2526
|
-
return tmp.doResume_5yljmg_k$();
|
|
2527
|
-
};
|
|
2528
|
-
protoOf(IssueApi).createIssueComment_zf5eim_k$ = function (companyId, issueId, createIssueCommentCommand, $completion) {
|
|
2529
|
-
var tmp = new $createIssueCommentCOROUTINE$(this, companyId, issueId, createIssueCommentCommand, $completion);
|
|
2530
|
-
tmp.result_1 = Unit_instance;
|
|
2531
|
-
tmp.exception_1 = null;
|
|
2532
|
-
return tmp.doResume_5yljmg_k$();
|
|
2533
|
-
};
|
|
2534
|
-
protoOf(IssueApi).createIssueComment = function (companyId, issueId, createIssueCommentCommand) {
|
|
2535
|
-
var tmp = this;
|
|
2536
|
-
return promisify(function ($completion) {
|
|
2537
|
-
return tmp.createIssueComment_zf5eim_k$(companyId, issueId, createIssueCommentCommand, $completion);
|
|
2538
|
-
});
|
|
2539
|
-
};
|
|
2540
|
-
protoOf(IssueApi).createIssueComment$suspendBridge_pacn7_k$ = function (companyId, issueId, createIssueCommentCommand, $completion) {
|
|
2541
|
-
var tmp = new $createIssueComment$suspendBridgeCOROUTINE$(this, companyId, issueId, createIssueCommentCommand, $completion);
|
|
2542
|
-
tmp.result_1 = Unit_instance;
|
|
2543
|
-
tmp.exception_1 = null;
|
|
2544
|
-
return tmp.doResume_5yljmg_k$();
|
|
2545
|
-
};
|
|
2546
|
-
protoOf(IssueApi).createIssueConversation_nj8h08_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
2547
|
-
var tmp = new $createIssueConversationCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
2548
|
-
tmp.result_1 = Unit_instance;
|
|
2549
|
-
tmp.exception_1 = null;
|
|
2550
|
-
return tmp.doResume_5yljmg_k$();
|
|
2551
|
-
};
|
|
2552
|
-
protoOf(IssueApi).createIssueConversation = function (companyId, issueId, conversationId) {
|
|
2553
|
-
var tmp = this;
|
|
2554
|
-
return promisify(function ($completion) {
|
|
2555
|
-
return tmp.createIssueConversation_nj8h08_k$(companyId, issueId, conversationId, $completion);
|
|
2556
|
-
});
|
|
2557
|
-
};
|
|
2558
|
-
protoOf(IssueApi).createIssueConversation$suspendBridge_mwifk7_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
2559
|
-
var tmp = new $createIssueConversation$suspendBridgeCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
2560
|
-
tmp.result_1 = Unit_instance;
|
|
2561
|
-
tmp.exception_1 = null;
|
|
2562
|
-
return tmp.doResume_5yljmg_k$();
|
|
2563
|
-
};
|
|
2564
|
-
protoOf(IssueApi).createIssueSection_9wyz6o_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
2565
|
-
var tmp = new $createIssueSectionCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
2566
|
-
tmp.result_1 = Unit_instance;
|
|
2567
|
-
tmp.exception_1 = null;
|
|
2568
|
-
return tmp.doResume_5yljmg_k$();
|
|
2569
|
-
};
|
|
2570
|
-
protoOf(IssueApi).createIssueSection = function (companyId, issueId, sectionId) {
|
|
2571
|
-
var tmp = this;
|
|
2572
|
-
return promisify(function ($completion) {
|
|
2573
|
-
return tmp.createIssueSection_9wyz6o_k$(companyId, issueId, sectionId, $completion);
|
|
2574
|
-
});
|
|
2575
|
-
};
|
|
2576
|
-
protoOf(IssueApi).createIssueSection$suspendBridge_wkxp6n_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
2577
|
-
var tmp = new $createIssueSection$suspendBridgeCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
2578
|
-
tmp.result_1 = Unit_instance;
|
|
2579
|
-
tmp.exception_1 = null;
|
|
2580
|
-
return tmp.doResume_5yljmg_k$();
|
|
2581
|
-
};
|
|
2582
|
-
protoOf(IssueApi).createMultipleIssues_kxcdu8_k$ = function (bulkCreateIssuesCommand, $completion) {
|
|
2583
|
-
var tmp = new $createMultipleIssuesCOROUTINE$(this, bulkCreateIssuesCommand, $completion);
|
|
2584
|
-
tmp.result_1 = Unit_instance;
|
|
2585
|
-
tmp.exception_1 = null;
|
|
2586
|
-
return tmp.doResume_5yljmg_k$();
|
|
2587
|
-
};
|
|
2588
|
-
protoOf(IssueApi).createMultipleIssues = function (bulkCreateIssuesCommand) {
|
|
2589
|
-
var tmp = this;
|
|
2590
|
-
return promisify(function ($completion) {
|
|
2591
|
-
return tmp.createMultipleIssues_kxcdu8_k$(bulkCreateIssuesCommand, $completion);
|
|
2592
|
-
});
|
|
2593
|
-
};
|
|
2594
|
-
protoOf(IssueApi).createMultipleIssues$suspendBridge_wtaoen_k$ = function (bulkCreateIssuesCommand, $completion) {
|
|
2595
|
-
var tmp = new $createMultipleIssues$suspendBridgeCOROUTINE$(this, bulkCreateIssuesCommand, $completion);
|
|
2596
|
-
tmp.result_1 = Unit_instance;
|
|
2597
|
-
tmp.exception_1 = null;
|
|
2598
|
-
return tmp.doResume_5yljmg_k$();
|
|
2599
|
-
};
|
|
2600
|
-
protoOf(IssueApi).deleteIssue_a8ms8a_k$ = function (companyId, issueId, $completion) {
|
|
2601
|
-
var tmp = new $deleteIssueCOROUTINE$(this, companyId, issueId, $completion);
|
|
2602
|
-
tmp.result_1 = Unit_instance;
|
|
2603
|
-
tmp.exception_1 = null;
|
|
2604
|
-
return tmp.doResume_5yljmg_k$();
|
|
2605
|
-
};
|
|
2606
|
-
protoOf(IssueApi).deleteIssue = function (companyId, issueId) {
|
|
2607
|
-
var tmp = this;
|
|
2608
|
-
return promisify(function ($completion) {
|
|
2609
|
-
return tmp.deleteIssue_a8ms8a_k$(companyId, issueId, $completion);
|
|
2610
|
-
});
|
|
2611
|
-
};
|
|
2612
|
-
protoOf(IssueApi).deleteIssue$suspendBridge_yx5oid_k$ = function (companyId, issueId, $completion) {
|
|
2613
|
-
var tmp = new $deleteIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
2614
|
-
tmp.result_1 = Unit_instance;
|
|
2615
|
-
tmp.exception_1 = null;
|
|
2616
|
-
return tmp.doResume_5yljmg_k$();
|
|
2617
|
-
};
|
|
2618
|
-
protoOf(IssueApi).deleteIssueConversation_2u1oxd_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
2619
|
-
var tmp = new $deleteIssueConversationCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
2620
|
-
tmp.result_1 = Unit_instance;
|
|
2621
|
-
tmp.exception_1 = null;
|
|
2622
|
-
return tmp.doResume_5yljmg_k$();
|
|
2623
|
-
};
|
|
2624
|
-
protoOf(IssueApi).deleteIssueConversation = function (companyId, issueId, conversationId) {
|
|
2625
|
-
var tmp = this;
|
|
2626
|
-
return promisify(function ($completion) {
|
|
2627
|
-
return tmp.deleteIssueConversation_2u1oxd_k$(companyId, issueId, conversationId, $completion);
|
|
2628
|
-
});
|
|
2629
|
-
};
|
|
2630
|
-
protoOf(IssueApi).deleteIssueConversation$suspendBridge_wllgtq_k$ = function (companyId, issueId, conversationId, $completion) {
|
|
2631
|
-
var tmp = new $deleteIssueConversation$suspendBridgeCOROUTINE$(this, companyId, issueId, conversationId, $completion);
|
|
2632
|
-
tmp.result_1 = Unit_instance;
|
|
2633
|
-
tmp.exception_1 = null;
|
|
2634
|
-
return tmp.doResume_5yljmg_k$();
|
|
2635
|
-
};
|
|
2636
|
-
protoOf(IssueApi).deleteIssueSection_urkmkp_k$ = function (companyId, issueId, sectionId, $completion) {
|
|
2637
|
-
var tmp = new $deleteIssueSectionCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
2638
|
-
tmp.result_1 = Unit_instance;
|
|
2639
|
-
tmp.exception_1 = null;
|
|
2640
|
-
return tmp.doResume_5yljmg_k$();
|
|
2641
|
-
};
|
|
2642
|
-
protoOf(IssueApi).deleteIssueSection = function (companyId, issueId, sectionId) {
|
|
2643
|
-
var tmp = this;
|
|
2151
|
+
function indexIssueOperation(client, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count) {
|
|
2644
2152
|
return promisify(function ($completion) {
|
|
2645
|
-
return
|
|
2153
|
+
return indexIssueOperation_0(client, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2646
2154
|
});
|
|
2647
|
-
}
|
|
2648
|
-
|
|
2649
|
-
var tmp = new $deleteIssueSection$suspendBridgeCOROUTINE$(this, companyId, issueId, sectionId, $completion);
|
|
2650
|
-
tmp.result_1 = Unit_instance;
|
|
2651
|
-
tmp.exception_1 = null;
|
|
2652
|
-
return tmp.doResume_5yljmg_k$();
|
|
2653
|
-
};
|
|
2654
|
-
protoOf(IssueApi).indexIssue_k8v5tp_k$ = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
2655
|
-
var tmp = new $indexIssueCOROUTINE$(this, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2656
|
-
tmp.result_1 = Unit_instance;
|
|
2657
|
-
tmp.exception_1 = null;
|
|
2658
|
-
return tmp.doResume_5yljmg_k$();
|
|
2659
|
-
};
|
|
2660
|
-
protoOf(IssueApi).indexIssue$default_phnps0_k$ = function (companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
2155
|
+
}
|
|
2156
|
+
function indexIssueOperation_0(client, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
2661
2157
|
search = search === VOID ? null : search;
|
|
2662
2158
|
status = status === VOID ? null : status;
|
|
2663
2159
|
responsibleId = responsibleId === VOID ? null : responsibleId;
|
|
@@ -2668,27 +2164,164 @@ protoOf(IssueApi).indexIssue$default_phnps0_k$ = function (companyId, search, st
|
|
|
2668
2164
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
2669
2165
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
2670
2166
|
count = count === VOID ? null : count;
|
|
2671
|
-
|
|
2167
|
+
var tmp = new $indexIssueOperationCOROUTINE$(client, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2168
|
+
tmp.result_1 = Unit_instance;
|
|
2169
|
+
tmp.exception_1 = null;
|
|
2170
|
+
return tmp.doResume_5yljmg_k$();
|
|
2171
|
+
}
|
|
2172
|
+
function $indexIssueOperationCOROUTINE$(client, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
2173
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2174
|
+
this.client_1 = client;
|
|
2175
|
+
this.companyId_1 = companyId;
|
|
2176
|
+
this.search_1 = search;
|
|
2177
|
+
this.status_1 = status;
|
|
2178
|
+
this.responsibleId_1 = responsibleId;
|
|
2179
|
+
this.createdAtFrom_1 = createdAtFrom;
|
|
2180
|
+
this.createdAtTo_1 = createdAtTo;
|
|
2181
|
+
this.updatedSince_1 = updatedSince;
|
|
2182
|
+
this.fields_1 = fields;
|
|
2183
|
+
this.pageToken_1 = pageToken;
|
|
2184
|
+
this.autoPaginate_1 = autoPaginate;
|
|
2185
|
+
this.count_1 = count;
|
|
2186
|
+
}
|
|
2187
|
+
protoOf($indexIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2188
|
+
var suspendResult = this.result_1;
|
|
2189
|
+
$sm: do
|
|
2190
|
+
try {
|
|
2191
|
+
var tmp = this.state_1;
|
|
2192
|
+
switch (tmp) {
|
|
2193
|
+
case 0:
|
|
2194
|
+
this.exceptionState_1 = 2;
|
|
2195
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2196
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2197
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2198
|
+
if (this.search_1 == null)
|
|
2199
|
+
null;
|
|
2200
|
+
else {
|
|
2201
|
+
var value = listOf_0(this.search_1);
|
|
2202
|
+
localVariableQuery.put_4fpzoq_k$('search', value);
|
|
2203
|
+
}
|
|
2204
|
+
|
|
2205
|
+
var tmp1_safe_receiver = this.status_1;
|
|
2206
|
+
if (tmp1_safe_receiver == null)
|
|
2207
|
+
null;
|
|
2208
|
+
else {
|
|
2209
|
+
var value_0 = toMultiValue(tmp1_safe_receiver, 'multi');
|
|
2210
|
+
localVariableQuery.put_4fpzoq_k$('status', value_0);
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
if (this.responsibleId_1 == null)
|
|
2214
|
+
null;
|
|
2215
|
+
else {
|
|
2216
|
+
var tmp2 = 'responsibleId';
|
|
2217
|
+
var value_1 = listOf_0(this.responsibleId_1.toString());
|
|
2218
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value_1);
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
if (this.createdAtFrom_1 == null)
|
|
2222
|
+
null;
|
|
2223
|
+
else {
|
|
2224
|
+
var tmp2_0 = 'createdAtFrom';
|
|
2225
|
+
var value_2 = listOf_0(this.createdAtFrom_1.toString());
|
|
2226
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
if (this.createdAtTo_1 == null)
|
|
2230
|
+
null;
|
|
2231
|
+
else {
|
|
2232
|
+
var tmp2_1 = 'createdAtTo';
|
|
2233
|
+
var value_3 = listOf_0(this.createdAtTo_1.toString());
|
|
2234
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_3);
|
|
2235
|
+
}
|
|
2236
|
+
|
|
2237
|
+
if (this.updatedSince_1 == null)
|
|
2238
|
+
null;
|
|
2239
|
+
else {
|
|
2240
|
+
var tmp2_2 = 'updatedSince';
|
|
2241
|
+
var value_4 = listOf_0(this.updatedSince_1.toString());
|
|
2242
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_2, value_4);
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
if (this.fields_1 == null)
|
|
2246
|
+
null;
|
|
2247
|
+
else {
|
|
2248
|
+
var value_5 = listOf_0(this.fields_1);
|
|
2249
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_5);
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2252
|
+
if (this.pageToken_1 == null)
|
|
2253
|
+
null;
|
|
2254
|
+
else {
|
|
2255
|
+
var tmp2_3 = 'pageToken';
|
|
2256
|
+
var value_6 = listOf_0(this.pageToken_1);
|
|
2257
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_3, value_6);
|
|
2258
|
+
}
|
|
2259
|
+
|
|
2260
|
+
if (this.autoPaginate_1 == null)
|
|
2261
|
+
null;
|
|
2262
|
+
else {
|
|
2263
|
+
var tmp2_4 = 'autoPaginate';
|
|
2264
|
+
var value_7 = listOf_0('' + this.autoPaginate_1);
|
|
2265
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_4, value_7);
|
|
2266
|
+
}
|
|
2267
|
+
|
|
2268
|
+
if (this.count_1 == null)
|
|
2269
|
+
null;
|
|
2270
|
+
else {
|
|
2271
|
+
var value_8 = listOf_0('' + this.count_1);
|
|
2272
|
+
localVariableQuery.put_4fpzoq_k$('count', value_8);
|
|
2273
|
+
}
|
|
2274
|
+
|
|
2275
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2276
|
+
var tmp10_method = RequestMethod_GET_getInstance();
|
|
2277
|
+
var tmp11_path = replace('/companies/{companyId}/issues', '{companyId}', this.companyId_1.toString());
|
|
2278
|
+
var localVariableConfig = new RequestConfig(tmp10_method, tmp11_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2279
|
+
this.state_1 = 1;
|
|
2280
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2281
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2282
|
+
return suspendResult;
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
continue $sm;
|
|
2286
|
+
case 1:
|
|
2287
|
+
var this_0 = suspendResult;
|
|
2288
|
+
var tmp_0 = getKClass(PagedListIssue);
|
|
2289
|
+
var tmp_1 = null instanceof PagedListIssue;
|
|
2290
|
+
var tmp_2;
|
|
2291
|
+
try {
|
|
2292
|
+
tmp_2 = createKType(getKClass(PagedListIssue), arrayOf([]), false);
|
|
2293
|
+
} catch ($p) {
|
|
2294
|
+
var tmp_3;
|
|
2295
|
+
if ($p instanceof Error) {
|
|
2296
|
+
var _unused_var__etf5q3 = $p;
|
|
2297
|
+
tmp_3 = null;
|
|
2298
|
+
} else {
|
|
2299
|
+
throw $p;
|
|
2300
|
+
}
|
|
2301
|
+
tmp_2 = tmp_3;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2305
|
+
case 2:
|
|
2306
|
+
throw this.exception_1;
|
|
2307
|
+
}
|
|
2308
|
+
} catch ($p_0) {
|
|
2309
|
+
var e = $p_0;
|
|
2310
|
+
if (this.exceptionState_1 === 2) {
|
|
2311
|
+
throw e;
|
|
2312
|
+
} else {
|
|
2313
|
+
this.state_1 = this.exceptionState_1;
|
|
2314
|
+
this.exception_1 = e;
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
while (true);
|
|
2672
2318
|
};
|
|
2673
|
-
|
|
2674
|
-
var tmp = this;
|
|
2319
|
+
function indexIssueUserOperation(client, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count) {
|
|
2675
2320
|
return promisify(function ($completion) {
|
|
2676
|
-
return
|
|
2321
|
+
return indexIssueUserOperation_0(client, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2677
2322
|
});
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
var tmp = new $indexIssue$suspendBridgeCOROUTINE$(this, companyId, search, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2681
|
-
tmp.result_1 = Unit_instance;
|
|
2682
|
-
tmp.exception_1 = null;
|
|
2683
|
-
return tmp.doResume_5yljmg_k$();
|
|
2684
|
-
};
|
|
2685
|
-
protoOf(IssueApi).indexIssueUser_38fe03_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
2686
|
-
var tmp = new $indexIssueUserCOROUTINE$(this, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2687
|
-
tmp.result_1 = Unit_instance;
|
|
2688
|
-
tmp.exception_1 = null;
|
|
2689
|
-
return tmp.doResume_5yljmg_k$();
|
|
2690
|
-
};
|
|
2691
|
-
protoOf(IssueApi).indexIssueUser$default_3neqsr_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
2323
|
+
}
|
|
2324
|
+
function indexIssueUserOperation_0(client, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
2692
2325
|
search = search === VOID ? null : search;
|
|
2693
2326
|
companyIds = companyIds === VOID ? null : companyIds;
|
|
2694
2327
|
status = status === VOID ? null : status;
|
|
@@ -2700,152 +2333,685 @@ protoOf(IssueApi).indexIssueUser$default_3neqsr_k$ = function (search, companyId
|
|
|
2700
2333
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
2701
2334
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
2702
2335
|
count = count === VOID ? null : count;
|
|
2703
|
-
|
|
2704
|
-
};
|
|
2705
|
-
protoOf(IssueApi).indexIssueUser = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count) {
|
|
2706
|
-
var tmp = this;
|
|
2707
|
-
return promisify(function ($completion) {
|
|
2708
|
-
return tmp.indexIssueUser$default_3neqsr_k$(search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2709
|
-
});
|
|
2710
|
-
};
|
|
2711
|
-
protoOf(IssueApi).indexIssueUser$suspendBridge_uo77us_k$ = function (search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion) {
|
|
2712
|
-
var tmp = new $indexIssueUser$suspendBridgeCOROUTINE$(this, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2713
|
-
tmp.result_1 = Unit_instance;
|
|
2714
|
-
tmp.exception_1 = null;
|
|
2715
|
-
return tmp.doResume_5yljmg_k$();
|
|
2716
|
-
};
|
|
2717
|
-
protoOf(IssueApi).reOpenIssue_jyiwjk_k$ = function (companyId, issueId, $completion) {
|
|
2718
|
-
var tmp = new $reOpenIssueCOROUTINE$(this, companyId, issueId, $completion);
|
|
2719
|
-
tmp.result_1 = Unit_instance;
|
|
2720
|
-
tmp.exception_1 = null;
|
|
2721
|
-
return tmp.doResume_5yljmg_k$();
|
|
2722
|
-
};
|
|
2723
|
-
protoOf(IssueApi).reOpenIssue = function (companyId, issueId) {
|
|
2724
|
-
var tmp = this;
|
|
2725
|
-
return promisify(function ($completion) {
|
|
2726
|
-
return tmp.reOpenIssue_jyiwjk_k$(companyId, issueId, $completion);
|
|
2727
|
-
});
|
|
2728
|
-
};
|
|
2729
|
-
protoOf(IssueApi).reOpenIssue$suspendBridge_5eq8qn_k$ = function (companyId, issueId, $completion) {
|
|
2730
|
-
var tmp = new $reOpenIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, $completion);
|
|
2731
|
-
tmp.result_1 = Unit_instance;
|
|
2732
|
-
tmp.exception_1 = null;
|
|
2733
|
-
return tmp.doResume_5yljmg_k$();
|
|
2734
|
-
};
|
|
2735
|
-
protoOf(IssueApi).showIssue_39aopz_k$ = function (companyId, issueId, fields, $completion) {
|
|
2736
|
-
var tmp = new $showIssueCOROUTINE$(this, companyId, issueId, fields, $completion);
|
|
2737
|
-
tmp.result_1 = Unit_instance;
|
|
2738
|
-
tmp.exception_1 = null;
|
|
2739
|
-
return tmp.doResume_5yljmg_k$();
|
|
2740
|
-
};
|
|
2741
|
-
protoOf(IssueApi).showIssue$default_vxvv5l_k$ = function (companyId, issueId, fields, $completion, $super) {
|
|
2742
|
-
fields = fields === VOID ? null : fields;
|
|
2743
|
-
return $super === VOID ? this.showIssue_39aopz_k$(companyId, issueId, fields, $completion) : $super.showIssue_39aopz_k$.call(this, companyId, issueId, fields, $completion);
|
|
2744
|
-
};
|
|
2745
|
-
protoOf(IssueApi).showIssue = function (companyId, issueId, fields) {
|
|
2746
|
-
var tmp = this;
|
|
2747
|
-
return promisify(function ($completion) {
|
|
2748
|
-
return tmp.showIssue$default_vxvv5l_k$(companyId, issueId, fields, $completion);
|
|
2749
|
-
});
|
|
2750
|
-
};
|
|
2751
|
-
protoOf(IssueApi).showIssue$suspendBridge_ifbo9y_k$ = function (companyId, issueId, fields, $completion) {
|
|
2752
|
-
var tmp = new $showIssue$suspendBridgeCOROUTINE$(this, companyId, issueId, fields, $completion);
|
|
2753
|
-
tmp.result_1 = Unit_instance;
|
|
2754
|
-
tmp.exception_1 = null;
|
|
2755
|
-
return tmp.doResume_5yljmg_k$();
|
|
2756
|
-
};
|
|
2757
|
-
protoOf(IssueApi).updateIssue_99lneu_k$ = function (companyId, issueId, updateIssueCommand, $completion) {
|
|
2758
|
-
var tmp = new $updateIssueCOROUTINE$(this, companyId, issueId, updateIssueCommand, $completion);
|
|
2336
|
+
var tmp = new $indexIssueUserOperationCOROUTINE$(client, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, $completion);
|
|
2759
2337
|
tmp.result_1 = Unit_instance;
|
|
2760
2338
|
tmp.exception_1 = null;
|
|
2761
2339
|
return tmp.doResume_5yljmg_k$();
|
|
2340
|
+
}
|
|
2341
|
+
function $indexIssueUserOperationCOROUTINE$(client, search, companyIds, status, responsibleId, createdAtFrom, createdAtTo, updatedSince, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
2342
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2343
|
+
this.client_1 = client;
|
|
2344
|
+
this.search_1 = search;
|
|
2345
|
+
this.companyIds_1 = companyIds;
|
|
2346
|
+
this.status_1 = status;
|
|
2347
|
+
this.responsibleId_1 = responsibleId;
|
|
2348
|
+
this.createdAtFrom_1 = createdAtFrom;
|
|
2349
|
+
this.createdAtTo_1 = createdAtTo;
|
|
2350
|
+
this.updatedSince_1 = updatedSince;
|
|
2351
|
+
this.fields_1 = fields;
|
|
2352
|
+
this.pageToken_1 = pageToken;
|
|
2353
|
+
this.autoPaginate_1 = autoPaginate;
|
|
2354
|
+
this.count_1 = count;
|
|
2355
|
+
}
|
|
2356
|
+
protoOf($indexIssueUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2357
|
+
var suspendResult = this.result_1;
|
|
2358
|
+
$sm: do
|
|
2359
|
+
try {
|
|
2360
|
+
var tmp = this.state_1;
|
|
2361
|
+
switch (tmp) {
|
|
2362
|
+
case 0:
|
|
2363
|
+
this.exceptionState_1 = 2;
|
|
2364
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2365
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2366
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2367
|
+
if (this.search_1 == null)
|
|
2368
|
+
null;
|
|
2369
|
+
else {
|
|
2370
|
+
var value = listOf_0(this.search_1);
|
|
2371
|
+
localVariableQuery.put_4fpzoq_k$('search', value);
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
var tmp1_safe_receiver = this.companyIds_1;
|
|
2375
|
+
if (tmp1_safe_receiver == null)
|
|
2376
|
+
null;
|
|
2377
|
+
else {
|
|
2378
|
+
var tmp2 = 'companyIds';
|
|
2379
|
+
var value_0 = toMultiValue(tmp1_safe_receiver, 'multi');
|
|
2380
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value_0);
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
var tmp2_safe_receiver = this.status_1;
|
|
2384
|
+
if (tmp2_safe_receiver == null)
|
|
2385
|
+
null;
|
|
2386
|
+
else {
|
|
2387
|
+
var value_1 = toMultiValue(tmp2_safe_receiver, 'multi');
|
|
2388
|
+
localVariableQuery.put_4fpzoq_k$('status', value_1);
|
|
2389
|
+
}
|
|
2390
|
+
|
|
2391
|
+
if (this.responsibleId_1 == null)
|
|
2392
|
+
null;
|
|
2393
|
+
else {
|
|
2394
|
+
var tmp2_0 = 'responsibleId';
|
|
2395
|
+
var value_2 = listOf_0(this.responsibleId_1.toString());
|
|
2396
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
if (this.createdAtFrom_1 == null)
|
|
2400
|
+
null;
|
|
2401
|
+
else {
|
|
2402
|
+
var tmp2_1 = 'createdAtFrom';
|
|
2403
|
+
var value_3 = listOf_0(this.createdAtFrom_1.toString());
|
|
2404
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_3);
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
if (this.createdAtTo_1 == null)
|
|
2408
|
+
null;
|
|
2409
|
+
else {
|
|
2410
|
+
var tmp2_2 = 'createdAtTo';
|
|
2411
|
+
var value_4 = listOf_0(this.createdAtTo_1.toString());
|
|
2412
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_2, value_4);
|
|
2413
|
+
}
|
|
2414
|
+
|
|
2415
|
+
if (this.updatedSince_1 == null)
|
|
2416
|
+
null;
|
|
2417
|
+
else {
|
|
2418
|
+
var tmp2_3 = 'updatedSince';
|
|
2419
|
+
var value_5 = listOf_0(this.updatedSince_1.toString());
|
|
2420
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_3, value_5);
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
if (this.fields_1 == null)
|
|
2424
|
+
null;
|
|
2425
|
+
else {
|
|
2426
|
+
var value_6 = listOf_0(this.fields_1);
|
|
2427
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_6);
|
|
2428
|
+
}
|
|
2429
|
+
|
|
2430
|
+
if (this.pageToken_1 == null)
|
|
2431
|
+
null;
|
|
2432
|
+
else {
|
|
2433
|
+
var tmp2_4 = 'pageToken';
|
|
2434
|
+
var value_7 = listOf_0(this.pageToken_1);
|
|
2435
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_4, value_7);
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
if (this.autoPaginate_1 == null)
|
|
2439
|
+
null;
|
|
2440
|
+
else {
|
|
2441
|
+
var tmp2_5 = 'autoPaginate';
|
|
2442
|
+
var value_8 = listOf_0('' + this.autoPaginate_1);
|
|
2443
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_5, value_8);
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
if (this.count_1 == null)
|
|
2447
|
+
null;
|
|
2448
|
+
else {
|
|
2449
|
+
var value_9 = listOf_0('' + this.count_1);
|
|
2450
|
+
localVariableQuery.put_4fpzoq_k$('count', value_9);
|
|
2451
|
+
}
|
|
2452
|
+
|
|
2453
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2454
|
+
var tmp11_method = RequestMethod_GET_getInstance();
|
|
2455
|
+
var localVariableConfig = new RequestConfig(tmp11_method, '/companies/issues', localVariableHeaders, VOID, localVariableQuery, true);
|
|
2456
|
+
this.state_1 = 1;
|
|
2457
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2458
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2459
|
+
return suspendResult;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
continue $sm;
|
|
2463
|
+
case 1:
|
|
2464
|
+
var this_0 = suspendResult;
|
|
2465
|
+
var tmp_0 = getKClass(PagedListIssue);
|
|
2466
|
+
var tmp_1 = null instanceof PagedListIssue;
|
|
2467
|
+
var tmp_2;
|
|
2468
|
+
try {
|
|
2469
|
+
tmp_2 = createKType(getKClass(PagedListIssue), arrayOf([]), false);
|
|
2470
|
+
} catch ($p) {
|
|
2471
|
+
var tmp_3;
|
|
2472
|
+
if ($p instanceof Error) {
|
|
2473
|
+
var _unused_var__etf5q3 = $p;
|
|
2474
|
+
tmp_3 = null;
|
|
2475
|
+
} else {
|
|
2476
|
+
throw $p;
|
|
2477
|
+
}
|
|
2478
|
+
tmp_2 = tmp_3;
|
|
2479
|
+
}
|
|
2480
|
+
|
|
2481
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2482
|
+
case 2:
|
|
2483
|
+
throw this.exception_1;
|
|
2484
|
+
}
|
|
2485
|
+
} catch ($p_0) {
|
|
2486
|
+
var e = $p_0;
|
|
2487
|
+
if (this.exceptionState_1 === 2) {
|
|
2488
|
+
throw e;
|
|
2489
|
+
} else {
|
|
2490
|
+
this.state_1 = this.exceptionState_1;
|
|
2491
|
+
this.exception_1 = e;
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
while (true);
|
|
2762
2495
|
};
|
|
2763
|
-
|
|
2764
|
-
var tmp = this;
|
|
2496
|
+
function reOpenIssueOperation(client, companyId, issueId) {
|
|
2765
2497
|
return promisify(function ($completion) {
|
|
2766
|
-
return
|
|
2498
|
+
return reOpenIssueOperation_0(client, companyId, issueId, $completion);
|
|
2767
2499
|
});
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
|
-
var tmp = new $
|
|
2771
|
-
tmp.result_1 = Unit_instance;
|
|
2772
|
-
tmp.exception_1 = null;
|
|
2773
|
-
return tmp.doResume_5yljmg_k$();
|
|
2774
|
-
};
|
|
2775
|
-
protoOf(IssueApi).updateIssueComment_aqs53y_k$ = function (companyId, issueId, commentId, updateIssueCommentCommand, $completion) {
|
|
2776
|
-
var tmp = new $updateIssueCommentCOROUTINE$(this, companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
2500
|
+
}
|
|
2501
|
+
function reOpenIssueOperation_0(client, companyId, issueId, $completion) {
|
|
2502
|
+
var tmp = new $reOpenIssueOperationCOROUTINE$(client, companyId, issueId, $completion);
|
|
2777
2503
|
tmp.result_1 = Unit_instance;
|
|
2778
2504
|
tmp.exception_1 = null;
|
|
2779
2505
|
return tmp.doResume_5yljmg_k$();
|
|
2506
|
+
}
|
|
2507
|
+
function $reOpenIssueOperationCOROUTINE$(client, companyId, issueId, resultContinuation) {
|
|
2508
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2509
|
+
this.client_1 = client;
|
|
2510
|
+
this.companyId_1 = companyId;
|
|
2511
|
+
this.issueId_1 = issueId;
|
|
2512
|
+
}
|
|
2513
|
+
protoOf($reOpenIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2514
|
+
var suspendResult = this.result_1;
|
|
2515
|
+
$sm: do
|
|
2516
|
+
try {
|
|
2517
|
+
var tmp = this.state_1;
|
|
2518
|
+
switch (tmp) {
|
|
2519
|
+
case 0:
|
|
2520
|
+
this.exceptionState_1 = 2;
|
|
2521
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2522
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2523
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2524
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2525
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
2526
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/reOpen', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2527
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2528
|
+
this.state_1 = 1;
|
|
2529
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2530
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2531
|
+
return suspendResult;
|
|
2532
|
+
}
|
|
2533
|
+
|
|
2534
|
+
continue $sm;
|
|
2535
|
+
case 1:
|
|
2536
|
+
var this_0 = suspendResult;
|
|
2537
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2538
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2539
|
+
var tmp_2;
|
|
2540
|
+
try {
|
|
2541
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2542
|
+
} catch ($p) {
|
|
2543
|
+
var tmp_3;
|
|
2544
|
+
if ($p instanceof Error) {
|
|
2545
|
+
var _unused_var__etf5q3 = $p;
|
|
2546
|
+
tmp_3 = null;
|
|
2547
|
+
} else {
|
|
2548
|
+
throw $p;
|
|
2549
|
+
}
|
|
2550
|
+
tmp_2 = tmp_3;
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2554
|
+
case 2:
|
|
2555
|
+
throw this.exception_1;
|
|
2556
|
+
}
|
|
2557
|
+
} catch ($p_0) {
|
|
2558
|
+
var e = $p_0;
|
|
2559
|
+
if (this.exceptionState_1 === 2) {
|
|
2560
|
+
throw e;
|
|
2561
|
+
} else {
|
|
2562
|
+
this.state_1 = this.exceptionState_1;
|
|
2563
|
+
this.exception_1 = e;
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
while (true);
|
|
2780
2567
|
};
|
|
2781
|
-
|
|
2782
|
-
var tmp = this;
|
|
2568
|
+
function showIssueOperation(client, companyId, issueId, fields) {
|
|
2783
2569
|
return promisify(function ($completion) {
|
|
2784
|
-
return
|
|
2570
|
+
return showIssueOperation_0(client, companyId, issueId, fields, $completion);
|
|
2785
2571
|
});
|
|
2786
|
-
}
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
tmp
|
|
2790
|
-
tmp.exception_1 = null;
|
|
2791
|
-
return tmp.doResume_5yljmg_k$();
|
|
2792
|
-
};
|
|
2793
|
-
protoOf(IssueApi).updateIssueConclusion_kzvp9e_k$ = function (companyId, issueId, updateResolutionCommand, $completion) {
|
|
2794
|
-
var tmp = new $updateIssueConclusionCOROUTINE$(this, companyId, issueId, updateResolutionCommand, $completion);
|
|
2572
|
+
}
|
|
2573
|
+
function showIssueOperation_0(client, companyId, issueId, fields, $completion) {
|
|
2574
|
+
fields = fields === VOID ? null : fields;
|
|
2575
|
+
var tmp = new $showIssueOperationCOROUTINE$(client, companyId, issueId, fields, $completion);
|
|
2795
2576
|
tmp.result_1 = Unit_instance;
|
|
2796
2577
|
tmp.exception_1 = null;
|
|
2797
2578
|
return tmp.doResume_5yljmg_k$();
|
|
2579
|
+
}
|
|
2580
|
+
function $showIssueOperationCOROUTINE$(client, companyId, issueId, fields, resultContinuation) {
|
|
2581
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2582
|
+
this.client_1 = client;
|
|
2583
|
+
this.companyId_1 = companyId;
|
|
2584
|
+
this.issueId_1 = issueId;
|
|
2585
|
+
this.fields_1 = fields;
|
|
2586
|
+
}
|
|
2587
|
+
protoOf($showIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2588
|
+
var suspendResult = this.result_1;
|
|
2589
|
+
$sm: do
|
|
2590
|
+
try {
|
|
2591
|
+
var tmp = this.state_1;
|
|
2592
|
+
switch (tmp) {
|
|
2593
|
+
case 0:
|
|
2594
|
+
this.exceptionState_1 = 2;
|
|
2595
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2596
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
2597
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2598
|
+
if (this.fields_1 == null)
|
|
2599
|
+
null;
|
|
2600
|
+
else {
|
|
2601
|
+
var value = listOf_0(this.fields_1);
|
|
2602
|
+
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
2603
|
+
}
|
|
2604
|
+
|
|
2605
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2606
|
+
var tmp1_method = RequestMethod_GET_getInstance();
|
|
2607
|
+
var tmp2_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2608
|
+
var localVariableConfig = new RequestConfig(tmp1_method, tmp2_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2609
|
+
this.state_1 = 1;
|
|
2610
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2611
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2612
|
+
return suspendResult;
|
|
2613
|
+
}
|
|
2614
|
+
|
|
2615
|
+
continue $sm;
|
|
2616
|
+
case 1:
|
|
2617
|
+
var this_0 = suspendResult;
|
|
2618
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2619
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2620
|
+
var tmp_2;
|
|
2621
|
+
try {
|
|
2622
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2623
|
+
} catch ($p) {
|
|
2624
|
+
var tmp_3;
|
|
2625
|
+
if ($p instanceof Error) {
|
|
2626
|
+
var _unused_var__etf5q3 = $p;
|
|
2627
|
+
tmp_3 = null;
|
|
2628
|
+
} else {
|
|
2629
|
+
throw $p;
|
|
2630
|
+
}
|
|
2631
|
+
tmp_2 = tmp_3;
|
|
2632
|
+
}
|
|
2633
|
+
|
|
2634
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2635
|
+
case 2:
|
|
2636
|
+
throw this.exception_1;
|
|
2637
|
+
}
|
|
2638
|
+
} catch ($p_0) {
|
|
2639
|
+
var e = $p_0;
|
|
2640
|
+
if (this.exceptionState_1 === 2) {
|
|
2641
|
+
throw e;
|
|
2642
|
+
} else {
|
|
2643
|
+
this.state_1 = this.exceptionState_1;
|
|
2644
|
+
this.exception_1 = e;
|
|
2645
|
+
}
|
|
2646
|
+
}
|
|
2647
|
+
while (true);
|
|
2798
2648
|
};
|
|
2799
|
-
|
|
2800
|
-
var tmp = this;
|
|
2649
|
+
function updateIssueCommentOperation(client, companyId, issueId, commentId, updateIssueCommentCommand) {
|
|
2801
2650
|
return promisify(function ($completion) {
|
|
2802
|
-
return
|
|
2651
|
+
return updateIssueCommentOperation_0(client, companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
2803
2652
|
});
|
|
2804
|
-
}
|
|
2805
|
-
|
|
2806
|
-
var tmp = new $
|
|
2653
|
+
}
|
|
2654
|
+
function updateIssueCommentOperation_0(client, companyId, issueId, commentId, updateIssueCommentCommand, $completion) {
|
|
2655
|
+
var tmp = new $updateIssueCommentOperationCOROUTINE$(client, companyId, issueId, commentId, updateIssueCommentCommand, $completion);
|
|
2807
2656
|
tmp.result_1 = Unit_instance;
|
|
2808
2657
|
tmp.exception_1 = null;
|
|
2809
2658
|
return tmp.doResume_5yljmg_k$();
|
|
2659
|
+
}
|
|
2660
|
+
function $updateIssueCommentOperationCOROUTINE$(client, companyId, issueId, commentId, updateIssueCommentCommand, resultContinuation) {
|
|
2661
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2662
|
+
this.client_1 = client;
|
|
2663
|
+
this.companyId_1 = companyId;
|
|
2664
|
+
this.issueId_1 = issueId;
|
|
2665
|
+
this.commentId_1 = commentId;
|
|
2666
|
+
this.updateIssueCommentCommand_1 = updateIssueCommentCommand;
|
|
2667
|
+
}
|
|
2668
|
+
protoOf($updateIssueCommentOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2669
|
+
var suspendResult = this.result_1;
|
|
2670
|
+
$sm: do
|
|
2671
|
+
try {
|
|
2672
|
+
var tmp = this.state_1;
|
|
2673
|
+
switch (tmp) {
|
|
2674
|
+
case 0:
|
|
2675
|
+
this.exceptionState_1 = 2;
|
|
2676
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2677
|
+
var localVariableBody = this.updateIssueCommentCommand_1;
|
|
2678
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2679
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2680
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2681
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/issues/{issueId}/comments/{commentId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
2682
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2683
|
+
this.state_1 = 1;
|
|
2684
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2685
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2686
|
+
return suspendResult;
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
continue $sm;
|
|
2690
|
+
case 1:
|
|
2691
|
+
var this_0 = suspendResult;
|
|
2692
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2693
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2694
|
+
var tmp_2;
|
|
2695
|
+
try {
|
|
2696
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2697
|
+
} catch ($p) {
|
|
2698
|
+
var tmp_3;
|
|
2699
|
+
if ($p instanceof Error) {
|
|
2700
|
+
var _unused_var__etf5q3 = $p;
|
|
2701
|
+
tmp_3 = null;
|
|
2702
|
+
} else {
|
|
2703
|
+
throw $p;
|
|
2704
|
+
}
|
|
2705
|
+
tmp_2 = tmp_3;
|
|
2706
|
+
}
|
|
2707
|
+
|
|
2708
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2709
|
+
case 2:
|
|
2710
|
+
throw this.exception_1;
|
|
2711
|
+
}
|
|
2712
|
+
} catch ($p_0) {
|
|
2713
|
+
var e = $p_0;
|
|
2714
|
+
if (this.exceptionState_1 === 2) {
|
|
2715
|
+
throw e;
|
|
2716
|
+
} else {
|
|
2717
|
+
this.state_1 = this.exceptionState_1;
|
|
2718
|
+
this.exception_1 = e;
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
while (true);
|
|
2810
2722
|
};
|
|
2811
|
-
|
|
2812
|
-
|
|
2723
|
+
function updateIssueConclusionOperation(client, companyId, issueId, updateResolutionCommand) {
|
|
2724
|
+
return promisify(function ($completion) {
|
|
2725
|
+
return updateIssueConclusionOperation_0(client, companyId, issueId, updateResolutionCommand, $completion);
|
|
2726
|
+
});
|
|
2727
|
+
}
|
|
2728
|
+
function updateIssueConclusionOperation_0(client, companyId, issueId, updateResolutionCommand, $completion) {
|
|
2729
|
+
var tmp = new $updateIssueConclusionOperationCOROUTINE$(client, companyId, issueId, updateResolutionCommand, $completion);
|
|
2813
2730
|
tmp.result_1 = Unit_instance;
|
|
2814
2731
|
tmp.exception_1 = null;
|
|
2815
2732
|
return tmp.doResume_5yljmg_k$();
|
|
2733
|
+
}
|
|
2734
|
+
function $updateIssueConclusionOperationCOROUTINE$(client, companyId, issueId, updateResolutionCommand, resultContinuation) {
|
|
2735
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2736
|
+
this.client_1 = client;
|
|
2737
|
+
this.companyId_1 = companyId;
|
|
2738
|
+
this.issueId_1 = issueId;
|
|
2739
|
+
this.updateResolutionCommand_1 = updateResolutionCommand;
|
|
2740
|
+
}
|
|
2741
|
+
protoOf($updateIssueConclusionOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2742
|
+
var suspendResult = this.result_1;
|
|
2743
|
+
$sm: do
|
|
2744
|
+
try {
|
|
2745
|
+
var tmp = this.state_1;
|
|
2746
|
+
switch (tmp) {
|
|
2747
|
+
case 0:
|
|
2748
|
+
this.exceptionState_1 = 2;
|
|
2749
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2750
|
+
var localVariableBody = this.updateResolutionCommand_1;
|
|
2751
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2752
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2753
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2754
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/resolution', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2755
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2756
|
+
this.state_1 = 1;
|
|
2757
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2758
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2759
|
+
return suspendResult;
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
continue $sm;
|
|
2763
|
+
case 1:
|
|
2764
|
+
var this_0 = suspendResult;
|
|
2765
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2766
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2767
|
+
var tmp_2;
|
|
2768
|
+
try {
|
|
2769
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2770
|
+
} catch ($p) {
|
|
2771
|
+
var tmp_3;
|
|
2772
|
+
if ($p instanceof Error) {
|
|
2773
|
+
var _unused_var__etf5q3 = $p;
|
|
2774
|
+
tmp_3 = null;
|
|
2775
|
+
} else {
|
|
2776
|
+
throw $p;
|
|
2777
|
+
}
|
|
2778
|
+
tmp_2 = tmp_3;
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2782
|
+
case 2:
|
|
2783
|
+
throw this.exception_1;
|
|
2784
|
+
}
|
|
2785
|
+
} catch ($p_0) {
|
|
2786
|
+
var e = $p_0;
|
|
2787
|
+
if (this.exceptionState_1 === 2) {
|
|
2788
|
+
throw e;
|
|
2789
|
+
} else {
|
|
2790
|
+
this.state_1 = this.exceptionState_1;
|
|
2791
|
+
this.exception_1 = e;
|
|
2792
|
+
}
|
|
2793
|
+
}
|
|
2794
|
+
while (true);
|
|
2816
2795
|
};
|
|
2817
|
-
|
|
2818
|
-
var tmp = this;
|
|
2796
|
+
function updateIssueOperation(client, companyId, issueId, updateIssueCommand) {
|
|
2819
2797
|
return promisify(function ($completion) {
|
|
2820
|
-
return
|
|
2798
|
+
return updateIssueOperation_0(client, companyId, issueId, updateIssueCommand, $completion);
|
|
2821
2799
|
});
|
|
2822
|
-
}
|
|
2823
|
-
|
|
2824
|
-
var tmp = new $
|
|
2800
|
+
}
|
|
2801
|
+
function updateIssueOperation_0(client, companyId, issueId, updateIssueCommand, $completion) {
|
|
2802
|
+
var tmp = new $updateIssueOperationCOROUTINE$(client, companyId, issueId, updateIssueCommand, $completion);
|
|
2825
2803
|
tmp.result_1 = Unit_instance;
|
|
2826
2804
|
tmp.exception_1 = null;
|
|
2827
2805
|
return tmp.doResume_5yljmg_k$();
|
|
2806
|
+
}
|
|
2807
|
+
function $updateIssueOperationCOROUTINE$(client, companyId, issueId, updateIssueCommand, resultContinuation) {
|
|
2808
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2809
|
+
this.client_1 = client;
|
|
2810
|
+
this.companyId_1 = companyId;
|
|
2811
|
+
this.issueId_1 = issueId;
|
|
2812
|
+
this.updateIssueCommand_1 = updateIssueCommand;
|
|
2813
|
+
}
|
|
2814
|
+
protoOf($updateIssueOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2815
|
+
var suspendResult = this.result_1;
|
|
2816
|
+
$sm: do
|
|
2817
|
+
try {
|
|
2818
|
+
var tmp = this.state_1;
|
|
2819
|
+
switch (tmp) {
|
|
2820
|
+
case 0:
|
|
2821
|
+
this.exceptionState_1 = 2;
|
|
2822
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2823
|
+
var localVariableBody = this.updateIssueCommand_1;
|
|
2824
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2825
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2826
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2827
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2828
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2829
|
+
this.state_1 = 1;
|
|
2830
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2831
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2832
|
+
return suspendResult;
|
|
2833
|
+
}
|
|
2834
|
+
|
|
2835
|
+
continue $sm;
|
|
2836
|
+
case 1:
|
|
2837
|
+
var this_0 = suspendResult;
|
|
2838
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2839
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2840
|
+
var tmp_2;
|
|
2841
|
+
try {
|
|
2842
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2843
|
+
} catch ($p) {
|
|
2844
|
+
var tmp_3;
|
|
2845
|
+
if ($p instanceof Error) {
|
|
2846
|
+
var _unused_var__etf5q3 = $p;
|
|
2847
|
+
tmp_3 = null;
|
|
2848
|
+
} else {
|
|
2849
|
+
throw $p;
|
|
2850
|
+
}
|
|
2851
|
+
tmp_2 = tmp_3;
|
|
2852
|
+
}
|
|
2853
|
+
|
|
2854
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2855
|
+
case 2:
|
|
2856
|
+
throw this.exception_1;
|
|
2857
|
+
}
|
|
2858
|
+
} catch ($p_0) {
|
|
2859
|
+
var e = $p_0;
|
|
2860
|
+
if (this.exceptionState_1 === 2) {
|
|
2861
|
+
throw e;
|
|
2862
|
+
} else {
|
|
2863
|
+
this.state_1 = this.exceptionState_1;
|
|
2864
|
+
this.exception_1 = e;
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
while (true);
|
|
2828
2868
|
};
|
|
2829
|
-
|
|
2830
|
-
|
|
2869
|
+
function updateIssueReportOperation(client, companyId, issueId, updateReportCommand) {
|
|
2870
|
+
return promisify(function ($completion) {
|
|
2871
|
+
return updateIssueReportOperation_0(client, companyId, issueId, updateReportCommand, $completion);
|
|
2872
|
+
});
|
|
2873
|
+
}
|
|
2874
|
+
function updateIssueReportOperation_0(client, companyId, issueId, updateReportCommand, $completion) {
|
|
2875
|
+
var tmp = new $updateIssueReportOperationCOROUTINE$(client, companyId, issueId, updateReportCommand, $completion);
|
|
2831
2876
|
tmp.result_1 = Unit_instance;
|
|
2832
2877
|
tmp.exception_1 = null;
|
|
2833
2878
|
return tmp.doResume_5yljmg_k$();
|
|
2879
|
+
}
|
|
2880
|
+
function $updateIssueReportOperationCOROUTINE$(client, companyId, issueId, updateReportCommand, resultContinuation) {
|
|
2881
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2882
|
+
this.client_1 = client;
|
|
2883
|
+
this.companyId_1 = companyId;
|
|
2884
|
+
this.issueId_1 = issueId;
|
|
2885
|
+
this.updateReportCommand_1 = updateReportCommand;
|
|
2886
|
+
}
|
|
2887
|
+
protoOf($updateIssueReportOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2888
|
+
var suspendResult = this.result_1;
|
|
2889
|
+
$sm: do
|
|
2890
|
+
try {
|
|
2891
|
+
var tmp = this.state_1;
|
|
2892
|
+
switch (tmp) {
|
|
2893
|
+
case 0:
|
|
2894
|
+
this.exceptionState_1 = 2;
|
|
2895
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2896
|
+
var localVariableBody = this.updateReportCommand_1;
|
|
2897
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2898
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2899
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2900
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/report', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2901
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2902
|
+
this.state_1 = 1;
|
|
2903
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2904
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2905
|
+
return suspendResult;
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
continue $sm;
|
|
2909
|
+
case 1:
|
|
2910
|
+
var this_0 = suspendResult;
|
|
2911
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2912
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2913
|
+
var tmp_2;
|
|
2914
|
+
try {
|
|
2915
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2916
|
+
} catch ($p) {
|
|
2917
|
+
var tmp_3;
|
|
2918
|
+
if ($p instanceof Error) {
|
|
2919
|
+
var _unused_var__etf5q3 = $p;
|
|
2920
|
+
tmp_3 = null;
|
|
2921
|
+
} else {
|
|
2922
|
+
throw $p;
|
|
2923
|
+
}
|
|
2924
|
+
tmp_2 = tmp_3;
|
|
2925
|
+
}
|
|
2926
|
+
|
|
2927
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
2928
|
+
case 2:
|
|
2929
|
+
throw this.exception_1;
|
|
2930
|
+
}
|
|
2931
|
+
} catch ($p_0) {
|
|
2932
|
+
var e = $p_0;
|
|
2933
|
+
if (this.exceptionState_1 === 2) {
|
|
2934
|
+
throw e;
|
|
2935
|
+
} else {
|
|
2936
|
+
this.state_1 = this.exceptionState_1;
|
|
2937
|
+
this.exception_1 = e;
|
|
2938
|
+
}
|
|
2939
|
+
}
|
|
2940
|
+
while (true);
|
|
2834
2941
|
};
|
|
2835
|
-
|
|
2836
|
-
var tmp = this;
|
|
2942
|
+
function updateIssueResponsibleOperation(client, companyId, issueId, changeResponsibleCommand) {
|
|
2837
2943
|
return promisify(function ($completion) {
|
|
2838
|
-
return
|
|
2944
|
+
return updateIssueResponsibleOperation_0(client, companyId, issueId, changeResponsibleCommand, $completion);
|
|
2839
2945
|
});
|
|
2840
|
-
}
|
|
2841
|
-
|
|
2842
|
-
var tmp = new $
|
|
2946
|
+
}
|
|
2947
|
+
function updateIssueResponsibleOperation_0(client, companyId, issueId, changeResponsibleCommand, $completion) {
|
|
2948
|
+
var tmp = new $updateIssueResponsibleOperationCOROUTINE$(client, companyId, issueId, changeResponsibleCommand, $completion);
|
|
2843
2949
|
tmp.result_1 = Unit_instance;
|
|
2844
2950
|
tmp.exception_1 = null;
|
|
2845
2951
|
return tmp.doResume_5yljmg_k$();
|
|
2846
|
-
};
|
|
2847
|
-
function IssueApi() {
|
|
2848
2952
|
}
|
|
2953
|
+
function $updateIssueResponsibleOperationCOROUTINE$(client, companyId, issueId, changeResponsibleCommand, resultContinuation) {
|
|
2954
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
2955
|
+
this.client_1 = client;
|
|
2956
|
+
this.companyId_1 = companyId;
|
|
2957
|
+
this.issueId_1 = issueId;
|
|
2958
|
+
this.changeResponsibleCommand_1 = changeResponsibleCommand;
|
|
2959
|
+
}
|
|
2960
|
+
protoOf($updateIssueResponsibleOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
2961
|
+
var suspendResult = this.result_1;
|
|
2962
|
+
$sm: do
|
|
2963
|
+
try {
|
|
2964
|
+
var tmp = this.state_1;
|
|
2965
|
+
switch (tmp) {
|
|
2966
|
+
case 0:
|
|
2967
|
+
this.exceptionState_1 = 2;
|
|
2968
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
2969
|
+
var localVariableBody = this.changeResponsibleCommand_1;
|
|
2970
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
2971
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
2972
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
2973
|
+
var tmp1_path = replace(replace('/companies/{companyId}/issues/{issueId}/responsible', '{companyId}', this.companyId_1.toString()), '{issueId}', this.issueId_1.toString());
|
|
2974
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
2975
|
+
this.state_1 = 1;
|
|
2976
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
2977
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2978
|
+
return suspendResult;
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
continue $sm;
|
|
2982
|
+
case 1:
|
|
2983
|
+
var this_0 = suspendResult;
|
|
2984
|
+
var tmp_0 = getKClass(IssueDetails);
|
|
2985
|
+
var tmp_1 = null instanceof IssueDetails;
|
|
2986
|
+
var tmp_2;
|
|
2987
|
+
try {
|
|
2988
|
+
tmp_2 = createKType(getKClass(IssueDetails), arrayOf([]), false);
|
|
2989
|
+
} catch ($p) {
|
|
2990
|
+
var tmp_3;
|
|
2991
|
+
if ($p instanceof Error) {
|
|
2992
|
+
var _unused_var__etf5q3 = $p;
|
|
2993
|
+
tmp_3 = null;
|
|
2994
|
+
} else {
|
|
2995
|
+
throw $p;
|
|
2996
|
+
}
|
|
2997
|
+
tmp_2 = tmp_3;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
3001
|
+
case 2:
|
|
3002
|
+
throw this.exception_1;
|
|
3003
|
+
}
|
|
3004
|
+
} catch ($p_0) {
|
|
3005
|
+
var e = $p_0;
|
|
3006
|
+
if (this.exceptionState_1 === 2) {
|
|
3007
|
+
throw e;
|
|
3008
|
+
} else {
|
|
3009
|
+
this.state_1 = this.exceptionState_1;
|
|
3010
|
+
this.exception_1 = e;
|
|
3011
|
+
}
|
|
3012
|
+
}
|
|
3013
|
+
while (true);
|
|
3014
|
+
};
|
|
2849
3015
|
function Companion() {
|
|
2850
3016
|
}
|
|
2851
3017
|
var Companion_instance_0;
|
|
@@ -5374,6 +5540,24 @@ defineProp(BulkCreateIssueItemStatus, 'Companion', Companion_getInstance_3, VOID
|
|
|
5374
5540
|
export {
|
|
5375
5541
|
issueApi as issueApi,
|
|
5376
5542
|
IssueApi as IssueApi,
|
|
5543
|
+
closeIssueOperation as closeIssueOperation,
|
|
5544
|
+
createIssueCommentOperation as createIssueCommentOperation,
|
|
5545
|
+
createIssueConversationOperation as createIssueConversationOperation,
|
|
5546
|
+
createIssueOperation as createIssueOperation,
|
|
5547
|
+
createIssueSectionOperation as createIssueSectionOperation,
|
|
5548
|
+
createMultipleIssuesOperation as createMultipleIssuesOperation,
|
|
5549
|
+
deleteIssueConversationOperation as deleteIssueConversationOperation,
|
|
5550
|
+
deleteIssueOperation as deleteIssueOperation,
|
|
5551
|
+
deleteIssueSectionOperation as deleteIssueSectionOperation,
|
|
5552
|
+
indexIssueOperation as indexIssueOperation,
|
|
5553
|
+
indexIssueUserOperation as indexIssueUserOperation,
|
|
5554
|
+
reOpenIssueOperation as reOpenIssueOperation,
|
|
5555
|
+
showIssueOperation as showIssueOperation,
|
|
5556
|
+
updateIssueCommentOperation as updateIssueCommentOperation,
|
|
5557
|
+
updateIssueConclusionOperation as updateIssueConclusionOperation,
|
|
5558
|
+
updateIssueOperation as updateIssueOperation,
|
|
5559
|
+
updateIssueReportOperation as updateIssueReportOperation,
|
|
5560
|
+
updateIssueResponsibleOperation as updateIssueResponsibleOperation,
|
|
5377
5561
|
BulkCreateIssueCommand as BulkCreateIssueCommand,
|
|
5378
5562
|
BulkCreateIssueItemResult as BulkCreateIssueItemResult,
|
|
5379
5563
|
BulkCreateIssueItemStatus as BulkCreateIssueItemStatus,
|