@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,20 +4,20 @@ 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
|
-
get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED,
|
|
10
15
|
Unitkvevlwgzwiuc as Unit,
|
|
11
16
|
arrayOf1akklvh2at202 as arrayOf,
|
|
12
17
|
createKType31ecntyyaay3k as createKType,
|
|
13
|
-
initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine,
|
|
14
|
-
await3n7kedgocftsv as await_0,
|
|
15
18
|
listOfvhqybd2zx248 as listOf_0,
|
|
16
|
-
Unit_instance3kz1zqli6gr1r as Unit_instance,
|
|
17
19
|
emptyList1g2z5xcrvp2zy as emptyList,
|
|
18
20
|
replace3le3ie7l9k8aq as replace,
|
|
19
|
-
promisify1z0ncraq1ipzh as promisify,
|
|
20
|
-
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
21
21
|
LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance,
|
|
22
22
|
lazy1261dae0bgscp as lazy,
|
|
23
23
|
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
@@ -34,6 +34,7 @@ import {
|
|
|
34
34
|
Companion_getInstance1if1t4zy98q04 as Companion_getInstance,
|
|
35
35
|
ApiClient_init_$Init$1zeqbeizsm394 as ApiClient_init_$Init$,
|
|
36
36
|
ApiClient_init_$Init$38ftv1s10hf6v as ApiClient_init_$Init$_0,
|
|
37
|
+
ApiClient2azxax1pjdtdm as ApiClient,
|
|
37
38
|
RequestMethod_DELETE_getInstance298derfb6aued as RequestMethod_DELETE_getInstance,
|
|
38
39
|
RequestConfig10esd7ix0dbbm as RequestConfig,
|
|
39
40
|
TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
|
|
@@ -43,7 +44,6 @@ import {
|
|
|
43
44
|
toMultiValue5gsdsvx60e2f as toMultiValue,
|
|
44
45
|
PersonUser1o3jqucjhp8kn as PersonUser,
|
|
45
46
|
RequestMethod_PUT_getInstance20qfhqm35d9pr as RequestMethod_PUT_getInstance,
|
|
46
|
-
ApiClient2azxax1pjdtdm as ApiClient,
|
|
47
47
|
$serializer_getInstance2u6e9d36lcolu as $serializer_getInstance,
|
|
48
48
|
$serializer_getInstance2ubvlf5l752ie as $serializer_getInstance_0,
|
|
49
49
|
$serializer_getInstance1se14apkjzug7 as $serializer_getInstance_1,
|
|
@@ -68,27 +68,27 @@ import {
|
|
|
68
68
|
var imul = Math.imul;
|
|
69
69
|
//endregion
|
|
70
70
|
//region block: pre-declaration
|
|
71
|
-
initMetadataForCoroutine($deleteUserImageCOROUTINE$, CoroutineImpl);
|
|
72
71
|
initMetadataForCoroutine($deleteUserImage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
73
|
-
initMetadataForCoroutine($indexUserConversationsCOROUTINE$, CoroutineImpl);
|
|
74
72
|
initMetadataForCoroutine($indexUserConversations$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
75
|
-
initMetadataForCoroutine($meCOROUTINE$, CoroutineImpl);
|
|
76
73
|
initMetadataForCoroutine($me$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
77
|
-
initMetadataForCoroutine($showAuthedUserCOROUTINE$, CoroutineImpl);
|
|
78
74
|
initMetadataForCoroutine($showAuthedUser$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
79
|
-
initMetadataForCoroutine($showBulkUserActionsCOROUTINE$, CoroutineImpl);
|
|
80
75
|
initMetadataForCoroutine($showBulkUserActions$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
81
|
-
initMetadataForCoroutine($showUserCOROUTINE$, CoroutineImpl);
|
|
82
76
|
initMetadataForCoroutine($showUser$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
83
|
-
initMetadataForCoroutine($showUserActionsCOROUTINE$, CoroutineImpl);
|
|
84
77
|
initMetadataForCoroutine($showUserActions$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
85
|
-
initMetadataForCoroutine($showUserImageCOROUTINE$, CoroutineImpl);
|
|
86
78
|
initMetadataForCoroutine($showUserImage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
87
|
-
initMetadataForCoroutine($updateUserCOROUTINE$, CoroutineImpl);
|
|
88
79
|
initMetadataForCoroutine($updateUser$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
89
|
-
initMetadataForCoroutine($updateUserImageCOROUTINE$, CoroutineImpl);
|
|
90
80
|
initMetadataForCoroutine($updateUserImage$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
91
81
|
initMetadataForClass(UserApi, 'UserApi', create, ApiClient, VOID, [0, 8, 1, 2, 5, 9, 3]);
|
|
82
|
+
initMetadataForCoroutine($deleteUserImageOperationCOROUTINE$, CoroutineImpl);
|
|
83
|
+
initMetadataForCoroutine($indexUserConversationsOperationCOROUTINE$, CoroutineImpl);
|
|
84
|
+
initMetadataForCoroutine($meOperationCOROUTINE$, CoroutineImpl);
|
|
85
|
+
initMetadataForCoroutine($showAuthedUserOperationCOROUTINE$, CoroutineImpl);
|
|
86
|
+
initMetadataForCoroutine($showBulkUserActionsOperationCOROUTINE$, CoroutineImpl);
|
|
87
|
+
initMetadataForCoroutine($showUserActionsOperationCOROUTINE$, CoroutineImpl);
|
|
88
|
+
initMetadataForCoroutine($showUserImageOperationCOROUTINE$, CoroutineImpl);
|
|
89
|
+
initMetadataForCoroutine($showUserOperationCOROUTINE$, CoroutineImpl);
|
|
90
|
+
initMetadataForCoroutine($updateUserImageOperationCOROUTINE$, CoroutineImpl);
|
|
91
|
+
initMetadataForCoroutine($updateUserOperationCOROUTINE$, CoroutineImpl);
|
|
92
92
|
initMetadataForCompanion(Companion);
|
|
93
93
|
initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
94
94
|
initMetadataForClass(BulkUserActions, 'BulkUserActions', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
@@ -138,64 +138,6 @@ function UserApi_init_$Init$_0(baseUrl, httpClient, $this) {
|
|
|
138
138
|
function createWithClient(baseUrl, httpClient) {
|
|
139
139
|
return UserApi_init_$Init$_0(baseUrl, httpClient, objectCreate(protoOf(UserApi)));
|
|
140
140
|
}
|
|
141
|
-
function $deleteUserImageCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
142
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
143
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
144
|
-
}
|
|
145
|
-
protoOf($deleteUserImageCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
146
|
-
var suspendResult = this.result_1;
|
|
147
|
-
$sm: do
|
|
148
|
-
try {
|
|
149
|
-
var tmp = this.state_1;
|
|
150
|
-
switch (tmp) {
|
|
151
|
-
case 0:
|
|
152
|
-
this.exceptionState_1 = 2;
|
|
153
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
154
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
155
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
156
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
157
|
-
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
158
|
-
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile/image', localVariableHeaders, VOID, localVariableQuery, true);
|
|
159
|
-
this.state_1 = 1;
|
|
160
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
161
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
162
|
-
return suspendResult;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
continue $sm;
|
|
166
|
-
case 1:
|
|
167
|
-
var this_0 = suspendResult;
|
|
168
|
-
var tmp_0 = getKClass(Unit);
|
|
169
|
-
var tmp_1 = null instanceof Unit;
|
|
170
|
-
var tmp_2;
|
|
171
|
-
try {
|
|
172
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
173
|
-
} catch ($p) {
|
|
174
|
-
var tmp_3;
|
|
175
|
-
if ($p instanceof Error) {
|
|
176
|
-
var _unused_var__etf5q3 = $p;
|
|
177
|
-
tmp_3 = null;
|
|
178
|
-
} else {
|
|
179
|
-
throw $p;
|
|
180
|
-
}
|
|
181
|
-
tmp_2 = tmp_3;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
185
|
-
case 2:
|
|
186
|
-
throw this.exception_1;
|
|
187
|
-
}
|
|
188
|
-
} catch ($p_0) {
|
|
189
|
-
var e = $p_0;
|
|
190
|
-
if (this.exceptionState_1 === 2) {
|
|
191
|
-
throw e;
|
|
192
|
-
} else {
|
|
193
|
-
this.state_1 = this.exceptionState_1;
|
|
194
|
-
this.exception_1 = e;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
while (true);
|
|
198
|
-
};
|
|
199
141
|
function $deleteUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
200
142
|
CoroutineImpl.call(this, resultContinuation);
|
|
201
143
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -248,131 +190,6 @@ protoOf($deleteUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
248
190
|
}
|
|
249
191
|
while (true);
|
|
250
192
|
};
|
|
251
|
-
function $indexUserConversationsCOROUTINE$(_this__u8e3s4, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
252
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
253
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
254
|
-
this.unread_1 = unread;
|
|
255
|
-
this.search_1 = search;
|
|
256
|
-
this.orderBy_1 = orderBy;
|
|
257
|
-
this.orderDirection_1 = orderDirection;
|
|
258
|
-
this.fields_1 = fields;
|
|
259
|
-
this.pageToken_1 = pageToken;
|
|
260
|
-
this.autoPaginate_1 = autoPaginate;
|
|
261
|
-
this.count_1 = count;
|
|
262
|
-
}
|
|
263
|
-
protoOf($indexUserConversationsCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
264
|
-
var suspendResult = this.result_1;
|
|
265
|
-
$sm: do
|
|
266
|
-
try {
|
|
267
|
-
var tmp = this.state_1;
|
|
268
|
-
switch (tmp) {
|
|
269
|
-
case 0:
|
|
270
|
-
this.exceptionState_1 = 2;
|
|
271
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
272
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
273
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
274
|
-
if (this.unread_1 == null)
|
|
275
|
-
null;
|
|
276
|
-
else {
|
|
277
|
-
var value = listOf_0('' + this.unread_1);
|
|
278
|
-
localVariableQuery.put_4fpzoq_k$('unread', value);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
if (this.search_1 == null)
|
|
282
|
-
null;
|
|
283
|
-
else {
|
|
284
|
-
var value_0 = listOf_0(this.search_1);
|
|
285
|
-
localVariableQuery.put_4fpzoq_k$('search', value_0);
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
if (this.orderBy_1 == null)
|
|
289
|
-
null;
|
|
290
|
-
else {
|
|
291
|
-
var value_1 = listOf_0(this.orderBy_1.value);
|
|
292
|
-
localVariableQuery.put_4fpzoq_k$('orderBy', value_1);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
if (this.orderDirection_1 == null)
|
|
296
|
-
null;
|
|
297
|
-
else {
|
|
298
|
-
var tmp2 = 'orderDirection';
|
|
299
|
-
var value_2 = listOf_0(this.orderDirection_1.value);
|
|
300
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value_2);
|
|
301
|
-
}
|
|
302
|
-
|
|
303
|
-
if (this.fields_1 == null)
|
|
304
|
-
null;
|
|
305
|
-
else {
|
|
306
|
-
var value_3 = listOf_0(this.fields_1);
|
|
307
|
-
localVariableQuery.put_4fpzoq_k$('fields', value_3);
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
if (this.pageToken_1 == null)
|
|
311
|
-
null;
|
|
312
|
-
else {
|
|
313
|
-
var tmp2_0 = 'pageToken';
|
|
314
|
-
var value_4 = listOf_0(this.pageToken_1);
|
|
315
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_4);
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
if (this.autoPaginate_1 == null)
|
|
319
|
-
null;
|
|
320
|
-
else {
|
|
321
|
-
var tmp2_1 = 'autoPaginate';
|
|
322
|
-
var value_5 = listOf_0('' + this.autoPaginate_1);
|
|
323
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_5);
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
if (this.count_1 == null)
|
|
327
|
-
null;
|
|
328
|
-
else {
|
|
329
|
-
var value_6 = listOf_0('' + this.count_1);
|
|
330
|
-
localVariableQuery.put_4fpzoq_k$('count', value_6);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
334
|
-
var tmp8_method = RequestMethod_GET_getInstance();
|
|
335
|
-
var localVariableConfig = new RequestConfig(tmp8_method, '/users/conversations', localVariableHeaders, VOID, localVariableQuery, true);
|
|
336
|
-
this.state_1 = 1;
|
|
337
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
338
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
339
|
-
return suspendResult;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
continue $sm;
|
|
343
|
-
case 1:
|
|
344
|
-
var this_0 = suspendResult;
|
|
345
|
-
var tmp_0 = getKClass(PagedListUserConversations);
|
|
346
|
-
var tmp_1 = null instanceof PagedListUserConversations;
|
|
347
|
-
var tmp_2;
|
|
348
|
-
try {
|
|
349
|
-
tmp_2 = createKType(getKClass(PagedListUserConversations), arrayOf([]), false);
|
|
350
|
-
} catch ($p) {
|
|
351
|
-
var tmp_3;
|
|
352
|
-
if ($p instanceof Error) {
|
|
353
|
-
var _unused_var__etf5q3 = $p;
|
|
354
|
-
tmp_3 = null;
|
|
355
|
-
} else {
|
|
356
|
-
throw $p;
|
|
357
|
-
}
|
|
358
|
-
tmp_2 = tmp_3;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
362
|
-
case 2:
|
|
363
|
-
throw this.exception_1;
|
|
364
|
-
}
|
|
365
|
-
} catch ($p_0) {
|
|
366
|
-
var e = $p_0;
|
|
367
|
-
if (this.exceptionState_1 === 2) {
|
|
368
|
-
throw e;
|
|
369
|
-
} else {
|
|
370
|
-
this.state_1 = this.exceptionState_1;
|
|
371
|
-
this.exception_1 = e;
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
while (true);
|
|
375
|
-
};
|
|
376
193
|
function $indexUserConversations$suspendBridgeCOROUTINE$(_this__u8e3s4, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
377
194
|
CoroutineImpl.call(this, resultContinuation);
|
|
378
195
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -433,72 +250,6 @@ protoOf($indexUserConversations$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = fu
|
|
|
433
250
|
}
|
|
434
251
|
while (true);
|
|
435
252
|
};
|
|
436
|
-
function $meCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
437
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
438
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
439
|
-
this.fields_1 = fields;
|
|
440
|
-
}
|
|
441
|
-
protoOf($meCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
442
|
-
var suspendResult = this.result_1;
|
|
443
|
-
$sm: do
|
|
444
|
-
try {
|
|
445
|
-
var tmp = this.state_1;
|
|
446
|
-
switch (tmp) {
|
|
447
|
-
case 0:
|
|
448
|
-
this.exceptionState_1 = 2;
|
|
449
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
450
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
451
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
452
|
-
if (this.fields_1 == null)
|
|
453
|
-
null;
|
|
454
|
-
else {
|
|
455
|
-
var value = listOf_0(this.fields_1);
|
|
456
|
-
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
460
|
-
var tmp1_method = RequestMethod_GET_getInstance();
|
|
461
|
-
var localVariableConfig = new RequestConfig(tmp1_method, '/me', localVariableHeaders, VOID, localVariableQuery, true);
|
|
462
|
-
this.state_1 = 1;
|
|
463
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
464
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
465
|
-
return suspendResult;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
continue $sm;
|
|
469
|
-
case 1:
|
|
470
|
-
var this_0 = suspendResult;
|
|
471
|
-
var tmp_0 = getKClass(AuthUser);
|
|
472
|
-
var tmp_1 = null instanceof AuthUser;
|
|
473
|
-
var tmp_2;
|
|
474
|
-
try {
|
|
475
|
-
tmp_2 = createKType(getKClass(AuthUser), arrayOf([]), false);
|
|
476
|
-
} catch ($p) {
|
|
477
|
-
var tmp_3;
|
|
478
|
-
if ($p instanceof Error) {
|
|
479
|
-
var _unused_var__etf5q3 = $p;
|
|
480
|
-
tmp_3 = null;
|
|
481
|
-
} else {
|
|
482
|
-
throw $p;
|
|
483
|
-
}
|
|
484
|
-
tmp_2 = tmp_3;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
488
|
-
case 2:
|
|
489
|
-
throw this.exception_1;
|
|
490
|
-
}
|
|
491
|
-
} catch ($p_0) {
|
|
492
|
-
var e = $p_0;
|
|
493
|
-
if (this.exceptionState_1 === 2) {
|
|
494
|
-
throw e;
|
|
495
|
-
} else {
|
|
496
|
-
this.state_1 = this.exceptionState_1;
|
|
497
|
-
this.exception_1 = e;
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
while (true);
|
|
501
|
-
};
|
|
502
253
|
function $me$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
503
254
|
CoroutineImpl.call(this, resultContinuation);
|
|
504
255
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -552,78 +303,12 @@ protoOf($me$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
552
303
|
}
|
|
553
304
|
while (true);
|
|
554
305
|
};
|
|
555
|
-
function $
|
|
306
|
+
function $showAuthedUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
556
307
|
CoroutineImpl.call(this, resultContinuation);
|
|
557
308
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
558
309
|
this.fields_1 = fields;
|
|
559
310
|
}
|
|
560
|
-
protoOf($
|
|
561
|
-
var suspendResult = this.result_1;
|
|
562
|
-
$sm: do
|
|
563
|
-
try {
|
|
564
|
-
var tmp = this.state_1;
|
|
565
|
-
switch (tmp) {
|
|
566
|
-
case 0:
|
|
567
|
-
this.exceptionState_1 = 2;
|
|
568
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
569
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
570
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
571
|
-
if (this.fields_1 == null)
|
|
572
|
-
null;
|
|
573
|
-
else {
|
|
574
|
-
var value = listOf_0(this.fields_1);
|
|
575
|
-
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
579
|
-
var tmp1_method = RequestMethod_GET_getInstance();
|
|
580
|
-
var localVariableConfig = new RequestConfig(tmp1_method, '/auth/user', localVariableHeaders, VOID, localVariableQuery, true);
|
|
581
|
-
this.state_1 = 1;
|
|
582
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
583
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
584
|
-
return suspendResult;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
continue $sm;
|
|
588
|
-
case 1:
|
|
589
|
-
var this_0 = suspendResult;
|
|
590
|
-
var tmp_0 = getKClass(AuthUser);
|
|
591
|
-
var tmp_1 = null instanceof AuthUser;
|
|
592
|
-
var tmp_2;
|
|
593
|
-
try {
|
|
594
|
-
tmp_2 = createKType(getKClass(AuthUser), arrayOf([]), false);
|
|
595
|
-
} catch ($p) {
|
|
596
|
-
var tmp_3;
|
|
597
|
-
if ($p instanceof Error) {
|
|
598
|
-
var _unused_var__etf5q3 = $p;
|
|
599
|
-
tmp_3 = null;
|
|
600
|
-
} else {
|
|
601
|
-
throw $p;
|
|
602
|
-
}
|
|
603
|
-
tmp_2 = tmp_3;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
607
|
-
case 2:
|
|
608
|
-
throw this.exception_1;
|
|
609
|
-
}
|
|
610
|
-
} catch ($p_0) {
|
|
611
|
-
var e = $p_0;
|
|
612
|
-
if (this.exceptionState_1 === 2) {
|
|
613
|
-
throw e;
|
|
614
|
-
} else {
|
|
615
|
-
this.state_1 = this.exceptionState_1;
|
|
616
|
-
this.exception_1 = e;
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
while (true);
|
|
620
|
-
};
|
|
621
|
-
function $showAuthedUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
622
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
623
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
624
|
-
this.fields_1 = fields;
|
|
625
|
-
}
|
|
626
|
-
protoOf($showAuthedUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
311
|
+
protoOf($showAuthedUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
627
312
|
var suspendResult = this.result_1;
|
|
628
313
|
$sm: do
|
|
629
314
|
try {
|
|
@@ -671,74 +356,52 @@ protoOf($showAuthedUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function (
|
|
|
671
356
|
}
|
|
672
357
|
while (true);
|
|
673
358
|
};
|
|
674
|
-
function $
|
|
359
|
+
function $showBulkUserActions$suspendBridgeCOROUTINE$(_this__u8e3s4, companyIds, fields, resultContinuation) {
|
|
675
360
|
CoroutineImpl.call(this, resultContinuation);
|
|
676
361
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
677
362
|
this.companyIds_1 = companyIds;
|
|
678
363
|
this.fields_1 = fields;
|
|
679
364
|
}
|
|
680
|
-
protoOf($
|
|
365
|
+
protoOf($showBulkUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
681
366
|
var suspendResult = this.result_1;
|
|
682
367
|
$sm: do
|
|
683
368
|
try {
|
|
684
369
|
var tmp = this.state_1;
|
|
685
370
|
switch (tmp) {
|
|
686
371
|
case 0:
|
|
687
|
-
this.exceptionState_1 =
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
null;
|
|
694
|
-
else {
|
|
695
|
-
var tmp2 = 'companyIds';
|
|
696
|
-
var value = toMultiValue(tmp0_safe_receiver, 'multi');
|
|
697
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value);
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
if (this.fields_1 == null)
|
|
701
|
-
null;
|
|
702
|
-
else {
|
|
703
|
-
var value_0 = listOf_0(this.fields_1);
|
|
704
|
-
localVariableQuery.put_4fpzoq_k$('fields', value_0);
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
708
|
-
var tmp2_method = RequestMethod_GET_getInstance();
|
|
709
|
-
var localVariableConfig = new RequestConfig(tmp2_method, '/users/actions/bulk', localVariableHeaders, VOID, localVariableQuery, true);
|
|
710
|
-
this.state_1 = 1;
|
|
711
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
712
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
713
|
-
return suspendResult;
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
continue $sm;
|
|
717
|
-
case 1:
|
|
718
|
-
var this_0 = suspendResult;
|
|
719
|
-
var tmp_0 = getKClass(BulkUserActions);
|
|
720
|
-
var tmp_1 = null instanceof BulkUserActions;
|
|
721
|
-
var tmp_2;
|
|
722
|
-
try {
|
|
723
|
-
tmp_2 = createKType(getKClass(BulkUserActions), arrayOf([]), false);
|
|
724
|
-
} catch ($p) {
|
|
725
|
-
var tmp_3;
|
|
726
|
-
if ($p instanceof Error) {
|
|
727
|
-
var _unused_var__etf5q3 = $p;
|
|
728
|
-
tmp_3 = null;
|
|
729
|
-
} else {
|
|
730
|
-
throw $p;
|
|
372
|
+
this.exceptionState_1 = 4;
|
|
373
|
+
if (this._this__u8e3s4__1.showBulkUserActions === protoOf(UserApi).showBulkUserActions) {
|
|
374
|
+
this.state_1 = 2;
|
|
375
|
+
suspendResult = this._this__u8e3s4__1.showBulkUserActions$default_3xajjb_k$(this.companyIds_1, this.fields_1, this);
|
|
376
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
377
|
+
return suspendResult;
|
|
731
378
|
}
|
|
732
|
-
|
|
379
|
+
continue $sm;
|
|
380
|
+
} else {
|
|
381
|
+
this.state_1 = 1;
|
|
382
|
+
suspendResult = await_0(this._this__u8e3s4__1.showBulkUserActions(this.companyIds_1, this.fields_1), this);
|
|
383
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
384
|
+
return suspendResult;
|
|
385
|
+
}
|
|
386
|
+
continue $sm;
|
|
733
387
|
}
|
|
734
388
|
|
|
735
|
-
|
|
389
|
+
case 1:
|
|
390
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
391
|
+
this.state_1 = 3;
|
|
392
|
+
continue $sm;
|
|
736
393
|
case 2:
|
|
394
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
395
|
+
this.state_1 = 3;
|
|
396
|
+
continue $sm;
|
|
397
|
+
case 3:
|
|
398
|
+
return this.WHEN_RESULT0__1;
|
|
399
|
+
case 4:
|
|
737
400
|
throw this.exception_1;
|
|
738
401
|
}
|
|
739
|
-
} catch ($
|
|
740
|
-
var e = $
|
|
741
|
-
if (this.exceptionState_1 ===
|
|
402
|
+
} catch ($p) {
|
|
403
|
+
var e = $p;
|
|
404
|
+
if (this.exceptionState_1 === 4) {
|
|
742
405
|
throw e;
|
|
743
406
|
} else {
|
|
744
407
|
this.state_1 = this.exceptionState_1;
|
|
@@ -747,13 +410,12 @@ protoOf($showBulkUserActionsCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
747
410
|
}
|
|
748
411
|
while (true);
|
|
749
412
|
};
|
|
750
|
-
function $
|
|
413
|
+
function $showUser$suspendBridgeCOROUTINE$(_this__u8e3s4, fields, resultContinuation) {
|
|
751
414
|
CoroutineImpl.call(this, resultContinuation);
|
|
752
415
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
753
|
-
this.companyIds_1 = companyIds;
|
|
754
416
|
this.fields_1 = fields;
|
|
755
417
|
}
|
|
756
|
-
protoOf($
|
|
418
|
+
protoOf($showUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
757
419
|
var suspendResult = this.result_1;
|
|
758
420
|
$sm: do
|
|
759
421
|
try {
|
|
@@ -761,16 +423,16 @@ protoOf($showBulkUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = funct
|
|
|
761
423
|
switch (tmp) {
|
|
762
424
|
case 0:
|
|
763
425
|
this.exceptionState_1 = 4;
|
|
764
|
-
if (this._this__u8e3s4__1.
|
|
426
|
+
if (this._this__u8e3s4__1.showUser === protoOf(UserApi).showUser) {
|
|
765
427
|
this.state_1 = 2;
|
|
766
|
-
suspendResult = this._this__u8e3s4__1.
|
|
428
|
+
suspendResult = this._this__u8e3s4__1.showUser$default_ajfnre_k$(this.fields_1, this);
|
|
767
429
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
768
430
|
return suspendResult;
|
|
769
431
|
}
|
|
770
432
|
continue $sm;
|
|
771
433
|
} else {
|
|
772
434
|
this.state_1 = 1;
|
|
773
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
435
|
+
suspendResult = await_0(this._this__u8e3s4__1.showUser(this.fields_1), this);
|
|
774
436
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
775
437
|
return suspendResult;
|
|
776
438
|
}
|
|
@@ -801,64 +463,55 @@ protoOf($showBulkUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = funct
|
|
|
801
463
|
}
|
|
802
464
|
while (true);
|
|
803
465
|
};
|
|
804
|
-
function $
|
|
466
|
+
function $showUserActions$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
805
467
|
CoroutineImpl.call(this, resultContinuation);
|
|
806
468
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
469
|
+
this.companyId_1 = companyId;
|
|
807
470
|
this.fields_1 = fields;
|
|
471
|
+
this.pageToken_1 = pageToken;
|
|
472
|
+
this.autoPaginate_1 = autoPaginate;
|
|
473
|
+
this.count_1 = count;
|
|
808
474
|
}
|
|
809
|
-
protoOf($
|
|
475
|
+
protoOf($showUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
810
476
|
var suspendResult = this.result_1;
|
|
811
477
|
$sm: do
|
|
812
478
|
try {
|
|
813
479
|
var tmp = this.state_1;
|
|
814
480
|
switch (tmp) {
|
|
815
481
|
case 0:
|
|
816
|
-
this.exceptionState_1 =
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
else {
|
|
823
|
-
var value = listOf_0(this.fields_1);
|
|
824
|
-
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
828
|
-
var tmp1_method = RequestMethod_GET_getInstance();
|
|
829
|
-
var localVariableConfig = new RequestConfig(tmp1_method, '/user', localVariableHeaders, VOID, localVariableQuery, false);
|
|
830
|
-
this.state_1 = 1;
|
|
831
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
832
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
833
|
-
return suspendResult;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
continue $sm;
|
|
837
|
-
case 1:
|
|
838
|
-
var this_0 = suspendResult;
|
|
839
|
-
var tmp_0 = getKClass(PersonUser);
|
|
840
|
-
var tmp_1 = null instanceof PersonUser;
|
|
841
|
-
var tmp_2;
|
|
842
|
-
try {
|
|
843
|
-
tmp_2 = createKType(getKClass(PersonUser), arrayOf([]), false);
|
|
844
|
-
} catch ($p) {
|
|
845
|
-
var tmp_3;
|
|
846
|
-
if ($p instanceof Error) {
|
|
847
|
-
var _unused_var__etf5q3 = $p;
|
|
848
|
-
tmp_3 = null;
|
|
849
|
-
} else {
|
|
850
|
-
throw $p;
|
|
482
|
+
this.exceptionState_1 = 4;
|
|
483
|
+
if (this._this__u8e3s4__1.showUserActions === protoOf(UserApi).showUserActions) {
|
|
484
|
+
this.state_1 = 2;
|
|
485
|
+
suspendResult = this._this__u8e3s4__1.showUserActions$default_wgj610_k$(this.companyId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
|
|
486
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
487
|
+
return suspendResult;
|
|
851
488
|
}
|
|
852
|
-
|
|
489
|
+
continue $sm;
|
|
490
|
+
} else {
|
|
491
|
+
this.state_1 = 1;
|
|
492
|
+
suspendResult = await_0(this._this__u8e3s4__1.showUserActions(this.companyId_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
493
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
494
|
+
return suspendResult;
|
|
495
|
+
}
|
|
496
|
+
continue $sm;
|
|
853
497
|
}
|
|
854
498
|
|
|
855
|
-
|
|
499
|
+
case 1:
|
|
500
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
501
|
+
this.state_1 = 3;
|
|
502
|
+
continue $sm;
|
|
856
503
|
case 2:
|
|
504
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
505
|
+
this.state_1 = 3;
|
|
506
|
+
continue $sm;
|
|
507
|
+
case 3:
|
|
508
|
+
return this.WHEN_RESULT0__1;
|
|
509
|
+
case 4:
|
|
857
510
|
throw this.exception_1;
|
|
858
511
|
}
|
|
859
|
-
} catch ($
|
|
860
|
-
var e = $
|
|
861
|
-
if (this.exceptionState_1 ===
|
|
512
|
+
} catch ($p) {
|
|
513
|
+
var e = $p;
|
|
514
|
+
if (this.exceptionState_1 === 4) {
|
|
862
515
|
throw e;
|
|
863
516
|
} else {
|
|
864
517
|
this.state_1 = this.exceptionState_1;
|
|
@@ -867,12 +520,20 @@ protoOf($showUserCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
867
520
|
}
|
|
868
521
|
while (true);
|
|
869
522
|
};
|
|
870
|
-
function $
|
|
523
|
+
function $showUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, personId, fileName, size, fit, position, format, quality, upscale, background, resultContinuation) {
|
|
871
524
|
CoroutineImpl.call(this, resultContinuation);
|
|
872
525
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
873
|
-
this.
|
|
526
|
+
this.personId_1 = personId;
|
|
527
|
+
this.fileName_1 = fileName;
|
|
528
|
+
this.size_1 = size;
|
|
529
|
+
this.fit_1 = fit;
|
|
530
|
+
this.position_1 = position;
|
|
531
|
+
this.format_1 = format;
|
|
532
|
+
this.quality_1 = quality;
|
|
533
|
+
this.upscale_1 = upscale;
|
|
534
|
+
this.background_1 = background;
|
|
874
535
|
}
|
|
875
|
-
protoOf($
|
|
536
|
+
protoOf($showUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
876
537
|
var suspendResult = this.result_1;
|
|
877
538
|
$sm: do
|
|
878
539
|
try {
|
|
@@ -880,16 +541,16 @@ protoOf($showUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
880
541
|
switch (tmp) {
|
|
881
542
|
case 0:
|
|
882
543
|
this.exceptionState_1 = 4;
|
|
883
|
-
if (this._this__u8e3s4__1.
|
|
544
|
+
if (this._this__u8e3s4__1.showUserImage === protoOf(UserApi).showUserImage) {
|
|
884
545
|
this.state_1 = 2;
|
|
885
|
-
suspendResult = this._this__u8e3s4__1.
|
|
546
|
+
suspendResult = this._this__u8e3s4__1.showUserImage$default_7m8udk_k$(this.personId_1, this.fileName_1, this.size_1, this.fit_1, this.position_1, this.format_1, this.quality_1, this.upscale_1, this.background_1, this);
|
|
886
547
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
887
548
|
return suspendResult;
|
|
888
549
|
}
|
|
889
550
|
continue $sm;
|
|
890
551
|
} else {
|
|
891
552
|
this.state_1 = 1;
|
|
892
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
553
|
+
suspendResult = await_0(this._this__u8e3s4__1.showUserImage(this.personId_1, this.fileName_1, this.size_1, this.fit_1, this.position_1, this.format_1, this.quality_1, this.upscale_1, this.background_1), this);
|
|
893
554
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
555
|
return suspendResult;
|
|
895
556
|
}
|
|
@@ -920,117 +581,12 @@ protoOf($showUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
920
581
|
}
|
|
921
582
|
while (true);
|
|
922
583
|
};
|
|
923
|
-
function $
|
|
584
|
+
function $updateUser$suspendBridgeCOROUTINE$(_this__u8e3s4, updateProfileCommand, resultContinuation) {
|
|
924
585
|
CoroutineImpl.call(this, resultContinuation);
|
|
925
586
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
926
|
-
this.
|
|
927
|
-
this.fields_1 = fields;
|
|
928
|
-
this.pageToken_1 = pageToken;
|
|
929
|
-
this.autoPaginate_1 = autoPaginate;
|
|
930
|
-
this.count_1 = count;
|
|
587
|
+
this.updateProfileCommand_1 = updateProfileCommand;
|
|
931
588
|
}
|
|
932
|
-
protoOf($
|
|
933
|
-
var suspendResult = this.result_1;
|
|
934
|
-
$sm: do
|
|
935
|
-
try {
|
|
936
|
-
var tmp = this.state_1;
|
|
937
|
-
switch (tmp) {
|
|
938
|
-
case 0:
|
|
939
|
-
this.exceptionState_1 = 2;
|
|
940
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
941
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
942
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
943
|
-
if (this.companyId_1 == null)
|
|
944
|
-
null;
|
|
945
|
-
else {
|
|
946
|
-
var tmp2 = 'companyId';
|
|
947
|
-
var value = listOf_0(this.companyId_1.toString());
|
|
948
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value);
|
|
949
|
-
}
|
|
950
|
-
|
|
951
|
-
if (this.fields_1 == null)
|
|
952
|
-
null;
|
|
953
|
-
else {
|
|
954
|
-
var value_0 = listOf_0(this.fields_1);
|
|
955
|
-
localVariableQuery.put_4fpzoq_k$('fields', value_0);
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
if (this.pageToken_1 == null)
|
|
959
|
-
null;
|
|
960
|
-
else {
|
|
961
|
-
var tmp2_0 = 'pageToken';
|
|
962
|
-
var value_1 = listOf_0(this.pageToken_1);
|
|
963
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_1);
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
if (this.autoPaginate_1 == null)
|
|
967
|
-
null;
|
|
968
|
-
else {
|
|
969
|
-
var tmp2_1 = 'autoPaginate';
|
|
970
|
-
var value_2 = listOf_0('' + this.autoPaginate_1);
|
|
971
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_2);
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
if (this.count_1 == null)
|
|
975
|
-
null;
|
|
976
|
-
else {
|
|
977
|
-
var value_3 = listOf_0('' + this.count_1);
|
|
978
|
-
localVariableQuery.put_4fpzoq_k$('count', value_3);
|
|
979
|
-
}
|
|
980
|
-
|
|
981
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
982
|
-
var tmp5_method = RequestMethod_GET_getInstance();
|
|
983
|
-
var localVariableConfig = new RequestConfig(tmp5_method, '/user/actions', localVariableHeaders, VOID, localVariableQuery, true);
|
|
984
|
-
this.state_1 = 1;
|
|
985
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
986
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
987
|
-
return suspendResult;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
continue $sm;
|
|
991
|
-
case 1:
|
|
992
|
-
var this_0 = suspendResult;
|
|
993
|
-
var tmp_0 = getKClass(PagedListString);
|
|
994
|
-
var tmp_1 = null instanceof PagedListString;
|
|
995
|
-
var tmp_2;
|
|
996
|
-
try {
|
|
997
|
-
tmp_2 = createKType(getKClass(PagedListString), arrayOf([]), false);
|
|
998
|
-
} catch ($p) {
|
|
999
|
-
var tmp_3;
|
|
1000
|
-
if ($p instanceof Error) {
|
|
1001
|
-
var _unused_var__etf5q3 = $p;
|
|
1002
|
-
tmp_3 = null;
|
|
1003
|
-
} else {
|
|
1004
|
-
throw $p;
|
|
1005
|
-
}
|
|
1006
|
-
tmp_2 = tmp_3;
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1010
|
-
case 2:
|
|
1011
|
-
throw this.exception_1;
|
|
1012
|
-
}
|
|
1013
|
-
} catch ($p_0) {
|
|
1014
|
-
var e = $p_0;
|
|
1015
|
-
if (this.exceptionState_1 === 2) {
|
|
1016
|
-
throw e;
|
|
1017
|
-
} else {
|
|
1018
|
-
this.state_1 = this.exceptionState_1;
|
|
1019
|
-
this.exception_1 = e;
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
while (true);
|
|
1023
|
-
};
|
|
1024
|
-
function $showUserActions$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1025
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1026
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1027
|
-
this.companyId_1 = companyId;
|
|
1028
|
-
this.fields_1 = fields;
|
|
1029
|
-
this.pageToken_1 = pageToken;
|
|
1030
|
-
this.autoPaginate_1 = autoPaginate;
|
|
1031
|
-
this.count_1 = count;
|
|
1032
|
-
}
|
|
1033
|
-
protoOf($showUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
589
|
+
protoOf($updateUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1034
590
|
var suspendResult = this.result_1;
|
|
1035
591
|
$sm: do
|
|
1036
592
|
try {
|
|
@@ -1038,16 +594,16 @@ protoOf($showUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
1038
594
|
switch (tmp) {
|
|
1039
595
|
case 0:
|
|
1040
596
|
this.exceptionState_1 = 4;
|
|
1041
|
-
if (this._this__u8e3s4__1.
|
|
597
|
+
if (this._this__u8e3s4__1.updateUser === protoOf(UserApi).updateUser) {
|
|
1042
598
|
this.state_1 = 2;
|
|
1043
|
-
suspendResult = this._this__u8e3s4__1.
|
|
599
|
+
suspendResult = this._this__u8e3s4__1.updateUser_25tihu_k$(this.updateProfileCommand_1, this);
|
|
1044
600
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1045
601
|
return suspendResult;
|
|
1046
602
|
}
|
|
1047
603
|
continue $sm;
|
|
1048
604
|
} else {
|
|
1049
605
|
this.state_1 = 1;
|
|
1050
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
606
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateUser(this.updateProfileCommand_1), this);
|
|
1051
607
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1052
608
|
return suspendResult;
|
|
1053
609
|
}
|
|
@@ -1078,139 +634,11 @@ protoOf($showUserActions$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
1078
634
|
}
|
|
1079
635
|
while (true);
|
|
1080
636
|
};
|
|
1081
|
-
function $
|
|
1082
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1083
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1084
|
-
this.personId_1 = personId;
|
|
1085
|
-
this.fileName_1 = fileName;
|
|
1086
|
-
this.size_1 = size;
|
|
1087
|
-
this.fit_1 = fit;
|
|
1088
|
-
this.position_1 = position;
|
|
1089
|
-
this.format_1 = format;
|
|
1090
|
-
this.quality_1 = quality;
|
|
1091
|
-
this.upscale_1 = upscale;
|
|
1092
|
-
this.background_1 = background;
|
|
1093
|
-
}
|
|
1094
|
-
protoOf($showUserImageCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1095
|
-
var suspendResult = this.result_1;
|
|
1096
|
-
$sm: do
|
|
1097
|
-
try {
|
|
1098
|
-
var tmp = this.state_1;
|
|
1099
|
-
switch (tmp) {
|
|
1100
|
-
case 0:
|
|
1101
|
-
this.exceptionState_1 = 2;
|
|
1102
|
-
var localVariableAuthNames = emptyList();
|
|
1103
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
1104
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1105
|
-
if (this.size_1 == null)
|
|
1106
|
-
null;
|
|
1107
|
-
else {
|
|
1108
|
-
var value = listOf_0(this.size_1);
|
|
1109
|
-
localVariableQuery.put_4fpzoq_k$('size', value);
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
if (this.fit_1 == null)
|
|
1113
|
-
null;
|
|
1114
|
-
else {
|
|
1115
|
-
var value_0 = listOf_0(this.fit_1);
|
|
1116
|
-
localVariableQuery.put_4fpzoq_k$('fit', value_0);
|
|
1117
|
-
}
|
|
1118
|
-
|
|
1119
|
-
if (this.position_1 == null)
|
|
1120
|
-
null;
|
|
1121
|
-
else {
|
|
1122
|
-
var tmp2 = 'position';
|
|
1123
|
-
var value_1 = listOf_0(this.position_1);
|
|
1124
|
-
localVariableQuery.put_4fpzoq_k$(tmp2, value_1);
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
if (this.format_1 == null)
|
|
1128
|
-
null;
|
|
1129
|
-
else {
|
|
1130
|
-
var value_2 = listOf_0(this.format_1);
|
|
1131
|
-
localVariableQuery.put_4fpzoq_k$('format', value_2);
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
|
-
if (this.quality_1 == null)
|
|
1135
|
-
null;
|
|
1136
|
-
else {
|
|
1137
|
-
var value_3 = listOf_0(this.quality_1);
|
|
1138
|
-
localVariableQuery.put_4fpzoq_k$('quality', value_3);
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
if (this.upscale_1 == null)
|
|
1142
|
-
null;
|
|
1143
|
-
else {
|
|
1144
|
-
var value_4 = listOf_0(this.upscale_1);
|
|
1145
|
-
localVariableQuery.put_4fpzoq_k$('upscale', value_4);
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
if (this.background_1 == null)
|
|
1149
|
-
null;
|
|
1150
|
-
else {
|
|
1151
|
-
var tmp2_0 = 'background';
|
|
1152
|
-
var value_5 = listOf_0(this.background_1);
|
|
1153
|
-
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_5);
|
|
1154
|
-
}
|
|
1155
|
-
|
|
1156
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1157
|
-
var tmp7_method = RequestMethod_GET_getInstance();
|
|
1158
|
-
var tmp8_path = replace(replace('/users/{personId}/profile/image/{fileName}', '{personId}', this.personId_1.toString()), '{fileName}', this.fileName_1);
|
|
1159
|
-
var localVariableConfig = new RequestConfig(tmp7_method, tmp8_path, localVariableHeaders, VOID, localVariableQuery, false);
|
|
1160
|
-
this.state_1 = 1;
|
|
1161
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1162
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1163
|
-
return suspendResult;
|
|
1164
|
-
}
|
|
1165
|
-
|
|
1166
|
-
continue $sm;
|
|
1167
|
-
case 1:
|
|
1168
|
-
var this_0 = suspendResult;
|
|
1169
|
-
var tmp_0 = getKClass(Unit);
|
|
1170
|
-
var tmp_1 = null instanceof Unit;
|
|
1171
|
-
var tmp_2;
|
|
1172
|
-
try {
|
|
1173
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1174
|
-
} catch ($p) {
|
|
1175
|
-
var tmp_3;
|
|
1176
|
-
if ($p instanceof Error) {
|
|
1177
|
-
var _unused_var__etf5q3 = $p;
|
|
1178
|
-
tmp_3 = null;
|
|
1179
|
-
} else {
|
|
1180
|
-
throw $p;
|
|
1181
|
-
}
|
|
1182
|
-
tmp_2 = tmp_3;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1186
|
-
case 2:
|
|
1187
|
-
throw this.exception_1;
|
|
1188
|
-
}
|
|
1189
|
-
} catch ($p_0) {
|
|
1190
|
-
var e = $p_0;
|
|
1191
|
-
if (this.exceptionState_1 === 2) {
|
|
1192
|
-
throw e;
|
|
1193
|
-
} else {
|
|
1194
|
-
this.state_1 = this.exceptionState_1;
|
|
1195
|
-
this.exception_1 = e;
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
while (true);
|
|
1199
|
-
};
|
|
1200
|
-
function $showUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, personId, fileName, size, fit, position, format, quality, upscale, background, resultContinuation) {
|
|
637
|
+
function $updateUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1201
638
|
CoroutineImpl.call(this, resultContinuation);
|
|
1202
639
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1203
|
-
this.personId_1 = personId;
|
|
1204
|
-
this.fileName_1 = fileName;
|
|
1205
|
-
this.size_1 = size;
|
|
1206
|
-
this.fit_1 = fit;
|
|
1207
|
-
this.position_1 = position;
|
|
1208
|
-
this.format_1 = format;
|
|
1209
|
-
this.quality_1 = quality;
|
|
1210
|
-
this.upscale_1 = upscale;
|
|
1211
|
-
this.background_1 = background;
|
|
1212
640
|
}
|
|
1213
|
-
protoOf($
|
|
641
|
+
protoOf($updateUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1214
642
|
var suspendResult = this.result_1;
|
|
1215
643
|
$sm: do
|
|
1216
644
|
try {
|
|
@@ -1218,238 +646,16 @@ protoOf($showUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
1218
646
|
switch (tmp) {
|
|
1219
647
|
case 0:
|
|
1220
648
|
this.exceptionState_1 = 4;
|
|
1221
|
-
if (this._this__u8e3s4__1.
|
|
649
|
+
if (this._this__u8e3s4__1.updateUserImage === protoOf(UserApi).updateUserImage) {
|
|
1222
650
|
this.state_1 = 2;
|
|
1223
|
-
suspendResult = this._this__u8e3s4__1.
|
|
651
|
+
suspendResult = this._this__u8e3s4__1.updateUserImage_2qpxa5_k$(this);
|
|
1224
652
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1225
653
|
return suspendResult;
|
|
1226
654
|
}
|
|
1227
655
|
continue $sm;
|
|
1228
656
|
} else {
|
|
1229
657
|
this.state_1 = 1;
|
|
1230
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
1231
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1232
|
-
return suspendResult;
|
|
1233
|
-
}
|
|
1234
|
-
continue $sm;
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
|
-
case 1:
|
|
1238
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1239
|
-
this.state_1 = 3;
|
|
1240
|
-
continue $sm;
|
|
1241
|
-
case 2:
|
|
1242
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1243
|
-
this.state_1 = 3;
|
|
1244
|
-
continue $sm;
|
|
1245
|
-
case 3:
|
|
1246
|
-
return this.WHEN_RESULT0__1;
|
|
1247
|
-
case 4:
|
|
1248
|
-
throw this.exception_1;
|
|
1249
|
-
}
|
|
1250
|
-
} catch ($p) {
|
|
1251
|
-
var e = $p;
|
|
1252
|
-
if (this.exceptionState_1 === 4) {
|
|
1253
|
-
throw e;
|
|
1254
|
-
} else {
|
|
1255
|
-
this.state_1 = this.exceptionState_1;
|
|
1256
|
-
this.exception_1 = e;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
|
-
while (true);
|
|
1260
|
-
};
|
|
1261
|
-
function $updateUserCOROUTINE$(_this__u8e3s4, updateProfileCommand, resultContinuation) {
|
|
1262
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1263
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1264
|
-
this.updateProfileCommand_1 = updateProfileCommand;
|
|
1265
|
-
}
|
|
1266
|
-
protoOf($updateUserCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1267
|
-
var suspendResult = this.result_1;
|
|
1268
|
-
$sm: do
|
|
1269
|
-
try {
|
|
1270
|
-
var tmp = this.state_1;
|
|
1271
|
-
switch (tmp) {
|
|
1272
|
-
case 0:
|
|
1273
|
-
this.exceptionState_1 = 2;
|
|
1274
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1275
|
-
var localVariableBody = this.updateProfileCommand_1;
|
|
1276
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1277
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1278
|
-
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
1279
|
-
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1280
|
-
this.state_1 = 1;
|
|
1281
|
-
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1282
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1283
|
-
return suspendResult;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
continue $sm;
|
|
1287
|
-
case 1:
|
|
1288
|
-
var this_0 = suspendResult;
|
|
1289
|
-
var tmp_0 = getKClass(Unit);
|
|
1290
|
-
var tmp_1 = null instanceof Unit;
|
|
1291
|
-
var tmp_2;
|
|
1292
|
-
try {
|
|
1293
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1294
|
-
} catch ($p) {
|
|
1295
|
-
var tmp_3;
|
|
1296
|
-
if ($p instanceof Error) {
|
|
1297
|
-
var _unused_var__etf5q3 = $p;
|
|
1298
|
-
tmp_3 = null;
|
|
1299
|
-
} else {
|
|
1300
|
-
throw $p;
|
|
1301
|
-
}
|
|
1302
|
-
tmp_2 = tmp_3;
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1306
|
-
case 2:
|
|
1307
|
-
throw this.exception_1;
|
|
1308
|
-
}
|
|
1309
|
-
} catch ($p_0) {
|
|
1310
|
-
var e = $p_0;
|
|
1311
|
-
if (this.exceptionState_1 === 2) {
|
|
1312
|
-
throw e;
|
|
1313
|
-
} else {
|
|
1314
|
-
this.state_1 = this.exceptionState_1;
|
|
1315
|
-
this.exception_1 = e;
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
while (true);
|
|
1319
|
-
};
|
|
1320
|
-
function $updateUser$suspendBridgeCOROUTINE$(_this__u8e3s4, updateProfileCommand, resultContinuation) {
|
|
1321
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1322
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1323
|
-
this.updateProfileCommand_1 = updateProfileCommand;
|
|
1324
|
-
}
|
|
1325
|
-
protoOf($updateUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1326
|
-
var suspendResult = this.result_1;
|
|
1327
|
-
$sm: do
|
|
1328
|
-
try {
|
|
1329
|
-
var tmp = this.state_1;
|
|
1330
|
-
switch (tmp) {
|
|
1331
|
-
case 0:
|
|
1332
|
-
this.exceptionState_1 = 4;
|
|
1333
|
-
if (this._this__u8e3s4__1.updateUser === protoOf(UserApi).updateUser) {
|
|
1334
|
-
this.state_1 = 2;
|
|
1335
|
-
suspendResult = this._this__u8e3s4__1.updateUser_25tihu_k$(this.updateProfileCommand_1, this);
|
|
1336
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1337
|
-
return suspendResult;
|
|
1338
|
-
}
|
|
1339
|
-
continue $sm;
|
|
1340
|
-
} else {
|
|
1341
|
-
this.state_1 = 1;
|
|
1342
|
-
suspendResult = await_0(this._this__u8e3s4__1.updateUser(this.updateProfileCommand_1), this);
|
|
1343
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1344
|
-
return suspendResult;
|
|
1345
|
-
}
|
|
1346
|
-
continue $sm;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
case 1:
|
|
1350
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1351
|
-
this.state_1 = 3;
|
|
1352
|
-
continue $sm;
|
|
1353
|
-
case 2:
|
|
1354
|
-
this.WHEN_RESULT0__1 = suspendResult;
|
|
1355
|
-
this.state_1 = 3;
|
|
1356
|
-
continue $sm;
|
|
1357
|
-
case 3:
|
|
1358
|
-
return this.WHEN_RESULT0__1;
|
|
1359
|
-
case 4:
|
|
1360
|
-
throw this.exception_1;
|
|
1361
|
-
}
|
|
1362
|
-
} catch ($p) {
|
|
1363
|
-
var e = $p;
|
|
1364
|
-
if (this.exceptionState_1 === 4) {
|
|
1365
|
-
throw e;
|
|
1366
|
-
} else {
|
|
1367
|
-
this.state_1 = this.exceptionState_1;
|
|
1368
|
-
this.exception_1 = e;
|
|
1369
|
-
}
|
|
1370
|
-
}
|
|
1371
|
-
while (true);
|
|
1372
|
-
};
|
|
1373
|
-
function $updateUserImageCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1374
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1375
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1376
|
-
}
|
|
1377
|
-
protoOf($updateUserImageCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1378
|
-
var suspendResult = this.result_1;
|
|
1379
|
-
$sm: do
|
|
1380
|
-
try {
|
|
1381
|
-
var tmp = this.state_1;
|
|
1382
|
-
switch (tmp) {
|
|
1383
|
-
case 0:
|
|
1384
|
-
this.exceptionState_1 = 2;
|
|
1385
|
-
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1386
|
-
var localVariableBody = EmptyContent_getInstance();
|
|
1387
|
-
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1388
|
-
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1389
|
-
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
1390
|
-
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile/image', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1391
|
-
this.state_1 = 1;
|
|
1392
|
-
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1393
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1394
|
-
return suspendResult;
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
continue $sm;
|
|
1398
|
-
case 1:
|
|
1399
|
-
var this_0 = suspendResult;
|
|
1400
|
-
var tmp_0 = getKClass(Unit);
|
|
1401
|
-
var tmp_1 = null instanceof Unit;
|
|
1402
|
-
var tmp_2;
|
|
1403
|
-
try {
|
|
1404
|
-
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1405
|
-
} catch ($p) {
|
|
1406
|
-
var tmp_3;
|
|
1407
|
-
if ($p instanceof Error) {
|
|
1408
|
-
var _unused_var__etf5q3 = $p;
|
|
1409
|
-
tmp_3 = null;
|
|
1410
|
-
} else {
|
|
1411
|
-
throw $p;
|
|
1412
|
-
}
|
|
1413
|
-
tmp_2 = tmp_3;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1417
|
-
case 2:
|
|
1418
|
-
throw this.exception_1;
|
|
1419
|
-
}
|
|
1420
|
-
} catch ($p_0) {
|
|
1421
|
-
var e = $p_0;
|
|
1422
|
-
if (this.exceptionState_1 === 2) {
|
|
1423
|
-
throw e;
|
|
1424
|
-
} else {
|
|
1425
|
-
this.state_1 = this.exceptionState_1;
|
|
1426
|
-
this.exception_1 = e;
|
|
1427
|
-
}
|
|
1428
|
-
}
|
|
1429
|
-
while (true);
|
|
1430
|
-
};
|
|
1431
|
-
function $updateUserImage$suspendBridgeCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1432
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1433
|
-
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
1434
|
-
}
|
|
1435
|
-
protoOf($updateUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1436
|
-
var suspendResult = this.result_1;
|
|
1437
|
-
$sm: do
|
|
1438
|
-
try {
|
|
1439
|
-
var tmp = this.state_1;
|
|
1440
|
-
switch (tmp) {
|
|
1441
|
-
case 0:
|
|
1442
|
-
this.exceptionState_1 = 4;
|
|
1443
|
-
if (this._this__u8e3s4__1.updateUserImage === protoOf(UserApi).updateUserImage) {
|
|
1444
|
-
this.state_1 = 2;
|
|
1445
|
-
suspendResult = this._this__u8e3s4__1.updateUserImage_2qpxa5_k$(this);
|
|
1446
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1447
|
-
return suspendResult;
|
|
1448
|
-
}
|
|
1449
|
-
continue $sm;
|
|
1450
|
-
} else {
|
|
1451
|
-
this.state_1 = 1;
|
|
1452
|
-
suspendResult = await_0(this._this__u8e3s4__1.updateUserImage(), this);
|
|
658
|
+
suspendResult = await_0(this._this__u8e3s4__1.updateUserImage(), this);
|
|
1453
659
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1454
660
|
return suspendResult;
|
|
1455
661
|
}
|
|
@@ -1481,10 +687,7 @@ protoOf($updateUserImage$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
1481
687
|
while (true);
|
|
1482
688
|
};
|
|
1483
689
|
protoOf(UserApi).deleteUserImage_z5hxr5_k$ = function ($completion) {
|
|
1484
|
-
|
|
1485
|
-
tmp.result_1 = Unit_instance;
|
|
1486
|
-
tmp.exception_1 = null;
|
|
1487
|
-
return tmp.doResume_5yljmg_k$();
|
|
690
|
+
return deleteUserImageOperation_0(this, $completion);
|
|
1488
691
|
};
|
|
1489
692
|
protoOf(UserApi).deleteUserImage = function () {
|
|
1490
693
|
var tmp = this;
|
|
@@ -1499,10 +702,7 @@ protoOf(UserApi).deleteUserImage$suspendBridge_uzdgi_k$ = function ($completion)
|
|
|
1499
702
|
return tmp.doResume_5yljmg_k$();
|
|
1500
703
|
};
|
|
1501
704
|
protoOf(UserApi).indexUserConversations_jh9k4i_k$ = function (unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion) {
|
|
1502
|
-
|
|
1503
|
-
tmp.result_1 = Unit_instance;
|
|
1504
|
-
tmp.exception_1 = null;
|
|
1505
|
-
return tmp.doResume_5yljmg_k$();
|
|
705
|
+
return indexUserConversationsOperation_0(this, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion);
|
|
1506
706
|
};
|
|
1507
707
|
protoOf(UserApi).indexUserConversations$default_wubik5_k$ = function (unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
1508
708
|
unread = unread === VOID ? null : unread;
|
|
@@ -1528,10 +728,7 @@ protoOf(UserApi).indexUserConversations$suspendBridge_495ssh_k$ = function (unre
|
|
|
1528
728
|
return tmp.doResume_5yljmg_k$();
|
|
1529
729
|
};
|
|
1530
730
|
protoOf(UserApi).me_6jfqp7_k$ = function (fields, $completion) {
|
|
1531
|
-
|
|
1532
|
-
tmp.result_1 = Unit_instance;
|
|
1533
|
-
tmp.exception_1 = null;
|
|
1534
|
-
return tmp.doResume_5yljmg_k$();
|
|
731
|
+
return meOperation_0(this, fields, $completion);
|
|
1535
732
|
};
|
|
1536
733
|
protoOf(UserApi).me$default_dhbpuh_k$ = function (fields, $completion, $super) {
|
|
1537
734
|
fields = fields === VOID ? null : fields;
|
|
@@ -1550,10 +747,7 @@ protoOf(UserApi).me$suspendBridge_b75qng_k$ = function (fields, $completion) {
|
|
|
1550
747
|
return tmp.doResume_5yljmg_k$();
|
|
1551
748
|
};
|
|
1552
749
|
protoOf(UserApi).showAuthedUser_7tgd7m_k$ = function (fields, $completion) {
|
|
1553
|
-
|
|
1554
|
-
tmp.result_1 = Unit_instance;
|
|
1555
|
-
tmp.exception_1 = null;
|
|
1556
|
-
return tmp.doResume_5yljmg_k$();
|
|
750
|
+
return showAuthedUserOperation_0(this, fields, $completion);
|
|
1557
751
|
};
|
|
1558
752
|
protoOf(UserApi).showAuthedUser$default_gk8cuo_k$ = function (fields, $completion, $super) {
|
|
1559
753
|
fields = fields === VOID ? null : fields;
|
|
@@ -1572,10 +766,7 @@ protoOf(UserApi).showAuthedUser$suspendBridge_qefyn1_k$ = function (fields, $com
|
|
|
1572
766
|
return tmp.doResume_5yljmg_k$();
|
|
1573
767
|
};
|
|
1574
768
|
protoOf(UserApi).showBulkUserActions_pd93hp_k$ = function (companyIds, fields, $completion) {
|
|
1575
|
-
|
|
1576
|
-
tmp.result_1 = Unit_instance;
|
|
1577
|
-
tmp.exception_1 = null;
|
|
1578
|
-
return tmp.doResume_5yljmg_k$();
|
|
769
|
+
return showBulkUserActionsOperation_0(this, companyIds, fields, $completion);
|
|
1579
770
|
};
|
|
1580
771
|
protoOf(UserApi).showBulkUserActions$default_3xajjb_k$ = function (companyIds, fields, $completion, $super) {
|
|
1581
772
|
fields = fields === VOID ? null : fields;
|
|
@@ -1594,10 +785,7 @@ protoOf(UserApi).showBulkUserActions$suspendBridge_o1euuq_k$ = function (company
|
|
|
1594
785
|
return tmp.doResume_5yljmg_k$();
|
|
1595
786
|
};
|
|
1596
787
|
protoOf(UserApi).showUser_vsrn2_k$ = function (fields, $completion) {
|
|
1597
|
-
|
|
1598
|
-
tmp.result_1 = Unit_instance;
|
|
1599
|
-
tmp.exception_1 = null;
|
|
1600
|
-
return tmp.doResume_5yljmg_k$();
|
|
788
|
+
return showUserOperation_0(this, fields, $completion);
|
|
1601
789
|
};
|
|
1602
790
|
protoOf(UserApi).showUser$default_ajfnre_k$ = function (fields, $completion, $super) {
|
|
1603
791
|
fields = fields === VOID ? null : fields;
|
|
@@ -1616,10 +804,7 @@ protoOf(UserApi).showUser$suspendBridge_tfrl_k$ = function (fields, $completion)
|
|
|
1616
804
|
return tmp.doResume_5yljmg_k$();
|
|
1617
805
|
};
|
|
1618
806
|
protoOf(UserApi).showUserActions_vb9hn2_k$ = function (companyId, fields, pageToken, autoPaginate, count, $completion) {
|
|
1619
|
-
|
|
1620
|
-
tmp.result_1 = Unit_instance;
|
|
1621
|
-
tmp.exception_1 = null;
|
|
1622
|
-
return tmp.doResume_5yljmg_k$();
|
|
807
|
+
return showUserActionsOperation_0(this, companyId, fields, pageToken, autoPaginate, count, $completion);
|
|
1623
808
|
};
|
|
1624
809
|
protoOf(UserApi).showUserActions$default_wgj610_k$ = function (companyId, fields, pageToken, autoPaginate, count, $completion, $super) {
|
|
1625
810
|
companyId = companyId === VOID ? null : companyId;
|
|
@@ -1642,10 +827,7 @@ protoOf(UserApi).showUserActions$suspendBridge_pechg3_k$ = function (companyId,
|
|
|
1642
827
|
return tmp.doResume_5yljmg_k$();
|
|
1643
828
|
};
|
|
1644
829
|
protoOf(UserApi).showUserImage_agoglw_k$ = function (personId, fileName, size, fit, position, format, quality, upscale, background, $completion) {
|
|
1645
|
-
|
|
1646
|
-
tmp.result_1 = Unit_instance;
|
|
1647
|
-
tmp.exception_1 = null;
|
|
1648
|
-
return tmp.doResume_5yljmg_k$();
|
|
830
|
+
return showUserImageOperation_0(this, personId, fileName, size, fit, position, format, quality, upscale, background, $completion);
|
|
1649
831
|
};
|
|
1650
832
|
protoOf(UserApi).showUserImage$default_7m8udk_k$ = function (personId, fileName, size, fit, position, format, quality, upscale, background, $completion, $super) {
|
|
1651
833
|
size = size === VOID ? null : size;
|
|
@@ -1670,10 +852,7 @@ protoOf(UserApi).showUserImage$suspendBridge_lm0dbf_k$ = function (personId, fil
|
|
|
1670
852
|
return tmp.doResume_5yljmg_k$();
|
|
1671
853
|
};
|
|
1672
854
|
protoOf(UserApi).updateUser_25tihu_k$ = function (updateProfileCommand, $completion) {
|
|
1673
|
-
|
|
1674
|
-
tmp.result_1 = Unit_instance;
|
|
1675
|
-
tmp.exception_1 = null;
|
|
1676
|
-
return tmp.doResume_5yljmg_k$();
|
|
855
|
+
return updateUserOperation_0(this, updateProfileCommand, $completion);
|
|
1677
856
|
};
|
|
1678
857
|
protoOf(UserApi).updateUser = function (updateProfileCommand) {
|
|
1679
858
|
var tmp = this;
|
|
@@ -1688,10 +867,7 @@ protoOf(UserApi).updateUser$suspendBridge_n5vtj7_k$ = function (updateProfileCom
|
|
|
1688
867
|
return tmp.doResume_5yljmg_k$();
|
|
1689
868
|
};
|
|
1690
869
|
protoOf(UserApi).updateUserImage_2qpxa5_k$ = function ($completion) {
|
|
1691
|
-
|
|
1692
|
-
tmp.result_1 = Unit_instance;
|
|
1693
|
-
tmp.exception_1 = null;
|
|
1694
|
-
return tmp.doResume_5yljmg_k$();
|
|
870
|
+
return updateUserImageOperation_0(this, $completion);
|
|
1695
871
|
};
|
|
1696
872
|
protoOf(UserApi).updateUserImage = function () {
|
|
1697
873
|
var tmp = this;
|
|
@@ -1707,6 +883,934 @@ protoOf(UserApi).updateUserImage$suspendBridge_1h5vgc_k$ = function ($completion
|
|
|
1707
883
|
};
|
|
1708
884
|
function UserApi() {
|
|
1709
885
|
}
|
|
886
|
+
function deleteUserImageOperation(client) {
|
|
887
|
+
return promisify(function ($completion) {
|
|
888
|
+
return deleteUserImageOperation_0(client, $completion);
|
|
889
|
+
});
|
|
890
|
+
}
|
|
891
|
+
function deleteUserImageOperation_0(client, $completion) {
|
|
892
|
+
var tmp = new $deleteUserImageOperationCOROUTINE$(client, $completion);
|
|
893
|
+
tmp.result_1 = Unit_instance;
|
|
894
|
+
tmp.exception_1 = null;
|
|
895
|
+
return tmp.doResume_5yljmg_k$();
|
|
896
|
+
}
|
|
897
|
+
function $deleteUserImageOperationCOROUTINE$(client, resultContinuation) {
|
|
898
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
899
|
+
this.client_1 = client;
|
|
900
|
+
}
|
|
901
|
+
protoOf($deleteUserImageOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
902
|
+
var suspendResult = this.result_1;
|
|
903
|
+
$sm: do
|
|
904
|
+
try {
|
|
905
|
+
var tmp = this.state_1;
|
|
906
|
+
switch (tmp) {
|
|
907
|
+
case 0:
|
|
908
|
+
this.exceptionState_1 = 2;
|
|
909
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
910
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
911
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
912
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
913
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
914
|
+
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile/image', localVariableHeaders, VOID, localVariableQuery, true);
|
|
915
|
+
this.state_1 = 1;
|
|
916
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
917
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
918
|
+
return suspendResult;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
continue $sm;
|
|
922
|
+
case 1:
|
|
923
|
+
var this_0 = suspendResult;
|
|
924
|
+
var tmp_0 = getKClass(Unit);
|
|
925
|
+
var tmp_1 = null instanceof Unit;
|
|
926
|
+
var tmp_2;
|
|
927
|
+
try {
|
|
928
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
929
|
+
} catch ($p) {
|
|
930
|
+
var tmp_3;
|
|
931
|
+
if ($p instanceof Error) {
|
|
932
|
+
var _unused_var__etf5q3 = $p;
|
|
933
|
+
tmp_3 = null;
|
|
934
|
+
} else {
|
|
935
|
+
throw $p;
|
|
936
|
+
}
|
|
937
|
+
tmp_2 = tmp_3;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
941
|
+
case 2:
|
|
942
|
+
throw this.exception_1;
|
|
943
|
+
}
|
|
944
|
+
} catch ($p_0) {
|
|
945
|
+
var e = $p_0;
|
|
946
|
+
if (this.exceptionState_1 === 2) {
|
|
947
|
+
throw e;
|
|
948
|
+
} else {
|
|
949
|
+
this.state_1 = this.exceptionState_1;
|
|
950
|
+
this.exception_1 = e;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
while (true);
|
|
954
|
+
};
|
|
955
|
+
function indexUserConversationsOperation(client, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count) {
|
|
956
|
+
return promisify(function ($completion) {
|
|
957
|
+
return indexUserConversationsOperation_0(client, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion);
|
|
958
|
+
});
|
|
959
|
+
}
|
|
960
|
+
function indexUserConversationsOperation_0(client, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion) {
|
|
961
|
+
unread = unread === VOID ? null : unread;
|
|
962
|
+
search = search === VOID ? null : search;
|
|
963
|
+
orderBy = orderBy === VOID ? null : orderBy;
|
|
964
|
+
orderDirection = orderDirection === VOID ? null : orderDirection;
|
|
965
|
+
fields = fields === VOID ? null : fields;
|
|
966
|
+
pageToken = pageToken === VOID ? null : pageToken;
|
|
967
|
+
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
968
|
+
count = count === VOID ? null : count;
|
|
969
|
+
var tmp = new $indexUserConversationsOperationCOROUTINE$(client, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, $completion);
|
|
970
|
+
tmp.result_1 = Unit_instance;
|
|
971
|
+
tmp.exception_1 = null;
|
|
972
|
+
return tmp.doResume_5yljmg_k$();
|
|
973
|
+
}
|
|
974
|
+
function $indexUserConversationsOperationCOROUTINE$(client, unread, search, orderBy, orderDirection, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
975
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
976
|
+
this.client_1 = client;
|
|
977
|
+
this.unread_1 = unread;
|
|
978
|
+
this.search_1 = search;
|
|
979
|
+
this.orderBy_1 = orderBy;
|
|
980
|
+
this.orderDirection_1 = orderDirection;
|
|
981
|
+
this.fields_1 = fields;
|
|
982
|
+
this.pageToken_1 = pageToken;
|
|
983
|
+
this.autoPaginate_1 = autoPaginate;
|
|
984
|
+
this.count_1 = count;
|
|
985
|
+
}
|
|
986
|
+
protoOf($indexUserConversationsOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
987
|
+
var suspendResult = this.result_1;
|
|
988
|
+
$sm: do
|
|
989
|
+
try {
|
|
990
|
+
var tmp = this.state_1;
|
|
991
|
+
switch (tmp) {
|
|
992
|
+
case 0:
|
|
993
|
+
this.exceptionState_1 = 2;
|
|
994
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
995
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
996
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
997
|
+
if (this.unread_1 == null)
|
|
998
|
+
null;
|
|
999
|
+
else {
|
|
1000
|
+
var value = listOf_0('' + this.unread_1);
|
|
1001
|
+
localVariableQuery.put_4fpzoq_k$('unread', value);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
if (this.search_1 == null)
|
|
1005
|
+
null;
|
|
1006
|
+
else {
|
|
1007
|
+
var value_0 = listOf_0(this.search_1);
|
|
1008
|
+
localVariableQuery.put_4fpzoq_k$('search', value_0);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
if (this.orderBy_1 == null)
|
|
1012
|
+
null;
|
|
1013
|
+
else {
|
|
1014
|
+
var value_1 = listOf_0(this.orderBy_1.value);
|
|
1015
|
+
localVariableQuery.put_4fpzoq_k$('orderBy', value_1);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
if (this.orderDirection_1 == null)
|
|
1019
|
+
null;
|
|
1020
|
+
else {
|
|
1021
|
+
var tmp2 = 'orderDirection';
|
|
1022
|
+
var value_2 = listOf_0(this.orderDirection_1.value);
|
|
1023
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value_2);
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
if (this.fields_1 == null)
|
|
1027
|
+
null;
|
|
1028
|
+
else {
|
|
1029
|
+
var value_3 = listOf_0(this.fields_1);
|
|
1030
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_3);
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
if (this.pageToken_1 == null)
|
|
1034
|
+
null;
|
|
1035
|
+
else {
|
|
1036
|
+
var tmp2_0 = 'pageToken';
|
|
1037
|
+
var value_4 = listOf_0(this.pageToken_1);
|
|
1038
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_4);
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
if (this.autoPaginate_1 == null)
|
|
1042
|
+
null;
|
|
1043
|
+
else {
|
|
1044
|
+
var tmp2_1 = 'autoPaginate';
|
|
1045
|
+
var value_5 = listOf_0('' + this.autoPaginate_1);
|
|
1046
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_5);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
if (this.count_1 == null)
|
|
1050
|
+
null;
|
|
1051
|
+
else {
|
|
1052
|
+
var value_6 = listOf_0('' + this.count_1);
|
|
1053
|
+
localVariableQuery.put_4fpzoq_k$('count', value_6);
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1057
|
+
var tmp8_method = RequestMethod_GET_getInstance();
|
|
1058
|
+
var localVariableConfig = new RequestConfig(tmp8_method, '/users/conversations', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1059
|
+
this.state_1 = 1;
|
|
1060
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1061
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1062
|
+
return suspendResult;
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
continue $sm;
|
|
1066
|
+
case 1:
|
|
1067
|
+
var this_0 = suspendResult;
|
|
1068
|
+
var tmp_0 = getKClass(PagedListUserConversations);
|
|
1069
|
+
var tmp_1 = null instanceof PagedListUserConversations;
|
|
1070
|
+
var tmp_2;
|
|
1071
|
+
try {
|
|
1072
|
+
tmp_2 = createKType(getKClass(PagedListUserConversations), arrayOf([]), false);
|
|
1073
|
+
} catch ($p) {
|
|
1074
|
+
var tmp_3;
|
|
1075
|
+
if ($p instanceof Error) {
|
|
1076
|
+
var _unused_var__etf5q3 = $p;
|
|
1077
|
+
tmp_3 = null;
|
|
1078
|
+
} else {
|
|
1079
|
+
throw $p;
|
|
1080
|
+
}
|
|
1081
|
+
tmp_2 = tmp_3;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1085
|
+
case 2:
|
|
1086
|
+
throw this.exception_1;
|
|
1087
|
+
}
|
|
1088
|
+
} catch ($p_0) {
|
|
1089
|
+
var e = $p_0;
|
|
1090
|
+
if (this.exceptionState_1 === 2) {
|
|
1091
|
+
throw e;
|
|
1092
|
+
} else {
|
|
1093
|
+
this.state_1 = this.exceptionState_1;
|
|
1094
|
+
this.exception_1 = e;
|
|
1095
|
+
}
|
|
1096
|
+
}
|
|
1097
|
+
while (true);
|
|
1098
|
+
};
|
|
1099
|
+
function meOperation(client, fields) {
|
|
1100
|
+
return promisify(function ($completion) {
|
|
1101
|
+
return meOperation_0(client, fields, $completion);
|
|
1102
|
+
});
|
|
1103
|
+
}
|
|
1104
|
+
function meOperation_0(client, fields, $completion) {
|
|
1105
|
+
fields = fields === VOID ? null : fields;
|
|
1106
|
+
var tmp = new $meOperationCOROUTINE$(client, fields, $completion);
|
|
1107
|
+
tmp.result_1 = Unit_instance;
|
|
1108
|
+
tmp.exception_1 = null;
|
|
1109
|
+
return tmp.doResume_5yljmg_k$();
|
|
1110
|
+
}
|
|
1111
|
+
function $meOperationCOROUTINE$(client, fields, resultContinuation) {
|
|
1112
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1113
|
+
this.client_1 = client;
|
|
1114
|
+
this.fields_1 = fields;
|
|
1115
|
+
}
|
|
1116
|
+
protoOf($meOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1117
|
+
var suspendResult = this.result_1;
|
|
1118
|
+
$sm: do
|
|
1119
|
+
try {
|
|
1120
|
+
var tmp = this.state_1;
|
|
1121
|
+
switch (tmp) {
|
|
1122
|
+
case 0:
|
|
1123
|
+
this.exceptionState_1 = 2;
|
|
1124
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1125
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1126
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1127
|
+
if (this.fields_1 == null)
|
|
1128
|
+
null;
|
|
1129
|
+
else {
|
|
1130
|
+
var value = listOf_0(this.fields_1);
|
|
1131
|
+
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1135
|
+
var tmp1_method = RequestMethod_GET_getInstance();
|
|
1136
|
+
var localVariableConfig = new RequestConfig(tmp1_method, '/me', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1137
|
+
this.state_1 = 1;
|
|
1138
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1139
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1140
|
+
return suspendResult;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
continue $sm;
|
|
1144
|
+
case 1:
|
|
1145
|
+
var this_0 = suspendResult;
|
|
1146
|
+
var tmp_0 = getKClass(AuthUser);
|
|
1147
|
+
var tmp_1 = null instanceof AuthUser;
|
|
1148
|
+
var tmp_2;
|
|
1149
|
+
try {
|
|
1150
|
+
tmp_2 = createKType(getKClass(AuthUser), arrayOf([]), false);
|
|
1151
|
+
} catch ($p) {
|
|
1152
|
+
var tmp_3;
|
|
1153
|
+
if ($p instanceof Error) {
|
|
1154
|
+
var _unused_var__etf5q3 = $p;
|
|
1155
|
+
tmp_3 = null;
|
|
1156
|
+
} else {
|
|
1157
|
+
throw $p;
|
|
1158
|
+
}
|
|
1159
|
+
tmp_2 = tmp_3;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1163
|
+
case 2:
|
|
1164
|
+
throw this.exception_1;
|
|
1165
|
+
}
|
|
1166
|
+
} catch ($p_0) {
|
|
1167
|
+
var e = $p_0;
|
|
1168
|
+
if (this.exceptionState_1 === 2) {
|
|
1169
|
+
throw e;
|
|
1170
|
+
} else {
|
|
1171
|
+
this.state_1 = this.exceptionState_1;
|
|
1172
|
+
this.exception_1 = e;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
while (true);
|
|
1176
|
+
};
|
|
1177
|
+
function showAuthedUserOperation(client, fields) {
|
|
1178
|
+
return promisify(function ($completion) {
|
|
1179
|
+
return showAuthedUserOperation_0(client, fields, $completion);
|
|
1180
|
+
});
|
|
1181
|
+
}
|
|
1182
|
+
function showAuthedUserOperation_0(client, fields, $completion) {
|
|
1183
|
+
fields = fields === VOID ? null : fields;
|
|
1184
|
+
var tmp = new $showAuthedUserOperationCOROUTINE$(client, fields, $completion);
|
|
1185
|
+
tmp.result_1 = Unit_instance;
|
|
1186
|
+
tmp.exception_1 = null;
|
|
1187
|
+
return tmp.doResume_5yljmg_k$();
|
|
1188
|
+
}
|
|
1189
|
+
function $showAuthedUserOperationCOROUTINE$(client, fields, resultContinuation) {
|
|
1190
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1191
|
+
this.client_1 = client;
|
|
1192
|
+
this.fields_1 = fields;
|
|
1193
|
+
}
|
|
1194
|
+
protoOf($showAuthedUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1195
|
+
var suspendResult = this.result_1;
|
|
1196
|
+
$sm: do
|
|
1197
|
+
try {
|
|
1198
|
+
var tmp = this.state_1;
|
|
1199
|
+
switch (tmp) {
|
|
1200
|
+
case 0:
|
|
1201
|
+
this.exceptionState_1 = 2;
|
|
1202
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1203
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1204
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1205
|
+
if (this.fields_1 == null)
|
|
1206
|
+
null;
|
|
1207
|
+
else {
|
|
1208
|
+
var value = listOf_0(this.fields_1);
|
|
1209
|
+
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1213
|
+
var tmp1_method = RequestMethod_GET_getInstance();
|
|
1214
|
+
var localVariableConfig = new RequestConfig(tmp1_method, '/auth/user', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1215
|
+
this.state_1 = 1;
|
|
1216
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1217
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1218
|
+
return suspendResult;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
continue $sm;
|
|
1222
|
+
case 1:
|
|
1223
|
+
var this_0 = suspendResult;
|
|
1224
|
+
var tmp_0 = getKClass(AuthUser);
|
|
1225
|
+
var tmp_1 = null instanceof AuthUser;
|
|
1226
|
+
var tmp_2;
|
|
1227
|
+
try {
|
|
1228
|
+
tmp_2 = createKType(getKClass(AuthUser), arrayOf([]), false);
|
|
1229
|
+
} catch ($p) {
|
|
1230
|
+
var tmp_3;
|
|
1231
|
+
if ($p instanceof Error) {
|
|
1232
|
+
var _unused_var__etf5q3 = $p;
|
|
1233
|
+
tmp_3 = null;
|
|
1234
|
+
} else {
|
|
1235
|
+
throw $p;
|
|
1236
|
+
}
|
|
1237
|
+
tmp_2 = tmp_3;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1241
|
+
case 2:
|
|
1242
|
+
throw this.exception_1;
|
|
1243
|
+
}
|
|
1244
|
+
} catch ($p_0) {
|
|
1245
|
+
var e = $p_0;
|
|
1246
|
+
if (this.exceptionState_1 === 2) {
|
|
1247
|
+
throw e;
|
|
1248
|
+
} else {
|
|
1249
|
+
this.state_1 = this.exceptionState_1;
|
|
1250
|
+
this.exception_1 = e;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
while (true);
|
|
1254
|
+
};
|
|
1255
|
+
function showBulkUserActionsOperation(client, companyIds, fields) {
|
|
1256
|
+
return promisify(function ($completion) {
|
|
1257
|
+
return showBulkUserActionsOperation_0(client, companyIds, fields, $completion);
|
|
1258
|
+
});
|
|
1259
|
+
}
|
|
1260
|
+
function showBulkUserActionsOperation_0(client, companyIds, fields, $completion) {
|
|
1261
|
+
fields = fields === VOID ? null : fields;
|
|
1262
|
+
var tmp = new $showBulkUserActionsOperationCOROUTINE$(client, companyIds, fields, $completion);
|
|
1263
|
+
tmp.result_1 = Unit_instance;
|
|
1264
|
+
tmp.exception_1 = null;
|
|
1265
|
+
return tmp.doResume_5yljmg_k$();
|
|
1266
|
+
}
|
|
1267
|
+
function $showBulkUserActionsOperationCOROUTINE$(client, companyIds, fields, resultContinuation) {
|
|
1268
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1269
|
+
this.client_1 = client;
|
|
1270
|
+
this.companyIds_1 = companyIds;
|
|
1271
|
+
this.fields_1 = fields;
|
|
1272
|
+
}
|
|
1273
|
+
protoOf($showBulkUserActionsOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1274
|
+
var suspendResult = this.result_1;
|
|
1275
|
+
$sm: do
|
|
1276
|
+
try {
|
|
1277
|
+
var tmp = this.state_1;
|
|
1278
|
+
switch (tmp) {
|
|
1279
|
+
case 0:
|
|
1280
|
+
this.exceptionState_1 = 2;
|
|
1281
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1282
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1283
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1284
|
+
var tmp0_safe_receiver = this.companyIds_1;
|
|
1285
|
+
if (tmp0_safe_receiver == null)
|
|
1286
|
+
null;
|
|
1287
|
+
else {
|
|
1288
|
+
var tmp2 = 'companyIds';
|
|
1289
|
+
var value = toMultiValue(tmp0_safe_receiver, 'multi');
|
|
1290
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value);
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
if (this.fields_1 == null)
|
|
1294
|
+
null;
|
|
1295
|
+
else {
|
|
1296
|
+
var value_0 = listOf_0(this.fields_1);
|
|
1297
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_0);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1301
|
+
var tmp2_method = RequestMethod_GET_getInstance();
|
|
1302
|
+
var localVariableConfig = new RequestConfig(tmp2_method, '/users/actions/bulk', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1303
|
+
this.state_1 = 1;
|
|
1304
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1305
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1306
|
+
return suspendResult;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
continue $sm;
|
|
1310
|
+
case 1:
|
|
1311
|
+
var this_0 = suspendResult;
|
|
1312
|
+
var tmp_0 = getKClass(BulkUserActions);
|
|
1313
|
+
var tmp_1 = null instanceof BulkUserActions;
|
|
1314
|
+
var tmp_2;
|
|
1315
|
+
try {
|
|
1316
|
+
tmp_2 = createKType(getKClass(BulkUserActions), arrayOf([]), false);
|
|
1317
|
+
} catch ($p) {
|
|
1318
|
+
var tmp_3;
|
|
1319
|
+
if ($p instanceof Error) {
|
|
1320
|
+
var _unused_var__etf5q3 = $p;
|
|
1321
|
+
tmp_3 = null;
|
|
1322
|
+
} else {
|
|
1323
|
+
throw $p;
|
|
1324
|
+
}
|
|
1325
|
+
tmp_2 = tmp_3;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1329
|
+
case 2:
|
|
1330
|
+
throw this.exception_1;
|
|
1331
|
+
}
|
|
1332
|
+
} catch ($p_0) {
|
|
1333
|
+
var e = $p_0;
|
|
1334
|
+
if (this.exceptionState_1 === 2) {
|
|
1335
|
+
throw e;
|
|
1336
|
+
} else {
|
|
1337
|
+
this.state_1 = this.exceptionState_1;
|
|
1338
|
+
this.exception_1 = e;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
while (true);
|
|
1342
|
+
};
|
|
1343
|
+
function showUserActionsOperation(client, companyId, fields, pageToken, autoPaginate, count) {
|
|
1344
|
+
return promisify(function ($completion) {
|
|
1345
|
+
return showUserActionsOperation_0(client, companyId, fields, pageToken, autoPaginate, count, $completion);
|
|
1346
|
+
});
|
|
1347
|
+
}
|
|
1348
|
+
function showUserActionsOperation_0(client, companyId, fields, pageToken, autoPaginate, count, $completion) {
|
|
1349
|
+
companyId = companyId === VOID ? null : companyId;
|
|
1350
|
+
fields = fields === VOID ? null : fields;
|
|
1351
|
+
pageToken = pageToken === VOID ? null : pageToken;
|
|
1352
|
+
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
1353
|
+
count = count === VOID ? null : count;
|
|
1354
|
+
var tmp = new $showUserActionsOperationCOROUTINE$(client, companyId, fields, pageToken, autoPaginate, count, $completion);
|
|
1355
|
+
tmp.result_1 = Unit_instance;
|
|
1356
|
+
tmp.exception_1 = null;
|
|
1357
|
+
return tmp.doResume_5yljmg_k$();
|
|
1358
|
+
}
|
|
1359
|
+
function $showUserActionsOperationCOROUTINE$(client, companyId, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1360
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1361
|
+
this.client_1 = client;
|
|
1362
|
+
this.companyId_1 = companyId;
|
|
1363
|
+
this.fields_1 = fields;
|
|
1364
|
+
this.pageToken_1 = pageToken;
|
|
1365
|
+
this.autoPaginate_1 = autoPaginate;
|
|
1366
|
+
this.count_1 = count;
|
|
1367
|
+
}
|
|
1368
|
+
protoOf($showUserActionsOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1369
|
+
var suspendResult = this.result_1;
|
|
1370
|
+
$sm: do
|
|
1371
|
+
try {
|
|
1372
|
+
var tmp = this.state_1;
|
|
1373
|
+
switch (tmp) {
|
|
1374
|
+
case 0:
|
|
1375
|
+
this.exceptionState_1 = 2;
|
|
1376
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1377
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1378
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1379
|
+
if (this.companyId_1 == null)
|
|
1380
|
+
null;
|
|
1381
|
+
else {
|
|
1382
|
+
var tmp2 = 'companyId';
|
|
1383
|
+
var value = listOf_0(this.companyId_1.toString());
|
|
1384
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value);
|
|
1385
|
+
}
|
|
1386
|
+
|
|
1387
|
+
if (this.fields_1 == null)
|
|
1388
|
+
null;
|
|
1389
|
+
else {
|
|
1390
|
+
var value_0 = listOf_0(this.fields_1);
|
|
1391
|
+
localVariableQuery.put_4fpzoq_k$('fields', value_0);
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
if (this.pageToken_1 == null)
|
|
1395
|
+
null;
|
|
1396
|
+
else {
|
|
1397
|
+
var tmp2_0 = 'pageToken';
|
|
1398
|
+
var value_1 = listOf_0(this.pageToken_1);
|
|
1399
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_1);
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
if (this.autoPaginate_1 == null)
|
|
1403
|
+
null;
|
|
1404
|
+
else {
|
|
1405
|
+
var tmp2_1 = 'autoPaginate';
|
|
1406
|
+
var value_2 = listOf_0('' + this.autoPaginate_1);
|
|
1407
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_1, value_2);
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
if (this.count_1 == null)
|
|
1411
|
+
null;
|
|
1412
|
+
else {
|
|
1413
|
+
var value_3 = listOf_0('' + this.count_1);
|
|
1414
|
+
localVariableQuery.put_4fpzoq_k$('count', value_3);
|
|
1415
|
+
}
|
|
1416
|
+
|
|
1417
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1418
|
+
var tmp5_method = RequestMethod_GET_getInstance();
|
|
1419
|
+
var localVariableConfig = new RequestConfig(tmp5_method, '/user/actions', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1420
|
+
this.state_1 = 1;
|
|
1421
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1422
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1423
|
+
return suspendResult;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
continue $sm;
|
|
1427
|
+
case 1:
|
|
1428
|
+
var this_0 = suspendResult;
|
|
1429
|
+
var tmp_0 = getKClass(PagedListString);
|
|
1430
|
+
var tmp_1 = null instanceof PagedListString;
|
|
1431
|
+
var tmp_2;
|
|
1432
|
+
try {
|
|
1433
|
+
tmp_2 = createKType(getKClass(PagedListString), arrayOf([]), false);
|
|
1434
|
+
} catch ($p) {
|
|
1435
|
+
var tmp_3;
|
|
1436
|
+
if ($p instanceof Error) {
|
|
1437
|
+
var _unused_var__etf5q3 = $p;
|
|
1438
|
+
tmp_3 = null;
|
|
1439
|
+
} else {
|
|
1440
|
+
throw $p;
|
|
1441
|
+
}
|
|
1442
|
+
tmp_2 = tmp_3;
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1445
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1446
|
+
case 2:
|
|
1447
|
+
throw this.exception_1;
|
|
1448
|
+
}
|
|
1449
|
+
} catch ($p_0) {
|
|
1450
|
+
var e = $p_0;
|
|
1451
|
+
if (this.exceptionState_1 === 2) {
|
|
1452
|
+
throw e;
|
|
1453
|
+
} else {
|
|
1454
|
+
this.state_1 = this.exceptionState_1;
|
|
1455
|
+
this.exception_1 = e;
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1458
|
+
while (true);
|
|
1459
|
+
};
|
|
1460
|
+
function showUserImageOperation(client, personId, fileName, size, fit, position, format, quality, upscale, background) {
|
|
1461
|
+
return promisify(function ($completion) {
|
|
1462
|
+
return showUserImageOperation_0(client, personId, fileName, size, fit, position, format, quality, upscale, background, $completion);
|
|
1463
|
+
});
|
|
1464
|
+
}
|
|
1465
|
+
function showUserImageOperation_0(client, personId, fileName, size, fit, position, format, quality, upscale, background, $completion) {
|
|
1466
|
+
size = size === VOID ? null : size;
|
|
1467
|
+
fit = fit === VOID ? null : fit;
|
|
1468
|
+
position = position === VOID ? null : position;
|
|
1469
|
+
format = format === VOID ? null : format;
|
|
1470
|
+
quality = quality === VOID ? null : quality;
|
|
1471
|
+
upscale = upscale === VOID ? null : upscale;
|
|
1472
|
+
background = background === VOID ? null : background;
|
|
1473
|
+
var tmp = new $showUserImageOperationCOROUTINE$(client, personId, fileName, size, fit, position, format, quality, upscale, background, $completion);
|
|
1474
|
+
tmp.result_1 = Unit_instance;
|
|
1475
|
+
tmp.exception_1 = null;
|
|
1476
|
+
return tmp.doResume_5yljmg_k$();
|
|
1477
|
+
}
|
|
1478
|
+
function $showUserImageOperationCOROUTINE$(client, personId, fileName, size, fit, position, format, quality, upscale, background, resultContinuation) {
|
|
1479
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1480
|
+
this.client_1 = client;
|
|
1481
|
+
this.personId_1 = personId;
|
|
1482
|
+
this.fileName_1 = fileName;
|
|
1483
|
+
this.size_1 = size;
|
|
1484
|
+
this.fit_1 = fit;
|
|
1485
|
+
this.position_1 = position;
|
|
1486
|
+
this.format_1 = format;
|
|
1487
|
+
this.quality_1 = quality;
|
|
1488
|
+
this.upscale_1 = upscale;
|
|
1489
|
+
this.background_1 = background;
|
|
1490
|
+
}
|
|
1491
|
+
protoOf($showUserImageOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1492
|
+
var suspendResult = this.result_1;
|
|
1493
|
+
$sm: do
|
|
1494
|
+
try {
|
|
1495
|
+
var tmp = this.state_1;
|
|
1496
|
+
switch (tmp) {
|
|
1497
|
+
case 0:
|
|
1498
|
+
this.exceptionState_1 = 2;
|
|
1499
|
+
var localVariableAuthNames = emptyList();
|
|
1500
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1501
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1502
|
+
if (this.size_1 == null)
|
|
1503
|
+
null;
|
|
1504
|
+
else {
|
|
1505
|
+
var value = listOf_0(this.size_1);
|
|
1506
|
+
localVariableQuery.put_4fpzoq_k$('size', value);
|
|
1507
|
+
}
|
|
1508
|
+
|
|
1509
|
+
if (this.fit_1 == null)
|
|
1510
|
+
null;
|
|
1511
|
+
else {
|
|
1512
|
+
var value_0 = listOf_0(this.fit_1);
|
|
1513
|
+
localVariableQuery.put_4fpzoq_k$('fit', value_0);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
if (this.position_1 == null)
|
|
1517
|
+
null;
|
|
1518
|
+
else {
|
|
1519
|
+
var tmp2 = 'position';
|
|
1520
|
+
var value_1 = listOf_0(this.position_1);
|
|
1521
|
+
localVariableQuery.put_4fpzoq_k$(tmp2, value_1);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
if (this.format_1 == null)
|
|
1525
|
+
null;
|
|
1526
|
+
else {
|
|
1527
|
+
var value_2 = listOf_0(this.format_1);
|
|
1528
|
+
localVariableQuery.put_4fpzoq_k$('format', value_2);
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
if (this.quality_1 == null)
|
|
1532
|
+
null;
|
|
1533
|
+
else {
|
|
1534
|
+
var value_3 = listOf_0(this.quality_1);
|
|
1535
|
+
localVariableQuery.put_4fpzoq_k$('quality', value_3);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
if (this.upscale_1 == null)
|
|
1539
|
+
null;
|
|
1540
|
+
else {
|
|
1541
|
+
var value_4 = listOf_0(this.upscale_1);
|
|
1542
|
+
localVariableQuery.put_4fpzoq_k$('upscale', value_4);
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
if (this.background_1 == null)
|
|
1546
|
+
null;
|
|
1547
|
+
else {
|
|
1548
|
+
var tmp2_0 = 'background';
|
|
1549
|
+
var value_5 = listOf_0(this.background_1);
|
|
1550
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_0, value_5);
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1554
|
+
var tmp7_method = RequestMethod_GET_getInstance();
|
|
1555
|
+
var tmp8_path = replace(replace('/users/{personId}/profile/image/{fileName}', '{personId}', this.personId_1.toString()), '{fileName}', this.fileName_1);
|
|
1556
|
+
var localVariableConfig = new RequestConfig(tmp7_method, tmp8_path, localVariableHeaders, VOID, localVariableQuery, false);
|
|
1557
|
+
this.state_1 = 1;
|
|
1558
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1559
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1560
|
+
return suspendResult;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
continue $sm;
|
|
1564
|
+
case 1:
|
|
1565
|
+
var this_0 = suspendResult;
|
|
1566
|
+
var tmp_0 = getKClass(Unit);
|
|
1567
|
+
var tmp_1 = null instanceof Unit;
|
|
1568
|
+
var tmp_2;
|
|
1569
|
+
try {
|
|
1570
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1571
|
+
} catch ($p) {
|
|
1572
|
+
var tmp_3;
|
|
1573
|
+
if ($p instanceof Error) {
|
|
1574
|
+
var _unused_var__etf5q3 = $p;
|
|
1575
|
+
tmp_3 = null;
|
|
1576
|
+
} else {
|
|
1577
|
+
throw $p;
|
|
1578
|
+
}
|
|
1579
|
+
tmp_2 = tmp_3;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1583
|
+
case 2:
|
|
1584
|
+
throw this.exception_1;
|
|
1585
|
+
}
|
|
1586
|
+
} catch ($p_0) {
|
|
1587
|
+
var e = $p_0;
|
|
1588
|
+
if (this.exceptionState_1 === 2) {
|
|
1589
|
+
throw e;
|
|
1590
|
+
} else {
|
|
1591
|
+
this.state_1 = this.exceptionState_1;
|
|
1592
|
+
this.exception_1 = e;
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
while (true);
|
|
1596
|
+
};
|
|
1597
|
+
function showUserOperation(client, fields) {
|
|
1598
|
+
return promisify(function ($completion) {
|
|
1599
|
+
return showUserOperation_0(client, fields, $completion);
|
|
1600
|
+
});
|
|
1601
|
+
}
|
|
1602
|
+
function showUserOperation_0(client, fields, $completion) {
|
|
1603
|
+
fields = fields === VOID ? null : fields;
|
|
1604
|
+
var tmp = new $showUserOperationCOROUTINE$(client, fields, $completion);
|
|
1605
|
+
tmp.result_1 = Unit_instance;
|
|
1606
|
+
tmp.exception_1 = null;
|
|
1607
|
+
return tmp.doResume_5yljmg_k$();
|
|
1608
|
+
}
|
|
1609
|
+
function $showUserOperationCOROUTINE$(client, fields, resultContinuation) {
|
|
1610
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1611
|
+
this.client_1 = client;
|
|
1612
|
+
this.fields_1 = fields;
|
|
1613
|
+
}
|
|
1614
|
+
protoOf($showUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1615
|
+
var suspendResult = this.result_1;
|
|
1616
|
+
$sm: do
|
|
1617
|
+
try {
|
|
1618
|
+
var tmp = this.state_1;
|
|
1619
|
+
switch (tmp) {
|
|
1620
|
+
case 0:
|
|
1621
|
+
this.exceptionState_1 = 2;
|
|
1622
|
+
var localVariableAuthNames = emptyList();
|
|
1623
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1624
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1625
|
+
if (this.fields_1 == null)
|
|
1626
|
+
null;
|
|
1627
|
+
else {
|
|
1628
|
+
var value = listOf_0(this.fields_1);
|
|
1629
|
+
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1633
|
+
var tmp1_method = RequestMethod_GET_getInstance();
|
|
1634
|
+
var localVariableConfig = new RequestConfig(tmp1_method, '/user', localVariableHeaders, VOID, localVariableQuery, false);
|
|
1635
|
+
this.state_1 = 1;
|
|
1636
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1637
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1638
|
+
return suspendResult;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
continue $sm;
|
|
1642
|
+
case 1:
|
|
1643
|
+
var this_0 = suspendResult;
|
|
1644
|
+
var tmp_0 = getKClass(PersonUser);
|
|
1645
|
+
var tmp_1 = null instanceof PersonUser;
|
|
1646
|
+
var tmp_2;
|
|
1647
|
+
try {
|
|
1648
|
+
tmp_2 = createKType(getKClass(PersonUser), arrayOf([]), false);
|
|
1649
|
+
} catch ($p) {
|
|
1650
|
+
var tmp_3;
|
|
1651
|
+
if ($p instanceof Error) {
|
|
1652
|
+
var _unused_var__etf5q3 = $p;
|
|
1653
|
+
tmp_3 = null;
|
|
1654
|
+
} else {
|
|
1655
|
+
throw $p;
|
|
1656
|
+
}
|
|
1657
|
+
tmp_2 = tmp_3;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1661
|
+
case 2:
|
|
1662
|
+
throw this.exception_1;
|
|
1663
|
+
}
|
|
1664
|
+
} catch ($p_0) {
|
|
1665
|
+
var e = $p_0;
|
|
1666
|
+
if (this.exceptionState_1 === 2) {
|
|
1667
|
+
throw e;
|
|
1668
|
+
} else {
|
|
1669
|
+
this.state_1 = this.exceptionState_1;
|
|
1670
|
+
this.exception_1 = e;
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
while (true);
|
|
1674
|
+
};
|
|
1675
|
+
function updateUserImageOperation(client) {
|
|
1676
|
+
return promisify(function ($completion) {
|
|
1677
|
+
return updateUserImageOperation_0(client, $completion);
|
|
1678
|
+
});
|
|
1679
|
+
}
|
|
1680
|
+
function updateUserImageOperation_0(client, $completion) {
|
|
1681
|
+
var tmp = new $updateUserImageOperationCOROUTINE$(client, $completion);
|
|
1682
|
+
tmp.result_1 = Unit_instance;
|
|
1683
|
+
tmp.exception_1 = null;
|
|
1684
|
+
return tmp.doResume_5yljmg_k$();
|
|
1685
|
+
}
|
|
1686
|
+
function $updateUserImageOperationCOROUTINE$(client, resultContinuation) {
|
|
1687
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1688
|
+
this.client_1 = client;
|
|
1689
|
+
}
|
|
1690
|
+
protoOf($updateUserImageOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1691
|
+
var suspendResult = this.result_1;
|
|
1692
|
+
$sm: do
|
|
1693
|
+
try {
|
|
1694
|
+
var tmp = this.state_1;
|
|
1695
|
+
switch (tmp) {
|
|
1696
|
+
case 0:
|
|
1697
|
+
this.exceptionState_1 = 2;
|
|
1698
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1699
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
1700
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1701
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1702
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
1703
|
+
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile/image', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1704
|
+
this.state_1 = 1;
|
|
1705
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1706
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1707
|
+
return suspendResult;
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
continue $sm;
|
|
1711
|
+
case 1:
|
|
1712
|
+
var this_0 = suspendResult;
|
|
1713
|
+
var tmp_0 = getKClass(Unit);
|
|
1714
|
+
var tmp_1 = null instanceof Unit;
|
|
1715
|
+
var tmp_2;
|
|
1716
|
+
try {
|
|
1717
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1718
|
+
} catch ($p) {
|
|
1719
|
+
var tmp_3;
|
|
1720
|
+
if ($p instanceof Error) {
|
|
1721
|
+
var _unused_var__etf5q3 = $p;
|
|
1722
|
+
tmp_3 = null;
|
|
1723
|
+
} else {
|
|
1724
|
+
throw $p;
|
|
1725
|
+
}
|
|
1726
|
+
tmp_2 = tmp_3;
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1730
|
+
case 2:
|
|
1731
|
+
throw this.exception_1;
|
|
1732
|
+
}
|
|
1733
|
+
} catch ($p_0) {
|
|
1734
|
+
var e = $p_0;
|
|
1735
|
+
if (this.exceptionState_1 === 2) {
|
|
1736
|
+
throw e;
|
|
1737
|
+
} else {
|
|
1738
|
+
this.state_1 = this.exceptionState_1;
|
|
1739
|
+
this.exception_1 = e;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
while (true);
|
|
1743
|
+
};
|
|
1744
|
+
function updateUserOperation(client, updateProfileCommand) {
|
|
1745
|
+
return promisify(function ($completion) {
|
|
1746
|
+
return updateUserOperation_0(client, updateProfileCommand, $completion);
|
|
1747
|
+
});
|
|
1748
|
+
}
|
|
1749
|
+
function updateUserOperation_0(client, updateProfileCommand, $completion) {
|
|
1750
|
+
var tmp = new $updateUserOperationCOROUTINE$(client, updateProfileCommand, $completion);
|
|
1751
|
+
tmp.result_1 = Unit_instance;
|
|
1752
|
+
tmp.exception_1 = null;
|
|
1753
|
+
return tmp.doResume_5yljmg_k$();
|
|
1754
|
+
}
|
|
1755
|
+
function $updateUserOperationCOROUTINE$(client, updateProfileCommand, resultContinuation) {
|
|
1756
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
1757
|
+
this.client_1 = client;
|
|
1758
|
+
this.updateProfileCommand_1 = updateProfileCommand;
|
|
1759
|
+
}
|
|
1760
|
+
protoOf($updateUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1761
|
+
var suspendResult = this.result_1;
|
|
1762
|
+
$sm: do
|
|
1763
|
+
try {
|
|
1764
|
+
var tmp = this.state_1;
|
|
1765
|
+
switch (tmp) {
|
|
1766
|
+
case 0:
|
|
1767
|
+
this.exceptionState_1 = 2;
|
|
1768
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
1769
|
+
var localVariableBody = this.updateProfileCommand_1;
|
|
1770
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
1771
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1772
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
1773
|
+
var localVariableConfig = new RequestConfig(tmp0_method, '/user/profile', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1774
|
+
this.state_1 = 1;
|
|
1775
|
+
suspendResult = this.client_1.executeJsonRequest_99yh5u_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1776
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1777
|
+
return suspendResult;
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
continue $sm;
|
|
1781
|
+
case 1:
|
|
1782
|
+
var this_0 = suspendResult;
|
|
1783
|
+
var tmp_0 = getKClass(Unit);
|
|
1784
|
+
var tmp_1 = null instanceof Unit;
|
|
1785
|
+
var tmp_2;
|
|
1786
|
+
try {
|
|
1787
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
1788
|
+
} catch ($p) {
|
|
1789
|
+
var tmp_3;
|
|
1790
|
+
if ($p instanceof Error) {
|
|
1791
|
+
var _unused_var__etf5q3 = $p;
|
|
1792
|
+
tmp_3 = null;
|
|
1793
|
+
} else {
|
|
1794
|
+
throw $p;
|
|
1795
|
+
}
|
|
1796
|
+
tmp_2 = tmp_3;
|
|
1797
|
+
}
|
|
1798
|
+
|
|
1799
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
1800
|
+
case 2:
|
|
1801
|
+
throw this.exception_1;
|
|
1802
|
+
}
|
|
1803
|
+
} catch ($p_0) {
|
|
1804
|
+
var e = $p_0;
|
|
1805
|
+
if (this.exceptionState_1 === 2) {
|
|
1806
|
+
throw e;
|
|
1807
|
+
} else {
|
|
1808
|
+
this.state_1 = this.exceptionState_1;
|
|
1809
|
+
this.exception_1 = e;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
while (true);
|
|
1813
|
+
};
|
|
1710
1814
|
function BulkUserActions$Companion$$childSerializers$_anonymous__aqrmlm() {
|
|
1711
1815
|
return new ArrayListSerializer($serializer_getInstance_8());
|
|
1712
1816
|
}
|
|
@@ -2669,6 +2773,16 @@ UserApi.createWithClient = createWithClient;
|
|
|
2669
2773
|
export {
|
|
2670
2774
|
usersApi as usersApi,
|
|
2671
2775
|
UserApi as UserApi,
|
|
2776
|
+
deleteUserImageOperation as deleteUserImageOperation,
|
|
2777
|
+
indexUserConversationsOperation as indexUserConversationsOperation,
|
|
2778
|
+
meOperation as meOperation,
|
|
2779
|
+
showAuthedUserOperation as showAuthedUserOperation,
|
|
2780
|
+
showBulkUserActionsOperation as showBulkUserActionsOperation,
|
|
2781
|
+
showUserActionsOperation as showUserActionsOperation,
|
|
2782
|
+
showUserImageOperation as showUserImageOperation,
|
|
2783
|
+
showUserOperation as showUserOperation,
|
|
2784
|
+
updateUserImageOperation as updateUserImageOperation,
|
|
2785
|
+
updateUserOperation as updateUserOperation,
|
|
2672
2786
|
BulkUserActions as BulkUserActions,
|
|
2673
2787
|
PagedListString as PagedListString,
|
|
2674
2788
|
PagedListUserConversations as PagedListUserConversations,
|