@solibo/solibo-sdk 1.33.5 → 1.33.6
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/client.mjs +12 -0
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +783 -375
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +30 -6
- package/solibo-sdk-sdk.mjs +15 -15
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -55063,12 +55063,18 @@ protoOf(CreateNeighborhoodPostCommand).equals = function (other) {
|
|
|
55063
55063
|
return true;
|
|
55064
55064
|
};
|
|
55065
55065
|
function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0() {
|
|
55066
|
-
return new ArrayListSerializer(
|
|
55066
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
55067
55067
|
}
|
|
55068
55068
|
function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_0() {
|
|
55069
|
-
return new ArrayListSerializer(
|
|
55069
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
55070
55070
|
}
|
|
55071
55071
|
function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_1() {
|
|
55072
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
55073
|
+
}
|
|
55074
|
+
function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_2() {
|
|
55075
|
+
return new ArrayListSerializer($serializer_getInstance_414());
|
|
55076
|
+
}
|
|
55077
|
+
function CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_3() {
|
|
55072
55078
|
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
55073
55079
|
}
|
|
55074
55080
|
function Companion_237() {
|
|
@@ -55079,10 +55085,14 @@ function Companion_237() {
|
|
|
55079
55085
|
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55080
55086
|
var tmp_3 = lazy(tmp_2, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_0);
|
|
55081
55087
|
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55088
|
+
var tmp_5 = lazy(tmp_4, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_1);
|
|
55089
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55090
|
+
var tmp_7 = lazy(tmp_6, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_2);
|
|
55091
|
+
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
55082
55092
|
// Inline function 'kotlin.arrayOf' call
|
|
55083
55093
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55084
55094
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55085
|
-
tmp.$childSerializers_1 = [tmp_1, null,
|
|
55095
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, null, lazy(tmp_8, CreateNewsletterCommand$Companion$$childSerializers$_anonymous__s5pqd0_3), null];
|
|
55086
55096
|
}
|
|
55087
55097
|
var Companion_instance_238;
|
|
55088
55098
|
function Companion_getInstance_240() {
|
|
@@ -55092,7 +55102,9 @@ function Companion_getInstance_240() {
|
|
|
55092
55102
|
}
|
|
55093
55103
|
function $serializer_202() {
|
|
55094
55104
|
$serializer_instance_202 = this;
|
|
55095
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateNewsletterCommand', this,
|
|
55105
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateNewsletterCommand', this, 10);
|
|
55106
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
55107
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
55096
55108
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
|
|
55097
55109
|
tmp0_serialDesc.addElement_5pzumi_k$('htmlText', true);
|
|
55098
55110
|
tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
|
|
@@ -55107,26 +55119,32 @@ protoOf($serializer_202).serialize_9dc0j8_k$ = function (encoder, value) {
|
|
|
55107
55119
|
var tmp0_desc = this.descriptor_1;
|
|
55108
55120
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
55109
55121
|
var tmp2_cached = Companion_getInstance_240().$childSerializers_1;
|
|
55110
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
55111
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.
|
|
55122
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
55123
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
55112
55124
|
}
|
|
55113
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.
|
|
55114
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1,
|
|
55125
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
|
|
55126
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
55115
55127
|
}
|
|
55116
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.
|
|
55117
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.
|
|
55128
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
|
|
55129
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
|
|
55118
55130
|
}
|
|
55119
|
-
tmp1_output.
|
|
55120
|
-
|
|
55121
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, BooleanSerializer_getInstance(), value.publish);
|
|
55131
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.htmlText == null)) {
|
|
55132
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.htmlText);
|
|
55122
55133
|
}
|
|
55123
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
55124
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
55134
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.notificationGroups == null)) {
|
|
55135
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
|
|
55125
55136
|
}
|
|
55126
|
-
|
|
55127
|
-
|
|
55137
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
|
|
55138
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publish == null)) {
|
|
55139
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), value.publish);
|
|
55128
55140
|
}
|
|
55129
|
-
tmp1_output.
|
|
55141
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.publishedAt == null)) {
|
|
55142
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.publishedAt);
|
|
55143
|
+
}
|
|
55144
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.reviewers == null)) {
|
|
55145
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.reviewers);
|
|
55146
|
+
}
|
|
55147
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 9, value.subject);
|
|
55130
55148
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
55131
55149
|
};
|
|
55132
55150
|
protoOf($serializer_202).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -55145,70 +55163,84 @@ protoOf($serializer_202).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
55145
55163
|
var tmp9_local5 = null;
|
|
55146
55164
|
var tmp10_local6 = null;
|
|
55147
55165
|
var tmp11_local7 = null;
|
|
55148
|
-
var
|
|
55149
|
-
var
|
|
55150
|
-
|
|
55151
|
-
|
|
55166
|
+
var tmp12_local8 = null;
|
|
55167
|
+
var tmp13_local9 = null;
|
|
55168
|
+
var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
55169
|
+
var tmp15_cached = Companion_getInstance_240().$childSerializers_1;
|
|
55170
|
+
if (tmp14_input.decodeSequentially_xlblqy_k$()) {
|
|
55171
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp15_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
55152
55172
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
55153
|
-
tmp5_local1 =
|
|
55173
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp15_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
55154
55174
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
55155
|
-
tmp6_local2 =
|
|
55175
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp15_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
55156
55176
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
55157
|
-
tmp7_local3 =
|
|
55177
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
55158
55178
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
55159
|
-
tmp8_local4 =
|
|
55179
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp15_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
55160
55180
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
55161
|
-
tmp9_local5 =
|
|
55181
|
+
tmp9_local5 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
55162
55182
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
55163
|
-
tmp10_local6 =
|
|
55183
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
55164
55184
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
55165
|
-
tmp11_local7 =
|
|
55185
|
+
tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
|
|
55166
55186
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
55187
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp15_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
55188
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
55189
|
+
tmp13_local9 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
|
|
55190
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
55167
55191
|
} else
|
|
55168
55192
|
while (tmp1_flag) {
|
|
55169
|
-
tmp2_index =
|
|
55193
|
+
tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
55170
55194
|
switch (tmp2_index) {
|
|
55171
55195
|
case -1:
|
|
55172
55196
|
tmp1_flag = false;
|
|
55173
55197
|
break;
|
|
55174
55198
|
case 0:
|
|
55175
|
-
tmp4_local0 =
|
|
55199
|
+
tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp15_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
55176
55200
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
55177
55201
|
break;
|
|
55178
55202
|
case 1:
|
|
55179
|
-
tmp5_local1 =
|
|
55203
|
+
tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp15_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
55180
55204
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
55181
55205
|
break;
|
|
55182
55206
|
case 2:
|
|
55183
|
-
tmp6_local2 =
|
|
55207
|
+
tmp6_local2 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp15_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
55184
55208
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
55185
55209
|
break;
|
|
55186
55210
|
case 3:
|
|
55187
|
-
tmp7_local3 =
|
|
55211
|
+
tmp7_local3 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
55188
55212
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
55189
55213
|
break;
|
|
55190
55214
|
case 4:
|
|
55191
|
-
tmp8_local4 =
|
|
55215
|
+
tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp15_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
55192
55216
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
55193
55217
|
break;
|
|
55194
55218
|
case 5:
|
|
55195
|
-
tmp9_local5 =
|
|
55219
|
+
tmp9_local5 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
55196
55220
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
55197
55221
|
break;
|
|
55198
55222
|
case 6:
|
|
55199
|
-
tmp10_local6 =
|
|
55223
|
+
tmp10_local6 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, BooleanSerializer_getInstance(), tmp10_local6);
|
|
55200
55224
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
55201
55225
|
break;
|
|
55202
55226
|
case 7:
|
|
55203
|
-
tmp11_local7 =
|
|
55227
|
+
tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, InstantSerializer_getInstance(), tmp11_local7);
|
|
55204
55228
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
55205
55229
|
break;
|
|
55230
|
+
case 8:
|
|
55231
|
+
tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp15_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
55232
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
55233
|
+
break;
|
|
55234
|
+
case 9:
|
|
55235
|
+
tmp13_local9 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
|
|
55236
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
55237
|
+
break;
|
|
55206
55238
|
default:
|
|
55207
55239
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
55208
55240
|
}
|
|
55209
55241
|
}
|
|
55210
|
-
|
|
55211
|
-
return CreateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
55242
|
+
tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
55243
|
+
return CreateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
|
|
55212
55244
|
};
|
|
55213
55245
|
protoOf($serializer_202).get_descriptor_wjt6a0_k$ = function () {
|
|
55214
55246
|
return this.descriptor_1;
|
|
@@ -55218,7 +55250,7 @@ protoOf($serializer_202).childSerializers_5ghqw5_k$ = function () {
|
|
|
55218
55250
|
// Inline function 'kotlin.arrayOf' call
|
|
55219
55251
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
55220
55252
|
// Inline function 'kotlin.js.asDynamic' call
|
|
55221
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(
|
|
55253
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), StringSerializer_getInstance()];
|
|
55222
55254
|
};
|
|
55223
55255
|
var $serializer_instance_202;
|
|
55224
55256
|
function $serializer_getInstance_202() {
|
|
@@ -55226,46 +55258,56 @@ function $serializer_getInstance_202() {
|
|
|
55226
55258
|
new $serializer_202();
|
|
55227
55259
|
return $serializer_instance_202;
|
|
55228
55260
|
}
|
|
55229
|
-
function CreateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
|
|
55230
|
-
if (!(
|
|
55231
|
-
throwMissingFieldException(seen0,
|
|
55261
|
+
function CreateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
|
|
55262
|
+
if (!(544 === (544 & seen0))) {
|
|
55263
|
+
throwMissingFieldException(seen0, 544, $serializer_getInstance_202().descriptor_1);
|
|
55232
55264
|
}
|
|
55233
55265
|
if (0 === (seen0 & 1))
|
|
55266
|
+
$this.directRecipientOrganizationIds = null;
|
|
55267
|
+
else
|
|
55268
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
55269
|
+
if (0 === (seen0 & 2))
|
|
55270
|
+
$this.directRecipientPersonIds = null;
|
|
55271
|
+
else
|
|
55272
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
55273
|
+
if (0 === (seen0 & 4))
|
|
55234
55274
|
$this.directRecipients = null;
|
|
55235
55275
|
else
|
|
55236
55276
|
$this.directRecipients = directRecipients;
|
|
55237
|
-
if (0 === (seen0 &
|
|
55277
|
+
if (0 === (seen0 & 8))
|
|
55238
55278
|
$this.htmlText = null;
|
|
55239
55279
|
else
|
|
55240
55280
|
$this.htmlText = htmlText;
|
|
55241
|
-
if (0 === (seen0 &
|
|
55281
|
+
if (0 === (seen0 & 16))
|
|
55242
55282
|
$this.notificationGroups = null;
|
|
55243
55283
|
else
|
|
55244
55284
|
$this.notificationGroups = notificationGroups;
|
|
55245
55285
|
$this.plainText = plainText;
|
|
55246
|
-
if (0 === (seen0 &
|
|
55286
|
+
if (0 === (seen0 & 64))
|
|
55247
55287
|
$this.publish = null;
|
|
55248
55288
|
else
|
|
55249
55289
|
$this.publish = publish;
|
|
55250
|
-
if (0 === (seen0 &
|
|
55290
|
+
if (0 === (seen0 & 128))
|
|
55251
55291
|
$this.publishedAt = null;
|
|
55252
55292
|
else
|
|
55253
55293
|
$this.publishedAt = publishedAt;
|
|
55254
|
-
if (0 === (seen0 &
|
|
55294
|
+
if (0 === (seen0 & 256))
|
|
55255
55295
|
$this.reviewers = null;
|
|
55256
55296
|
else
|
|
55257
55297
|
$this.reviewers = reviewers;
|
|
55258
55298
|
$this.subject = subject;
|
|
55259
55299
|
return $this;
|
|
55260
55300
|
}
|
|
55261
|
-
function CreateNewsletterCommand_init_$Create$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker) {
|
|
55262
|
-
return CreateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(CreateNewsletterCommand)));
|
|
55301
|
+
function CreateNewsletterCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker) {
|
|
55302
|
+
return CreateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(CreateNewsletterCommand)));
|
|
55263
55303
|
}
|
|
55264
|
-
function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
|
|
55265
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
55304
|
+
function CreateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
|
|
55305
|
+
var __soliboProps = arguments.length === 1 && typeof directRecipientOrganizationIds === 'object' && directRecipientOrganizationIds !== null && directRecipientOrganizationIds.constructor === Object;
|
|
55266
55306
|
var __soliboTmp, __soliboConverted = false;
|
|
55267
55307
|
if (__soliboProps) {
|
|
55268
|
-
const props =
|
|
55308
|
+
const props = directRecipientOrganizationIds;
|
|
55309
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
55310
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
55269
55311
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
55270
55312
|
htmlText = ('htmlText' in props ? props.htmlText : VOID);
|
|
55271
55313
|
notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
|
|
@@ -55284,16 +55326,22 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
55284
55326
|
reviewers = ('reviewers' in props ? props.reviewers : VOID);
|
|
55285
55327
|
subject = ('subject' in props ? props.subject : VOID);
|
|
55286
55328
|
}
|
|
55329
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
55330
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
55287
55331
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
55288
55332
|
if ((__soliboTmp = __soliboToKt(notificationGroups, ["list",["model","NotificationGroup"]])) !== notificationGroups) { notificationGroups = __soliboTmp; __soliboConverted = true; }
|
|
55289
55333
|
if ((__soliboTmp = __soliboToKt(reviewers, ["list",["bigint"]])) !== reviewers) { reviewers = __soliboTmp; __soliboConverted = true; }
|
|
55290
55334
|
Companion_getInstance_240();
|
|
55335
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
55336
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
55291
55337
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
55292
55338
|
htmlText = htmlText === VOID ? null : htmlText;
|
|
55293
55339
|
notificationGroups = notificationGroups === VOID ? null : notificationGroups;
|
|
55294
55340
|
publish = publish === VOID ? null : publish;
|
|
55295
55341
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
55296
55342
|
reviewers = reviewers === VOID ? null : reviewers;
|
|
55343
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
55344
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
55297
55345
|
this.directRecipients = directRecipients;
|
|
55298
55346
|
this.htmlText = htmlText;
|
|
55299
55347
|
this.notificationGroups = notificationGroups;
|
|
@@ -55304,6 +55352,12 @@ function CreateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
55304
55352
|
this.subject = subject;
|
|
55305
55353
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
55306
55354
|
}
|
|
55355
|
+
protoOf(CreateNewsletterCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
55356
|
+
return this.directRecipientOrganizationIds;
|
|
55357
|
+
};
|
|
55358
|
+
protoOf(CreateNewsletterCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
55359
|
+
return this.directRecipientPersonIds;
|
|
55360
|
+
};
|
|
55307
55361
|
protoOf(CreateNewsletterCommand).get_directRecipients_cxx8tw_k$ = function () {
|
|
55308
55362
|
return this.directRecipients;
|
|
55309
55363
|
};
|
|
@@ -55329,33 +55383,41 @@ protoOf(CreateNewsletterCommand).get_subject_tmjbgd_k$ = function () {
|
|
|
55329
55383
|
return this.subject;
|
|
55330
55384
|
};
|
|
55331
55385
|
protoOf(CreateNewsletterCommand).component1_7eebsc_k$ = function () {
|
|
55332
|
-
return this.
|
|
55386
|
+
return this.directRecipientOrganizationIds;
|
|
55333
55387
|
};
|
|
55334
55388
|
protoOf(CreateNewsletterCommand).component2_7eebsb_k$ = function () {
|
|
55335
|
-
return this.
|
|
55389
|
+
return this.directRecipientPersonIds;
|
|
55336
55390
|
};
|
|
55337
55391
|
protoOf(CreateNewsletterCommand).component3_7eebsa_k$ = function () {
|
|
55338
|
-
return this.
|
|
55392
|
+
return this.directRecipients;
|
|
55339
55393
|
};
|
|
55340
55394
|
protoOf(CreateNewsletterCommand).component4_7eebs9_k$ = function () {
|
|
55341
|
-
return this.
|
|
55395
|
+
return this.htmlText;
|
|
55342
55396
|
};
|
|
55343
55397
|
protoOf(CreateNewsletterCommand).component5_7eebs8_k$ = function () {
|
|
55344
|
-
return this.
|
|
55398
|
+
return this.notificationGroups;
|
|
55345
55399
|
};
|
|
55346
55400
|
protoOf(CreateNewsletterCommand).component6_7eebs7_k$ = function () {
|
|
55347
|
-
return this.
|
|
55401
|
+
return this.plainText;
|
|
55348
55402
|
};
|
|
55349
55403
|
protoOf(CreateNewsletterCommand).component7_7eebs6_k$ = function () {
|
|
55350
|
-
return this.
|
|
55404
|
+
return this.publish;
|
|
55351
55405
|
};
|
|
55352
55406
|
protoOf(CreateNewsletterCommand).component8_7eebs5_k$ = function () {
|
|
55407
|
+
return this.publishedAt;
|
|
55408
|
+
};
|
|
55409
|
+
protoOf(CreateNewsletterCommand).component9_7eebs4_k$ = function () {
|
|
55410
|
+
return this.reviewers;
|
|
55411
|
+
};
|
|
55412
|
+
protoOf(CreateNewsletterCommand).component10_gazzfo_k$ = function () {
|
|
55353
55413
|
return this.subject;
|
|
55354
55414
|
};
|
|
55355
|
-
protoOf(CreateNewsletterCommand).
|
|
55356
|
-
return new CreateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
|
|
55415
|
+
protoOf(CreateNewsletterCommand).copy_5g291h_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) {
|
|
55416
|
+
return new CreateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
|
|
55357
55417
|
};
|
|
55358
|
-
protoOf(CreateNewsletterCommand).copy = function (directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, $super) {
|
|
55418
|
+
protoOf(CreateNewsletterCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject, $super) {
|
|
55419
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
55420
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
55359
55421
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
55360
55422
|
htmlText = htmlText === VOID ? this.htmlText : htmlText;
|
|
55361
55423
|
notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
|
|
@@ -55364,13 +55426,15 @@ protoOf(CreateNewsletterCommand).copy = function (directRecipients, htmlText, no
|
|
|
55364
55426
|
publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
|
|
55365
55427
|
reviewers = reviewers === VOID ? this.reviewers : reviewers;
|
|
55366
55428
|
subject = subject === VOID ? this.subject : subject;
|
|
55367
|
-
return $super === VOID ? this.
|
|
55429
|
+
return $super === VOID ? this.copy_5g291h_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject) : $super.copy_5g291h_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publish, publishedAt, reviewers, subject);
|
|
55368
55430
|
};
|
|
55369
55431
|
protoOf(CreateNewsletterCommand).toString = function () {
|
|
55370
|
-
return 'CreateNewsletterCommand(directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
55432
|
+
return 'CreateNewsletterCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
55371
55433
|
};
|
|
55372
55434
|
protoOf(CreateNewsletterCommand).hashCode = function () {
|
|
55373
|
-
var result = this.
|
|
55435
|
+
var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
|
|
55436
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
55437
|
+
result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
|
|
55374
55438
|
result = imul(result, 31) + (this.htmlText == null ? 0 : getStringHashCode(this.htmlText)) | 0;
|
|
55375
55439
|
result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
|
|
55376
55440
|
result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
|
|
@@ -55385,6 +55449,10 @@ protoOf(CreateNewsletterCommand).equals = function (other) {
|
|
|
55385
55449
|
return true;
|
|
55386
55450
|
if (!(other instanceof CreateNewsletterCommand))
|
|
55387
55451
|
return false;
|
|
55452
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
55453
|
+
return false;
|
|
55454
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
55455
|
+
return false;
|
|
55388
55456
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
55389
55457
|
return false;
|
|
55390
55458
|
if (!(this.htmlText == other.htmlText))
|
|
@@ -59590,9 +59658,15 @@ protoOf(CreateRoutineCommand).equals = function (other) {
|
|
|
59590
59658
|
return true;
|
|
59591
59659
|
};
|
|
59592
59660
|
function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal() {
|
|
59593
|
-
return new ArrayListSerializer(
|
|
59661
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
59594
59662
|
}
|
|
59595
59663
|
function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_0() {
|
|
59664
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
59665
|
+
}
|
|
59666
|
+
function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_1() {
|
|
59667
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
59668
|
+
}
|
|
59669
|
+
function CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_2() {
|
|
59596
59670
|
return new ArrayListSerializer($serializer_getInstance_414());
|
|
59597
59671
|
}
|
|
59598
59672
|
function Companion_252() {
|
|
@@ -59601,10 +59675,14 @@ function Companion_252() {
|
|
|
59601
59675
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
59602
59676
|
var tmp_1 = lazy(tmp_0, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal);
|
|
59603
59677
|
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
59678
|
+
var tmp_3 = lazy(tmp_2, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_0);
|
|
59679
|
+
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
59680
|
+
var tmp_5 = lazy(tmp_4, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_1);
|
|
59681
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
59604
59682
|
// Inline function 'kotlin.arrayOf' call
|
|
59605
59683
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
59606
59684
|
// Inline function 'kotlin.js.asDynamic' call
|
|
59607
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(
|
|
59685
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, lazy(tmp_6, CreateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__zbusal_2), null, null, null];
|
|
59608
59686
|
}
|
|
59609
59687
|
var Companion_instance_253;
|
|
59610
59688
|
function Companion_getInstance_255() {
|
|
@@ -59614,7 +59692,9 @@ function Companion_getInstance_255() {
|
|
|
59614
59692
|
}
|
|
59615
59693
|
function $serializer_215() {
|
|
59616
59694
|
$serializer_instance_215 = this;
|
|
59617
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand', this,
|
|
59695
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.CreateSMSBroadcastCommand', this, 7);
|
|
59696
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
59697
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
59618
59698
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
|
|
59619
59699
|
tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
|
|
59620
59700
|
tmp0_serialDesc.addElement_5pzumi_k$('plainText', false);
|
|
@@ -59626,18 +59706,24 @@ protoOf($serializer_215).serialize_b39a4l_k$ = function (encoder, value) {
|
|
|
59626
59706
|
var tmp0_desc = this.descriptor_1;
|
|
59627
59707
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
59628
59708
|
var tmp2_cached = Companion_getInstance_255().$childSerializers_1;
|
|
59629
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
59630
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.
|
|
59709
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
59710
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
59631
59711
|
}
|
|
59632
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.
|
|
59633
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.
|
|
59712
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
|
|
59713
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
59634
59714
|
}
|
|
59635
|
-
tmp1_output.
|
|
59636
|
-
|
|
59637
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, BooleanSerializer_getInstance(), value.publish);
|
|
59715
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
|
|
59716
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
|
|
59638
59717
|
}
|
|
59639
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
59640
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
59718
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.notificationGroups == null)) {
|
|
59719
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.notificationGroups);
|
|
59720
|
+
}
|
|
59721
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.plainText);
|
|
59722
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.publish == null)) {
|
|
59723
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), value.publish);
|
|
59724
|
+
}
|
|
59725
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
|
|
59726
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
|
|
59641
59727
|
}
|
|
59642
59728
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
59643
59729
|
};
|
|
@@ -59654,52 +59740,66 @@ protoOf($serializer_215).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
59654
59740
|
var tmp6_local2 = null;
|
|
59655
59741
|
var tmp7_local3 = null;
|
|
59656
59742
|
var tmp8_local4 = null;
|
|
59657
|
-
var
|
|
59658
|
-
var
|
|
59659
|
-
|
|
59660
|
-
|
|
59743
|
+
var tmp9_local5 = null;
|
|
59744
|
+
var tmp10_local6 = null;
|
|
59745
|
+
var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
59746
|
+
var tmp12_cached = Companion_getInstance_255().$childSerializers_1;
|
|
59747
|
+
if (tmp11_input.decodeSequentially_xlblqy_k$()) {
|
|
59748
|
+
tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
59661
59749
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
59662
|
-
tmp5_local1 =
|
|
59750
|
+
tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp12_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
59663
59751
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
59664
|
-
tmp6_local2 =
|
|
59752
|
+
tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
59665
59753
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
59666
|
-
tmp7_local3 =
|
|
59754
|
+
tmp7_local3 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp12_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
59667
59755
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
59668
|
-
tmp8_local4 =
|
|
59756
|
+
tmp8_local4 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
59669
59757
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
59758
|
+
tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
59759
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
59760
|
+
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
59761
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
59670
59762
|
} else
|
|
59671
59763
|
while (tmp1_flag) {
|
|
59672
|
-
tmp2_index =
|
|
59764
|
+
tmp2_index = tmp11_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
59673
59765
|
switch (tmp2_index) {
|
|
59674
59766
|
case -1:
|
|
59675
59767
|
tmp1_flag = false;
|
|
59676
59768
|
break;
|
|
59677
59769
|
case 0:
|
|
59678
|
-
tmp4_local0 =
|
|
59770
|
+
tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp12_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
59679
59771
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
59680
59772
|
break;
|
|
59681
59773
|
case 1:
|
|
59682
|
-
tmp5_local1 =
|
|
59774
|
+
tmp5_local1 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp12_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
59683
59775
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
59684
59776
|
break;
|
|
59685
59777
|
case 2:
|
|
59686
|
-
tmp6_local2 =
|
|
59778
|
+
tmp6_local2 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp12_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
59687
59779
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
59688
59780
|
break;
|
|
59689
59781
|
case 3:
|
|
59690
|
-
tmp7_local3 =
|
|
59782
|
+
tmp7_local3 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp12_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
59691
59783
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
59692
59784
|
break;
|
|
59693
59785
|
case 4:
|
|
59694
|
-
tmp8_local4 =
|
|
59786
|
+
tmp8_local4 = tmp11_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
59695
59787
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
59696
59788
|
break;
|
|
59789
|
+
case 5:
|
|
59790
|
+
tmp9_local5 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
|
|
59791
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
59792
|
+
break;
|
|
59793
|
+
case 6:
|
|
59794
|
+
tmp10_local6 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
59795
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
59796
|
+
break;
|
|
59697
59797
|
default:
|
|
59698
59798
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
59699
59799
|
}
|
|
59700
59800
|
}
|
|
59701
|
-
|
|
59702
|
-
return CreateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
59801
|
+
tmp11_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
59802
|
+
return CreateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
59703
59803
|
};
|
|
59704
59804
|
protoOf($serializer_215).get_descriptor_wjt6a0_k$ = function () {
|
|
59705
59805
|
return this.descriptor_1;
|
|
@@ -59709,7 +59809,7 @@ protoOf($serializer_215).childSerializers_5ghqw5_k$ = function () {
|
|
|
59709
59809
|
// Inline function 'kotlin.arrayOf' call
|
|
59710
59810
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
59711
59811
|
// Inline function 'kotlin.js.asDynamic' call
|
|
59712
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance())];
|
|
59812
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(InstantSerializer_getInstance())];
|
|
59713
59813
|
};
|
|
59714
59814
|
var $serializer_instance_215;
|
|
59715
59815
|
function $serializer_getInstance_215() {
|
|
@@ -59717,37 +59817,47 @@ function $serializer_getInstance_215() {
|
|
|
59717
59817
|
new $serializer_215();
|
|
59718
59818
|
return $serializer_instance_215;
|
|
59719
59819
|
}
|
|
59720
|
-
function CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, $this) {
|
|
59721
|
-
if (!(
|
|
59722
|
-
throwMissingFieldException(seen0,
|
|
59820
|
+
function CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, $this) {
|
|
59821
|
+
if (!(16 === (16 & seen0))) {
|
|
59822
|
+
throwMissingFieldException(seen0, 16, $serializer_getInstance_215().descriptor_1);
|
|
59723
59823
|
}
|
|
59724
59824
|
if (0 === (seen0 & 1))
|
|
59825
|
+
$this.directRecipientOrganizationIds = null;
|
|
59826
|
+
else
|
|
59827
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
59828
|
+
if (0 === (seen0 & 2))
|
|
59829
|
+
$this.directRecipientPersonIds = null;
|
|
59830
|
+
else
|
|
59831
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
59832
|
+
if (0 === (seen0 & 4))
|
|
59725
59833
|
$this.directRecipients = null;
|
|
59726
59834
|
else
|
|
59727
59835
|
$this.directRecipients = directRecipients;
|
|
59728
|
-
if (0 === (seen0 &
|
|
59836
|
+
if (0 === (seen0 & 8))
|
|
59729
59837
|
$this.notificationGroups = null;
|
|
59730
59838
|
else
|
|
59731
59839
|
$this.notificationGroups = notificationGroups;
|
|
59732
59840
|
$this.plainText = plainText;
|
|
59733
|
-
if (0 === (seen0 &
|
|
59841
|
+
if (0 === (seen0 & 32))
|
|
59734
59842
|
$this.publish = null;
|
|
59735
59843
|
else
|
|
59736
59844
|
$this.publish = publish;
|
|
59737
|
-
if (0 === (seen0 &
|
|
59845
|
+
if (0 === (seen0 & 64))
|
|
59738
59846
|
$this.publishedAt = null;
|
|
59739
59847
|
else
|
|
59740
59848
|
$this.publishedAt = publishedAt;
|
|
59741
59849
|
return $this;
|
|
59742
59850
|
}
|
|
59743
|
-
function CreateSMSBroadcastCommand_init_$Create$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker) {
|
|
59744
|
-
return CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, objectCreate(protoOf(CreateSMSBroadcastCommand)));
|
|
59851
|
+
function CreateSMSBroadcastCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker) {
|
|
59852
|
+
return CreateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, serializationConstructorMarker, objectCreate(protoOf(CreateSMSBroadcastCommand)));
|
|
59745
59853
|
}
|
|
59746
|
-
function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publish, publishedAt) {
|
|
59747
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
59854
|
+
function CreateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) {
|
|
59855
|
+
var __soliboProps = arguments.length === 1 && typeof directRecipientOrganizationIds === 'object' && directRecipientOrganizationIds !== null && directRecipientOrganizationIds.constructor === Object;
|
|
59748
59856
|
var __soliboTmp, __soliboConverted = false;
|
|
59749
59857
|
if (__soliboProps) {
|
|
59750
|
-
const props =
|
|
59858
|
+
const props = directRecipientOrganizationIds;
|
|
59859
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
59860
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
59751
59861
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
59752
59862
|
notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
|
|
59753
59863
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
@@ -59763,13 +59873,19 @@ function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
|
|
|
59763
59873
|
publishedAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(publishedAt.getTime()));
|
|
59764
59874
|
}
|
|
59765
59875
|
}
|
|
59876
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
59877
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
59766
59878
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
59767
59879
|
if ((__soliboTmp = __soliboToKt(notificationGroups, ["list",["model","NotificationGroup"]])) !== notificationGroups) { notificationGroups = __soliboTmp; __soliboConverted = true; }
|
|
59768
59880
|
Companion_getInstance_255();
|
|
59881
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
59882
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
59769
59883
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
59770
59884
|
notificationGroups = notificationGroups === VOID ? null : notificationGroups;
|
|
59771
59885
|
publish = publish === VOID ? null : publish;
|
|
59772
59886
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
59887
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
59888
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
59773
59889
|
this.directRecipients = directRecipients;
|
|
59774
59890
|
this.notificationGroups = notificationGroups;
|
|
59775
59891
|
this.plainText = plainText;
|
|
@@ -59777,6 +59893,12 @@ function CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
|
|
|
59777
59893
|
this.publishedAt = publishedAt;
|
|
59778
59894
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
59779
59895
|
}
|
|
59896
|
+
protoOf(CreateSMSBroadcastCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
59897
|
+
return this.directRecipientOrganizationIds;
|
|
59898
|
+
};
|
|
59899
|
+
protoOf(CreateSMSBroadcastCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
59900
|
+
return this.directRecipientPersonIds;
|
|
59901
|
+
};
|
|
59780
59902
|
protoOf(CreateSMSBroadcastCommand).get_directRecipients_cxx8tw_k$ = function () {
|
|
59781
59903
|
return this.directRecipients;
|
|
59782
59904
|
};
|
|
@@ -59793,36 +59915,46 @@ protoOf(CreateSMSBroadcastCommand).get_publishedAt_3qk02g_k$ = function () {
|
|
|
59793
59915
|
return this.publishedAt;
|
|
59794
59916
|
};
|
|
59795
59917
|
protoOf(CreateSMSBroadcastCommand).component1_7eebsc_k$ = function () {
|
|
59796
|
-
return this.
|
|
59918
|
+
return this.directRecipientOrganizationIds;
|
|
59797
59919
|
};
|
|
59798
59920
|
protoOf(CreateSMSBroadcastCommand).component2_7eebsb_k$ = function () {
|
|
59799
|
-
return this.
|
|
59921
|
+
return this.directRecipientPersonIds;
|
|
59800
59922
|
};
|
|
59801
59923
|
protoOf(CreateSMSBroadcastCommand).component3_7eebsa_k$ = function () {
|
|
59802
|
-
return this.
|
|
59924
|
+
return this.directRecipients;
|
|
59803
59925
|
};
|
|
59804
59926
|
protoOf(CreateSMSBroadcastCommand).component4_7eebs9_k$ = function () {
|
|
59805
|
-
return this.
|
|
59927
|
+
return this.notificationGroups;
|
|
59806
59928
|
};
|
|
59807
59929
|
protoOf(CreateSMSBroadcastCommand).component5_7eebs8_k$ = function () {
|
|
59930
|
+
return this.plainText;
|
|
59931
|
+
};
|
|
59932
|
+
protoOf(CreateSMSBroadcastCommand).component6_7eebs7_k$ = function () {
|
|
59933
|
+
return this.publish;
|
|
59934
|
+
};
|
|
59935
|
+
protoOf(CreateSMSBroadcastCommand).component7_7eebs6_k$ = function () {
|
|
59808
59936
|
return this.publishedAt;
|
|
59809
59937
|
};
|
|
59810
|
-
protoOf(CreateSMSBroadcastCommand).
|
|
59811
|
-
return new CreateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publish, publishedAt);
|
|
59938
|
+
protoOf(CreateSMSBroadcastCommand).copy_7luua3_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) {
|
|
59939
|
+
return new CreateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt);
|
|
59812
59940
|
};
|
|
59813
|
-
protoOf(CreateSMSBroadcastCommand).copy = function (directRecipients, notificationGroups, plainText, publish, publishedAt, $super) {
|
|
59941
|
+
protoOf(CreateSMSBroadcastCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt, $super) {
|
|
59942
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
59943
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
59814
59944
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
59815
59945
|
notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
|
|
59816
59946
|
plainText = plainText === VOID ? this.plainText : plainText;
|
|
59817
59947
|
publish = publish === VOID ? this.publish : publish;
|
|
59818
59948
|
publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
|
|
59819
|
-
return $super === VOID ? this.
|
|
59949
|
+
return $super === VOID ? this.copy_7luua3_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt) : $super.copy_7luua3_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publish, publishedAt);
|
|
59820
59950
|
};
|
|
59821
59951
|
protoOf(CreateSMSBroadcastCommand).toString = function () {
|
|
59822
|
-
return 'CreateSMSBroadcastCommand(directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ')';
|
|
59952
|
+
return 'CreateSMSBroadcastCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publish=' + this.publish + ', publishedAt=' + toString(this.publishedAt) + ')';
|
|
59823
59953
|
};
|
|
59824
59954
|
protoOf(CreateSMSBroadcastCommand).hashCode = function () {
|
|
59825
|
-
var result = this.
|
|
59955
|
+
var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
|
|
59956
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
59957
|
+
result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
|
|
59826
59958
|
result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
|
|
59827
59959
|
result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
|
|
59828
59960
|
result = imul(result, 31) + (this.publish == null ? 0 : getBooleanHashCode(this.publish)) | 0;
|
|
@@ -59834,6 +59966,10 @@ protoOf(CreateSMSBroadcastCommand).equals = function (other) {
|
|
|
59834
59966
|
return true;
|
|
59835
59967
|
if (!(other instanceof CreateSMSBroadcastCommand))
|
|
59836
59968
|
return false;
|
|
59969
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
59970
|
+
return false;
|
|
59971
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
59972
|
+
return false;
|
|
59837
59973
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
59838
59974
|
return false;
|
|
59839
59975
|
if (!equals(this.notificationGroups, other.notificationGroups))
|
|
@@ -116668,18 +116804,24 @@ function Newsletter$Companion$$childSerializers$_anonymous__id2stt() {
|
|
|
116668
116804
|
return new ArrayListSerializer($serializer_getInstance_245());
|
|
116669
116805
|
}
|
|
116670
116806
|
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_0() {
|
|
116671
|
-
return new ArrayListSerializer(
|
|
116807
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
116672
116808
|
}
|
|
116673
116809
|
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_1() {
|
|
116674
|
-
return new ArrayListSerializer(
|
|
116810
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
116675
116811
|
}
|
|
116676
116812
|
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_2() {
|
|
116677
|
-
return new ArrayListSerializer(
|
|
116813
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
116678
116814
|
}
|
|
116679
116815
|
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_3() {
|
|
116680
|
-
return new ArrayListSerializer($
|
|
116816
|
+
return new ArrayListSerializer($serializer_getInstance_245());
|
|
116681
116817
|
}
|
|
116682
116818
|
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_4() {
|
|
116819
|
+
return new ArrayListSerializer($serializer_getInstance_414());
|
|
116820
|
+
}
|
|
116821
|
+
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_5() {
|
|
116822
|
+
return new ArrayListSerializer($serializer_getInstance_369());
|
|
116823
|
+
}
|
|
116824
|
+
function Newsletter$Companion$$childSerializers$_anonymous__id2stt_6() {
|
|
116683
116825
|
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
116684
116826
|
}
|
|
116685
116827
|
function Companion_493() {
|
|
@@ -116696,10 +116838,14 @@ function Companion_493() {
|
|
|
116696
116838
|
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
116697
116839
|
var tmp_9 = lazy(tmp_8, Newsletter$Companion$$childSerializers$_anonymous__id2stt_3);
|
|
116698
116840
|
var tmp_10 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
116841
|
+
var tmp_11 = lazy(tmp_10, Newsletter$Companion$$childSerializers$_anonymous__id2stt_4);
|
|
116842
|
+
var tmp_12 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
116843
|
+
var tmp_13 = lazy(tmp_12, Newsletter$Companion$$childSerializers$_anonymous__id2stt_5);
|
|
116844
|
+
var tmp_14 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
116699
116845
|
// Inline function 'kotlin.arrayOf' call
|
|
116700
116846
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
116701
116847
|
// Inline function 'kotlin.js.asDynamic' call
|
|
116702
|
-
tmp.$childSerializers_1 = [tmp_1, tmp_3, null, null,
|
|
116848
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, tmp_7, null, null, tmp_9, tmp_11, null, null, tmp_13, null, null, lazy(tmp_14, Newsletter$Companion$$childSerializers$_anonymous__id2stt_6), null];
|
|
116703
116849
|
}
|
|
116704
116850
|
var Companion_instance_494;
|
|
116705
116851
|
function Companion_getInstance_496() {
|
|
@@ -116709,8 +116855,10 @@ function Companion_getInstance_496() {
|
|
|
116709
116855
|
}
|
|
116710
116856
|
function $serializer_412() {
|
|
116711
116857
|
$serializer_instance_412 = this;
|
|
116712
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Newsletter', this,
|
|
116858
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Newsletter', this, 15);
|
|
116713
116859
|
tmp0_serialDesc.addElement_5pzumi_k$('attachments', true);
|
|
116860
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
116861
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
116714
116862
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', false);
|
|
116715
116863
|
tmp0_serialDesc.addElement_5pzumi_k$('htmlText', false);
|
|
116716
116864
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
@@ -116732,30 +116880,36 @@ protoOf($serializer_412).serialize_ms553p_k$ = function (encoder, value) {
|
|
|
116732
116880
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.attachments == null)) {
|
|
116733
116881
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.attachments);
|
|
116734
116882
|
}
|
|
116735
|
-
tmp1_output.
|
|
116736
|
-
|
|
116737
|
-
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.id);
|
|
116738
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.inlineDocuments == null)) {
|
|
116739
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.inlineDocuments);
|
|
116883
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
116884
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
116740
116885
|
}
|
|
116741
|
-
tmp1_output.
|
|
116742
|
-
|
|
116743
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.publishedAt == null)) {
|
|
116744
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, InstantSerializer_getInstance(), value.publishedAt);
|
|
116886
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipientPersonIds == null)) {
|
|
116887
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
116745
116888
|
}
|
|
116746
|
-
|
|
116747
|
-
|
|
116889
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.directRecipients);
|
|
116890
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.htmlText);
|
|
116891
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 5, value.id);
|
|
116892
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.inlineDocuments == null)) {
|
|
116893
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, tmp2_cached[6].get_value_j01efc_k$(), value.inlineDocuments);
|
|
116894
|
+
}
|
|
116895
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.notificationGroups);
|
|
116896
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.plainText);
|
|
116897
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.publishedAt == null)) {
|
|
116898
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, InstantSerializer_getInstance(), value.publishedAt);
|
|
116899
|
+
}
|
|
116900
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.recipientStatus == null)) {
|
|
116901
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, tmp2_cached[10].get_value_j01efc_k$(), value.recipientStatus);
|
|
116748
116902
|
}
|
|
116749
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
116750
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
116903
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.recipientsAtPublish == null)) {
|
|
116904
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, $serializer_getInstance_368(), value.recipientsAtPublish);
|
|
116751
116905
|
}
|
|
116752
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
116753
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
116906
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.renderedHtmlText == null)) {
|
|
116907
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, StringSerializer_getInstance(), value.renderedHtmlText);
|
|
116754
116908
|
}
|
|
116755
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
116756
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
116909
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 13) ? true : !(value.reviewers == null)) {
|
|
116910
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.reviewers);
|
|
116757
116911
|
}
|
|
116758
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc,
|
|
116912
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 14, value.subject);
|
|
116759
116913
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
116760
116914
|
};
|
|
116761
116915
|
protoOf($serializer_412).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -116769,9 +116923,9 @@ protoOf($serializer_412).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
116769
116923
|
var tmp4_local0 = null;
|
|
116770
116924
|
var tmp5_local1 = null;
|
|
116771
116925
|
var tmp6_local2 = null;
|
|
116772
|
-
var tmp7_local3 =
|
|
116926
|
+
var tmp7_local3 = null;
|
|
116773
116927
|
var tmp8_local4 = null;
|
|
116774
|
-
var tmp9_local5 =
|
|
116928
|
+
var tmp9_local5 = 0n;
|
|
116775
116929
|
var tmp10_local6 = null;
|
|
116776
116930
|
var tmp11_local7 = null;
|
|
116777
116931
|
var tmp12_local8 = null;
|
|
@@ -116779,100 +116933,114 @@ protoOf($serializer_412).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
116779
116933
|
var tmp14_local10 = null;
|
|
116780
116934
|
var tmp15_local11 = null;
|
|
116781
116935
|
var tmp16_local12 = null;
|
|
116782
|
-
var
|
|
116783
|
-
var
|
|
116784
|
-
|
|
116785
|
-
|
|
116936
|
+
var tmp17_local13 = null;
|
|
116937
|
+
var tmp18_local14 = null;
|
|
116938
|
+
var tmp19_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
116939
|
+
var tmp20_cached = Companion_getInstance_496().$childSerializers_1;
|
|
116940
|
+
if (tmp19_input.decodeSequentially_xlblqy_k$()) {
|
|
116941
|
+
tmp4_local0 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp20_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
116786
116942
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
116787
|
-
tmp5_local1 =
|
|
116943
|
+
tmp5_local1 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp20_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
116788
116944
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
116789
|
-
tmp6_local2 =
|
|
116945
|
+
tmp6_local2 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp20_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
116790
116946
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
116791
|
-
tmp7_local3 =
|
|
116947
|
+
tmp7_local3 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp20_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
116792
116948
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
116793
|
-
tmp8_local4 =
|
|
116949
|
+
tmp8_local4 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
116794
116950
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
116795
|
-
tmp9_local5 =
|
|
116951
|
+
tmp9_local5 = tmp19_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
116796
116952
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
116797
|
-
tmp10_local6 =
|
|
116953
|
+
tmp10_local6 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp20_cached[6].get_value_j01efc_k$(), tmp10_local6);
|
|
116798
116954
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
116799
|
-
tmp11_local7 =
|
|
116955
|
+
tmp11_local7 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp20_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
116800
116956
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
116801
|
-
tmp12_local8 =
|
|
116957
|
+
tmp12_local8 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
116802
116958
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
116803
|
-
tmp13_local9 =
|
|
116959
|
+
tmp13_local9 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
116804
116960
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
116805
|
-
tmp14_local10 =
|
|
116961
|
+
tmp14_local10 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp20_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
116806
116962
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
116807
|
-
tmp15_local11 =
|
|
116963
|
+
tmp15_local11 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_368(), tmp15_local11);
|
|
116808
116964
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
116809
|
-
tmp16_local12 =
|
|
116965
|
+
tmp16_local12 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
116810
116966
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
116967
|
+
tmp17_local13 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp20_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
116968
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
116969
|
+
tmp18_local14 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
|
|
116970
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
116811
116971
|
} else
|
|
116812
116972
|
while (tmp1_flag) {
|
|
116813
|
-
tmp2_index =
|
|
116973
|
+
tmp2_index = tmp19_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
116814
116974
|
switch (tmp2_index) {
|
|
116815
116975
|
case -1:
|
|
116816
116976
|
tmp1_flag = false;
|
|
116817
116977
|
break;
|
|
116818
116978
|
case 0:
|
|
116819
|
-
tmp4_local0 =
|
|
116979
|
+
tmp4_local0 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp20_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
116820
116980
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
116821
116981
|
break;
|
|
116822
116982
|
case 1:
|
|
116823
|
-
tmp5_local1 =
|
|
116983
|
+
tmp5_local1 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp20_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
116824
116984
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
116825
116985
|
break;
|
|
116826
116986
|
case 2:
|
|
116827
|
-
tmp6_local2 =
|
|
116987
|
+
tmp6_local2 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp20_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
116828
116988
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
116829
116989
|
break;
|
|
116830
116990
|
case 3:
|
|
116831
|
-
tmp7_local3 =
|
|
116991
|
+
tmp7_local3 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp20_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
116832
116992
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
116833
116993
|
break;
|
|
116834
116994
|
case 4:
|
|
116835
|
-
tmp8_local4 =
|
|
116995
|
+
tmp8_local4 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
116836
116996
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
116837
116997
|
break;
|
|
116838
116998
|
case 5:
|
|
116839
|
-
tmp9_local5 =
|
|
116999
|
+
tmp9_local5 = tmp19_input.decodeLongElement_994anb_k$(tmp0_desc, 5);
|
|
116840
117000
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
116841
117001
|
break;
|
|
116842
117002
|
case 6:
|
|
116843
|
-
tmp10_local6 =
|
|
117003
|
+
tmp10_local6 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, tmp20_cached[6].get_value_j01efc_k$(), tmp10_local6);
|
|
116844
117004
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
116845
117005
|
break;
|
|
116846
117006
|
case 7:
|
|
116847
|
-
tmp11_local7 =
|
|
117007
|
+
tmp11_local7 = tmp19_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 7, tmp20_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
116848
117008
|
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
116849
117009
|
break;
|
|
116850
117010
|
case 8:
|
|
116851
|
-
tmp12_local8 =
|
|
117011
|
+
tmp12_local8 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
116852
117012
|
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
116853
117013
|
break;
|
|
116854
117014
|
case 9:
|
|
116855
|
-
tmp13_local9 =
|
|
117015
|
+
tmp13_local9 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, InstantSerializer_getInstance(), tmp13_local9);
|
|
116856
117016
|
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
116857
117017
|
break;
|
|
116858
117018
|
case 10:
|
|
116859
|
-
tmp14_local10 =
|
|
117019
|
+
tmp14_local10 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, tmp20_cached[10].get_value_j01efc_k$(), tmp14_local10);
|
|
116860
117020
|
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
116861
117021
|
break;
|
|
116862
117022
|
case 11:
|
|
116863
|
-
tmp15_local11 =
|
|
117023
|
+
tmp15_local11 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance_368(), tmp15_local11);
|
|
116864
117024
|
tmp3_bitMask0 = tmp3_bitMask0 | 2048;
|
|
116865
117025
|
break;
|
|
116866
117026
|
case 12:
|
|
116867
|
-
tmp16_local12 =
|
|
117027
|
+
tmp16_local12 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, StringSerializer_getInstance(), tmp16_local12);
|
|
116868
117028
|
tmp3_bitMask0 = tmp3_bitMask0 | 4096;
|
|
116869
117029
|
break;
|
|
117030
|
+
case 13:
|
|
117031
|
+
tmp17_local13 = tmp19_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 13, tmp20_cached[13].get_value_j01efc_k$(), tmp17_local13);
|
|
117032
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8192;
|
|
117033
|
+
break;
|
|
117034
|
+
case 14:
|
|
117035
|
+
tmp18_local14 = tmp19_input.decodeStringElement_3oenpg_k$(tmp0_desc, 14);
|
|
117036
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16384;
|
|
117037
|
+
break;
|
|
116870
117038
|
default:
|
|
116871
117039
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
116872
117040
|
}
|
|
116873
117041
|
}
|
|
116874
|
-
|
|
116875
|
-
return Newsletter_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);
|
|
117042
|
+
tmp19_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
117043
|
+
return Newsletter_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, tmp18_local14, null);
|
|
116876
117044
|
};
|
|
116877
117045
|
protoOf($serializer_412).get_descriptor_wjt6a0_k$ = function () {
|
|
116878
117046
|
return this.descriptor_1;
|
|
@@ -116882,7 +117050,7 @@ protoOf($serializer_412).childSerializers_5ghqw5_k$ = function () {
|
|
|
116882
117050
|
// Inline function 'kotlin.arrayOf' call
|
|
116883
117051
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
116884
117052
|
// Inline function 'kotlin.js.asDynamic' call
|
|
116885
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), tmp0_cached[1].get_value_j01efc_k$(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[
|
|
117053
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), tmp0_cached[3].get_value_j01efc_k$(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(tmp0_cached[6].get_value_j01efc_k$()), tmp0_cached[7].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[10].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[13].get_value_j01efc_k$()), StringSerializer_getInstance()];
|
|
116886
117054
|
};
|
|
116887
117055
|
var $serializer_instance_412;
|
|
116888
117056
|
function $serializer_getInstance_412() {
|
|
@@ -116890,55 +117058,65 @@ function $serializer_getInstance_412() {
|
|
|
116890
117058
|
new $serializer_412();
|
|
116891
117059
|
return $serializer_instance_412;
|
|
116892
117060
|
}
|
|
116893
|
-
function Newsletter_init_$Init$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, $this) {
|
|
116894
|
-
if (!(
|
|
116895
|
-
throwMissingFieldException(seen0,
|
|
117061
|
+
function Newsletter_init_$Init$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, $this) {
|
|
117062
|
+
if (!(16824 === (16824 & seen0))) {
|
|
117063
|
+
throwMissingFieldException(seen0, 16824, $serializer_getInstance_412().descriptor_1);
|
|
116896
117064
|
}
|
|
116897
117065
|
if (0 === (seen0 & 1))
|
|
116898
117066
|
$this.attachments = null;
|
|
116899
117067
|
else
|
|
116900
117068
|
$this.attachments = attachments;
|
|
117069
|
+
if (0 === (seen0 & 2))
|
|
117070
|
+
$this.directRecipientOrganizationIds = null;
|
|
117071
|
+
else
|
|
117072
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
117073
|
+
if (0 === (seen0 & 4))
|
|
117074
|
+
$this.directRecipientPersonIds = null;
|
|
117075
|
+
else
|
|
117076
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
116901
117077
|
$this.directRecipients = directRecipients;
|
|
116902
117078
|
$this.htmlText = htmlText;
|
|
116903
117079
|
$this.id = id;
|
|
116904
|
-
if (0 === (seen0 &
|
|
117080
|
+
if (0 === (seen0 & 64))
|
|
116905
117081
|
$this.inlineDocuments = null;
|
|
116906
117082
|
else
|
|
116907
117083
|
$this.inlineDocuments = inlineDocuments;
|
|
116908
117084
|
$this.notificationGroups = notificationGroups;
|
|
116909
117085
|
$this.plainText = plainText;
|
|
116910
|
-
if (0 === (seen0 &
|
|
117086
|
+
if (0 === (seen0 & 512))
|
|
116911
117087
|
$this.publishedAt = null;
|
|
116912
117088
|
else
|
|
116913
117089
|
$this.publishedAt = publishedAt;
|
|
116914
|
-
if (0 === (seen0 &
|
|
117090
|
+
if (0 === (seen0 & 1024))
|
|
116915
117091
|
$this.recipientStatus = null;
|
|
116916
117092
|
else
|
|
116917
117093
|
$this.recipientStatus = recipientStatus;
|
|
116918
|
-
if (0 === (seen0 &
|
|
117094
|
+
if (0 === (seen0 & 2048))
|
|
116919
117095
|
$this.recipientsAtPublish = null;
|
|
116920
117096
|
else
|
|
116921
117097
|
$this.recipientsAtPublish = recipientsAtPublish;
|
|
116922
|
-
if (0 === (seen0 &
|
|
117098
|
+
if (0 === (seen0 & 4096))
|
|
116923
117099
|
$this.renderedHtmlText = null;
|
|
116924
117100
|
else
|
|
116925
117101
|
$this.renderedHtmlText = renderedHtmlText;
|
|
116926
|
-
if (0 === (seen0 &
|
|
117102
|
+
if (0 === (seen0 & 8192))
|
|
116927
117103
|
$this.reviewers = null;
|
|
116928
117104
|
else
|
|
116929
117105
|
$this.reviewers = reviewers;
|
|
116930
117106
|
$this.subject = subject;
|
|
116931
117107
|
return $this;
|
|
116932
117108
|
}
|
|
116933
|
-
function Newsletter_init_$Create$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker) {
|
|
116934
|
-
return Newsletter_init_$Init$(seen0, attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(Newsletter)));
|
|
117109
|
+
function Newsletter_init_$Create$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker) {
|
|
117110
|
+
return Newsletter_init_$Init$(seen0, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(Newsletter)));
|
|
116935
117111
|
}
|
|
116936
|
-
function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
|
|
117112
|
+
function Newsletter(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
|
|
116937
117113
|
var __soliboProps = arguments.length === 1 && typeof attachments === 'object' && attachments !== null && attachments.constructor === Object;
|
|
116938
117114
|
var __soliboTmp, __soliboConverted = false;
|
|
116939
117115
|
if (__soliboProps) {
|
|
116940
117116
|
const props = attachments;
|
|
116941
117117
|
attachments = ('attachments' in props ? props.attachments : VOID);
|
|
117118
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
117119
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
116942
117120
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
116943
117121
|
htmlText = ('htmlText' in props ? props.htmlText : VOID);
|
|
116944
117122
|
id = ('id' in props ? props.id : VOID);
|
|
@@ -116962,6 +117140,8 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
|
|
|
116962
117140
|
subject = ('subject' in props ? props.subject : VOID);
|
|
116963
117141
|
}
|
|
116964
117142
|
if ((__soliboTmp = __soliboToKt(attachments, ["list",["model","Document"]])) !== attachments) { attachments = __soliboTmp; __soliboConverted = true; }
|
|
117143
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
117144
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
116965
117145
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
116966
117146
|
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
116967
117147
|
if ((__soliboTmp = __soliboToKt(inlineDocuments, ["list",["model","Document"]])) !== inlineDocuments) { inlineDocuments = __soliboTmp; __soliboConverted = true; }
|
|
@@ -116971,6 +117151,8 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
|
|
|
116971
117151
|
if ((__soliboTmp = __soliboToKt(reviewers, ["list",["bigint"]])) !== reviewers) { reviewers = __soliboTmp; __soliboConverted = true; }
|
|
116972
117152
|
Companion_getInstance_496();
|
|
116973
117153
|
attachments = attachments === VOID ? null : attachments;
|
|
117154
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
117155
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
116974
117156
|
inlineDocuments = inlineDocuments === VOID ? null : inlineDocuments;
|
|
116975
117157
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
116976
117158
|
recipientStatus = recipientStatus === VOID ? null : recipientStatus;
|
|
@@ -116978,6 +117160,8 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
|
|
|
116978
117160
|
renderedHtmlText = renderedHtmlText === VOID ? null : renderedHtmlText;
|
|
116979
117161
|
reviewers = reviewers === VOID ? null : reviewers;
|
|
116980
117162
|
this.attachments = attachments;
|
|
117163
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
117164
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
116981
117165
|
this.directRecipients = directRecipients;
|
|
116982
117166
|
this.htmlText = htmlText;
|
|
116983
117167
|
this.id = id;
|
|
@@ -116995,6 +117179,12 @@ function Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments
|
|
|
116995
117179
|
protoOf(Newsletter).get_attachments_1o7yvb_k$ = function () {
|
|
116996
117180
|
return this.attachments;
|
|
116997
117181
|
};
|
|
117182
|
+
protoOf(Newsletter).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
117183
|
+
return this.directRecipientOrganizationIds;
|
|
117184
|
+
};
|
|
117185
|
+
protoOf(Newsletter).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
117186
|
+
return this.directRecipientPersonIds;
|
|
117187
|
+
};
|
|
116998
117188
|
protoOf(Newsletter).get_directRecipients_cxx8tw_k$ = function () {
|
|
116999
117189
|
return this.directRecipients;
|
|
117000
117190
|
};
|
|
@@ -117035,46 +117225,54 @@ protoOf(Newsletter).component1_7eebsc_k$ = function () {
|
|
|
117035
117225
|
return this.attachments;
|
|
117036
117226
|
};
|
|
117037
117227
|
protoOf(Newsletter).component2_7eebsb_k$ = function () {
|
|
117038
|
-
return this.
|
|
117228
|
+
return this.directRecipientOrganizationIds;
|
|
117039
117229
|
};
|
|
117040
117230
|
protoOf(Newsletter).component3_7eebsa_k$ = function () {
|
|
117041
|
-
return this.
|
|
117231
|
+
return this.directRecipientPersonIds;
|
|
117042
117232
|
};
|
|
117043
117233
|
protoOf(Newsletter).component4_7eebs9_k$ = function () {
|
|
117044
|
-
return this.
|
|
117234
|
+
return this.directRecipients;
|
|
117045
117235
|
};
|
|
117046
117236
|
protoOf(Newsletter).component5_7eebs8_k$ = function () {
|
|
117047
|
-
return this.
|
|
117237
|
+
return this.htmlText;
|
|
117048
117238
|
};
|
|
117049
117239
|
protoOf(Newsletter).component6_7eebs7_k$ = function () {
|
|
117050
|
-
return this.
|
|
117240
|
+
return this.id;
|
|
117051
117241
|
};
|
|
117052
117242
|
protoOf(Newsletter).component7_7eebs6_k$ = function () {
|
|
117053
|
-
return this.
|
|
117243
|
+
return this.inlineDocuments;
|
|
117054
117244
|
};
|
|
117055
117245
|
protoOf(Newsletter).component8_7eebs5_k$ = function () {
|
|
117056
|
-
return this.
|
|
117246
|
+
return this.notificationGroups;
|
|
117057
117247
|
};
|
|
117058
117248
|
protoOf(Newsletter).component9_7eebs4_k$ = function () {
|
|
117059
|
-
return this.
|
|
117249
|
+
return this.plainText;
|
|
117060
117250
|
};
|
|
117061
117251
|
protoOf(Newsletter).component10_gazzfo_k$ = function () {
|
|
117062
|
-
return this.
|
|
117252
|
+
return this.publishedAt;
|
|
117063
117253
|
};
|
|
117064
117254
|
protoOf(Newsletter).component11_gazzfn_k$ = function () {
|
|
117065
|
-
return this.
|
|
117255
|
+
return this.recipientStatus;
|
|
117066
117256
|
};
|
|
117067
117257
|
protoOf(Newsletter).component12_gazzfm_k$ = function () {
|
|
117068
|
-
return this.
|
|
117258
|
+
return this.recipientsAtPublish;
|
|
117069
117259
|
};
|
|
117070
117260
|
protoOf(Newsletter).component13_gazzfl_k$ = function () {
|
|
117261
|
+
return this.renderedHtmlText;
|
|
117262
|
+
};
|
|
117263
|
+
protoOf(Newsletter).component14_gazzfk_k$ = function () {
|
|
117264
|
+
return this.reviewers;
|
|
117265
|
+
};
|
|
117266
|
+
protoOf(Newsletter).component15_gazzfj_k$ = function () {
|
|
117071
117267
|
return this.subject;
|
|
117072
117268
|
};
|
|
117073
|
-
protoOf(Newsletter).
|
|
117074
|
-
return new Newsletter(attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
|
|
117269
|
+
protoOf(Newsletter).copy_wquhw0_k$ = function (attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) {
|
|
117270
|
+
return new Newsletter(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
|
|
117075
117271
|
};
|
|
117076
|
-
protoOf(Newsletter).copy = function (attachments, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, $super) {
|
|
117272
|
+
protoOf(Newsletter).copy = function (attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject, $super) {
|
|
117077
117273
|
attachments = attachments === VOID ? this.attachments : attachments;
|
|
117274
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
117275
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
117078
117276
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
117079
117277
|
htmlText = htmlText === VOID ? this.htmlText : htmlText;
|
|
117080
117278
|
id = id === VOID ? this.id : id;
|
|
@@ -117087,13 +117285,15 @@ protoOf(Newsletter).copy = function (attachments, directRecipients, htmlText, id
|
|
|
117087
117285
|
renderedHtmlText = renderedHtmlText === VOID ? this.renderedHtmlText : renderedHtmlText;
|
|
117088
117286
|
reviewers = reviewers === VOID ? this.reviewers : reviewers;
|
|
117089
117287
|
subject = subject === VOID ? this.subject : subject;
|
|
117090
|
-
return $super === VOID ? this.
|
|
117288
|
+
return $super === VOID ? this.copy_wquhw0_k$(attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject) : $super.copy_wquhw0_k$.call(this, attachments, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, id, inlineDocuments, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, renderedHtmlText, reviewers, subject);
|
|
117091
117289
|
};
|
|
117092
117290
|
protoOf(Newsletter).toString = function () {
|
|
117093
|
-
return 'Newsletter(attachments=' + toString(this.attachments) + ', directRecipients=' + toString_0(this.directRecipients) + ', htmlText=' + this.htmlText + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ', renderedHtmlText=' + this.renderedHtmlText + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
117291
|
+
return 'Newsletter(attachments=' + toString(this.attachments) + ', directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString_0(this.directRecipients) + ', htmlText=' + this.htmlText + ', id=' + this.id.toString() + ', inlineDocuments=' + toString(this.inlineDocuments) + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ', renderedHtmlText=' + this.renderedHtmlText + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
117094
117292
|
};
|
|
117095
117293
|
protoOf(Newsletter).hashCode = function () {
|
|
117096
117294
|
var result = this.attachments == null ? 0 : hashCode(this.attachments);
|
|
117295
|
+
result = imul(result, 31) + (this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds)) | 0;
|
|
117296
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
117097
117297
|
result = imul(result, 31) + hashCode(this.directRecipients) | 0;
|
|
117098
117298
|
result = imul(result, 31) + getStringHashCode(this.htmlText) | 0;
|
|
117099
117299
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
@@ -117115,6 +117315,10 @@ protoOf(Newsletter).equals = function (other) {
|
|
|
117115
117315
|
return false;
|
|
117116
117316
|
if (!equals(this.attachments, other.attachments))
|
|
117117
117317
|
return false;
|
|
117318
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
117319
|
+
return false;
|
|
117320
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
117321
|
+
return false;
|
|
117118
117322
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
117119
117323
|
return false;
|
|
117120
117324
|
if (!(this.htmlText === other.htmlText))
|
|
@@ -167719,12 +167923,18 @@ protoOf(RsvpCommand).equals = function (other) {
|
|
|
167719
167923
|
return true;
|
|
167720
167924
|
};
|
|
167721
167925
|
function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu() {
|
|
167722
|
-
return new ArrayListSerializer(
|
|
167926
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
167723
167927
|
}
|
|
167724
167928
|
function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_0() {
|
|
167725
|
-
return new ArrayListSerializer(
|
|
167929
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
167726
167930
|
}
|
|
167727
167931
|
function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_1() {
|
|
167932
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
167933
|
+
}
|
|
167934
|
+
function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_2() {
|
|
167935
|
+
return new ArrayListSerializer($serializer_getInstance_414());
|
|
167936
|
+
}
|
|
167937
|
+
function SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_3() {
|
|
167728
167938
|
return new ArrayListSerializer($serializer_getInstance_369());
|
|
167729
167939
|
}
|
|
167730
167940
|
function Companion_724() {
|
|
@@ -167735,10 +167945,14 @@ function Companion_724() {
|
|
|
167735
167945
|
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
167736
167946
|
var tmp_3 = lazy(tmp_2, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_0);
|
|
167737
167947
|
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
167948
|
+
var tmp_5 = lazy(tmp_4, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_1);
|
|
167949
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
167950
|
+
var tmp_7 = lazy(tmp_6, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_2);
|
|
167951
|
+
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
167738
167952
|
// Inline function 'kotlin.arrayOf' call
|
|
167739
167953
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
167740
167954
|
// Inline function 'kotlin.js.asDynamic' call
|
|
167741
|
-
tmp.$childSerializers_1 = [tmp_1, null,
|
|
167955
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, lazy(tmp_8, SMSBroadcast$Companion$$childSerializers$_anonymous__kjaapu_3), null];
|
|
167742
167956
|
}
|
|
167743
167957
|
var Companion_instance_725;
|
|
167744
167958
|
function Companion_getInstance_727() {
|
|
@@ -167748,7 +167962,9 @@ function Companion_getInstance_727() {
|
|
|
167748
167962
|
}
|
|
167749
167963
|
function $serializer_610() {
|
|
167750
167964
|
$serializer_instance_610 = this;
|
|
167751
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SMSBroadcast', this,
|
|
167965
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.SMSBroadcast', this, 9);
|
|
167966
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
167967
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
167752
167968
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', false);
|
|
167753
167969
|
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
167754
167970
|
tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', false);
|
|
@@ -167762,18 +167978,24 @@ protoOf($serializer_610).serialize_mqlkt8_k$ = function (encoder, value) {
|
|
|
167762
167978
|
var tmp0_desc = this.descriptor_1;
|
|
167763
167979
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
167764
167980
|
var tmp2_cached = Companion_getInstance_727().$childSerializers_1;
|
|
167765
|
-
tmp1_output.
|
|
167766
|
-
|
|
167767
|
-
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.notificationGroups);
|
|
167768
|
-
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.plainText);
|
|
167769
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.publishedAt == null)) {
|
|
167770
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.publishedAt);
|
|
167981
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
167982
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
167771
167983
|
}
|
|
167772
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
167773
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
167984
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
|
|
167985
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
167986
|
+
}
|
|
167987
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
|
|
167988
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.id);
|
|
167989
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
|
|
167990
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
|
|
167991
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
|
|
167992
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
|
|
167774
167993
|
}
|
|
167775
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
167776
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
167994
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.recipientStatus == null)) {
|
|
167995
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.recipientStatus);
|
|
167996
|
+
}
|
|
167997
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.recipientsAtPublish == null)) {
|
|
167998
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, $serializer_getInstance_368(), value.recipientsAtPublish);
|
|
167777
167999
|
}
|
|
167778
168000
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
167779
168001
|
};
|
|
@@ -167786,70 +168008,84 @@ protoOf($serializer_610).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
167786
168008
|
var tmp2_index = 0;
|
|
167787
168009
|
var tmp3_bitMask0 = 0;
|
|
167788
168010
|
var tmp4_local0 = null;
|
|
167789
|
-
var tmp5_local1 =
|
|
168011
|
+
var tmp5_local1 = null;
|
|
167790
168012
|
var tmp6_local2 = null;
|
|
167791
|
-
var tmp7_local3 =
|
|
168013
|
+
var tmp7_local3 = 0n;
|
|
167792
168014
|
var tmp8_local4 = null;
|
|
167793
168015
|
var tmp9_local5 = null;
|
|
167794
168016
|
var tmp10_local6 = null;
|
|
167795
|
-
var
|
|
167796
|
-
var
|
|
167797
|
-
|
|
167798
|
-
|
|
168017
|
+
var tmp11_local7 = null;
|
|
168018
|
+
var tmp12_local8 = null;
|
|
168019
|
+
var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
168020
|
+
var tmp14_cached = Companion_getInstance_727().$childSerializers_1;
|
|
168021
|
+
if (tmp13_input.decodeSequentially_xlblqy_k$()) {
|
|
168022
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
167799
168023
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
167800
|
-
tmp5_local1 =
|
|
168024
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
167801
168025
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
167802
|
-
tmp6_local2 =
|
|
168026
|
+
tmp6_local2 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
167803
168027
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
167804
|
-
tmp7_local3 =
|
|
168028
|
+
tmp7_local3 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
167805
168029
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
167806
|
-
tmp8_local4 =
|
|
168030
|
+
tmp8_local4 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
167807
168031
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
167808
|
-
tmp9_local5 =
|
|
168032
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
167809
168033
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
167810
|
-
tmp10_local6 =
|
|
168034
|
+
tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
167811
168035
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
168036
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
168037
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
168038
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_368(), tmp12_local8);
|
|
168039
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
167812
168040
|
} else
|
|
167813
168041
|
while (tmp1_flag) {
|
|
167814
|
-
tmp2_index =
|
|
168042
|
+
tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
167815
168043
|
switch (tmp2_index) {
|
|
167816
168044
|
case -1:
|
|
167817
168045
|
tmp1_flag = false;
|
|
167818
168046
|
break;
|
|
167819
168047
|
case 0:
|
|
167820
|
-
tmp4_local0 =
|
|
168048
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
167821
168049
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
167822
168050
|
break;
|
|
167823
168051
|
case 1:
|
|
167824
|
-
tmp5_local1 =
|
|
168052
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
167825
168053
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
167826
168054
|
break;
|
|
167827
168055
|
case 2:
|
|
167828
|
-
tmp6_local2 =
|
|
168056
|
+
tmp6_local2 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
167829
168057
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
167830
168058
|
break;
|
|
167831
168059
|
case 3:
|
|
167832
|
-
tmp7_local3 =
|
|
168060
|
+
tmp7_local3 = tmp13_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
|
|
167833
168061
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
167834
168062
|
break;
|
|
167835
168063
|
case 4:
|
|
167836
|
-
tmp8_local4 =
|
|
168064
|
+
tmp8_local4 = tmp13_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
167837
168065
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
167838
168066
|
break;
|
|
167839
168067
|
case 5:
|
|
167840
|
-
tmp9_local5 =
|
|
168068
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
167841
168069
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
167842
168070
|
break;
|
|
167843
168071
|
case 6:
|
|
167844
|
-
tmp10_local6 =
|
|
168072
|
+
tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
167845
168073
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
167846
168074
|
break;
|
|
168075
|
+
case 7:
|
|
168076
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
168077
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
168078
|
+
break;
|
|
168079
|
+
case 8:
|
|
168080
|
+
tmp12_local8 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, $serializer_getInstance_368(), tmp12_local8);
|
|
168081
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
168082
|
+
break;
|
|
167847
168083
|
default:
|
|
167848
168084
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
167849
168085
|
}
|
|
167850
168086
|
}
|
|
167851
|
-
|
|
167852
|
-
return SMSBroadcast_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
168087
|
+
tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
168088
|
+
return SMSBroadcast_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
167853
168089
|
};
|
|
167854
168090
|
protoOf($serializer_610).get_descriptor_wjt6a0_k$ = function () {
|
|
167855
168091
|
return this.descriptor_1;
|
|
@@ -167859,7 +168095,7 @@ protoOf($serializer_610).childSerializers_5ghqw5_k$ = function () {
|
|
|
167859
168095
|
// Inline function 'kotlin.arrayOf' call
|
|
167860
168096
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
167861
168097
|
// Inline function 'kotlin.js.asDynamic' call
|
|
167862
|
-
return [tmp0_cached[0].get_value_j01efc_k$(),
|
|
168098
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), tmp0_cached[2].get_value_j01efc_k$(), LongSerializer_getInstance(), tmp0_cached[4].get_value_j01efc_k$(), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), get_nullable($serializer_getInstance_368())];
|
|
167863
168099
|
};
|
|
167864
168100
|
var $serializer_instance_610;
|
|
167865
168101
|
function $serializer_getInstance_610() {
|
|
@@ -167867,36 +168103,46 @@ function $serializer_getInstance_610() {
|
|
|
167867
168103
|
new $serializer_610();
|
|
167868
168104
|
return $serializer_instance_610;
|
|
167869
168105
|
}
|
|
167870
|
-
function SMSBroadcast_init_$Init$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, $this) {
|
|
167871
|
-
if (!(
|
|
167872
|
-
throwMissingFieldException(seen0,
|
|
168106
|
+
function SMSBroadcast_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, $this) {
|
|
168107
|
+
if (!(60 === (60 & seen0))) {
|
|
168108
|
+
throwMissingFieldException(seen0, 60, $serializer_getInstance_610().descriptor_1);
|
|
167873
168109
|
}
|
|
168110
|
+
if (0 === (seen0 & 1))
|
|
168111
|
+
$this.directRecipientOrganizationIds = null;
|
|
168112
|
+
else
|
|
168113
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
168114
|
+
if (0 === (seen0 & 2))
|
|
168115
|
+
$this.directRecipientPersonIds = null;
|
|
168116
|
+
else
|
|
168117
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
167874
168118
|
$this.directRecipients = directRecipients;
|
|
167875
168119
|
$this.id = id;
|
|
167876
168120
|
$this.notificationGroups = notificationGroups;
|
|
167877
168121
|
$this.plainText = plainText;
|
|
167878
|
-
if (0 === (seen0 &
|
|
168122
|
+
if (0 === (seen0 & 64))
|
|
167879
168123
|
$this.publishedAt = null;
|
|
167880
168124
|
else
|
|
167881
168125
|
$this.publishedAt = publishedAt;
|
|
167882
|
-
if (0 === (seen0 &
|
|
168126
|
+
if (0 === (seen0 & 128))
|
|
167883
168127
|
$this.recipientStatus = null;
|
|
167884
168128
|
else
|
|
167885
168129
|
$this.recipientStatus = recipientStatus;
|
|
167886
|
-
if (0 === (seen0 &
|
|
168130
|
+
if (0 === (seen0 & 256))
|
|
167887
168131
|
$this.recipientsAtPublish = null;
|
|
167888
168132
|
else
|
|
167889
168133
|
$this.recipientsAtPublish = recipientsAtPublish;
|
|
167890
168134
|
return $this;
|
|
167891
168135
|
}
|
|
167892
|
-
function SMSBroadcast_init_$Create$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker) {
|
|
167893
|
-
return SMSBroadcast_init_$Init$(seen0, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, objectCreate(protoOf(SMSBroadcast)));
|
|
168136
|
+
function SMSBroadcast_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker) {
|
|
168137
|
+
return SMSBroadcast_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, serializationConstructorMarker, objectCreate(protoOf(SMSBroadcast)));
|
|
167894
168138
|
}
|
|
167895
|
-
function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
|
|
167896
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
168139
|
+
function SMSBroadcast(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
|
|
168140
|
+
var __soliboProps = arguments.length === 1 && typeof directRecipientOrganizationIds === 'object' && directRecipientOrganizationIds !== null && directRecipientOrganizationIds.constructor === Object;
|
|
167897
168141
|
var __soliboTmp, __soliboConverted = false;
|
|
167898
168142
|
if (__soliboProps) {
|
|
167899
|
-
const props =
|
|
168143
|
+
const props = directRecipientOrganizationIds;
|
|
168144
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
168145
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
167900
168146
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
167901
168147
|
id = ('id' in props ? props.id : VOID);
|
|
167902
168148
|
notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
|
|
@@ -167914,15 +168160,21 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
|
|
|
167914
168160
|
recipientStatus = ('recipientStatus' in props ? props.recipientStatus : VOID);
|
|
167915
168161
|
recipientsAtPublish = ('recipientsAtPublish' in props ? props.recipientsAtPublish : VOID);
|
|
167916
168162
|
}
|
|
168163
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
168164
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
167917
168165
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
167918
168166
|
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
167919
168167
|
if ((__soliboTmp = __soliboToKt(notificationGroups, ["list",["model","NotificationGroup"]])) !== notificationGroups) { notificationGroups = __soliboTmp; __soliboConverted = true; }
|
|
167920
168168
|
if ((__soliboTmp = __soliboToKt(recipientStatus, ["list",["model","MassCommunicationRecipientStatus"]])) !== recipientStatus) { recipientStatus = __soliboTmp; __soliboConverted = true; }
|
|
167921
168169
|
if ((__soliboTmp = __soliboToKt(recipientsAtPublish, ["model","MassCommunicationGroups"])) !== recipientsAtPublish) { recipientsAtPublish = __soliboTmp; __soliboConverted = true; }
|
|
167922
168170
|
Companion_getInstance_727();
|
|
168171
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
168172
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
167923
168173
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
167924
168174
|
recipientStatus = recipientStatus === VOID ? null : recipientStatus;
|
|
167925
168175
|
recipientsAtPublish = recipientsAtPublish === VOID ? null : recipientsAtPublish;
|
|
168176
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
168177
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
167926
168178
|
this.directRecipients = directRecipients;
|
|
167927
168179
|
this.id = id;
|
|
167928
168180
|
this.notificationGroups = notificationGroups;
|
|
@@ -167932,6 +168184,12 @@ function SMSBroadcast(directRecipients, id, notificationGroups, plainText, publi
|
|
|
167932
168184
|
this.recipientsAtPublish = recipientsAtPublish;
|
|
167933
168185
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
167934
168186
|
}
|
|
168187
|
+
protoOf(SMSBroadcast).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
168188
|
+
return this.directRecipientOrganizationIds;
|
|
168189
|
+
};
|
|
168190
|
+
protoOf(SMSBroadcast).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
168191
|
+
return this.directRecipientPersonIds;
|
|
168192
|
+
};
|
|
167935
168193
|
protoOf(SMSBroadcast).get_directRecipients_cxx8tw_k$ = function () {
|
|
167936
168194
|
return this.directRecipients;
|
|
167937
168195
|
};
|
|
@@ -167954,30 +168212,38 @@ protoOf(SMSBroadcast).get_recipientsAtPublish_3y81ax_k$ = function () {
|
|
|
167954
168212
|
return this.recipientsAtPublish;
|
|
167955
168213
|
};
|
|
167956
168214
|
protoOf(SMSBroadcast).component1_7eebsc_k$ = function () {
|
|
167957
|
-
return this.
|
|
168215
|
+
return this.directRecipientOrganizationIds;
|
|
167958
168216
|
};
|
|
167959
168217
|
protoOf(SMSBroadcast).component2_7eebsb_k$ = function () {
|
|
167960
|
-
return this.
|
|
168218
|
+
return this.directRecipientPersonIds;
|
|
167961
168219
|
};
|
|
167962
168220
|
protoOf(SMSBroadcast).component3_7eebsa_k$ = function () {
|
|
167963
|
-
return this.
|
|
168221
|
+
return this.directRecipients;
|
|
167964
168222
|
};
|
|
167965
168223
|
protoOf(SMSBroadcast).component4_7eebs9_k$ = function () {
|
|
167966
|
-
return this.
|
|
168224
|
+
return this.id;
|
|
167967
168225
|
};
|
|
167968
168226
|
protoOf(SMSBroadcast).component5_7eebs8_k$ = function () {
|
|
167969
|
-
return this.
|
|
168227
|
+
return this.notificationGroups;
|
|
167970
168228
|
};
|
|
167971
168229
|
protoOf(SMSBroadcast).component6_7eebs7_k$ = function () {
|
|
167972
|
-
return this.
|
|
168230
|
+
return this.plainText;
|
|
167973
168231
|
};
|
|
167974
168232
|
protoOf(SMSBroadcast).component7_7eebs6_k$ = function () {
|
|
168233
|
+
return this.publishedAt;
|
|
168234
|
+
};
|
|
168235
|
+
protoOf(SMSBroadcast).component8_7eebs5_k$ = function () {
|
|
168236
|
+
return this.recipientStatus;
|
|
168237
|
+
};
|
|
168238
|
+
protoOf(SMSBroadcast).component9_7eebs4_k$ = function () {
|
|
167975
168239
|
return this.recipientsAtPublish;
|
|
167976
168240
|
};
|
|
167977
|
-
protoOf(SMSBroadcast).
|
|
167978
|
-
return new SMSBroadcast(directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
|
|
168241
|
+
protoOf(SMSBroadcast).copy_bbuypo_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) {
|
|
168242
|
+
return new SMSBroadcast(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
|
|
167979
168243
|
};
|
|
167980
|
-
protoOf(SMSBroadcast).copy = function (directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, $super) {
|
|
168244
|
+
protoOf(SMSBroadcast).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish, $super) {
|
|
168245
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
168246
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
167981
168247
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
167982
168248
|
id = id === VOID ? this.id : id;
|
|
167983
168249
|
notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
|
|
@@ -167985,13 +168251,15 @@ protoOf(SMSBroadcast).copy = function (directRecipients, id, notificationGroups,
|
|
|
167985
168251
|
publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
|
|
167986
168252
|
recipientStatus = recipientStatus === VOID ? this.recipientStatus : recipientStatus;
|
|
167987
168253
|
recipientsAtPublish = recipientsAtPublish === VOID ? this.recipientsAtPublish : recipientsAtPublish;
|
|
167988
|
-
return $super === VOID ? this.
|
|
168254
|
+
return $super === VOID ? this.copy_bbuypo_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish) : $super.copy_bbuypo_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, id, notificationGroups, plainText, publishedAt, recipientStatus, recipientsAtPublish);
|
|
167989
168255
|
};
|
|
167990
168256
|
protoOf(SMSBroadcast).toString = function () {
|
|
167991
|
-
return 'SMSBroadcast(directRecipients=' + toString_0(this.directRecipients) + ', id=' + this.id.toString() + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ')';
|
|
168257
|
+
return 'SMSBroadcast(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString_0(this.directRecipients) + ', id=' + this.id.toString() + ', notificationGroups=' + toString_0(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', recipientStatus=' + toString(this.recipientStatus) + ', recipientsAtPublish=' + toString(this.recipientsAtPublish) + ')';
|
|
167992
168258
|
};
|
|
167993
168259
|
protoOf(SMSBroadcast).hashCode = function () {
|
|
167994
|
-
var result = hashCode(this.
|
|
168260
|
+
var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
|
|
168261
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
168262
|
+
result = imul(result, 31) + hashCode(this.directRecipients) | 0;
|
|
167995
168263
|
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
167996
168264
|
result = imul(result, 31) + hashCode(this.notificationGroups) | 0;
|
|
167997
168265
|
result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
|
|
@@ -168005,6 +168273,10 @@ protoOf(SMSBroadcast).equals = function (other) {
|
|
|
168005
168273
|
return true;
|
|
168006
168274
|
if (!(other instanceof SMSBroadcast))
|
|
168007
168275
|
return false;
|
|
168276
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
168277
|
+
return false;
|
|
168278
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
168279
|
+
return false;
|
|
168008
168280
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
168009
168281
|
return false;
|
|
168010
168282
|
if (!(this.id === other.id))
|
|
@@ -206458,12 +206730,18 @@ protoOf(UpdateNeighborhoodPostCommand).equals = function (other) {
|
|
|
206458
206730
|
return true;
|
|
206459
206731
|
};
|
|
206460
206732
|
function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41() {
|
|
206461
|
-
return new ArrayListSerializer(
|
|
206733
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
206462
206734
|
}
|
|
206463
206735
|
function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_0() {
|
|
206464
|
-
return new ArrayListSerializer(
|
|
206736
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
206465
206737
|
}
|
|
206466
206738
|
function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_1() {
|
|
206739
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
206740
|
+
}
|
|
206741
|
+
function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_2() {
|
|
206742
|
+
return new ArrayListSerializer($serializer_getInstance_414());
|
|
206743
|
+
}
|
|
206744
|
+
function UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_3() {
|
|
206467
206745
|
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
206468
206746
|
}
|
|
206469
206747
|
function Companion_890() {
|
|
@@ -206474,10 +206752,14 @@ function Companion_890() {
|
|
|
206474
206752
|
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
206475
206753
|
var tmp_3 = lazy(tmp_2, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_0);
|
|
206476
206754
|
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
206755
|
+
var tmp_5 = lazy(tmp_4, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_1);
|
|
206756
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
206757
|
+
var tmp_7 = lazy(tmp_6, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_2);
|
|
206758
|
+
var tmp_8 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
206477
206759
|
// Inline function 'kotlin.arrayOf' call
|
|
206478
206760
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
206479
206761
|
// Inline function 'kotlin.js.asDynamic' call
|
|
206480
|
-
tmp.$childSerializers_1 = [tmp_1, null,
|
|
206762
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, null, tmp_7, null, null, lazy(tmp_8, UpdateNewsletterCommand$Companion$$childSerializers$_anonymous__b6yt41_3), null];
|
|
206481
206763
|
}
|
|
206482
206764
|
var Companion_instance_891;
|
|
206483
206765
|
function Companion_getInstance_893() {
|
|
@@ -206487,7 +206769,9 @@ function Companion_getInstance_893() {
|
|
|
206487
206769
|
}
|
|
206488
206770
|
function $serializer_757() {
|
|
206489
206771
|
$serializer_instance_757 = this;
|
|
206490
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateNewsletterCommand', this,
|
|
206772
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateNewsletterCommand', this, 9);
|
|
206773
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
206774
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
206491
206775
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
|
|
206492
206776
|
tmp0_serialDesc.addElement_5pzumi_k$('htmlText', true);
|
|
206493
206777
|
tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
|
|
@@ -206501,23 +206785,29 @@ protoOf($serializer_757).serialize_pq1svb_k$ = function (encoder, value) {
|
|
|
206501
206785
|
var tmp0_desc = this.descriptor_1;
|
|
206502
206786
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
206503
206787
|
var tmp2_cached = Companion_getInstance_893().$childSerializers_1;
|
|
206504
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
206505
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.
|
|
206788
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
206789
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
206790
|
+
}
|
|
206791
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
|
|
206792
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
206506
206793
|
}
|
|
206507
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
206508
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
206794
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
|
|
206795
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
|
|
206509
206796
|
}
|
|
206510
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc,
|
|
206511
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc,
|
|
206797
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.htmlText == null)) {
|
|
206798
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, StringSerializer_getInstance(), value.htmlText);
|
|
206512
206799
|
}
|
|
206513
|
-
tmp1_output.
|
|
206514
|
-
|
|
206515
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, InstantSerializer_getInstance(), value.publishedAt);
|
|
206800
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.notificationGroups == null)) {
|
|
206801
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, tmp2_cached[4].get_value_j01efc_k$(), value.notificationGroups);
|
|
206516
206802
|
}
|
|
206517
|
-
|
|
206518
|
-
|
|
206803
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.plainText);
|
|
206804
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 6) ? true : !(value.publishedAt == null)) {
|
|
206805
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 6, InstantSerializer_getInstance(), value.publishedAt);
|
|
206519
206806
|
}
|
|
206520
|
-
tmp1_output.
|
|
206807
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.reviewers == null)) {
|
|
206808
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, tmp2_cached[7].get_value_j01efc_k$(), value.reviewers);
|
|
206809
|
+
}
|
|
206810
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 8, value.subject);
|
|
206521
206811
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
206522
206812
|
};
|
|
206523
206813
|
protoOf($serializer_757).serialize_5ase3y_k$ = function (encoder, value) {
|
|
@@ -206535,64 +206825,78 @@ protoOf($serializer_757).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
206535
206825
|
var tmp8_local4 = null;
|
|
206536
206826
|
var tmp9_local5 = null;
|
|
206537
206827
|
var tmp10_local6 = null;
|
|
206538
|
-
var
|
|
206539
|
-
var
|
|
206540
|
-
|
|
206541
|
-
|
|
206828
|
+
var tmp11_local7 = null;
|
|
206829
|
+
var tmp12_local8 = null;
|
|
206830
|
+
var tmp13_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
206831
|
+
var tmp14_cached = Companion_getInstance_893().$childSerializers_1;
|
|
206832
|
+
if (tmp13_input.decodeSequentially_xlblqy_k$()) {
|
|
206833
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
206542
206834
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
206543
|
-
tmp5_local1 =
|
|
206835
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
206544
206836
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
206545
|
-
tmp6_local2 =
|
|
206837
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
206546
206838
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
206547
|
-
tmp7_local3 =
|
|
206839
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
206548
206840
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
206549
|
-
tmp8_local4 =
|
|
206841
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
206550
206842
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
206551
|
-
tmp9_local5 =
|
|
206843
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
206552
206844
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
206553
|
-
tmp10_local6 =
|
|
206845
|
+
tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
206554
206846
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
206847
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
206848
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
206849
|
+
tmp12_local8 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
206850
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
206555
206851
|
} else
|
|
206556
206852
|
while (tmp1_flag) {
|
|
206557
|
-
tmp2_index =
|
|
206853
|
+
tmp2_index = tmp13_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
206558
206854
|
switch (tmp2_index) {
|
|
206559
206855
|
case -1:
|
|
206560
206856
|
tmp1_flag = false;
|
|
206561
206857
|
break;
|
|
206562
206858
|
case 0:
|
|
206563
|
-
tmp4_local0 =
|
|
206859
|
+
tmp4_local0 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp14_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
206564
206860
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
206565
206861
|
break;
|
|
206566
206862
|
case 1:
|
|
206567
|
-
tmp5_local1 =
|
|
206863
|
+
tmp5_local1 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp14_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
206568
206864
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
206569
206865
|
break;
|
|
206570
206866
|
case 2:
|
|
206571
|
-
tmp6_local2 =
|
|
206867
|
+
tmp6_local2 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp14_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
206572
206868
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
206573
206869
|
break;
|
|
206574
206870
|
case 3:
|
|
206575
|
-
tmp7_local3 =
|
|
206871
|
+
tmp7_local3 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, StringSerializer_getInstance(), tmp7_local3);
|
|
206576
206872
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
206577
206873
|
break;
|
|
206578
206874
|
case 4:
|
|
206579
|
-
tmp8_local4 =
|
|
206875
|
+
tmp8_local4 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, tmp14_cached[4].get_value_j01efc_k$(), tmp8_local4);
|
|
206580
206876
|
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
206581
206877
|
break;
|
|
206582
206878
|
case 5:
|
|
206583
|
-
tmp9_local5 =
|
|
206879
|
+
tmp9_local5 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
206584
206880
|
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
206585
206881
|
break;
|
|
206586
206882
|
case 6:
|
|
206587
|
-
tmp10_local6 =
|
|
206883
|
+
tmp10_local6 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 6, InstantSerializer_getInstance(), tmp10_local6);
|
|
206588
206884
|
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
206589
206885
|
break;
|
|
206886
|
+
case 7:
|
|
206887
|
+
tmp11_local7 = tmp13_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, tmp14_cached[7].get_value_j01efc_k$(), tmp11_local7);
|
|
206888
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
206889
|
+
break;
|
|
206890
|
+
case 8:
|
|
206891
|
+
tmp12_local8 = tmp13_input.decodeStringElement_3oenpg_k$(tmp0_desc, 8);
|
|
206892
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
206893
|
+
break;
|
|
206590
206894
|
default:
|
|
206591
206895
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
206592
206896
|
}
|
|
206593
206897
|
}
|
|
206594
|
-
|
|
206595
|
-
return UpdateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, null);
|
|
206898
|
+
tmp13_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
206899
|
+
return UpdateNewsletterCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, null);
|
|
206596
206900
|
};
|
|
206597
206901
|
protoOf($serializer_757).get_descriptor_wjt6a0_k$ = function () {
|
|
206598
206902
|
return this.descriptor_1;
|
|
@@ -206602,7 +206906,7 @@ protoOf($serializer_757).childSerializers_5ghqw5_k$ = function () {
|
|
|
206602
206906
|
// Inline function 'kotlin.arrayOf' call
|
|
206603
206907
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
206604
206908
|
// Inline function 'kotlin.js.asDynamic' call
|
|
206605
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(
|
|
206909
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[4].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance()), get_nullable(tmp0_cached[7].get_value_j01efc_k$()), StringSerializer_getInstance()];
|
|
206606
206910
|
};
|
|
206607
206911
|
var $serializer_instance_757;
|
|
206608
206912
|
function $serializer_getInstance_757() {
|
|
@@ -206610,42 +206914,52 @@ function $serializer_getInstance_757() {
|
|
|
206610
206914
|
new $serializer_757();
|
|
206611
206915
|
return $serializer_instance_757;
|
|
206612
206916
|
}
|
|
206613
|
-
function UpdateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
|
|
206614
|
-
if (!(
|
|
206615
|
-
throwMissingFieldException(seen0,
|
|
206917
|
+
function UpdateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, $this) {
|
|
206918
|
+
if (!(288 === (288 & seen0))) {
|
|
206919
|
+
throwMissingFieldException(seen0, 288, $serializer_getInstance_757().descriptor_1);
|
|
206616
206920
|
}
|
|
206617
206921
|
if (0 === (seen0 & 1))
|
|
206922
|
+
$this.directRecipientOrganizationIds = null;
|
|
206923
|
+
else
|
|
206924
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
206925
|
+
if (0 === (seen0 & 2))
|
|
206926
|
+
$this.directRecipientPersonIds = null;
|
|
206927
|
+
else
|
|
206928
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
206929
|
+
if (0 === (seen0 & 4))
|
|
206618
206930
|
$this.directRecipients = null;
|
|
206619
206931
|
else
|
|
206620
206932
|
$this.directRecipients = directRecipients;
|
|
206621
|
-
if (0 === (seen0 &
|
|
206933
|
+
if (0 === (seen0 & 8))
|
|
206622
206934
|
$this.htmlText = null;
|
|
206623
206935
|
else
|
|
206624
206936
|
$this.htmlText = htmlText;
|
|
206625
|
-
if (0 === (seen0 &
|
|
206937
|
+
if (0 === (seen0 & 16))
|
|
206626
206938
|
$this.notificationGroups = null;
|
|
206627
206939
|
else
|
|
206628
206940
|
$this.notificationGroups = notificationGroups;
|
|
206629
206941
|
$this.plainText = plainText;
|
|
206630
|
-
if (0 === (seen0 &
|
|
206942
|
+
if (0 === (seen0 & 64))
|
|
206631
206943
|
$this.publishedAt = null;
|
|
206632
206944
|
else
|
|
206633
206945
|
$this.publishedAt = publishedAt;
|
|
206634
|
-
if (0 === (seen0 &
|
|
206946
|
+
if (0 === (seen0 & 128))
|
|
206635
206947
|
$this.reviewers = null;
|
|
206636
206948
|
else
|
|
206637
206949
|
$this.reviewers = reviewers;
|
|
206638
206950
|
$this.subject = subject;
|
|
206639
206951
|
return $this;
|
|
206640
206952
|
}
|
|
206641
|
-
function UpdateNewsletterCommand_init_$Create$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker) {
|
|
206642
|
-
return UpdateNewsletterCommand_init_$Init$(seen0, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(UpdateNewsletterCommand)));
|
|
206953
|
+
function UpdateNewsletterCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker) {
|
|
206954
|
+
return UpdateNewsletterCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, serializationConstructorMarker, objectCreate(protoOf(UpdateNewsletterCommand)));
|
|
206643
206955
|
}
|
|
206644
|
-
function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
|
|
206645
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
206956
|
+
function UpdateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
|
|
206957
|
+
var __soliboProps = arguments.length === 1 && typeof directRecipientOrganizationIds === 'object' && directRecipientOrganizationIds !== null && directRecipientOrganizationIds.constructor === Object;
|
|
206646
206958
|
var __soliboTmp, __soliboConverted = false;
|
|
206647
206959
|
if (__soliboProps) {
|
|
206648
|
-
const props =
|
|
206960
|
+
const props = directRecipientOrganizationIds;
|
|
206961
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
206962
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
206649
206963
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
206650
206964
|
htmlText = ('htmlText' in props ? props.htmlText : VOID);
|
|
206651
206965
|
notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
|
|
@@ -206663,15 +206977,21 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
206663
206977
|
reviewers = ('reviewers' in props ? props.reviewers : VOID);
|
|
206664
206978
|
subject = ('subject' in props ? props.subject : VOID);
|
|
206665
206979
|
}
|
|
206980
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
206981
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
206666
206982
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
206667
206983
|
if ((__soliboTmp = __soliboToKt(notificationGroups, ["list",["model","NotificationGroup"]])) !== notificationGroups) { notificationGroups = __soliboTmp; __soliboConverted = true; }
|
|
206668
206984
|
if ((__soliboTmp = __soliboToKt(reviewers, ["list",["bigint"]])) !== reviewers) { reviewers = __soliboTmp; __soliboConverted = true; }
|
|
206669
206985
|
Companion_getInstance_893();
|
|
206986
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
206987
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
206670
206988
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
206671
206989
|
htmlText = htmlText === VOID ? null : htmlText;
|
|
206672
206990
|
notificationGroups = notificationGroups === VOID ? null : notificationGroups;
|
|
206673
206991
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
206674
206992
|
reviewers = reviewers === VOID ? null : reviewers;
|
|
206993
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
206994
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
206675
206995
|
this.directRecipients = directRecipients;
|
|
206676
206996
|
this.htmlText = htmlText;
|
|
206677
206997
|
this.notificationGroups = notificationGroups;
|
|
@@ -206681,6 +207001,12 @@ function UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups,
|
|
|
206681
207001
|
this.subject = subject;
|
|
206682
207002
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
206683
207003
|
}
|
|
207004
|
+
protoOf(UpdateNewsletterCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
207005
|
+
return this.directRecipientOrganizationIds;
|
|
207006
|
+
};
|
|
207007
|
+
protoOf(UpdateNewsletterCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
207008
|
+
return this.directRecipientPersonIds;
|
|
207009
|
+
};
|
|
206684
207010
|
protoOf(UpdateNewsletterCommand).get_directRecipients_cxx8tw_k$ = function () {
|
|
206685
207011
|
return this.directRecipients;
|
|
206686
207012
|
};
|
|
@@ -206703,30 +207029,38 @@ protoOf(UpdateNewsletterCommand).get_subject_tmjbgd_k$ = function () {
|
|
|
206703
207029
|
return this.subject;
|
|
206704
207030
|
};
|
|
206705
207031
|
protoOf(UpdateNewsletterCommand).component1_7eebsc_k$ = function () {
|
|
206706
|
-
return this.
|
|
207032
|
+
return this.directRecipientOrganizationIds;
|
|
206707
207033
|
};
|
|
206708
207034
|
protoOf(UpdateNewsletterCommand).component2_7eebsb_k$ = function () {
|
|
206709
|
-
return this.
|
|
207035
|
+
return this.directRecipientPersonIds;
|
|
206710
207036
|
};
|
|
206711
207037
|
protoOf(UpdateNewsletterCommand).component3_7eebsa_k$ = function () {
|
|
206712
|
-
return this.
|
|
207038
|
+
return this.directRecipients;
|
|
206713
207039
|
};
|
|
206714
207040
|
protoOf(UpdateNewsletterCommand).component4_7eebs9_k$ = function () {
|
|
206715
|
-
return this.
|
|
207041
|
+
return this.htmlText;
|
|
206716
207042
|
};
|
|
206717
207043
|
protoOf(UpdateNewsletterCommand).component5_7eebs8_k$ = function () {
|
|
206718
|
-
return this.
|
|
207044
|
+
return this.notificationGroups;
|
|
206719
207045
|
};
|
|
206720
207046
|
protoOf(UpdateNewsletterCommand).component6_7eebs7_k$ = function () {
|
|
206721
|
-
return this.
|
|
207047
|
+
return this.plainText;
|
|
206722
207048
|
};
|
|
206723
207049
|
protoOf(UpdateNewsletterCommand).component7_7eebs6_k$ = function () {
|
|
207050
|
+
return this.publishedAt;
|
|
207051
|
+
};
|
|
207052
|
+
protoOf(UpdateNewsletterCommand).component8_7eebs5_k$ = function () {
|
|
207053
|
+
return this.reviewers;
|
|
207054
|
+
};
|
|
207055
|
+
protoOf(UpdateNewsletterCommand).component9_7eebs4_k$ = function () {
|
|
206724
207056
|
return this.subject;
|
|
206725
207057
|
};
|
|
206726
|
-
protoOf(UpdateNewsletterCommand).
|
|
206727
|
-
return new UpdateNewsletterCommand(directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
|
|
207058
|
+
protoOf(UpdateNewsletterCommand).copy_9odwuj_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) {
|
|
207059
|
+
return new UpdateNewsletterCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
|
|
206728
207060
|
};
|
|
206729
|
-
protoOf(UpdateNewsletterCommand).copy = function (directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, $super) {
|
|
207061
|
+
protoOf(UpdateNewsletterCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject, $super) {
|
|
207062
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
207063
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
206730
207064
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
206731
207065
|
htmlText = htmlText === VOID ? this.htmlText : htmlText;
|
|
206732
207066
|
notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
|
|
@@ -206734,13 +207068,15 @@ protoOf(UpdateNewsletterCommand).copy = function (directRecipients, htmlText, no
|
|
|
206734
207068
|
publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
|
|
206735
207069
|
reviewers = reviewers === VOID ? this.reviewers : reviewers;
|
|
206736
207070
|
subject = subject === VOID ? this.subject : subject;
|
|
206737
|
-
return $super === VOID ? this.
|
|
207071
|
+
return $super === VOID ? this.copy_9odwuj_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject) : $super.copy_9odwuj_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, htmlText, notificationGroups, plainText, publishedAt, reviewers, subject);
|
|
206738
207072
|
};
|
|
206739
207073
|
protoOf(UpdateNewsletterCommand).toString = function () {
|
|
206740
|
-
return 'UpdateNewsletterCommand(directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
207074
|
+
return 'UpdateNewsletterCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', htmlText=' + this.htmlText + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ', reviewers=' + toString(this.reviewers) + ', subject=' + this.subject + ')';
|
|
206741
207075
|
};
|
|
206742
207076
|
protoOf(UpdateNewsletterCommand).hashCode = function () {
|
|
206743
|
-
var result = this.
|
|
207077
|
+
var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
|
|
207078
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
207079
|
+
result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
|
|
206744
207080
|
result = imul(result, 31) + (this.htmlText == null ? 0 : getStringHashCode(this.htmlText)) | 0;
|
|
206745
207081
|
result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
|
|
206746
207082
|
result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
|
|
@@ -206754,6 +207090,10 @@ protoOf(UpdateNewsletterCommand).equals = function (other) {
|
|
|
206754
207090
|
return true;
|
|
206755
207091
|
if (!(other instanceof UpdateNewsletterCommand))
|
|
206756
207092
|
return false;
|
|
207093
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
207094
|
+
return false;
|
|
207095
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
207096
|
+
return false;
|
|
206757
207097
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
206758
207098
|
return false;
|
|
206759
207099
|
if (!(this.htmlText == other.htmlText))
|
|
@@ -210888,9 +211228,15 @@ protoOf(UpdateRoutineCommand).equals = function (other) {
|
|
|
210888
211228
|
return true;
|
|
210889
211229
|
};
|
|
210890
211230
|
function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc() {
|
|
210891
|
-
return new ArrayListSerializer(
|
|
211231
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
210892
211232
|
}
|
|
210893
211233
|
function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_0() {
|
|
211234
|
+
return new ArrayListSerializer(LongSerializer_getInstance());
|
|
211235
|
+
}
|
|
211236
|
+
function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_1() {
|
|
211237
|
+
return new ArrayListSerializer(StringSerializer_getInstance());
|
|
211238
|
+
}
|
|
211239
|
+
function UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_2() {
|
|
210894
211240
|
return new ArrayListSerializer($serializer_getInstance_414());
|
|
210895
211241
|
}
|
|
210896
211242
|
function Companion_908() {
|
|
@@ -210899,10 +211245,14 @@ function Companion_908() {
|
|
|
210899
211245
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
210900
211246
|
var tmp_1 = lazy(tmp_0, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc);
|
|
210901
211247
|
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
211248
|
+
var tmp_3 = lazy(tmp_2, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_0);
|
|
211249
|
+
var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
211250
|
+
var tmp_5 = lazy(tmp_4, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_1);
|
|
211251
|
+
var tmp_6 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
210902
211252
|
// Inline function 'kotlin.arrayOf' call
|
|
210903
211253
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
210904
211254
|
// Inline function 'kotlin.js.asDynamic' call
|
|
210905
|
-
tmp.$childSerializers_1 = [tmp_1, lazy(
|
|
211255
|
+
tmp.$childSerializers_1 = [tmp_1, tmp_3, tmp_5, lazy(tmp_6, UpdateSMSBroadcastCommand$Companion$$childSerializers$_anonymous__1snqhc_2), null, null];
|
|
210906
211256
|
}
|
|
210907
211257
|
var Companion_instance_909;
|
|
210908
211258
|
function Companion_getInstance_911() {
|
|
@@ -210912,7 +211262,9 @@ function Companion_getInstance_911() {
|
|
|
210912
211262
|
}
|
|
210913
211263
|
function $serializer_773() {
|
|
210914
211264
|
$serializer_instance_773 = this;
|
|
210915
|
-
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand', this,
|
|
211265
|
+
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.UpdateSMSBroadcastCommand', this, 6);
|
|
211266
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientOrganizationIds', true);
|
|
211267
|
+
tmp0_serialDesc.addElement_5pzumi_k$('directRecipientPersonIds', true);
|
|
210916
211268
|
tmp0_serialDesc.addElement_5pzumi_k$('directRecipients', true);
|
|
210917
211269
|
tmp0_serialDesc.addElement_5pzumi_k$('notificationGroups', true);
|
|
210918
211270
|
tmp0_serialDesc.addElement_5pzumi_k$('plainText', false);
|
|
@@ -210923,15 +211275,21 @@ protoOf($serializer_773).serialize_spqk54_k$ = function (encoder, value) {
|
|
|
210923
211275
|
var tmp0_desc = this.descriptor_1;
|
|
210924
211276
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
210925
211277
|
var tmp2_cached = Companion_getInstance_911().$childSerializers_1;
|
|
210926
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.
|
|
210927
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.
|
|
211278
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.directRecipientOrganizationIds == null)) {
|
|
211279
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.directRecipientOrganizationIds);
|
|
210928
211280
|
}
|
|
210929
|
-
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.
|
|
210930
|
-
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.
|
|
211281
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.directRecipientPersonIds == null)) {
|
|
211282
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.directRecipientPersonIds);
|
|
210931
211283
|
}
|
|
210932
|
-
tmp1_output.
|
|
210933
|
-
|
|
210934
|
-
|
|
211284
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.directRecipients == null)) {
|
|
211285
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, tmp2_cached[2].get_value_j01efc_k$(), value.directRecipients);
|
|
211286
|
+
}
|
|
211287
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 3) ? true : !(value.notificationGroups == null)) {
|
|
211288
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.notificationGroups);
|
|
211289
|
+
}
|
|
211290
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 4, value.plainText);
|
|
211291
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.publishedAt == null)) {
|
|
211292
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, InstantSerializer_getInstance(), value.publishedAt);
|
|
210935
211293
|
}
|
|
210936
211294
|
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
210937
211295
|
};
|
|
@@ -210947,46 +211305,60 @@ protoOf($serializer_773).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
210947
211305
|
var tmp5_local1 = null;
|
|
210948
211306
|
var tmp6_local2 = null;
|
|
210949
211307
|
var tmp7_local3 = null;
|
|
210950
|
-
var
|
|
210951
|
-
var
|
|
210952
|
-
|
|
210953
|
-
|
|
211308
|
+
var tmp8_local4 = null;
|
|
211309
|
+
var tmp9_local5 = null;
|
|
211310
|
+
var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
211311
|
+
var tmp11_cached = Companion_getInstance_911().$childSerializers_1;
|
|
211312
|
+
if (tmp10_input.decodeSequentially_xlblqy_k$()) {
|
|
211313
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp11_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
210954
211314
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
210955
|
-
tmp5_local1 =
|
|
211315
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
210956
211316
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
210957
|
-
tmp6_local2 =
|
|
211317
|
+
tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
210958
211318
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
210959
|
-
tmp7_local3 =
|
|
211319
|
+
tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp11_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
210960
211320
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
211321
|
+
tmp8_local4 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
211322
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
211323
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
|
|
211324
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
210961
211325
|
} else
|
|
210962
211326
|
while (tmp1_flag) {
|
|
210963
|
-
tmp2_index =
|
|
211327
|
+
tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
210964
211328
|
switch (tmp2_index) {
|
|
210965
211329
|
case -1:
|
|
210966
211330
|
tmp1_flag = false;
|
|
210967
211331
|
break;
|
|
210968
211332
|
case 0:
|
|
210969
|
-
tmp4_local0 =
|
|
211333
|
+
tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, tmp11_cached[0].get_value_j01efc_k$(), tmp4_local0);
|
|
210970
211334
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
210971
211335
|
break;
|
|
210972
211336
|
case 1:
|
|
210973
|
-
tmp5_local1 =
|
|
211337
|
+
tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp11_cached[1].get_value_j01efc_k$(), tmp5_local1);
|
|
210974
211338
|
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
210975
211339
|
break;
|
|
210976
211340
|
case 2:
|
|
210977
|
-
tmp6_local2 =
|
|
211341
|
+
tmp6_local2 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, tmp11_cached[2].get_value_j01efc_k$(), tmp6_local2);
|
|
210978
211342
|
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
210979
211343
|
break;
|
|
210980
211344
|
case 3:
|
|
210981
|
-
tmp7_local3 =
|
|
211345
|
+
tmp7_local3 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, tmp11_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
210982
211346
|
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
210983
211347
|
break;
|
|
211348
|
+
case 4:
|
|
211349
|
+
tmp8_local4 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 4);
|
|
211350
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
211351
|
+
break;
|
|
211352
|
+
case 5:
|
|
211353
|
+
tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, InstantSerializer_getInstance(), tmp9_local5);
|
|
211354
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
211355
|
+
break;
|
|
210984
211356
|
default:
|
|
210985
211357
|
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
210986
211358
|
}
|
|
210987
211359
|
}
|
|
210988
|
-
|
|
210989
|
-
return UpdateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
211360
|
+
tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
211361
|
+
return UpdateSMSBroadcastCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
|
|
210990
211362
|
};
|
|
210991
211363
|
protoOf($serializer_773).get_descriptor_wjt6a0_k$ = function () {
|
|
210992
211364
|
return this.descriptor_1;
|
|
@@ -210996,7 +211368,7 @@ protoOf($serializer_773).childSerializers_5ghqw5_k$ = function () {
|
|
|
210996
211368
|
// Inline function 'kotlin.arrayOf' call
|
|
210997
211369
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
210998
211370
|
// Inline function 'kotlin.js.asDynamic' call
|
|
210999
|
-
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance())];
|
|
211371
|
+
return [get_nullable(tmp0_cached[0].get_value_j01efc_k$()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(tmp0_cached[2].get_value_j01efc_k$()), get_nullable(tmp0_cached[3].get_value_j01efc_k$()), StringSerializer_getInstance(), get_nullable(InstantSerializer_getInstance())];
|
|
211000
211372
|
};
|
|
211001
211373
|
var $serializer_instance_773;
|
|
211002
211374
|
function $serializer_getInstance_773() {
|
|
@@ -211004,33 +211376,43 @@ function $serializer_getInstance_773() {
|
|
|
211004
211376
|
new $serializer_773();
|
|
211005
211377
|
return $serializer_instance_773;
|
|
211006
211378
|
}
|
|
211007
|
-
function UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, $this) {
|
|
211008
|
-
if (!(
|
|
211009
|
-
throwMissingFieldException(seen0,
|
|
211379
|
+
function UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, $this) {
|
|
211380
|
+
if (!(16 === (16 & seen0))) {
|
|
211381
|
+
throwMissingFieldException(seen0, 16, $serializer_getInstance_773().descriptor_1);
|
|
211010
211382
|
}
|
|
211011
211383
|
if (0 === (seen0 & 1))
|
|
211384
|
+
$this.directRecipientOrganizationIds = null;
|
|
211385
|
+
else
|
|
211386
|
+
$this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
211387
|
+
if (0 === (seen0 & 2))
|
|
211388
|
+
$this.directRecipientPersonIds = null;
|
|
211389
|
+
else
|
|
211390
|
+
$this.directRecipientPersonIds = directRecipientPersonIds;
|
|
211391
|
+
if (0 === (seen0 & 4))
|
|
211012
211392
|
$this.directRecipients = null;
|
|
211013
211393
|
else
|
|
211014
211394
|
$this.directRecipients = directRecipients;
|
|
211015
|
-
if (0 === (seen0 &
|
|
211395
|
+
if (0 === (seen0 & 8))
|
|
211016
211396
|
$this.notificationGroups = null;
|
|
211017
211397
|
else
|
|
211018
211398
|
$this.notificationGroups = notificationGroups;
|
|
211019
211399
|
$this.plainText = plainText;
|
|
211020
|
-
if (0 === (seen0 &
|
|
211400
|
+
if (0 === (seen0 & 32))
|
|
211021
211401
|
$this.publishedAt = null;
|
|
211022
211402
|
else
|
|
211023
211403
|
$this.publishedAt = publishedAt;
|
|
211024
211404
|
return $this;
|
|
211025
211405
|
}
|
|
211026
|
-
function UpdateSMSBroadcastCommand_init_$Create$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker) {
|
|
211027
|
-
return UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, objectCreate(protoOf(UpdateSMSBroadcastCommand)));
|
|
211406
|
+
function UpdateSMSBroadcastCommand_init_$Create$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker) {
|
|
211407
|
+
return UpdateSMSBroadcastCommand_init_$Init$(seen0, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, serializationConstructorMarker, objectCreate(protoOf(UpdateSMSBroadcastCommand)));
|
|
211028
211408
|
}
|
|
211029
|
-
function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publishedAt) {
|
|
211030
|
-
var __soliboProps = arguments.length === 1 && typeof
|
|
211409
|
+
function UpdateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) {
|
|
211410
|
+
var __soliboProps = arguments.length === 1 && typeof directRecipientOrganizationIds === 'object' && directRecipientOrganizationIds !== null && directRecipientOrganizationIds.constructor === Object;
|
|
211031
211411
|
var __soliboTmp, __soliboConverted = false;
|
|
211032
211412
|
if (__soliboProps) {
|
|
211033
|
-
const props =
|
|
211413
|
+
const props = directRecipientOrganizationIds;
|
|
211414
|
+
directRecipientOrganizationIds = ('directRecipientOrganizationIds' in props ? props.directRecipientOrganizationIds : VOID);
|
|
211415
|
+
directRecipientPersonIds = ('directRecipientPersonIds' in props ? props.directRecipientPersonIds : VOID);
|
|
211034
211416
|
directRecipients = ('directRecipients' in props ? props.directRecipients : VOID);
|
|
211035
211417
|
notificationGroups = ('notificationGroups' in props ? props.notificationGroups : VOID);
|
|
211036
211418
|
plainText = ('plainText' in props ? props.plainText : VOID);
|
|
@@ -211045,18 +211427,30 @@ function UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainTe
|
|
|
211045
211427
|
publishedAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(publishedAt.getTime()));
|
|
211046
211428
|
}
|
|
211047
211429
|
}
|
|
211430
|
+
if ((__soliboTmp = __soliboToKt(directRecipientOrganizationIds, ["list",["bigint"]])) !== directRecipientOrganizationIds) { directRecipientOrganizationIds = __soliboTmp; __soliboConverted = true; }
|
|
211431
|
+
if ((__soliboTmp = __soliboToKt(directRecipientPersonIds, ["list",["bigint"]])) !== directRecipientPersonIds) { directRecipientPersonIds = __soliboTmp; __soliboConverted = true; }
|
|
211048
211432
|
if ((__soliboTmp = __soliboToKt(directRecipients, ["list",null])) !== directRecipients) { directRecipients = __soliboTmp; __soliboConverted = true; }
|
|
211049
211433
|
if ((__soliboTmp = __soliboToKt(notificationGroups, ["list",["model","NotificationGroup"]])) !== notificationGroups) { notificationGroups = __soliboTmp; __soliboConverted = true; }
|
|
211050
211434
|
Companion_getInstance_911();
|
|
211435
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? null : directRecipientOrganizationIds;
|
|
211436
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? null : directRecipientPersonIds;
|
|
211051
211437
|
directRecipients = directRecipients === VOID ? null : directRecipients;
|
|
211052
211438
|
notificationGroups = notificationGroups === VOID ? null : notificationGroups;
|
|
211053
211439
|
publishedAt = publishedAt === VOID ? null : publishedAt;
|
|
211440
|
+
this.directRecipientOrganizationIds = directRecipientOrganizationIds;
|
|
211441
|
+
this.directRecipientPersonIds = directRecipientPersonIds;
|
|
211054
211442
|
this.directRecipients = directRecipients;
|
|
211055
211443
|
this.notificationGroups = notificationGroups;
|
|
211056
211444
|
this.plainText = plainText;
|
|
211057
211445
|
this.publishedAt = publishedAt;
|
|
211058
211446
|
if (__soliboConverted && !__soliboInternalConstruction) return __soliboToJs(this);
|
|
211059
211447
|
}
|
|
211448
|
+
protoOf(UpdateSMSBroadcastCommand).get_directRecipientOrganizationIds_gywo1u_k$ = function () {
|
|
211449
|
+
return this.directRecipientOrganizationIds;
|
|
211450
|
+
};
|
|
211451
|
+
protoOf(UpdateSMSBroadcastCommand).get_directRecipientPersonIds_e5mu04_k$ = function () {
|
|
211452
|
+
return this.directRecipientPersonIds;
|
|
211453
|
+
};
|
|
211060
211454
|
protoOf(UpdateSMSBroadcastCommand).get_directRecipients_cxx8tw_k$ = function () {
|
|
211061
211455
|
return this.directRecipients;
|
|
211062
211456
|
};
|
|
@@ -211070,32 +211464,42 @@ protoOf(UpdateSMSBroadcastCommand).get_publishedAt_3qk02g_k$ = function () {
|
|
|
211070
211464
|
return this.publishedAt;
|
|
211071
211465
|
};
|
|
211072
211466
|
protoOf(UpdateSMSBroadcastCommand).component1_7eebsc_k$ = function () {
|
|
211073
|
-
return this.
|
|
211467
|
+
return this.directRecipientOrganizationIds;
|
|
211074
211468
|
};
|
|
211075
211469
|
protoOf(UpdateSMSBroadcastCommand).component2_7eebsb_k$ = function () {
|
|
211076
|
-
return this.
|
|
211470
|
+
return this.directRecipientPersonIds;
|
|
211077
211471
|
};
|
|
211078
211472
|
protoOf(UpdateSMSBroadcastCommand).component3_7eebsa_k$ = function () {
|
|
211079
|
-
return this.
|
|
211473
|
+
return this.directRecipients;
|
|
211080
211474
|
};
|
|
211081
211475
|
protoOf(UpdateSMSBroadcastCommand).component4_7eebs9_k$ = function () {
|
|
211476
|
+
return this.notificationGroups;
|
|
211477
|
+
};
|
|
211478
|
+
protoOf(UpdateSMSBroadcastCommand).component5_7eebs8_k$ = function () {
|
|
211479
|
+
return this.plainText;
|
|
211480
|
+
};
|
|
211481
|
+
protoOf(UpdateSMSBroadcastCommand).component6_7eebs7_k$ = function () {
|
|
211082
211482
|
return this.publishedAt;
|
|
211083
211483
|
};
|
|
211084
|
-
protoOf(UpdateSMSBroadcastCommand).
|
|
211085
|
-
return new UpdateSMSBroadcastCommand(directRecipients, notificationGroups, plainText, publishedAt);
|
|
211484
|
+
protoOf(UpdateSMSBroadcastCommand).copy_wan96t_k$ = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) {
|
|
211485
|
+
return new UpdateSMSBroadcastCommand(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt);
|
|
211086
211486
|
};
|
|
211087
|
-
protoOf(UpdateSMSBroadcastCommand).copy = function (directRecipients, notificationGroups, plainText, publishedAt, $super) {
|
|
211487
|
+
protoOf(UpdateSMSBroadcastCommand).copy = function (directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt, $super) {
|
|
211488
|
+
directRecipientOrganizationIds = directRecipientOrganizationIds === VOID ? this.directRecipientOrganizationIds : directRecipientOrganizationIds;
|
|
211489
|
+
directRecipientPersonIds = directRecipientPersonIds === VOID ? this.directRecipientPersonIds : directRecipientPersonIds;
|
|
211088
211490
|
directRecipients = directRecipients === VOID ? this.directRecipients : directRecipients;
|
|
211089
211491
|
notificationGroups = notificationGroups === VOID ? this.notificationGroups : notificationGroups;
|
|
211090
211492
|
plainText = plainText === VOID ? this.plainText : plainText;
|
|
211091
211493
|
publishedAt = publishedAt === VOID ? this.publishedAt : publishedAt;
|
|
211092
|
-
return $super === VOID ? this.
|
|
211494
|
+
return $super === VOID ? this.copy_wan96t_k$(directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt) : $super.copy_wan96t_k$.call(this, directRecipientOrganizationIds, directRecipientPersonIds, directRecipients, notificationGroups, plainText, publishedAt);
|
|
211093
211495
|
};
|
|
211094
211496
|
protoOf(UpdateSMSBroadcastCommand).toString = function () {
|
|
211095
|
-
return 'UpdateSMSBroadcastCommand(directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ')';
|
|
211497
|
+
return 'UpdateSMSBroadcastCommand(directRecipientOrganizationIds=' + toString(this.directRecipientOrganizationIds) + ', directRecipientPersonIds=' + toString(this.directRecipientPersonIds) + ', directRecipients=' + toString(this.directRecipients) + ', notificationGroups=' + toString(this.notificationGroups) + ', plainText=' + this.plainText + ', publishedAt=' + toString(this.publishedAt) + ')';
|
|
211096
211498
|
};
|
|
211097
211499
|
protoOf(UpdateSMSBroadcastCommand).hashCode = function () {
|
|
211098
|
-
var result = this.
|
|
211500
|
+
var result = this.directRecipientOrganizationIds == null ? 0 : hashCode(this.directRecipientOrganizationIds);
|
|
211501
|
+
result = imul(result, 31) + (this.directRecipientPersonIds == null ? 0 : hashCode(this.directRecipientPersonIds)) | 0;
|
|
211502
|
+
result = imul(result, 31) + (this.directRecipients == null ? 0 : hashCode(this.directRecipients)) | 0;
|
|
211099
211503
|
result = imul(result, 31) + (this.notificationGroups == null ? 0 : hashCode(this.notificationGroups)) | 0;
|
|
211100
211504
|
result = imul(result, 31) + getStringHashCode(this.plainText) | 0;
|
|
211101
211505
|
result = imul(result, 31) + (this.publishedAt == null ? 0 : this.publishedAt.hashCode()) | 0;
|
|
@@ -211106,6 +211510,10 @@ protoOf(UpdateSMSBroadcastCommand).equals = function (other) {
|
|
|
211106
211510
|
return true;
|
|
211107
211511
|
if (!(other instanceof UpdateSMSBroadcastCommand))
|
|
211108
211512
|
return false;
|
|
211513
|
+
if (!equals(this.directRecipientOrganizationIds, other.directRecipientOrganizationIds))
|
|
211514
|
+
return false;
|
|
211515
|
+
if (!equals(this.directRecipientPersonIds, other.directRecipientPersonIds))
|
|
211516
|
+
return false;
|
|
211109
211517
|
if (!equals(this.directRecipients, other.directRecipients))
|
|
211110
211518
|
return false;
|
|
211111
211519
|
if (!equals(this.notificationGroups, other.notificationGroups))
|
|
@@ -338764,7 +339172,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
338764
339172
|
__soliboRegisterOwnFields(ref(() => CreateMeetingReminderNotificationCommand), {"idsToSign":["list",["bigint"]]});
|
|
338765
339173
|
__soliboRegisterOwnFields(ref(() => CreateMessageCommand), {"attachmentIds":["list",["bigint"]],"emailContent":["model","EmailContentCommand"]});
|
|
338766
339174
|
__soliboRegisterOwnFields(ref(() => CreateNeighborhoodPostCommand), {"categories":["list",null]});
|
|
338767
|
-
__soliboRegisterOwnFields(ref(() => CreateNewsletterCommand), {"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"reviewers":["list",["bigint"]]});
|
|
339175
|
+
__soliboRegisterOwnFields(ref(() => CreateNewsletterCommand), {"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"reviewers":["list",["bigint"]]});
|
|
338768
339176
|
__soliboRegisterOwnFields(ref(() => CreateOrganization), {"contact":["model","ContactInformation"],"information":["model","OrganizationInformation"],"invoicingAddress":["model","AddressSpecifics"],"parkingSpaces":["list",["model","CreateParkingSpace"]],"roles":["list",["model","OrganizationRoleInput"]],"storageRooms":["list",["model","CreateStorageRoom"]]});
|
|
338769
339177
|
__soliboRegisterOwnFields(ref(() => CreateOrganizationResidentCommand), {"businessAddress":["model","BusinessAddress"],"businessContact":["model","BusinessContact"],"role":["model","OrganizationRoleInput"]});
|
|
338770
339178
|
__soliboRegisterOwnFields(ref(() => CreatePerson), {"contact":["model","ContactInformation"],"information":["model","PersonInformation"],"name":["model","Name"],"parkingSpaces":["list",["model","CreateParkingSpace"]],"roles":["model","PersonRoles"],"storageRooms":["list",["model","CreateStorageRoom"]]});
|
|
@@ -338774,7 +339182,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
338774
339182
|
__soliboRegisterOwnFields(ref(() => CreatePostCommand), {"notificationEmailGroups":["list",["model","NotificationGroup"]],"notificationSMSGroups":["list",["model","NotificationGroup"]]});
|
|
338775
339183
|
__soliboWrapMethod(ref(() => CreateResidentCommandDiscriminator), "values", {"isStatic":true});
|
|
338776
339184
|
__soliboWrapMethod(ref(() => CreateResidentCommandDiscriminator), "valueOf", {"isStatic":true});
|
|
338777
|
-
__soliboRegisterOwnFields(ref(() => CreateSMSBroadcastCommand), {"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]]});
|
|
339185
|
+
__soliboRegisterOwnFields(ref(() => CreateSMSBroadcastCommand), {"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]]});
|
|
338778
339186
|
__soliboRegisterOwnFields(ref(() => CreateSection), {"fractions":["model","SectionFractions"],"organizations":["list",["model","CreateOrganization"]],"parkingSpaces":["list",["model","CreateParkingSpace"]],"persons":["list",["model","CreatePerson"]],"storageRooms":["list",["model","CreateStorageRoom"]],"tags":["list",null]});
|
|
338779
339187
|
__soliboRegisterOwnFields(ref(() => CreateSectionCommand), {"shareNumbers":["list",null]});
|
|
338780
339188
|
__soliboRegisterOwnFields(ref(() => CreateSettlementCommand), {"invoices":["list",["model","SettlementInvoice"]]});
|
|
@@ -338966,7 +339374,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
338966
339374
|
__soliboRegisterOwnFields(ref(() => NeighborhoodPost), {"actor":["model","CommunicationActor"],"attachments":["list",["model","CommunicationAttachment"]],"categories":["list",null],"coverPhoto":["model","CommunicationAttachment"],"inlineDocuments":["list",["model","CommunicationAttachment"]],"reactions":["list",["model","CommunicationReactionSummary"]]});
|
|
338967
339375
|
__soliboWrapMethod(ref(() => NeighborhoodPostStatus), "values", {"isStatic":true});
|
|
338968
339376
|
__soliboWrapMethod(ref(() => NeighborhoodPostStatus), "valueOf", {"isStatic":true});
|
|
338969
|
-
__soliboRegisterOwnFields(ref(() => Newsletter), {"attachments":["list",["model","Document"]],"directRecipients":["list",null],"inlineDocuments":["list",["model","Document"]],"notificationGroups":["list",["model","NotificationGroup"]],"recipientStatus":["list",["model","MassCommunicationRecipientStatus"]],"recipientsAtPublish":["model","MassCommunicationGroups"],"reviewers":["list",["bigint"]]});
|
|
339377
|
+
__soliboRegisterOwnFields(ref(() => Newsletter), {"attachments":["list",["model","Document"]],"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"inlineDocuments":["list",["model","Document"]],"notificationGroups":["list",["model","NotificationGroup"]],"recipientStatus":["list",["model","MassCommunicationRecipientStatus"]],"recipientsAtPublish":["model","MassCommunicationGroups"],"reviewers":["list",["bigint"]]});
|
|
338970
339378
|
__soliboWrapMethod(ref(() => NotificationGroupType), "values", {"isStatic":true});
|
|
338971
339379
|
__soliboWrapMethod(ref(() => NotificationGroupType), "valueOf", {"isStatic":true});
|
|
338972
339380
|
__soliboWrapMethod(ref(() => Office365EditSessionActorKind), "values", {"isStatic":true});
|
|
@@ -339170,7 +339578,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
339170
339578
|
__soliboWrapMethod(ref(() => RoutineType), "valueOf", {"isStatic":true});
|
|
339171
339579
|
__soliboWrapMethod(ref(() => Rsvp), "values", {"isStatic":true});
|
|
339172
339580
|
__soliboWrapMethod(ref(() => Rsvp), "valueOf", {"isStatic":true});
|
|
339173
|
-
__soliboRegisterOwnFields(ref(() => SMSBroadcast), {"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"recipientStatus":["list",["model","MassCommunicationRecipientStatus"]],"recipientsAtPublish":["model","MassCommunicationGroups"]});
|
|
339581
|
+
__soliboRegisterOwnFields(ref(() => SMSBroadcast), {"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"recipientStatus":["list",["model","MassCommunicationRecipientStatus"]],"recipientsAtPublish":["model","MassCommunicationGroups"]});
|
|
339174
339582
|
__soliboRegisterOwnFields(ref(() => SameieMatrikkelSearchCommand), {"matrikkel":["model","CompanyMatrikkel"]});
|
|
339175
339583
|
__soliboRegisterOwnFields(ref(() => ScopedContactEndpoint), {"scope":["model","ScopeContext"]});
|
|
339176
339584
|
__soliboRegisterOwnFields(ref(() => SearchMatch), {"context":["model","SearchMatchContext"]});
|
|
@@ -339260,7 +339668,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
339260
339668
|
__soliboRegisterOwnFields(ref(() => UpdateManagementCommand), {"accounting":["list",["model","Person"]],"administrators":["list",["model","Person"]]});
|
|
339261
339669
|
__soliboRegisterOwnFields(ref(() => UpdateMeetingParticipantsCommand), {"externalParticipants":["list",["model","ExternalParticipantCommand"]],"guestParticipantIds":["list",["bigint"]],"participantIds":["list",["bigint"]]});
|
|
339262
339670
|
__soliboRegisterOwnFields(ref(() => UpdateNeighborhoodPostCommand), {"categories":["list",null]});
|
|
339263
|
-
__soliboRegisterOwnFields(ref(() => UpdateNewsletterCommand), {"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"reviewers":["list",["bigint"]]});
|
|
339671
|
+
__soliboRegisterOwnFields(ref(() => UpdateNewsletterCommand), {"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]],"reviewers":["list",["bigint"]]});
|
|
339264
339672
|
__soliboRegisterOwnFields(ref(() => UpdateOrganizationCommand), {"businessAddress":["model","BusinessAddress"],"businessContact":["model","BusinessContact"],"historicRoles":["list",["model","Role"]],"parkingSpaces":["list",["model","ParkingSpaceOwnership"]],"roles":["list",["model","Role"]],"storageRooms":["list",["model","StorageRoomOwnership"]]});
|
|
339265
339673
|
__soliboRegisterOwnFields(ref(() => UpdateOrganizationResidentCommand), {"businessAddress":["model","BusinessAddress"],"businessContact":["model","BusinessContact"]});
|
|
339266
339674
|
__soliboRegisterOwnFields(ref(() => UpdatePersonCommand), {"address":["model","AddressSpecifics"],"historicRoles":["list",["model","RoleInput"]],"name":["model","Name"],"roles":["list",["model","RoleInput"]]});
|
|
@@ -339269,7 +339677,7 @@ if (typeof FailureKind !== 'undefined') {
|
|
|
339269
339677
|
__soliboRegisterOwnFields(ref(() => UpdateProfileCommand), {"name":["model","Name"]});
|
|
339270
339678
|
__soliboWrapMethod(ref(() => UpdateResidentCommandDiscriminator), "values", {"isStatic":true});
|
|
339271
339679
|
__soliboWrapMethod(ref(() => UpdateResidentCommandDiscriminator), "valueOf", {"isStatic":true});
|
|
339272
|
-
__soliboRegisterOwnFields(ref(() => UpdateSMSBroadcastCommand), {"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]]});
|
|
339680
|
+
__soliboRegisterOwnFields(ref(() => UpdateSMSBroadcastCommand), {"directRecipientOrganizationIds":["list",["bigint"]],"directRecipientPersonIds":["list",["bigint"]],"directRecipients":["list",null],"notificationGroups":["list",["model","NotificationGroup"]]});
|
|
339273
339681
|
__soliboRegisterOwnFields(ref(() => UpdateSectionCommand), {"shareNumbers":["list",null]});
|
|
339274
339682
|
__soliboRegisterOwnFields(ref(() => UpdateServiceCategoriesCommand), {"serviceCategories":["list",null]});
|
|
339275
339683
|
__soliboRegisterOwnFields(ref(() => UpdateSettlementCommand), {"invoices":["list",["model","SettlementInvoice"]]});
|