@solibo/home-api 1.33.8 → 1.33.9
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.
|
@@ -4041,6 +4041,10 @@ initMetadataForCoroutine($listNeighborhoodGroupsCOROUTINE$, CoroutineImpl);
|
|
|
4041
4041
|
initMetadataForCoroutine($listNeighborhoodGroups$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4042
4042
|
initMetadataForCoroutine($listNeighborhoodPostCommentsCOROUTINE$, CoroutineImpl);
|
|
4043
4043
|
initMetadataForCoroutine($listNeighborhoodPostComments$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4044
|
+
initMetadataForCoroutine($permanentlyDeleteHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4045
|
+
initMetadataForCoroutine($permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4046
|
+
initMetadataForCoroutine($permanentlyDeleteNeighborhoodPostCommentCOROUTINE$, CoroutineImpl);
|
|
4047
|
+
initMetadataForCoroutine($permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4044
4048
|
initMetadataForCoroutine($putHomepageCommentReactionCOROUTINE$, CoroutineImpl);
|
|
4045
4049
|
initMetadataForCoroutine($putHomepageCommentReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4046
4050
|
initMetadataForCoroutine($putHomepagePostReactionCOROUTINE$, CoroutineImpl);
|
|
@@ -4049,6 +4053,10 @@ initMetadataForCoroutine($putNeighborhoodCommentReactionCOROUTINE$, CoroutineImp
|
|
|
4049
4053
|
initMetadataForCoroutine($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4050
4054
|
initMetadataForCoroutine($putNeighborhoodPostReactionCOROUTINE$, CoroutineImpl);
|
|
4051
4055
|
initMetadataForCoroutine($putNeighborhoodPostReaction$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4056
|
+
initMetadataForCoroutine($restoreHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4057
|
+
initMetadataForCoroutine($restoreHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4058
|
+
initMetadataForCoroutine($restoreNeighborhoodPostCommentCOROUTINE$, CoroutineImpl);
|
|
4059
|
+
initMetadataForCoroutine($restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4052
4060
|
initMetadataForCoroutine($updateHomepagePostCommentCOROUTINE$, CoroutineImpl);
|
|
4053
4061
|
initMetadataForCoroutine($updateHomepagePostComment$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
4054
4062
|
initMetadataForCoroutine($updateHomepagePostCommentModerationStatusCOROUTINE$, CoroutineImpl);
|
|
@@ -29162,7 +29170,7 @@ function Companion_133() {
|
|
|
29162
29170
|
// Inline function 'kotlin.arrayOf' call
|
|
29163
29171
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
29164
29172
|
// Inline function 'kotlin.js.asDynamic' call
|
|
29165
|
-
tmp.$childSerializers_1 = [null, tmp_1, null, null, null, null, tmp_3, null, null, tmp_5, null, tmp_7, lazy(tmp_8, CommunicationComment$Companion$$childSerializers$_anonymous__dkvfr3_3)];
|
|
29173
|
+
tmp.$childSerializers_1 = [null, tmp_1, null, null, null, null, null, tmp_3, null, null, tmp_5, null, tmp_7, lazy(tmp_8, CommunicationComment$Companion$$childSerializers$_anonymous__dkvfr3_3)];
|
|
29166
29174
|
}
|
|
29167
29175
|
var Companion_instance_134;
|
|
29168
29176
|
function Companion_getInstance_136() {
|
|
@@ -29172,10 +29180,11 @@ function Companion_getInstance_136() {
|
|
|
29172
29180
|
}
|
|
29173
29181
|
function $serializer_116() {
|
|
29174
29182
|
$serializer_instance_116 = this;
|
|
29175
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CommunicationComment', this,
|
|
29183
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CommunicationComment', this, 14);
|
|
29176
29184
|
tmp0_serialDesc.addElement_5pzumi_k$('actor', false);
|
|
29177
29185
|
tmp0_serialDesc.addElement_5pzumi_k$('attachments', true);
|
|
29178
29186
|
tmp0_serialDesc.addElement_5pzumi_k$('createdAt', false);
|
|
29187
|
+
tmp0_serialDesc.addElement_5pzumi_k$('deletedByAuthor', true);
|
|
29179
29188
|
tmp0_serialDesc.addElement_5pzumi_k$('editedAt', true);
|
|
29180
29189
|
tmp0_serialDesc.addElement_5pzumi_k$('htmlContent', true);
|
|
29181
29190
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
@@ -29197,32 +29206,35 @@ protoOf($serializer_116).serialize_wxo9xh_k$ = function (encoder, value) {
|
|
|
29197
29206
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.attachments);
|
|
29198
29207
|
}
|
|
29199
29208
|
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, InstantSerializer_getInstance(), value.createdAt);
|
|
29200
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.
|
|
29201
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3,
|
|
29209
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.deletedByAuthor == null)) {
|
|
29210
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.deletedByAuthor);
|
|
29202
29211
|
}
|
|
29203
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.
|
|
29204
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4,
|
|
29212
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.editedAt == null)) {
|
|
29213
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.editedAt);
|
|
29205
29214
|
}
|
|
29206
|
-
tmp1_output.
|
|
29207
|
-
|
|
29208
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.inlineDocuments);
|
|
29215
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.htmlContent == null)) {
|
|
29216
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.htmlContent);
|
|
29209
29217
|
}
|
|
29210
|
-
|
|
29211
|
-
|
|
29218
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.id);
|
|
29219
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.inlineDocuments == null)) {
|
|
29220
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.inlineDocuments);
|
|
29212
29221
|
}
|
|
29213
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.
|
|
29214
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8,
|
|
29222
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.parentId == null)) {
|
|
29223
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, LongSerializer_getInstance(), value.parentId);
|
|
29215
29224
|
}
|
|
29216
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.
|
|
29217
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9,
|
|
29225
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.plainContent == null)) {
|
|
29226
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.plainContent);
|
|
29218
29227
|
}
|
|
29219
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.
|
|
29220
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10,
|
|
29228
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.reactions == null)) {
|
|
29229
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.reactions);
|
|
29221
29230
|
}
|
|
29222
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.
|
|
29223
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11,
|
|
29231
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.renderedHtml == null)) {
|
|
29232
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, StringSerializer_getInstance(), value.renderedHtml);
|
|
29224
29233
|
}
|
|
29225
|
-
tmp1_output.
|
|
29234
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.replies == null)) {
|
|
29235
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.replies);
|
|
29236
|
+
}
|
|
29237
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.status);
|
|
29226
29238
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
29227
29239
|
};
|
|
29228
29240
|
protoOf($serializer_116).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -29238,108 +29250,115 @@ protoOf($serializer_116).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
29238
29250
|
var tmp6_local2 = null;
|
|
29239
29251
|
var tmp7_local3 = null;
|
|
29240
29252
|
var tmp8_local4 = null;
|
|
29241
|
-
var tmp9_local5 =
|
|
29242
|
-
var tmp10_local6 =
|
|
29253
|
+
var tmp9_local5 = null;
|
|
29254
|
+
var tmp10_local6 = 0n;
|
|
29243
29255
|
var tmp11_local7 = null;
|
|
29244
29256
|
var tmp12_local8 = null;
|
|
29245
29257
|
var tmp13_local9 = null;
|
|
29246
29258
|
var tmp14_local10 = null;
|
|
29247
29259
|
var tmp15_local11 = null;
|
|
29248
29260
|
var tmp16_local12 = null;
|
|
29249
|
-
var
|
|
29250
|
-
var
|
|
29251
|
-
|
|
29252
|
-
|
|
29261
|
+
var tmp17_local13 = null;
|
|
29262
|
+
var tmp18_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
29263
|
+
var tmp19_cached = Companion_getInstance_136().$childSerializers_1;
|
|
29264
|
+
if (tmp18_input.decodeSequentially_xlblqy_k$()) {
|
|
29265
|
+
tmp4_local0 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_113(), tmp4_local0);
|
|
29253
29266
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
29254
|
-
tmp5_local1 =
|
|
29267
|
+
tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp19_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
29255
29268
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
29256
|
-
tmp6_local2 =
|
|
29269
|
+
tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
|
|
29257
29270
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
29258
|
-
tmp7_local3 =
|
|
29271
|
+
tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
29259
29272
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
29260
|
-
tmp8_local4 =
|
|
29273
|
+
tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
|
|
29261
29274
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
29262
|
-
tmp9_local5 =
|
|
29275
|
+
tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
29263
29276
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
29264
|
-
tmp10_local6 =
|
|
29277
|
+
tmp10_local6 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
29265
29278
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
29266
|
-
tmp11_local7 =
|
|
29279
|
+
tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp19_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
29267
29280
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
29268
|
-
tmp12_local8 =
|
|
29281
|
+
tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
29269
29282
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
29270
|
-
tmp13_local9 =
|
|
29283
|
+
tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
29271
29284
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
29272
|
-
tmp14_local10 =
|
|
29285
|
+
tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp19_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
29273
29286
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
29274
|
-
tmp15_local11 =
|
|
29287
|
+
tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
29275
29288
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
29276
|
-
tmp16_local12 =
|
|
29289
|
+
tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
|
|
29277
29290
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
29291
|
+
tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
29292
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
29278
29293
|
} else
|
|
29279
29294
|
while (tmp1_flag) {
|
|
29280
|
-
tmp2_index =
|
|
29295
|
+
tmp2_index = tmp18_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
29281
29296
|
switch (tmp2_index) {
|
|
29282
29297
|
case -1:
|
|
29283
29298
|
tmp1_flag = false;
|
|
29284
29299
|
break;
|
|
29285
29300
|
case 0:
|
|
29286
|
-
tmp4_local0 =
|
|
29301
|
+
tmp4_local0 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, $serializer_getInstance_113(), tmp4_local0);
|
|
29287
29302
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
29288
29303
|
break;
|
|
29289
29304
|
case 1:
|
|
29290
|
-
tmp5_local1 =
|
|
29305
|
+
tmp5_local1 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp19_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
29291
29306
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
29292
29307
|
break;
|
|
29293
29308
|
case 2:
|
|
29294
|
-
tmp6_local2 =
|
|
29309
|
+
tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
|
|
29295
29310
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
29296
29311
|
break;
|
|
29297
29312
|
case 3:
|
|
29298
|
-
tmp7_local3 =
|
|
29313
|
+
tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), tmp7_local3);
|
|
29299
29314
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
29300
29315
|
break;
|
|
29301
29316
|
case 4:
|
|
29302
|
-
tmp8_local4 =
|
|
29317
|
+
tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, InstantSerializer_getInstance(), tmp8_local4);
|
|
29303
29318
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
29304
29319
|
break;
|
|
29305
29320
|
case 5:
|
|
29306
|
-
tmp9_local5 =
|
|
29321
|
+
tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
|
|
29307
29322
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
29308
29323
|
break;
|
|
29309
29324
|
case 6:
|
|
29310
|
-
tmp10_local6 =
|
|
29325
|
+
tmp10_local6 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
29311
29326
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
29312
29327
|
break;
|
|
29313
29328
|
case 7:
|
|
29314
|
-
tmp11_local7 =
|
|
29329
|
+
tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp19_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
29315
29330
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
29316
29331
|
break;
|
|
29317
29332
|
case 8:
|
|
29318
|
-
tmp12_local8 =
|
|
29333
|
+
tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, LongSerializer_getInstance(), tmp12_local8);
|
|
29319
29334
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
29320
29335
|
break;
|
|
29321
29336
|
case 9:
|
|
29322
|
-
tmp13_local9 =
|
|
29337
|
+
tmp13_local9 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
|
|
29323
29338
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
29324
29339
|
break;
|
|
29325
29340
|
case 10:
|
|
29326
|
-
tmp14_local10 =
|
|
29341
|
+
tmp14_local10 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp19_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
29327
29342
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
29328
29343
|
break;
|
|
29329
29344
|
case 11:
|
|
29330
|
-
tmp15_local11 =
|
|
29345
|
+
tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, StringSerializer_getInstance(), tmp15_local11);
|
|
29331
29346
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
29332
29347
|
break;
|
|
29333
29348
|
case 12:
|
|
29334
|
-
tmp16_local12 =
|
|
29349
|
+
tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
|
|
29335
29350
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
29336
29351
|
break;
|
|
29352
|
+
case 13:
|
|
29353
|
+
tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
29354
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
29355
|
+
break;
|
|
29337
29356
|
default:
|
|
29338
29357
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
29339
29358
|
}
|
|
29340
29359
|
}
|
|
29341
|
-
|
|
29342
|
-
return CommunicationComment_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, null);
|
|
29360
|
+
tmp18_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
29361
|
+
return CommunicationComment_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, null);
|
|
29343
29362
|
};
|
|
29344
29363
|
protoOf($serializer_116).get_descriptor_wjt6a0_k$ = function () {
|
|
29345
29364
|
return this.descriptor_1;
|
|
@@ -29349,7 +29368,7 @@ protoOf($serializer_116).childSerializers_5ghqw5_k$ = function () {
|
|
|
29349
29368
|
// Inline function 'kotlin.arrayOf' call
|
|
29350
29369
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
29351
29370
|
// Inline function 'kotlin.js.asDynamic' call
|
|
29352
|
-
return [$serializer_getInstance_113(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), InstantSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[
|
|
29371
|
+
return [$serializer_getInstance_113(), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), InstantSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[12].get_value_j01efc_k$()), tmp0_cached[13].get_value_j01efc_k$()];
|
|
29353
29372
|
};
|
|
29354
29373
|
var $serializer_instance_116;
|
|
29355
29374
|
function $serializer_getInstance_116() {
|
|
@@ -29357,9 +29376,9 @@ function $serializer_getInstance_116() {
|
|
|
29357
29376
|
new $serializer_116();
|
|
29358
29377
|
return $serializer_instance_116;
|
|
29359
29378
|
}
|
|
29360
|
-
function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, $this) {
|
|
29361
|
-
if (!(
|
|
29362
|
-
throwMissingFieldException(seen0,
|
|
29379
|
+
function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, $this) {
|
|
29380
|
+
if (!(8261 === (8261 & seen0))) {
|
|
29381
|
+
throwMissingFieldException(seen0, 8261, $serializer_getInstance_116().descriptor_1);
|
|
29363
29382
|
}
|
|
29364
29383
|
$this.actor = actor;
|
|
29365
29384
|
if (0 === (seen0 & 2))
|
|
@@ -29368,47 +29387,52 @@ function CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt,
|
|
|
29368
29387
|
$this.attachments = attachments;
|
|
29369
29388
|
$this.createdAt = createdAt;
|
|
29370
29389
|
if (0 === (seen0 & 8))
|
|
29390
|
+
$this.deletedByAuthor = null;
|
|
29391
|
+
else
|
|
29392
|
+
$this.deletedByAuthor = deletedByAuthor;
|
|
29393
|
+
if (0 === (seen0 & 16))
|
|
29371
29394
|
$this.editedAt = null;
|
|
29372
29395
|
else
|
|
29373
29396
|
$this.editedAt = editedAt;
|
|
29374
|
-
if (0 === (seen0 &
|
|
29397
|
+
if (0 === (seen0 & 32))
|
|
29375
29398
|
$this.htmlContent = null;
|
|
29376
29399
|
else
|
|
29377
29400
|
$this.htmlContent = htmlContent;
|
|
29378
29401
|
$this.id = id;
|
|
29379
|
-
if (0 === (seen0 &
|
|
29402
|
+
if (0 === (seen0 & 128))
|
|
29380
29403
|
$this.inlineDocuments = null;
|
|
29381
29404
|
else
|
|
29382
29405
|
$this.inlineDocuments = inlineDocuments;
|
|
29383
|
-
if (0 === (seen0 &
|
|
29406
|
+
if (0 === (seen0 & 256))
|
|
29384
29407
|
$this.parentId = null;
|
|
29385
29408
|
else
|
|
29386
29409
|
$this.parentId = parentId;
|
|
29387
|
-
if (0 === (seen0 &
|
|
29410
|
+
if (0 === (seen0 & 512))
|
|
29388
29411
|
$this.plainContent = null;
|
|
29389
29412
|
else
|
|
29390
29413
|
$this.plainContent = plainContent;
|
|
29391
|
-
if (0 === (seen0 &
|
|
29414
|
+
if (0 === (seen0 & 1024))
|
|
29392
29415
|
$this.reactions = null;
|
|
29393
29416
|
else
|
|
29394
29417
|
$this.reactions = reactions;
|
|
29395
|
-
if (0 === (seen0 &
|
|
29418
|
+
if (0 === (seen0 & 2048))
|
|
29396
29419
|
$this.renderedHtml = null;
|
|
29397
29420
|
else
|
|
29398
29421
|
$this.renderedHtml = renderedHtml;
|
|
29399
|
-
if (0 === (seen0 &
|
|
29422
|
+
if (0 === (seen0 & 4096))
|
|
29400
29423
|
$this.replies = null;
|
|
29401
29424
|
else
|
|
29402
29425
|
$this.replies = replies;
|
|
29403
29426
|
$this.status = status;
|
|
29404
29427
|
return $this;
|
|
29405
29428
|
}
|
|
29406
|
-
function CommunicationComment_init_$Create$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker) {
|
|
29407
|
-
return CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, objectCreate(protoOf(CommunicationComment)));
|
|
29429
|
+
function CommunicationComment_init_$Create$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker) {
|
|
29430
|
+
return CommunicationComment_init_$Init$(seen0, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, serializationConstructorMarker, objectCreate(protoOf(CommunicationComment)));
|
|
29408
29431
|
}
|
|
29409
|
-
function CommunicationComment(actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
29432
|
+
function CommunicationComment(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
29410
29433
|
Companion_getInstance_136();
|
|
29411
29434
|
attachments = attachments === VOID ? null : attachments;
|
|
29435
|
+
deletedByAuthor = deletedByAuthor === VOID ? null : deletedByAuthor;
|
|
29412
29436
|
editedAt = editedAt === VOID ? null : editedAt;
|
|
29413
29437
|
htmlContent = htmlContent === VOID ? null : htmlContent;
|
|
29414
29438
|
inlineDocuments = inlineDocuments === VOID ? null : inlineDocuments;
|
|
@@ -29420,6 +29444,7 @@ function CommunicationComment(actor, attachments, createdAt, editedAt, htmlConte
|
|
|
29420
29444
|
this.actor = actor;
|
|
29421
29445
|
this.attachments = attachments;
|
|
29422
29446
|
this.createdAt = createdAt;
|
|
29447
|
+
this.deletedByAuthor = deletedByAuthor;
|
|
29423
29448
|
this.editedAt = editedAt;
|
|
29424
29449
|
this.htmlContent = htmlContent;
|
|
29425
29450
|
this.id = id;
|
|
@@ -29440,6 +29465,9 @@ protoOf(CommunicationComment).get_attachments_1o7yvb_k$ = function () {
|
|
|
29440
29465
|
protoOf(CommunicationComment).get_createdAt_ierzpu_k$ = function () {
|
|
29441
29466
|
return this.createdAt;
|
|
29442
29467
|
};
|
|
29468
|
+
protoOf(CommunicationComment).get_deletedByAuthor_uyddsi_k$ = function () {
|
|
29469
|
+
return this.deletedByAuthor;
|
|
29470
|
+
};
|
|
29443
29471
|
protoOf(CommunicationComment).get_editedAt_5attyz_k$ = function () {
|
|
29444
29472
|
return this.editedAt;
|
|
29445
29473
|
};
|
|
@@ -29480,42 +29508,46 @@ protoOf(CommunicationComment).component3_7eebsa_k$ = function () {
|
|
|
29480
29508
|
return this.createdAt;
|
|
29481
29509
|
};
|
|
29482
29510
|
protoOf(CommunicationComment).component4_7eebs9_k$ = function () {
|
|
29483
|
-
return this.
|
|
29511
|
+
return this.deletedByAuthor;
|
|
29484
29512
|
};
|
|
29485
29513
|
protoOf(CommunicationComment).component5_7eebs8_k$ = function () {
|
|
29486
|
-
return this.
|
|
29514
|
+
return this.editedAt;
|
|
29487
29515
|
};
|
|
29488
29516
|
protoOf(CommunicationComment).component6_7eebs7_k$ = function () {
|
|
29489
|
-
return this.
|
|
29517
|
+
return this.htmlContent;
|
|
29490
29518
|
};
|
|
29491
29519
|
protoOf(CommunicationComment).component7_7eebs6_k$ = function () {
|
|
29492
|
-
return this.
|
|
29520
|
+
return this.id;
|
|
29493
29521
|
};
|
|
29494
29522
|
protoOf(CommunicationComment).component8_7eebs5_k$ = function () {
|
|
29495
|
-
return this.
|
|
29523
|
+
return this.inlineDocuments;
|
|
29496
29524
|
};
|
|
29497
29525
|
protoOf(CommunicationComment).component9_7eebs4_k$ = function () {
|
|
29498
|
-
return this.
|
|
29526
|
+
return this.parentId;
|
|
29499
29527
|
};
|
|
29500
29528
|
protoOf(CommunicationComment).component10_gazzfo_k$ = function () {
|
|
29501
|
-
return this.
|
|
29529
|
+
return this.plainContent;
|
|
29502
29530
|
};
|
|
29503
29531
|
protoOf(CommunicationComment).component11_gazzfn_k$ = function () {
|
|
29504
|
-
return this.
|
|
29532
|
+
return this.reactions;
|
|
29505
29533
|
};
|
|
29506
29534
|
protoOf(CommunicationComment).component12_gazzfm_k$ = function () {
|
|
29507
|
-
return this.
|
|
29535
|
+
return this.renderedHtml;
|
|
29508
29536
|
};
|
|
29509
29537
|
protoOf(CommunicationComment).component13_gazzfl_k$ = function () {
|
|
29538
|
+
return this.replies;
|
|
29539
|
+
};
|
|
29540
|
+
protoOf(CommunicationComment).component14_gazzfk_k$ = function () {
|
|
29510
29541
|
return this.status;
|
|
29511
29542
|
};
|
|
29512
|
-
protoOf(CommunicationComment).
|
|
29513
|
-
return new CommunicationComment(actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
29543
|
+
protoOf(CommunicationComment).copy_974r6d_k$ = function (actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) {
|
|
29544
|
+
return new CommunicationComment(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
29514
29545
|
};
|
|
29515
|
-
protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, $super) {
|
|
29546
|
+
protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status, $super) {
|
|
29516
29547
|
actor = actor === VOID ? this.actor : actor;
|
|
29517
29548
|
attachments = attachments === VOID ? this.attachments : attachments;
|
|
29518
29549
|
createdAt = createdAt === VOID ? this.createdAt : createdAt;
|
|
29550
|
+
deletedByAuthor = deletedByAuthor === VOID ? this.deletedByAuthor : deletedByAuthor;
|
|
29519
29551
|
editedAt = editedAt === VOID ? this.editedAt : editedAt;
|
|
29520
29552
|
htmlContent = htmlContent === VOID ? this.htmlContent : htmlContent;
|
|
29521
29553
|
id = id === VOID ? this.id : id;
|
|
@@ -29526,15 +29558,16 @@ protoOf(CommunicationComment).copy = function (actor, attachments, createdAt, ed
|
|
|
29526
29558
|
renderedHtml = renderedHtml === VOID ? this.renderedHtml : renderedHtml;
|
|
29527
29559
|
replies = replies === VOID ? this.replies : replies;
|
|
29528
29560
|
status = status === VOID ? this.status : status;
|
|
29529
|
-
return $super === VOID ? this.
|
|
29561
|
+
return $super === VOID ? this.copy_974r6d_k$(actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status) : $super.copy_974r6d_k$.call(this, actor, attachments, createdAt, deletedByAuthor, editedAt, htmlContent, id, inlineDocuments, parentId, plainContent, reactions, renderedHtml, replies, status);
|
|
29530
29562
|
};
|
|
29531
29563
|
protoOf(CommunicationComment).toString = function () {
|
|
29532
|
-
return 'CommunicationComment(actor=' + this.actor.toString() + ', attachments=' + toString(this.attachments) + ', createdAt=' + this.createdAt.toString() + ', editedAt=' + toString(this.editedAt) + ', htmlContent=' + this.htmlContent + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', parentId=' + toString(this.parentId) + ', plainContent=' + this.plainContent + ', reactions=' + toString(this.reactions) + ', renderedHtml=' + this.renderedHtml + ', replies=' + toString(this.replies) + ', status=' + this.status.toString() + ')';
|
|
29564
|
+
return 'CommunicationComment(actor=' + this.actor.toString() + ', attachments=' + toString(this.attachments) + ', createdAt=' + this.createdAt.toString() + ', deletedByAuthor=' + this.deletedByAuthor + ', editedAt=' + toString(this.editedAt) + ', htmlContent=' + this.htmlContent + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', parentId=' + toString(this.parentId) + ', plainContent=' + this.plainContent + ', reactions=' + toString(this.reactions) + ', renderedHtml=' + this.renderedHtml + ', replies=' + toString(this.replies) + ', status=' + this.status.toString() + ')';
|
|
29533
29565
|
};
|
|
29534
29566
|
protoOf(CommunicationComment).hashCode = function () {
|
|
29535
29567
|
var result = this.actor.hashCode();
|
|
29536
29568
|
result = imul(result, 31) + (this.attachments == null ? 0 : hashCode(this.attachments)) | 0;
|
|
29537
29569
|
result = imul(result, 31) + this.createdAt.hashCode() | 0;
|
|
29570
|
+
result = imul(result, 31) + (this.deletedByAuthor == null ? 0 : getBooleanHashCode(this.deletedByAuthor)) | 0;
|
|
29538
29571
|
result = imul(result, 31) + (this.editedAt == null ? 0 : this.editedAt.hashCode()) | 0;
|
|
29539
29572
|
result = imul(result, 31) + (this.htmlContent == null ? 0 : getStringHashCode(this.htmlContent)) | 0;
|
|
29540
29573
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
@@ -29558,6 +29591,8 @@ protoOf(CommunicationComment).equals = function (other) {
|
|
|
29558
29591
|
return false;
|
|
29559
29592
|
if (!this.createdAt.equals(other.createdAt))
|
|
29560
29593
|
return false;
|
|
29594
|
+
if (!(this.deletedByAuthor == other.deletedByAuthor))
|
|
29595
|
+
return false;
|
|
29561
29596
|
if (!equals(this.editedAt, other.editedAt))
|
|
29562
29597
|
return false;
|
|
29563
29598
|
if (!(this.htmlContent == other.htmlContent))
|
|
@@ -291509,15 +291544,14 @@ protoOf($listNeighborhoodPostComments$suspendBridgeCOROUTINE$).doResume_5yljmg_k
|
|
|
291509
291544
|
}
|
|
291510
291545
|
while (true);
|
|
291511
291546
|
};
|
|
291512
|
-
function $
|
|
291547
|
+
function $permanentlyDeleteHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
291513
291548
|
CoroutineImpl.call(this, resultContinuation);
|
|
291514
291549
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291515
291550
|
this.companyId_1 = companyId;
|
|
291516
291551
|
this.postId_1 = postId;
|
|
291517
291552
|
this.commentId_1 = commentId;
|
|
291518
|
-
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291519
291553
|
}
|
|
291520
|
-
protoOf($
|
|
291554
|
+
protoOf($permanentlyDeleteHomepagePostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291521
291555
|
var suspendResult = this.result_1;
|
|
291522
291556
|
$sm: do
|
|
291523
291557
|
try {
|
|
@@ -291526,14 +291560,14 @@ protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
291526
291560
|
case 0:
|
|
291527
291561
|
this.exceptionState_1 = 2;
|
|
291528
291562
|
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
291529
|
-
var localVariableBody =
|
|
291563
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
291530
291564
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
291531
291565
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
291532
|
-
var tmp0_method =
|
|
291533
|
-
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/
|
|
291566
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
291567
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/permanent', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
291534
291568
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
291535
291569
|
this.state_1 = 1;
|
|
291536
|
-
suspendResult = this._this__u8e3s4__1.
|
|
291570
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
291537
291571
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291538
291572
|
return suspendResult;
|
|
291539
291573
|
}
|
|
@@ -291572,15 +291606,14 @@ protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function ()
|
|
|
291572
291606
|
}
|
|
291573
291607
|
while (true);
|
|
291574
291608
|
};
|
|
291575
|
-
function $
|
|
291609
|
+
function $permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
291576
291610
|
CoroutineImpl.call(this, resultContinuation);
|
|
291577
291611
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291578
291612
|
this.companyId_1 = companyId;
|
|
291579
291613
|
this.postId_1 = postId;
|
|
291580
291614
|
this.commentId_1 = commentId;
|
|
291581
|
-
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291582
291615
|
}
|
|
291583
|
-
protoOf($
|
|
291616
|
+
protoOf($permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291584
291617
|
var suspendResult = this.result_1;
|
|
291585
291618
|
$sm: do
|
|
291586
291619
|
try {
|
|
@@ -291588,16 +291621,16 @@ protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
291588
291621
|
switch (tmp) {
|
|
291589
291622
|
case 0:
|
|
291590
291623
|
this.exceptionState_1 = 4;
|
|
291591
|
-
if (this._this__u8e3s4__1.
|
|
291624
|
+
if (this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment === protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment) {
|
|
291592
291625
|
this.state_1 = 2;
|
|
291593
|
-
suspendResult = this._this__u8e3s4__1.
|
|
291626
|
+
suspendResult = this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment_yhholn_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
291594
291627
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291595
291628
|
return suspendResult;
|
|
291596
291629
|
}
|
|
291597
291630
|
continue $sm;
|
|
291598
291631
|
} else {
|
|
291599
291632
|
this.state_1 = 1;
|
|
291600
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
291633
|
+
suspendResult = await_0(this._this__u8e3s4__1.permanentlyDeleteHomepagePostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
291601
291634
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291602
291635
|
return suspendResult;
|
|
291603
291636
|
}
|
|
@@ -291628,14 +291661,132 @@ protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
291628
291661
|
}
|
|
291629
291662
|
while (true);
|
|
291630
291663
|
};
|
|
291631
|
-
function $
|
|
291664
|
+
function $permanentlyDeleteNeighborhoodPostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
291632
291665
|
CoroutineImpl.call(this, resultContinuation);
|
|
291633
291666
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291634
291667
|
this.companyId_1 = companyId;
|
|
291635
291668
|
this.postId_1 = postId;
|
|
291669
|
+
this.commentId_1 = commentId;
|
|
291670
|
+
}
|
|
291671
|
+
protoOf($permanentlyDeleteNeighborhoodPostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291672
|
+
var suspendResult = this.result_1;
|
|
291673
|
+
$sm: do
|
|
291674
|
+
try {
|
|
291675
|
+
var tmp = this.state_1;
|
|
291676
|
+
switch (tmp) {
|
|
291677
|
+
case 0:
|
|
291678
|
+
this.exceptionState_1 = 2;
|
|
291679
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
291680
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
291681
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
291682
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
291683
|
+
var tmp0_method = RequestMethod_DELETE_getInstance();
|
|
291684
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/permanent', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
291685
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
291686
|
+
this.state_1 = 1;
|
|
291687
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
291688
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291689
|
+
return suspendResult;
|
|
291690
|
+
}
|
|
291691
|
+
|
|
291692
|
+
continue $sm;
|
|
291693
|
+
case 1:
|
|
291694
|
+
var this_0 = suspendResult;
|
|
291695
|
+
var tmp_0 = getKClass(Unit);
|
|
291696
|
+
var tmp_1 = null instanceof Unit;
|
|
291697
|
+
var tmp_2;
|
|
291698
|
+
try {
|
|
291699
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
291700
|
+
} catch ($p) {
|
|
291701
|
+
var tmp_3;
|
|
291702
|
+
if ($p instanceof Error) {
|
|
291703
|
+
var _unused_var__etf5q3 = $p;
|
|
291704
|
+
tmp_3 = null;
|
|
291705
|
+
} else {
|
|
291706
|
+
throw $p;
|
|
291707
|
+
}
|
|
291708
|
+
tmp_2 = tmp_3;
|
|
291709
|
+
}
|
|
291710
|
+
|
|
291711
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
291712
|
+
case 2:
|
|
291713
|
+
throw this.exception_1;
|
|
291714
|
+
}
|
|
291715
|
+
} catch ($p_0) {
|
|
291716
|
+
var e = $p_0;
|
|
291717
|
+
if (this.exceptionState_1 === 2) {
|
|
291718
|
+
throw e;
|
|
291719
|
+
} else {
|
|
291720
|
+
this.state_1 = this.exceptionState_1;
|
|
291721
|
+
this.exception_1 = e;
|
|
291722
|
+
}
|
|
291723
|
+
}
|
|
291724
|
+
while (true);
|
|
291725
|
+
};
|
|
291726
|
+
function $permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
291727
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
291728
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291729
|
+
this.companyId_1 = companyId;
|
|
291730
|
+
this.postId_1 = postId;
|
|
291731
|
+
this.commentId_1 = commentId;
|
|
291732
|
+
}
|
|
291733
|
+
protoOf($permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291734
|
+
var suspendResult = this.result_1;
|
|
291735
|
+
$sm: do
|
|
291736
|
+
try {
|
|
291737
|
+
var tmp = this.state_1;
|
|
291738
|
+
switch (tmp) {
|
|
291739
|
+
case 0:
|
|
291740
|
+
this.exceptionState_1 = 4;
|
|
291741
|
+
if (this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment === protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment) {
|
|
291742
|
+
this.state_1 = 2;
|
|
291743
|
+
suspendResult = this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment_nfgc45_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
291744
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291745
|
+
return suspendResult;
|
|
291746
|
+
}
|
|
291747
|
+
continue $sm;
|
|
291748
|
+
} else {
|
|
291749
|
+
this.state_1 = 1;
|
|
291750
|
+
suspendResult = await_0(this._this__u8e3s4__1.permanentlyDeleteNeighborhoodPostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
291751
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291752
|
+
return suspendResult;
|
|
291753
|
+
}
|
|
291754
|
+
continue $sm;
|
|
291755
|
+
}
|
|
291756
|
+
|
|
291757
|
+
case 1:
|
|
291758
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
291759
|
+
this.state_1 = 3;
|
|
291760
|
+
continue $sm;
|
|
291761
|
+
case 2:
|
|
291762
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
291763
|
+
this.state_1 = 3;
|
|
291764
|
+
continue $sm;
|
|
291765
|
+
case 3:
|
|
291766
|
+
return this.WHEN_RESULT0__1;
|
|
291767
|
+
case 4:
|
|
291768
|
+
throw this.exception_1;
|
|
291769
|
+
}
|
|
291770
|
+
} catch ($p) {
|
|
291771
|
+
var e = $p;
|
|
291772
|
+
if (this.exceptionState_1 === 4) {
|
|
291773
|
+
throw e;
|
|
291774
|
+
} else {
|
|
291775
|
+
this.state_1 = this.exceptionState_1;
|
|
291776
|
+
this.exception_1 = e;
|
|
291777
|
+
}
|
|
291778
|
+
}
|
|
291779
|
+
while (true);
|
|
291780
|
+
};
|
|
291781
|
+
function $putHomepageCommentReactionCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
291782
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
291783
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291784
|
+
this.companyId_1 = companyId;
|
|
291785
|
+
this.postId_1 = postId;
|
|
291786
|
+
this.commentId_1 = commentId;
|
|
291636
291787
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291637
291788
|
}
|
|
291638
|
-
protoOf($
|
|
291789
|
+
protoOf($putHomepageCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291639
291790
|
var suspendResult = this.result_1;
|
|
291640
291791
|
$sm: do
|
|
291641
291792
|
try {
|
|
@@ -291648,7 +291799,7 @@ protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
291648
291799
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
291649
291800
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
291650
291801
|
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
291651
|
-
var tmp1_path = replace(replace('/companies/{companyId}/homepage/feed/{postId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString());
|
|
291802
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
291652
291803
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
291653
291804
|
this.state_1 = 1;
|
|
291654
291805
|
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
@@ -291690,14 +291841,15 @@ protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
291690
291841
|
}
|
|
291691
291842
|
while (true);
|
|
291692
291843
|
};
|
|
291693
|
-
function $
|
|
291844
|
+
function $putHomepageCommentReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
291694
291845
|
CoroutineImpl.call(this, resultContinuation);
|
|
291695
291846
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291696
291847
|
this.companyId_1 = companyId;
|
|
291697
291848
|
this.postId_1 = postId;
|
|
291849
|
+
this.commentId_1 = commentId;
|
|
291698
291850
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291699
291851
|
}
|
|
291700
|
-
protoOf($
|
|
291852
|
+
protoOf($putHomepageCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291701
291853
|
var suspendResult = this.result_1;
|
|
291702
291854
|
$sm: do
|
|
291703
291855
|
try {
|
|
@@ -291705,16 +291857,16 @@ protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
291705
291857
|
switch (tmp) {
|
|
291706
291858
|
case 0:
|
|
291707
291859
|
this.exceptionState_1 = 4;
|
|
291708
|
-
if (this._this__u8e3s4__1.
|
|
291860
|
+
if (this._this__u8e3s4__1.putHomepageCommentReaction === protoOf(ResidentCommunicationApi).putHomepageCommentReaction) {
|
|
291709
291861
|
this.state_1 = 2;
|
|
291710
|
-
suspendResult = this._this__u8e3s4__1.
|
|
291862
|
+
suspendResult = this._this__u8e3s4__1.putHomepageCommentReaction_v53ilb_k$(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1, this);
|
|
291711
291863
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291712
291864
|
return suspendResult;
|
|
291713
291865
|
}
|
|
291714
291866
|
continue $sm;
|
|
291715
291867
|
} else {
|
|
291716
291868
|
this.state_1 = 1;
|
|
291717
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
291869
|
+
suspendResult = await_0(this._this__u8e3s4__1.putHomepageCommentReaction(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1), this);
|
|
291718
291870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291719
291871
|
return suspendResult;
|
|
291720
291872
|
}
|
|
@@ -291745,15 +291897,14 @@ protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
291745
291897
|
}
|
|
291746
291898
|
while (true);
|
|
291747
291899
|
};
|
|
291748
|
-
function $
|
|
291900
|
+
function $putHomepagePostReactionCOROUTINE$(_this__u8e3s4, companyId, postId, putCommunicationReactionCommand, resultContinuation) {
|
|
291749
291901
|
CoroutineImpl.call(this, resultContinuation);
|
|
291750
291902
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291751
291903
|
this.companyId_1 = companyId;
|
|
291752
291904
|
this.postId_1 = postId;
|
|
291753
|
-
this.commentId_1 = commentId;
|
|
291754
291905
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291755
291906
|
}
|
|
291756
|
-
protoOf($
|
|
291907
|
+
protoOf($putHomepagePostReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291757
291908
|
var suspendResult = this.result_1;
|
|
291758
291909
|
$sm: do
|
|
291759
291910
|
try {
|
|
@@ -291766,7 +291917,7 @@ protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
291766
291917
|
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
291767
291918
|
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
291768
291919
|
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
291769
|
-
var tmp1_path = replace(replace(
|
|
291920
|
+
var tmp1_path = replace(replace('/companies/{companyId}/homepage/feed/{postId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString());
|
|
291770
291921
|
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
291771
291922
|
this.state_1 = 1;
|
|
291772
291923
|
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
@@ -291808,15 +291959,14 @@ protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function
|
|
|
291808
291959
|
}
|
|
291809
291960
|
while (true);
|
|
291810
291961
|
};
|
|
291811
|
-
function $
|
|
291962
|
+
function $putHomepagePostReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, putCommunicationReactionCommand, resultContinuation) {
|
|
291812
291963
|
CoroutineImpl.call(this, resultContinuation);
|
|
291813
291964
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
291814
291965
|
this.companyId_1 = companyId;
|
|
291815
291966
|
this.postId_1 = postId;
|
|
291816
|
-
this.commentId_1 = commentId;
|
|
291817
291967
|
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
291818
291968
|
}
|
|
291819
|
-
protoOf($
|
|
291969
|
+
protoOf($putHomepagePostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
291820
291970
|
var suspendResult = this.result_1;
|
|
291821
291971
|
$sm: do
|
|
291822
291972
|
try {
|
|
@@ -291824,16 +291974,135 @@ protoOf($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg
|
|
|
291824
291974
|
switch (tmp) {
|
|
291825
291975
|
case 0:
|
|
291826
291976
|
this.exceptionState_1 = 4;
|
|
291827
|
-
if (this._this__u8e3s4__1.
|
|
291977
|
+
if (this._this__u8e3s4__1.putHomepagePostReaction === protoOf(ResidentCommunicationApi).putHomepagePostReaction) {
|
|
291828
291978
|
this.state_1 = 2;
|
|
291829
|
-
suspendResult = this._this__u8e3s4__1.
|
|
291979
|
+
suspendResult = this._this__u8e3s4__1.putHomepagePostReaction_ljrz3g_k$(this.companyId_1, this.postId_1, this.putCommunicationReactionCommand_1, this);
|
|
291830
291980
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291831
291981
|
return suspendResult;
|
|
291832
291982
|
}
|
|
291833
291983
|
continue $sm;
|
|
291834
291984
|
} else {
|
|
291835
291985
|
this.state_1 = 1;
|
|
291836
|
-
suspendResult = await_0(this._this__u8e3s4__1.
|
|
291986
|
+
suspendResult = await_0(this._this__u8e3s4__1.putHomepagePostReaction(this.companyId_1, this.postId_1, this.putCommunicationReactionCommand_1), this);
|
|
291987
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291988
|
+
return suspendResult;
|
|
291989
|
+
}
|
|
291990
|
+
continue $sm;
|
|
291991
|
+
}
|
|
291992
|
+
|
|
291993
|
+
case 1:
|
|
291994
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
291995
|
+
this.state_1 = 3;
|
|
291996
|
+
continue $sm;
|
|
291997
|
+
case 2:
|
|
291998
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
291999
|
+
this.state_1 = 3;
|
|
292000
|
+
continue $sm;
|
|
292001
|
+
case 3:
|
|
292002
|
+
return this.WHEN_RESULT0__1;
|
|
292003
|
+
case 4:
|
|
292004
|
+
throw this.exception_1;
|
|
292005
|
+
}
|
|
292006
|
+
} catch ($p) {
|
|
292007
|
+
var e = $p;
|
|
292008
|
+
if (this.exceptionState_1 === 4) {
|
|
292009
|
+
throw e;
|
|
292010
|
+
} else {
|
|
292011
|
+
this.state_1 = this.exceptionState_1;
|
|
292012
|
+
this.exception_1 = e;
|
|
292013
|
+
}
|
|
292014
|
+
}
|
|
292015
|
+
while (true);
|
|
292016
|
+
};
|
|
292017
|
+
function $putNeighborhoodCommentReactionCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
292018
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292019
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292020
|
+
this.companyId_1 = companyId;
|
|
292021
|
+
this.postId_1 = postId;
|
|
292022
|
+
this.commentId_1 = commentId;
|
|
292023
|
+
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
292024
|
+
}
|
|
292025
|
+
protoOf($putNeighborhoodCommentReactionCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292026
|
+
var suspendResult = this.result_1;
|
|
292027
|
+
$sm: do
|
|
292028
|
+
try {
|
|
292029
|
+
var tmp = this.state_1;
|
|
292030
|
+
switch (tmp) {
|
|
292031
|
+
case 0:
|
|
292032
|
+
this.exceptionState_1 = 2;
|
|
292033
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
292034
|
+
var localVariableBody = this.putCommunicationReactionCommand_1;
|
|
292035
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
292036
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
292037
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
292038
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/reaction', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
292039
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
292040
|
+
this.state_1 = 1;
|
|
292041
|
+
suspendResult = this._this__u8e3s4__1.jsonRequest$suspendBridge_ao9kpg_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
292042
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292043
|
+
return suspendResult;
|
|
292044
|
+
}
|
|
292045
|
+
|
|
292046
|
+
continue $sm;
|
|
292047
|
+
case 1:
|
|
292048
|
+
var this_0 = suspendResult;
|
|
292049
|
+
var tmp_0 = getKClass(Unit);
|
|
292050
|
+
var tmp_1 = null instanceof Unit;
|
|
292051
|
+
var tmp_2;
|
|
292052
|
+
try {
|
|
292053
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
292054
|
+
} catch ($p) {
|
|
292055
|
+
var tmp_3;
|
|
292056
|
+
if ($p instanceof Error) {
|
|
292057
|
+
var _unused_var__etf5q3 = $p;
|
|
292058
|
+
tmp_3 = null;
|
|
292059
|
+
} else {
|
|
292060
|
+
throw $p;
|
|
292061
|
+
}
|
|
292062
|
+
tmp_2 = tmp_3;
|
|
292063
|
+
}
|
|
292064
|
+
|
|
292065
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
292066
|
+
case 2:
|
|
292067
|
+
throw this.exception_1;
|
|
292068
|
+
}
|
|
292069
|
+
} catch ($p_0) {
|
|
292070
|
+
var e = $p_0;
|
|
292071
|
+
if (this.exceptionState_1 === 2) {
|
|
292072
|
+
throw e;
|
|
292073
|
+
} else {
|
|
292074
|
+
this.state_1 = this.exceptionState_1;
|
|
292075
|
+
this.exception_1 = e;
|
|
292076
|
+
}
|
|
292077
|
+
}
|
|
292078
|
+
while (true);
|
|
292079
|
+
};
|
|
292080
|
+
function $putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, putCommunicationReactionCommand, resultContinuation) {
|
|
292081
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292082
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292083
|
+
this.companyId_1 = companyId;
|
|
292084
|
+
this.postId_1 = postId;
|
|
292085
|
+
this.commentId_1 = commentId;
|
|
292086
|
+
this.putCommunicationReactionCommand_1 = putCommunicationReactionCommand;
|
|
292087
|
+
}
|
|
292088
|
+
protoOf($putNeighborhoodCommentReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292089
|
+
var suspendResult = this.result_1;
|
|
292090
|
+
$sm: do
|
|
292091
|
+
try {
|
|
292092
|
+
var tmp = this.state_1;
|
|
292093
|
+
switch (tmp) {
|
|
292094
|
+
case 0:
|
|
292095
|
+
this.exceptionState_1 = 4;
|
|
292096
|
+
if (this._this__u8e3s4__1.putNeighborhoodCommentReaction === protoOf(ResidentCommunicationApi).putNeighborhoodCommentReaction) {
|
|
292097
|
+
this.state_1 = 2;
|
|
292098
|
+
suspendResult = this._this__u8e3s4__1.putNeighborhoodCommentReaction_uoh1fj_k$(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1, this);
|
|
292099
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292100
|
+
return suspendResult;
|
|
292101
|
+
}
|
|
292102
|
+
continue $sm;
|
|
292103
|
+
} else {
|
|
292104
|
+
this.state_1 = 1;
|
|
292105
|
+
suspendResult = await_0(this._this__u8e3s4__1.putNeighborhoodCommentReaction(this.companyId_1, this.postId_1, this.commentId_1, this.putCommunicationReactionCommand_1), this);
|
|
291837
292106
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
291838
292107
|
return suspendResult;
|
|
291839
292108
|
}
|
|
@@ -291981,6 +292250,240 @@ protoOf($putNeighborhoodPostReaction$suspendBridgeCOROUTINE$).doResume_5yljmg_k$
|
|
|
291981
292250
|
}
|
|
291982
292251
|
while (true);
|
|
291983
292252
|
};
|
|
292253
|
+
function $restoreHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
292254
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292255
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292256
|
+
this.companyId_1 = companyId;
|
|
292257
|
+
this.postId_1 = postId;
|
|
292258
|
+
this.commentId_1 = commentId;
|
|
292259
|
+
}
|
|
292260
|
+
protoOf($restoreHomepagePostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292261
|
+
var suspendResult = this.result_1;
|
|
292262
|
+
$sm: do
|
|
292263
|
+
try {
|
|
292264
|
+
var tmp = this.state_1;
|
|
292265
|
+
switch (tmp) {
|
|
292266
|
+
case 0:
|
|
292267
|
+
this.exceptionState_1 = 2;
|
|
292268
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
292269
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
292270
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
292271
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
292272
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
292273
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/homepage/feed/{postId}/comments/{commentId}/restore', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
292274
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
292275
|
+
this.state_1 = 1;
|
|
292276
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
292277
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292278
|
+
return suspendResult;
|
|
292279
|
+
}
|
|
292280
|
+
|
|
292281
|
+
continue $sm;
|
|
292282
|
+
case 1:
|
|
292283
|
+
var this_0 = suspendResult;
|
|
292284
|
+
var tmp_0 = getKClass(Unit);
|
|
292285
|
+
var tmp_1 = null instanceof Unit;
|
|
292286
|
+
var tmp_2;
|
|
292287
|
+
try {
|
|
292288
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
292289
|
+
} catch ($p) {
|
|
292290
|
+
var tmp_3;
|
|
292291
|
+
if ($p instanceof Error) {
|
|
292292
|
+
var _unused_var__etf5q3 = $p;
|
|
292293
|
+
tmp_3 = null;
|
|
292294
|
+
} else {
|
|
292295
|
+
throw $p;
|
|
292296
|
+
}
|
|
292297
|
+
tmp_2 = tmp_3;
|
|
292298
|
+
}
|
|
292299
|
+
|
|
292300
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
292301
|
+
case 2:
|
|
292302
|
+
throw this.exception_1;
|
|
292303
|
+
}
|
|
292304
|
+
} catch ($p_0) {
|
|
292305
|
+
var e = $p_0;
|
|
292306
|
+
if (this.exceptionState_1 === 2) {
|
|
292307
|
+
throw e;
|
|
292308
|
+
} else {
|
|
292309
|
+
this.state_1 = this.exceptionState_1;
|
|
292310
|
+
this.exception_1 = e;
|
|
292311
|
+
}
|
|
292312
|
+
}
|
|
292313
|
+
while (true);
|
|
292314
|
+
};
|
|
292315
|
+
function $restoreHomepagePostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
292316
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292317
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292318
|
+
this.companyId_1 = companyId;
|
|
292319
|
+
this.postId_1 = postId;
|
|
292320
|
+
this.commentId_1 = commentId;
|
|
292321
|
+
}
|
|
292322
|
+
protoOf($restoreHomepagePostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292323
|
+
var suspendResult = this.result_1;
|
|
292324
|
+
$sm: do
|
|
292325
|
+
try {
|
|
292326
|
+
var tmp = this.state_1;
|
|
292327
|
+
switch (tmp) {
|
|
292328
|
+
case 0:
|
|
292329
|
+
this.exceptionState_1 = 4;
|
|
292330
|
+
if (this._this__u8e3s4__1.restoreHomepagePostComment === protoOf(ResidentCommunicationApi).restoreHomepagePostComment) {
|
|
292331
|
+
this.state_1 = 2;
|
|
292332
|
+
suspendResult = this._this__u8e3s4__1.restoreHomepagePostComment_3zwdq5_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
292333
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292334
|
+
return suspendResult;
|
|
292335
|
+
}
|
|
292336
|
+
continue $sm;
|
|
292337
|
+
} else {
|
|
292338
|
+
this.state_1 = 1;
|
|
292339
|
+
suspendResult = await_0(this._this__u8e3s4__1.restoreHomepagePostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
292340
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292341
|
+
return suspendResult;
|
|
292342
|
+
}
|
|
292343
|
+
continue $sm;
|
|
292344
|
+
}
|
|
292345
|
+
|
|
292346
|
+
case 1:
|
|
292347
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
292348
|
+
this.state_1 = 3;
|
|
292349
|
+
continue $sm;
|
|
292350
|
+
case 2:
|
|
292351
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
292352
|
+
this.state_1 = 3;
|
|
292353
|
+
continue $sm;
|
|
292354
|
+
case 3:
|
|
292355
|
+
return this.WHEN_RESULT0__1;
|
|
292356
|
+
case 4:
|
|
292357
|
+
throw this.exception_1;
|
|
292358
|
+
}
|
|
292359
|
+
} catch ($p) {
|
|
292360
|
+
var e = $p;
|
|
292361
|
+
if (this.exceptionState_1 === 4) {
|
|
292362
|
+
throw e;
|
|
292363
|
+
} else {
|
|
292364
|
+
this.state_1 = this.exceptionState_1;
|
|
292365
|
+
this.exception_1 = e;
|
|
292366
|
+
}
|
|
292367
|
+
}
|
|
292368
|
+
while (true);
|
|
292369
|
+
};
|
|
292370
|
+
function $restoreNeighborhoodPostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
292371
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292372
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292373
|
+
this.companyId_1 = companyId;
|
|
292374
|
+
this.postId_1 = postId;
|
|
292375
|
+
this.commentId_1 = commentId;
|
|
292376
|
+
}
|
|
292377
|
+
protoOf($restoreNeighborhoodPostCommentCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292378
|
+
var suspendResult = this.result_1;
|
|
292379
|
+
$sm: do
|
|
292380
|
+
try {
|
|
292381
|
+
var tmp = this.state_1;
|
|
292382
|
+
switch (tmp) {
|
|
292383
|
+
case 0:
|
|
292384
|
+
this.exceptionState_1 = 2;
|
|
292385
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
292386
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
292387
|
+
var localVariableQuery = LinkedHashMap_init_$Create$_0();
|
|
292388
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$_0();
|
|
292389
|
+
var tmp0_method = RequestMethod_PUT_getInstance();
|
|
292390
|
+
var tmp1_path = replace(replace(replace('/companies/{companyId}/neighborhood/posts/{postId}/comments/{commentId}/restore', '{companyId}', this.companyId_1.toString()), '{postId}', this.postId_1.toString()), '{commentId}', this.commentId_1.toString());
|
|
292391
|
+
var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
292392
|
+
this.state_1 = 1;
|
|
292393
|
+
suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
292394
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292395
|
+
return suspendResult;
|
|
292396
|
+
}
|
|
292397
|
+
|
|
292398
|
+
continue $sm;
|
|
292399
|
+
case 1:
|
|
292400
|
+
var this_0 = suspendResult;
|
|
292401
|
+
var tmp_0 = getKClass(Unit);
|
|
292402
|
+
var tmp_1 = null instanceof Unit;
|
|
292403
|
+
var tmp_2;
|
|
292404
|
+
try {
|
|
292405
|
+
tmp_2 = createKType(getKClass(Unit), arrayOf([]), false);
|
|
292406
|
+
} catch ($p) {
|
|
292407
|
+
var tmp_3;
|
|
292408
|
+
if ($p instanceof Error) {
|
|
292409
|
+
var _unused_var__etf5q3 = $p;
|
|
292410
|
+
tmp_3 = null;
|
|
292411
|
+
} else {
|
|
292412
|
+
throw $p;
|
|
292413
|
+
}
|
|
292414
|
+
tmp_2 = tmp_3;
|
|
292415
|
+
}
|
|
292416
|
+
|
|
292417
|
+
return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
|
|
292418
|
+
case 2:
|
|
292419
|
+
throw this.exception_1;
|
|
292420
|
+
}
|
|
292421
|
+
} catch ($p_0) {
|
|
292422
|
+
var e = $p_0;
|
|
292423
|
+
if (this.exceptionState_1 === 2) {
|
|
292424
|
+
throw e;
|
|
292425
|
+
} else {
|
|
292426
|
+
this.state_1 = this.exceptionState_1;
|
|
292427
|
+
this.exception_1 = e;
|
|
292428
|
+
}
|
|
292429
|
+
}
|
|
292430
|
+
while (true);
|
|
292431
|
+
};
|
|
292432
|
+
function $restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, resultContinuation) {
|
|
292433
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
292434
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
292435
|
+
this.companyId_1 = companyId;
|
|
292436
|
+
this.postId_1 = postId;
|
|
292437
|
+
this.commentId_1 = commentId;
|
|
292438
|
+
}
|
|
292439
|
+
protoOf($restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
292440
|
+
var suspendResult = this.result_1;
|
|
292441
|
+
$sm: do
|
|
292442
|
+
try {
|
|
292443
|
+
var tmp = this.state_1;
|
|
292444
|
+
switch (tmp) {
|
|
292445
|
+
case 0:
|
|
292446
|
+
this.exceptionState_1 = 4;
|
|
292447
|
+
if (this._this__u8e3s4__1.restoreNeighborhoodPostComment === protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment) {
|
|
292448
|
+
this.state_1 = 2;
|
|
292449
|
+
suspendResult = this._this__u8e3s4__1.restoreNeighborhoodPostComment_7zny3n_k$(this.companyId_1, this.postId_1, this.commentId_1, this);
|
|
292450
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292451
|
+
return suspendResult;
|
|
292452
|
+
}
|
|
292453
|
+
continue $sm;
|
|
292454
|
+
} else {
|
|
292455
|
+
this.state_1 = 1;
|
|
292456
|
+
suspendResult = await_0(this._this__u8e3s4__1.restoreNeighborhoodPostComment(this.companyId_1, this.postId_1, this.commentId_1), this);
|
|
292457
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
292458
|
+
return suspendResult;
|
|
292459
|
+
}
|
|
292460
|
+
continue $sm;
|
|
292461
|
+
}
|
|
292462
|
+
|
|
292463
|
+
case 1:
|
|
292464
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
292465
|
+
this.state_1 = 3;
|
|
292466
|
+
continue $sm;
|
|
292467
|
+
case 2:
|
|
292468
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
292469
|
+
this.state_1 = 3;
|
|
292470
|
+
continue $sm;
|
|
292471
|
+
case 3:
|
|
292472
|
+
return this.WHEN_RESULT0__1;
|
|
292473
|
+
case 4:
|
|
292474
|
+
throw this.exception_1;
|
|
292475
|
+
}
|
|
292476
|
+
} catch ($p) {
|
|
292477
|
+
var e = $p;
|
|
292478
|
+
if (this.exceptionState_1 === 4) {
|
|
292479
|
+
throw e;
|
|
292480
|
+
} else {
|
|
292481
|
+
this.state_1 = this.exceptionState_1;
|
|
292482
|
+
this.exception_1 = e;
|
|
292483
|
+
}
|
|
292484
|
+
}
|
|
292485
|
+
while (true);
|
|
292486
|
+
};
|
|
291984
292487
|
function $updateHomepagePostCommentCOROUTINE$(_this__u8e3s4, companyId, postId, commentId, updateCommunicationCommentCommand, resultContinuation) {
|
|
291985
292488
|
CoroutineImpl.call(this, resultContinuation);
|
|
291986
292489
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
@@ -294245,6 +294748,42 @@ protoOf(ResidentCommunicationApi).listNeighborhoodPostComments$suspendBridge_dul
|
|
|
294245
294748
|
tmp.exception_1 = null;
|
|
294246
294749
|
return tmp.doResume_5yljmg_k$();
|
|
294247
294750
|
};
|
|
294751
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment_yhholn_k$ = function (companyId, postId, commentId, $completion) {
|
|
294752
|
+
var tmp = new $permanentlyDeleteHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294753
|
+
tmp.result_1 = Unit_instance;
|
|
294754
|
+
tmp.exception_1 = null;
|
|
294755
|
+
return tmp.doResume_5yljmg_k$();
|
|
294756
|
+
};
|
|
294757
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment = function (companyId, postId, commentId) {
|
|
294758
|
+
var tmp = this;
|
|
294759
|
+
return promisify(function ($completion) {
|
|
294760
|
+
return tmp.permanentlyDeleteHomepagePostComment_yhholn_k$(companyId, postId, commentId, $completion);
|
|
294761
|
+
});
|
|
294762
|
+
};
|
|
294763
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteHomepagePostComment$suspendBridge_mno1p0_k$ = function (companyId, postId, commentId, $completion) {
|
|
294764
|
+
var tmp = new $permanentlyDeleteHomepagePostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294765
|
+
tmp.result_1 = Unit_instance;
|
|
294766
|
+
tmp.exception_1 = null;
|
|
294767
|
+
return tmp.doResume_5yljmg_k$();
|
|
294768
|
+
};
|
|
294769
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment_nfgc45_k$ = function (companyId, postId, commentId, $completion) {
|
|
294770
|
+
var tmp = new $permanentlyDeleteNeighborhoodPostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294771
|
+
tmp.result_1 = Unit_instance;
|
|
294772
|
+
tmp.exception_1 = null;
|
|
294773
|
+
return tmp.doResume_5yljmg_k$();
|
|
294774
|
+
};
|
|
294775
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment = function (companyId, postId, commentId) {
|
|
294776
|
+
var tmp = this;
|
|
294777
|
+
return promisify(function ($completion) {
|
|
294778
|
+
return tmp.permanentlyDeleteNeighborhoodPostComment_nfgc45_k$(companyId, postId, commentId, $completion);
|
|
294779
|
+
});
|
|
294780
|
+
};
|
|
294781
|
+
protoOf(ResidentCommunicationApi).permanentlyDeleteNeighborhoodPostComment$suspendBridge_8rvwl0_k$ = function (companyId, postId, commentId, $completion) {
|
|
294782
|
+
var tmp = new $permanentlyDeleteNeighborhoodPostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294783
|
+
tmp.result_1 = Unit_instance;
|
|
294784
|
+
tmp.exception_1 = null;
|
|
294785
|
+
return tmp.doResume_5yljmg_k$();
|
|
294786
|
+
};
|
|
294248
294787
|
protoOf(ResidentCommunicationApi).putHomepageCommentReaction_v53ilb_k$ = function (companyId, postId, commentId, putCommunicationReactionCommand, $completion) {
|
|
294249
294788
|
var tmp = new $putHomepageCommentReactionCOROUTINE$(this, companyId, postId, commentId, putCommunicationReactionCommand, $completion);
|
|
294250
294789
|
tmp.result_1 = Unit_instance;
|
|
@@ -294317,6 +294856,42 @@ protoOf(ResidentCommunicationApi).putNeighborhoodPostReaction$suspendBridge_afnl
|
|
|
294317
294856
|
tmp.exception_1 = null;
|
|
294318
294857
|
return tmp.doResume_5yljmg_k$();
|
|
294319
294858
|
};
|
|
294859
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment_3zwdq5_k$ = function (companyId, postId, commentId, $completion) {
|
|
294860
|
+
var tmp = new $restoreHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294861
|
+
tmp.result_1 = Unit_instance;
|
|
294862
|
+
tmp.exception_1 = null;
|
|
294863
|
+
return tmp.doResume_5yljmg_k$();
|
|
294864
|
+
};
|
|
294865
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment = function (companyId, postId, commentId) {
|
|
294866
|
+
var tmp = this;
|
|
294867
|
+
return promisify(function ($completion) {
|
|
294868
|
+
return tmp.restoreHomepagePostComment_3zwdq5_k$(companyId, postId, commentId, $completion);
|
|
294869
|
+
});
|
|
294870
|
+
};
|
|
294871
|
+
protoOf(ResidentCommunicationApi).restoreHomepagePostComment$suspendBridge_ejydk4_k$ = function (companyId, postId, commentId, $completion) {
|
|
294872
|
+
var tmp = new $restoreHomepagePostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294873
|
+
tmp.result_1 = Unit_instance;
|
|
294874
|
+
tmp.exception_1 = null;
|
|
294875
|
+
return tmp.doResume_5yljmg_k$();
|
|
294876
|
+
};
|
|
294877
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment_7zny3n_k$ = function (companyId, postId, commentId, $completion) {
|
|
294878
|
+
var tmp = new $restoreNeighborhoodPostCommentCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294879
|
+
tmp.result_1 = Unit_instance;
|
|
294880
|
+
tmp.exception_1 = null;
|
|
294881
|
+
return tmp.doResume_5yljmg_k$();
|
|
294882
|
+
};
|
|
294883
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment = function (companyId, postId, commentId) {
|
|
294884
|
+
var tmp = this;
|
|
294885
|
+
return promisify(function ($completion) {
|
|
294886
|
+
return tmp.restoreNeighborhoodPostComment_7zny3n_k$(companyId, postId, commentId, $completion);
|
|
294887
|
+
});
|
|
294888
|
+
};
|
|
294889
|
+
protoOf(ResidentCommunicationApi).restoreNeighborhoodPostComment$suspendBridge_2oo938_k$ = function (companyId, postId, commentId, $completion) {
|
|
294890
|
+
var tmp = new $restoreNeighborhoodPostComment$suspendBridgeCOROUTINE$(this, companyId, postId, commentId, $completion);
|
|
294891
|
+
tmp.result_1 = Unit_instance;
|
|
294892
|
+
tmp.exception_1 = null;
|
|
294893
|
+
return tmp.doResume_5yljmg_k$();
|
|
294894
|
+
};
|
|
294320
294895
|
protoOf(ResidentCommunicationApi).updateHomepagePostComment_4zpzb0_k$ = function (companyId, postId, commentId, updateCommunicationCommentCommand, $completion) {
|
|
294321
294896
|
var tmp = new $updateHomepagePostCommentCOROUTINE$(this, companyId, postId, commentId, updateCommunicationCommentCommand, $completion);
|
|
294322
294897
|
tmp.result_1 = Unit_instance;
|