@solibo/home-api 1.40.1 → 1.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -94,6 +94,8 @@ initMetadataForCoroutine($indexExpenseUserCOROUTINE$, CoroutineImpl);
94
94
  initMetadataForCoroutine($indexExpenseUser$suspendBridgeCOROUTINE$, CoroutineImpl);
95
95
  initMetadataForCoroutine($rejectExpenseCOROUTINE$, CoroutineImpl);
96
96
  initMetadataForCoroutine($rejectExpense$suspendBridgeCOROUTINE$, CoroutineImpl);
97
+ initMetadataForCoroutine($remindExpenseCOROUTINE$, CoroutineImpl);
98
+ initMetadataForCoroutine($remindExpense$suspendBridgeCOROUTINE$, CoroutineImpl);
97
99
  initMetadataForCoroutine($showExpenseCOROUTINE$, CoroutineImpl);
98
100
  initMetadataForCoroutine($showExpense$suspendBridgeCOROUTINE$, CoroutineImpl);
99
101
  initMetadataForClass(ExpenseApi, 'ExpenseApi', create, ApiClient, VOID, [2, 9, 5, 3]);
@@ -111,20 +113,23 @@ initMetadataForObject($serializer_2, '$serializer', VOID, VOID, [GeneratedSerial
111
113
  initMetadataForClass(ExpenseProcessing, 'ExpenseProcessing', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
112
114
  initMetadataForCompanion(Companion_3, VOID, [SerializerFactory]);
113
115
  initMetadataForClass(ExpenseProcessingResult, 'ExpenseProcessingResult', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_4});
114
- initMetadataForCompanion(Companion_4, VOID, [SerializerFactory]);
115
- initMetadataForClass(ExpenseStatus, 'ExpenseStatus', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_5});
116
- initMetadataForCompanion(Companion_5);
116
+ initMetadataForCompanion(Companion_4);
117
117
  initMetadataForObject($serializer_3, '$serializer', VOID, VOID, [GeneratedSerializer]);
118
- initMetadataForClass(ExpenseType, 'ExpenseType', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
118
+ initMetadataForClass(ExpenseReminder, 'ExpenseReminder', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
119
+ initMetadataForCompanion(Companion_5, VOID, [SerializerFactory]);
120
+ initMetadataForClass(ExpenseStatus, 'ExpenseStatus', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_6});
119
121
  initMetadataForCompanion(Companion_6);
120
122
  initMetadataForObject($serializer_4, '$serializer', VOID, VOID, [GeneratedSerializer]);
121
- initMetadataForClass(PagedListExpense, 'PagedListExpense', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
123
+ initMetadataForClass(ExpenseType, 'ExpenseType', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
122
124
  initMetadataForCompanion(Companion_7);
123
125
  initMetadataForObject($serializer_5, '$serializer', VOID, VOID, [GeneratedSerializer]);
124
- initMetadataForClass(PagedListExpenseType, 'PagedListExpenseType', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
126
+ initMetadataForClass(PagedListExpense, 'PagedListExpense', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
125
127
  initMetadataForCompanion(Companion_8);
126
128
  initMetadataForObject($serializer_6, '$serializer', VOID, VOID, [GeneratedSerializer]);
127
- initMetadataForClass(RejectExpenseCommand, 'RejectExpenseCommand', RejectExpenseCommand, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
129
+ initMetadataForClass(PagedListExpenseType, 'PagedListExpenseType', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
130
+ initMetadataForCompanion(Companion_9);
131
+ initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
132
+ initMetadataForClass(RejectExpenseCommand, 'RejectExpenseCommand', RejectExpenseCommand, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_10});
128
133
  //endregion
129
134
  function expenseApi(api) {
130
135
  return get_expense(api);
@@ -1279,6 +1284,121 @@ protoOf($rejectExpense$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function ()
1279
1284
  }
1280
1285
  while (true);
1281
1286
  };
1287
+ function $remindExpenseCOROUTINE$(_this__u8e3s4, companyId, expenseId, resultContinuation) {
1288
+ CoroutineImpl.call(this, resultContinuation);
1289
+ this._this__u8e3s4__1 = _this__u8e3s4;
1290
+ this.companyId_1 = companyId;
1291
+ this.expenseId_1 = expenseId;
1292
+ }
1293
+ protoOf($remindExpenseCOROUTINE$).doResume_5yljmg_k$ = function () {
1294
+ var suspendResult = this.result_1;
1295
+ $sm: do
1296
+ try {
1297
+ var tmp = this.state_1;
1298
+ switch (tmp) {
1299
+ case 0:
1300
+ this.exceptionState_1 = 2;
1301
+ var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
1302
+ var localVariableBody = EmptyContent_getInstance();
1303
+ var localVariableQuery = LinkedHashMap_init_$Create$();
1304
+ var localVariableHeaders = LinkedHashMap_init_$Create$();
1305
+ var tmp0_method = RequestMethod_POST_getInstance();
1306
+ var tmp1_path = replace(replace('/companies/{companyId}/economy/expense/{expenseId}/remind', '{companyId}', this.companyId_1.toString()), '{expenseId}', this.expenseId_1.toString());
1307
+ var localVariableConfig = new RequestConfig(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
1308
+ this.state_1 = 1;
1309
+ suspendResult = this._this__u8e3s4__1.request$suspendBridge_gbq0ws_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
1310
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1311
+ return suspendResult;
1312
+ }
1313
+
1314
+ continue $sm;
1315
+ case 1:
1316
+ var this_0 = suspendResult;
1317
+ var tmp_0 = getKClass(ExpenseReminder);
1318
+ var tmp_1 = null instanceof ExpenseReminder;
1319
+ var tmp_2;
1320
+ try {
1321
+ tmp_2 = createKType(getKClass(ExpenseReminder), arrayOf([]), false);
1322
+ } catch ($p) {
1323
+ var tmp_3;
1324
+ if ($p instanceof Error) {
1325
+ var _unused_var__etf5q3 = $p;
1326
+ tmp_3 = null;
1327
+ } else {
1328
+ throw $p;
1329
+ }
1330
+ tmp_2 = tmp_3;
1331
+ }
1332
+
1333
+ return new HttpResponse(this_0, new TypedBodyProvider(new TypeInfo(tmp_0, tmp_1, tmp_2)));
1334
+ case 2:
1335
+ throw this.exception_1;
1336
+ }
1337
+ } catch ($p_0) {
1338
+ var e = $p_0;
1339
+ if (this.exceptionState_1 === 2) {
1340
+ throw e;
1341
+ } else {
1342
+ this.state_1 = this.exceptionState_1;
1343
+ this.exception_1 = e;
1344
+ }
1345
+ }
1346
+ while (true);
1347
+ };
1348
+ function $remindExpense$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, expenseId, resultContinuation) {
1349
+ CoroutineImpl.call(this, resultContinuation);
1350
+ this._this__u8e3s4__1 = _this__u8e3s4;
1351
+ this.companyId_1 = companyId;
1352
+ this.expenseId_1 = expenseId;
1353
+ }
1354
+ protoOf($remindExpense$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
1355
+ var suspendResult = this.result_1;
1356
+ $sm: do
1357
+ try {
1358
+ var tmp = this.state_1;
1359
+ switch (tmp) {
1360
+ case 0:
1361
+ this.exceptionState_1 = 4;
1362
+ if (this._this__u8e3s4__1.remindExpense === protoOf(ExpenseApi).remindExpense) {
1363
+ this.state_1 = 2;
1364
+ suspendResult = this._this__u8e3s4__1.remindExpense_gd8i58_k$(this.companyId_1, this.expenseId_1, this);
1365
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1366
+ return suspendResult;
1367
+ }
1368
+ continue $sm;
1369
+ } else {
1370
+ this.state_1 = 1;
1371
+ suspendResult = await_0(this._this__u8e3s4__1.remindExpense(this.companyId_1, this.expenseId_1), this);
1372
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1373
+ return suspendResult;
1374
+ }
1375
+ continue $sm;
1376
+ }
1377
+
1378
+ case 1:
1379
+ this.WHEN_RESULT0__1 = suspendResult;
1380
+ this.state_1 = 3;
1381
+ continue $sm;
1382
+ case 2:
1383
+ this.WHEN_RESULT0__1 = suspendResult;
1384
+ this.state_1 = 3;
1385
+ continue $sm;
1386
+ case 3:
1387
+ return this.WHEN_RESULT0__1;
1388
+ case 4:
1389
+ throw this.exception_1;
1390
+ }
1391
+ } catch ($p) {
1392
+ var e = $p;
1393
+ if (this.exceptionState_1 === 4) {
1394
+ throw e;
1395
+ } else {
1396
+ this.state_1 = this.exceptionState_1;
1397
+ this.exception_1 = e;
1398
+ }
1399
+ }
1400
+ while (true);
1401
+ };
1282
1402
  function $showExpenseCOROUTINE$(_this__u8e3s4, companyId, expenseId, fields, resultContinuation) {
1283
1403
  CoroutineImpl.call(this, resultContinuation);
1284
1404
  this._this__u8e3s4__1 = _this__u8e3s4;
@@ -1581,6 +1701,24 @@ protoOf(ExpenseApi).rejectExpense$suspendBridge_952bnz_k$ = function (companyId,
1581
1701
  tmp.exception_1 = null;
1582
1702
  return tmp.doResume_5yljmg_k$();
1583
1703
  };
1704
+ protoOf(ExpenseApi).remindExpense_gd8i58_k$ = function (companyId, expenseId, $completion) {
1705
+ var tmp = new $remindExpenseCOROUTINE$(this, companyId, expenseId, $completion);
1706
+ tmp.result_1 = Unit_instance;
1707
+ tmp.exception_1 = null;
1708
+ return tmp.doResume_5yljmg_k$();
1709
+ };
1710
+ protoOf(ExpenseApi).remindExpense = function (companyId, expenseId) {
1711
+ var tmp = this;
1712
+ return promisify(function ($completion) {
1713
+ return tmp.remindExpense_gd8i58_k$(companyId, expenseId, $completion);
1714
+ });
1715
+ };
1716
+ protoOf(ExpenseApi).remindExpense$suspendBridge_v2iqyt_k$ = function (companyId, expenseId, $completion) {
1717
+ var tmp = new $remindExpense$suspendBridgeCOROUTINE$(this, companyId, expenseId, $completion);
1718
+ tmp.result_1 = Unit_instance;
1719
+ tmp.exception_1 = null;
1720
+ return tmp.doResume_5yljmg_k$();
1721
+ };
1584
1722
  protoOf(ExpenseApi).showExpense_y8nlhp_k$ = function (companyId, expenseId, fields, $completion) {
1585
1723
  var tmp = new $showExpenseCOROUTINE$(this, companyId, expenseId, fields, $completion);
1586
1724
  tmp.result_1 = Unit_instance;
@@ -1826,7 +1964,10 @@ function Expense$Companion$$childSerializers$_anonymous__8xw4q6() {
1826
1964
  return new ArrayListSerializer($serializer_getInstance_5());
1827
1965
  }
1828
1966
  function Expense$Companion$$childSerializers$_anonymous__8xw4q6_0() {
1829
- return Companion_getInstance_5().serializer_9w0wvi_k$();
1967
+ return new ArrayListSerializer($serializer_getInstance_5());
1968
+ }
1969
+ function Expense$Companion$$childSerializers$_anonymous__8xw4q6_1() {
1970
+ return Companion_getInstance_6().serializer_9w0wvi_k$();
1830
1971
  }
1831
1972
  function Companion_0() {
1832
1973
  Companion_instance_1 = this;
@@ -1834,10 +1975,12 @@ function Companion_0() {
1834
1975
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1835
1976
  var tmp_1 = lazy(tmp_0, Expense$Companion$$childSerializers$_anonymous__8xw4q6);
1836
1977
  var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1978
+ var tmp_3 = lazy(tmp_2, Expense$Companion$$childSerializers$_anonymous__8xw4q6_0);
1979
+ var tmp_4 = LazyThreadSafetyMode_PUBLICATION_getInstance();
1837
1980
  // Inline function 'kotlin.arrayOf' call
1838
1981
  // Inline function 'kotlin.js.unsafeCast' call
1839
1982
  // Inline function 'kotlin.js.asDynamic' call
1840
- tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, tmp_1, null, null, null, lazy(tmp_2, Expense$Companion$$childSerializers$_anonymous__8xw4q6_0)];
1983
+ tmp.$childSerializers_1 = [null, null, null, null, null, null, null, null, tmp_1, null, null, null, tmp_3, lazy(tmp_4, Expense$Companion$$childSerializers$_anonymous__8xw4q6_1)];
1841
1984
  }
1842
1985
  var Companion_instance_1;
1843
1986
  function Companion_getInstance_1() {
@@ -1847,7 +1990,7 @@ function Companion_getInstance_1() {
1847
1990
  }
1848
1991
  function $serializer_0() {
1849
1992
  $serializer_instance_0 = this;
1850
- var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Expense', this, 13);
1993
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.Expense', this, 14);
1851
1994
  tmp0_serialDesc.addElement_5pzumi_k$('account', false);
1852
1995
  tmp0_serialDesc.addElement_5pzumi_k$('amount', false);
1853
1996
  tmp0_serialDesc.addElement_5pzumi_k$('createdAt', false);
@@ -1860,6 +2003,7 @@ function $serializer_0() {
1860
2003
  tmp0_serialDesc.addElement_5pzumi_k$('expenseType', false);
1861
2004
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
1862
2005
  tmp0_serialDesc.addElement_5pzumi_k$('payableTo', true);
2006
+ tmp0_serialDesc.addElement_5pzumi_k$('processingHistory', true);
1863
2007
  tmp0_serialDesc.addElement_5pzumi_k$('status', false);
1864
2008
  this.descriptor_1 = tmp0_serialDesc;
1865
2009
  }
@@ -1891,7 +2035,10 @@ protoOf($serializer_0).serialize_8apmdy_k$ = function (encoder, value) {
1891
2035
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.payableTo == null)) {
1892
2036
  tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, $serializer_getInstance(), value.payableTo);
1893
2037
  }
1894
- tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.status);
2038
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 12) ? true : !(value.processingHistory == null)) {
2039
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 12, tmp2_cached[12].get_value_j01efc_k$(), value.processingHistory);
2040
+ }
2041
+ tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 13, tmp2_cached[13].get_value_j01efc_k$(), value.status);
1895
2042
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
1896
2043
  };
1897
2044
  protoOf($serializer_0).serialize_5ase3y_k$ = function (encoder, value) {
@@ -1915,100 +2062,107 @@ protoOf($serializer_0).deserialize_sy6x50_k$ = function (decoder) {
1915
2062
  var tmp14_local10 = 0n;
1916
2063
  var tmp15_local11 = null;
1917
2064
  var tmp16_local12 = null;
1918
- var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
1919
- var tmp18_cached = Companion_getInstance_1().$childSerializers_1;
1920
- if (tmp17_input.decodeSequentially_xlblqy_k$()) {
1921
- tmp4_local0 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
2065
+ var tmp17_local13 = null;
2066
+ var tmp18_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
2067
+ var tmp19_cached = Companion_getInstance_1().$childSerializers_1;
2068
+ if (tmp18_input.decodeSequentially_xlblqy_k$()) {
2069
+ tmp4_local0 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
1922
2070
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1923
- tmp5_local1 = tmp17_input.decodeDoubleElement_isei84_k$(tmp0_desc, 1);
2071
+ tmp5_local1 = tmp18_input.decodeDoubleElement_isei84_k$(tmp0_desc, 1);
1924
2072
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1925
- tmp6_local2 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
2073
+ tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
1926
2074
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1927
- tmp7_local3 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
2075
+ tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
1928
2076
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1929
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
2077
+ tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
1930
2078
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1931
- tmp9_local5 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
2079
+ tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1932
2080
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1933
- tmp10_local6 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, LocalDateSerializer_getInstance(), tmp10_local6);
2081
+ tmp10_local6 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, LocalDateSerializer_getInstance(), tmp10_local6);
1934
2082
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1935
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
2083
+ tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1936
2084
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1937
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
2085
+ tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp19_cached[8].get_value_j01efc_k$(), tmp12_local8);
1938
2086
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1939
- tmp13_local9 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
2087
+ tmp13_local9 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
1940
2088
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1941
- tmp14_local10 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 10);
2089
+ tmp14_local10 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 10);
1942
2090
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1943
- tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance(), tmp15_local11);
2091
+ tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance(), tmp15_local11);
1944
2092
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
1945
- tmp16_local12 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 12, tmp18_cached[12].get_value_j01efc_k$(), tmp16_local12);
2093
+ tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
1946
2094
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
2095
+ tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
2096
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
1947
2097
  } else
1948
2098
  while (tmp1_flag) {
1949
- tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
2099
+ tmp2_index = tmp18_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
1950
2100
  switch (tmp2_index) {
1951
2101
  case -1:
1952
2102
  tmp1_flag = false;
1953
2103
  break;
1954
2104
  case 0:
1955
- tmp4_local0 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
2105
+ tmp4_local0 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 0);
1956
2106
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
1957
2107
  break;
1958
2108
  case 1:
1959
- tmp5_local1 = tmp17_input.decodeDoubleElement_isei84_k$(tmp0_desc, 1);
2109
+ tmp5_local1 = tmp18_input.decodeDoubleElement_isei84_k$(tmp0_desc, 1);
1960
2110
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
1961
2111
  break;
1962
2112
  case 2:
1963
- tmp6_local2 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
2113
+ tmp6_local2 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 2, InstantSerializer_getInstance(), tmp6_local2);
1964
2114
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
1965
2115
  break;
1966
2116
  case 3:
1967
- tmp7_local3 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
2117
+ tmp7_local3 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 3, LongSerializer_getInstance(), tmp7_local3);
1968
2118
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
1969
2119
  break;
1970
2120
  case 4:
1971
- tmp8_local4 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
2121
+ tmp8_local4 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, LongSerializer_getInstance(), tmp8_local4);
1972
2122
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
1973
2123
  break;
1974
2124
  case 5:
1975
- tmp9_local5 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
2125
+ tmp9_local5 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
1976
2126
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
1977
2127
  break;
1978
2128
  case 6:
1979
- tmp10_local6 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, LocalDateSerializer_getInstance(), tmp10_local6);
2129
+ tmp10_local6 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 6, LocalDateSerializer_getInstance(), tmp10_local6);
1980
2130
  tmp3_bitMask0 = tmp3_bitMask0 | 64;
1981
2131
  break;
1982
2132
  case 7:
1983
- tmp11_local7 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
2133
+ tmp11_local7 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, StringSerializer_getInstance(), tmp11_local7);
1984
2134
  tmp3_bitMask0 = tmp3_bitMask0 | 128;
1985
2135
  break;
1986
2136
  case 8:
1987
- tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp18_cached[8].get_value_j01efc_k$(), tmp12_local8);
2137
+ tmp12_local8 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp19_cached[8].get_value_j01efc_k$(), tmp12_local8);
1988
2138
  tmp3_bitMask0 = tmp3_bitMask0 | 256;
1989
2139
  break;
1990
2140
  case 9:
1991
- tmp13_local9 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
2141
+ tmp13_local9 = tmp18_input.decodeStringElement_3oenpg_k$(tmp0_desc, 9);
1992
2142
  tmp3_bitMask0 = tmp3_bitMask0 | 512;
1993
2143
  break;
1994
2144
  case 10:
1995
- tmp14_local10 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 10);
2145
+ tmp14_local10 = tmp18_input.decodeLongElement_994anb_k$(tmp0_desc, 10);
1996
2146
  tmp3_bitMask0 = tmp3_bitMask0 | 1024;
1997
2147
  break;
1998
2148
  case 11:
1999
- tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance(), tmp15_local11);
2149
+ tmp15_local11 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, $serializer_getInstance(), tmp15_local11);
2000
2150
  tmp3_bitMask0 = tmp3_bitMask0 | 2048;
2001
2151
  break;
2002
2152
  case 12:
2003
- tmp16_local12 = tmp17_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 12, tmp18_cached[12].get_value_j01efc_k$(), tmp16_local12);
2153
+ tmp16_local12 = tmp18_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 12, tmp19_cached[12].get_value_j01efc_k$(), tmp16_local12);
2004
2154
  tmp3_bitMask0 = tmp3_bitMask0 | 4096;
2005
2155
  break;
2156
+ case 13:
2157
+ tmp17_local13 = tmp18_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 13, tmp19_cached[13].get_value_j01efc_k$(), tmp17_local13);
2158
+ tmp3_bitMask0 = tmp3_bitMask0 | 8192;
2159
+ break;
2006
2160
  default:
2007
2161
  throw UnknownFieldException_init_$Create$(tmp2_index);
2008
2162
  }
2009
2163
  }
2010
- tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
2011
- return Expense_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);
2164
+ tmp18_input.endStructure_1xqz0n_k$(tmp0_desc);
2165
+ return Expense_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, null);
2012
2166
  };
2013
2167
  protoOf($serializer_0).get_descriptor_wjt6a0_k$ = function () {
2014
2168
  return this.descriptor_1;
@@ -2018,7 +2172,7 @@ protoOf($serializer_0).childSerializers_5ghqw5_k$ = function () {
2018
2172
  // Inline function 'kotlin.arrayOf' call
2019
2173
  // Inline function 'kotlin.js.unsafeCast' call
2020
2174
  // Inline function 'kotlin.js.asDynamic' call
2021
- return [StringSerializer_getInstance(), DoubleSerializer_getInstance(), InstantSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LocalDateSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable($serializer_getInstance()), tmp0_cached[12].get_value_j01efc_k$()];
2175
+ return [StringSerializer_getInstance(), DoubleSerializer_getInstance(), InstantSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), LocalDateSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable($serializer_getInstance()), get_nullable(tmp0_cached[12].get_value_j01efc_k$()), tmp0_cached[13].get_value_j01efc_k$()];
2022
2176
  };
2023
2177
  var $serializer_instance_0;
2024
2178
  function $serializer_getInstance_3() {
@@ -2026,9 +2180,9 @@ function $serializer_getInstance_3() {
2026
2180
  new $serializer_0();
2027
2181
  return $serializer_instance_0;
2028
2182
  }
2029
- function Expense_init_$Init$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status, serializationConstructorMarker, $this) {
2030
- if (!(5703 === (5703 & seen0))) {
2031
- throwMissingFieldException(seen0, 5703, $serializer_getInstance_3().descriptor_1);
2183
+ function Expense_init_$Init$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status, serializationConstructorMarker, $this) {
2184
+ if (!(9799 === (9799 & seen0))) {
2185
+ throwMissingFieldException(seen0, 9799, $serializer_getInstance_3().descriptor_1);
2032
2186
  }
2033
2187
  $this.account = account;
2034
2188
  $this.amount = amount;
@@ -2060,13 +2214,17 @@ function Expense_init_$Init$(seen0, account, amount, createdAt, createdBy, creat
2060
2214
  $this.payableTo = null;
2061
2215
  else
2062
2216
  $this.payableTo = payableTo;
2217
+ if (0 === (seen0 & 4096))
2218
+ $this.processingHistory = null;
2219
+ else
2220
+ $this.processingHistory = processingHistory;
2063
2221
  $this.status = status;
2064
2222
  return $this;
2065
2223
  }
2066
- function Expense_init_$Create$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status, serializationConstructorMarker) {
2067
- return Expense_init_$Init$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status, serializationConstructorMarker, objectCreate(protoOf(Expense)));
2224
+ function Expense_init_$Create$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status, serializationConstructorMarker) {
2225
+ return Expense_init_$Init$(seen0, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status, serializationConstructorMarker, objectCreate(protoOf(Expense)));
2068
2226
  }
2069
- function Expense(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status) {
2227
+ function Expense(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status) {
2070
2228
  Companion_getInstance_1();
2071
2229
  createdBy = createdBy === VOID ? null : createdBy;
2072
2230
  createdByClientUserId = createdByClientUserId === VOID ? null : createdByClientUserId;
@@ -2074,6 +2232,7 @@ function Expense(account, amount, createdAt, createdBy, createdByClientUserId, c
2074
2232
  description = description === VOID ? null : description;
2075
2233
  expenseProcessing = expenseProcessing === VOID ? null : expenseProcessing;
2076
2234
  payableTo = payableTo === VOID ? null : payableTo;
2235
+ processingHistory = processingHistory === VOID ? null : processingHistory;
2077
2236
  this.account = account;
2078
2237
  this.amount = amount;
2079
2238
  this.createdAt = createdAt;
@@ -2086,6 +2245,7 @@ function Expense(account, amount, createdAt, createdBy, createdByClientUserId, c
2086
2245
  this.expenseType = expenseType;
2087
2246
  this.id = id;
2088
2247
  this.payableTo = payableTo;
2248
+ this.processingHistory = processingHistory;
2089
2249
  this.status = status;
2090
2250
  }
2091
2251
  protoOf(Expense).get_account_i7e30c_k$ = function () {
@@ -2124,6 +2284,9 @@ protoOf(Expense).get_id_kntnx8_k$ = function () {
2124
2284
  protoOf(Expense).get_payableTo_1crz3o_k$ = function () {
2125
2285
  return this.payableTo;
2126
2286
  };
2287
+ protoOf(Expense).get_processingHistory_rea4wo_k$ = function () {
2288
+ return this.processingHistory;
2289
+ };
2127
2290
  protoOf(Expense).get_status_jnf6d7_k$ = function () {
2128
2291
  return this.status;
2129
2292
  };
@@ -2164,12 +2327,15 @@ protoOf(Expense).component12_gazzfm_k$ = function () {
2164
2327
  return this.payableTo;
2165
2328
  };
2166
2329
  protoOf(Expense).component13_gazzfl_k$ = function () {
2330
+ return this.processingHistory;
2331
+ };
2332
+ protoOf(Expense).component14_gazzfk_k$ = function () {
2167
2333
  return this.status;
2168
2334
  };
2169
- protoOf(Expense).copy_h4f7it_k$ = function (account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status) {
2170
- return new Expense(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status);
2335
+ protoOf(Expense).copy_avvpqq_k$ = function (account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status) {
2336
+ return new Expense(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status);
2171
2337
  };
2172
- protoOf(Expense).copy = function (account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status, $super) {
2338
+ protoOf(Expense).copy = function (account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status, $super) {
2173
2339
  account = account === VOID ? this.account : account;
2174
2340
  amount = amount === VOID ? this.amount : amount;
2175
2341
  createdAt = createdAt === VOID ? this.createdAt : createdAt;
@@ -2182,11 +2348,12 @@ protoOf(Expense).copy = function (account, amount, createdAt, createdBy, created
2182
2348
  expenseType = expenseType === VOID ? this.expenseType : expenseType;
2183
2349
  id = id === VOID ? this.id : id;
2184
2350
  payableTo = payableTo === VOID ? this.payableTo : payableTo;
2351
+ processingHistory = processingHistory === VOID ? this.processingHistory : processingHistory;
2185
2352
  status = status === VOID ? this.status : status;
2186
- return $super === VOID ? this.copy_h4f7it_k$(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status) : $super.copy_h4f7it_k$.call(this, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, status);
2353
+ return $super === VOID ? this.copy_avvpqq_k$(account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status) : $super.copy_avvpqq_k$.call(this, account, amount, createdAt, createdBy, createdByClientUserId, createdByClientUserName, dateOfPurchase, description, expenseProcessing, expenseType, id, payableTo, processingHistory, status);
2187
2354
  };
2188
2355
  protoOf(Expense).toString = function () {
2189
- return 'Expense(account=' + this.account + ', amount=' + this.amount + ', createdAt=' + this.createdAt.toString() + ', createdBy=' + toString(this.createdBy) + ', createdByClientUserId=' + toString(this.createdByClientUserId) + ', createdByClientUserName=' + this.createdByClientUserName + ', dateOfPurchase=' + this.dateOfPurchase.toString() + ', description=' + this.description + ', expenseProcessing=' + toString(this.expenseProcessing) + ', expenseType=' + this.expenseType + ', id=' + this.id.toString() + ', payableTo=' + toString(this.payableTo) + ', status=' + this.status.toString() + ')';
2356
+ return 'Expense(account=' + this.account + ', amount=' + this.amount + ', createdAt=' + this.createdAt.toString() + ', createdBy=' + toString(this.createdBy) + ', createdByClientUserId=' + toString(this.createdByClientUserId) + ', createdByClientUserName=' + this.createdByClientUserName + ', dateOfPurchase=' + this.dateOfPurchase.toString() + ', description=' + this.description + ', expenseProcessing=' + toString(this.expenseProcessing) + ', expenseType=' + this.expenseType + ', id=' + this.id.toString() + ', payableTo=' + toString(this.payableTo) + ', processingHistory=' + toString(this.processingHistory) + ', status=' + this.status.toString() + ')';
2190
2357
  };
2191
2358
  protoOf(Expense).hashCode = function () {
2192
2359
  var result = getStringHashCode(this.account);
@@ -2201,6 +2368,7 @@ protoOf(Expense).hashCode = function () {
2201
2368
  result = imul(result, 31) + getStringHashCode(this.expenseType) | 0;
2202
2369
  result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
2203
2370
  result = imul(result, 31) + (this.payableTo == null ? 0 : this.payableTo.hashCode()) | 0;
2371
+ result = imul(result, 31) + (this.processingHistory == null ? 0 : hashCode(this.processingHistory)) | 0;
2204
2372
  result = imul(result, 31) + this.status.hashCode() | 0;
2205
2373
  return result;
2206
2374
  };
@@ -2233,6 +2401,8 @@ protoOf(Expense).equals = function (other) {
2233
2401
  return false;
2234
2402
  if (!equals(this.payableTo, other.payableTo))
2235
2403
  return false;
2404
+ if (!equals(this.processingHistory, other.processingHistory))
2405
+ return false;
2236
2406
  if (!this.status.equals(other.status))
2237
2407
  return false;
2238
2408
  return true;
@@ -2729,6 +2899,133 @@ function ExpenseProcessingResult_REJECTED_getInstance() {
2729
2899
  static_init();
2730
2900
  return ExpenseProcessingResult_REJECTED_instance;
2731
2901
  }
2902
+ function Companion_4() {
2903
+ }
2904
+ var Companion_instance_5;
2905
+ function Companion_getInstance_5() {
2906
+ return Companion_instance_5;
2907
+ }
2908
+ function $serializer_3() {
2909
+ $serializer_instance_3 = this;
2910
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.ExpenseReminder', this, 2);
2911
+ tmp0_serialDesc.addElement_5pzumi_k$('remindedCount', false);
2912
+ tmp0_serialDesc.addElement_5pzumi_k$('unreachableCount', false);
2913
+ this.descriptor_1 = tmp0_serialDesc;
2914
+ }
2915
+ protoOf($serializer_3).serialize_5sspso_k$ = function (encoder, value) {
2916
+ var tmp0_desc = this.descriptor_1;
2917
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
2918
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.remindedCount);
2919
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 1, value.unreachableCount);
2920
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
2921
+ };
2922
+ protoOf($serializer_3).serialize_5ase3y_k$ = function (encoder, value) {
2923
+ return this.serialize_5sspso_k$(encoder, value instanceof ExpenseReminder ? value : THROW_CCE());
2924
+ };
2925
+ protoOf($serializer_3).deserialize_sy6x50_k$ = function (decoder) {
2926
+ var tmp0_desc = this.descriptor_1;
2927
+ var tmp1_flag = true;
2928
+ var tmp2_index = 0;
2929
+ var tmp3_bitMask0 = 0;
2930
+ var tmp4_local0 = 0n;
2931
+ var tmp5_local1 = 0n;
2932
+ var tmp6_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
2933
+ if (tmp6_input.decodeSequentially_xlblqy_k$()) {
2934
+ tmp4_local0 = tmp6_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
2935
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
2936
+ tmp5_local1 = tmp6_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
2937
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
2938
+ } else
2939
+ while (tmp1_flag) {
2940
+ tmp2_index = tmp6_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
2941
+ switch (tmp2_index) {
2942
+ case -1:
2943
+ tmp1_flag = false;
2944
+ break;
2945
+ case 0:
2946
+ tmp4_local0 = tmp6_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
2947
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
2948
+ break;
2949
+ case 1:
2950
+ tmp5_local1 = tmp6_input.decodeLongElement_994anb_k$(tmp0_desc, 1);
2951
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
2952
+ break;
2953
+ default:
2954
+ throw UnknownFieldException_init_$Create$(tmp2_index);
2955
+ }
2956
+ }
2957
+ tmp6_input.endStructure_1xqz0n_k$(tmp0_desc);
2958
+ return ExpenseReminder_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
2959
+ };
2960
+ protoOf($serializer_3).get_descriptor_wjt6a0_k$ = function () {
2961
+ return this.descriptor_1;
2962
+ };
2963
+ protoOf($serializer_3).childSerializers_5ghqw5_k$ = function () {
2964
+ // Inline function 'kotlin.arrayOf' call
2965
+ // Inline function 'kotlin.js.unsafeCast' call
2966
+ // Inline function 'kotlin.js.asDynamic' call
2967
+ return [LongSerializer_getInstance(), LongSerializer_getInstance()];
2968
+ };
2969
+ var $serializer_instance_3;
2970
+ function $serializer_getInstance_6() {
2971
+ if ($serializer_instance_3 == null)
2972
+ new $serializer_3();
2973
+ return $serializer_instance_3;
2974
+ }
2975
+ function ExpenseReminder_init_$Init$(seen0, remindedCount, unreachableCount, serializationConstructorMarker, $this) {
2976
+ if (!(3 === (3 & seen0))) {
2977
+ throwMissingFieldException(seen0, 3, $serializer_getInstance_6().descriptor_1);
2978
+ }
2979
+ $this.remindedCount = remindedCount;
2980
+ $this.unreachableCount = unreachableCount;
2981
+ return $this;
2982
+ }
2983
+ function ExpenseReminder_init_$Create$(seen0, remindedCount, unreachableCount, serializationConstructorMarker) {
2984
+ return ExpenseReminder_init_$Init$(seen0, remindedCount, unreachableCount, serializationConstructorMarker, objectCreate(protoOf(ExpenseReminder)));
2985
+ }
2986
+ function ExpenseReminder(remindedCount, unreachableCount) {
2987
+ this.remindedCount = remindedCount;
2988
+ this.unreachableCount = unreachableCount;
2989
+ }
2990
+ protoOf(ExpenseReminder).get_remindedCount_o261b2_k$ = function () {
2991
+ return this.remindedCount;
2992
+ };
2993
+ protoOf(ExpenseReminder).get_unreachableCount_tehkkk_k$ = function () {
2994
+ return this.unreachableCount;
2995
+ };
2996
+ protoOf(ExpenseReminder).component1_7eebsc_k$ = function () {
2997
+ return this.remindedCount;
2998
+ };
2999
+ protoOf(ExpenseReminder).component2_7eebsb_k$ = function () {
3000
+ return this.unreachableCount;
3001
+ };
3002
+ protoOf(ExpenseReminder).copy_g4jkqz_k$ = function (remindedCount, unreachableCount) {
3003
+ return new ExpenseReminder(remindedCount, unreachableCount);
3004
+ };
3005
+ protoOf(ExpenseReminder).copy = function (remindedCount, unreachableCount, $super) {
3006
+ remindedCount = remindedCount === VOID ? this.remindedCount : remindedCount;
3007
+ unreachableCount = unreachableCount === VOID ? this.unreachableCount : unreachableCount;
3008
+ return $super === VOID ? this.copy_g4jkqz_k$(remindedCount, unreachableCount) : $super.copy_g4jkqz_k$.call(this, remindedCount, unreachableCount);
3009
+ };
3010
+ protoOf(ExpenseReminder).toString = function () {
3011
+ return 'ExpenseReminder(remindedCount=' + this.remindedCount.toString() + ', unreachableCount=' + this.unreachableCount.toString() + ')';
3012
+ };
3013
+ protoOf(ExpenseReminder).hashCode = function () {
3014
+ var result = getBigIntHashCode(this.remindedCount);
3015
+ result = imul(result, 31) + getBigIntHashCode(this.unreachableCount) | 0;
3016
+ return result;
3017
+ };
3018
+ protoOf(ExpenseReminder).equals = function (other) {
3019
+ if (this === other)
3020
+ return true;
3021
+ if (!(other instanceof ExpenseReminder))
3022
+ return false;
3023
+ if (!(this.remindedCount === other.remindedCount))
3024
+ return false;
3025
+ if (!(this.unreachableCount === other.unreachableCount))
3026
+ return false;
3027
+ return true;
3028
+ };
2732
3029
  function _get_$cachedSerializer__te6jhj_0($this) {
2733
3030
  return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
2734
3031
  }
@@ -2752,16 +3049,16 @@ function static_init_0() {
2752
3049
  ExpenseStatus_FOR_APPROVAL_instance = new ExpenseStatus('FOR_APPROVAL', 0, 'FOR_APPROVAL');
2753
3050
  ExpenseStatus_APPROVED_instance = new ExpenseStatus('APPROVED', 1, 'APPROVED');
2754
3051
  ExpenseStatus_REJECTED_instance = new ExpenseStatus('REJECTED', 2, 'REJECTED');
2755
- if (Companion_instance_5 == null) {
3052
+ if (Companion_instance_6 == null) {
2756
3053
  Companion_instance;
2757
- new Companion_4();
3054
+ new Companion_5();
2758
3055
  }
2759
3056
  }
2760
3057
  var ExpenseStatus_FOR_APPROVAL_instance;
2761
3058
  var ExpenseStatus_APPROVED_instance;
2762
3059
  var ExpenseStatus_REJECTED_instance;
2763
- function Companion_4() {
2764
- Companion_instance_5 = this;
3060
+ function Companion_5() {
3061
+ Companion_instance_6 = this;
2765
3062
  var tmp = this;
2766
3063
  // Inline function 'kotlin.collections.associateBy' call
2767
3064
  var this_0 = get_entries_0();
@@ -2779,19 +3076,19 @@ function Companion_4() {
2779
3076
  var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
2780
3077
  tmp_0.$cachedSerializer$delegate_1 = lazy(tmp_1, ExpenseStatus$Companion$_anonymous__ja4gdh);
2781
3078
  }
2782
- protoOf(Companion_4).fromValue = function (value) {
3079
+ protoOf(Companion_5).fromValue = function (value) {
2783
3080
  return this.mapping_1.get_wei43m_k$(value);
2784
3081
  };
2785
- protoOf(Companion_4).serializer_9w0wvi_k$ = function () {
3082
+ protoOf(Companion_5).serializer_9w0wvi_k$ = function () {
2786
3083
  return _get_$cachedSerializer__te6jhj_0(this);
2787
3084
  };
2788
- protoOf(Companion_4).serializer_nv39qc_k$ = function (typeParamsSerializers) {
3085
+ protoOf(Companion_5).serializer_nv39qc_k$ = function (typeParamsSerializers) {
2789
3086
  return this.serializer_9w0wvi_k$();
2790
3087
  };
2791
- var Companion_instance_5;
2792
- function Companion_getInstance_5() {
3088
+ var Companion_instance_6;
3089
+ function Companion_getInstance_6() {
2793
3090
  static_init_0();
2794
- return Companion_instance_5;
3091
+ return Companion_instance_6;
2795
3092
  }
2796
3093
  function values_0() {
2797
3094
  static_init_0();
@@ -2840,14 +3137,14 @@ function ExpenseStatus_REJECTED_getInstance() {
2840
3137
  static_init_0();
2841
3138
  return ExpenseStatus_REJECTED_instance;
2842
3139
  }
2843
- function Companion_5() {
3140
+ function Companion_6() {
2844
3141
  }
2845
- var Companion_instance_6;
2846
- function Companion_getInstance_6() {
2847
- return Companion_instance_6;
3142
+ var Companion_instance_7;
3143
+ function Companion_getInstance_7() {
3144
+ return Companion_instance_7;
2848
3145
  }
2849
- function $serializer_3() {
2850
- $serializer_instance_3 = this;
3146
+ function $serializer_4() {
3147
+ $serializer_instance_4 = this;
2851
3148
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.ExpenseType', this, 4);
2852
3149
  tmp0_serialDesc.addElement_5pzumi_k$('description', true);
2853
3150
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
@@ -2855,7 +3152,7 @@ function $serializer_3() {
2855
3152
  tmp0_serialDesc.addElement_5pzumi_k$('tripletexId', true);
2856
3153
  this.descriptor_1 = tmp0_serialDesc;
2857
3154
  }
2858
- protoOf($serializer_3).serialize_f7iqfk_k$ = function (encoder, value) {
3155
+ protoOf($serializer_4).serialize_f7iqfk_k$ = function (encoder, value) {
2859
3156
  var tmp0_desc = this.descriptor_1;
2860
3157
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
2861
3158
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.description == null)) {
@@ -2868,10 +3165,10 @@ protoOf($serializer_3).serialize_f7iqfk_k$ = function (encoder, value) {
2868
3165
  }
2869
3166
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
2870
3167
  };
2871
- protoOf($serializer_3).serialize_5ase3y_k$ = function (encoder, value) {
3168
+ protoOf($serializer_4).serialize_5ase3y_k$ = function (encoder, value) {
2872
3169
  return this.serialize_f7iqfk_k$(encoder, value instanceof ExpenseType ? value : THROW_CCE());
2873
3170
  };
2874
- protoOf($serializer_3).deserialize_sy6x50_k$ = function (decoder) {
3171
+ protoOf($serializer_4).deserialize_sy6x50_k$ = function (decoder) {
2875
3172
  var tmp0_desc = this.descriptor_1;
2876
3173
  var tmp1_flag = true;
2877
3174
  var tmp2_index = 0;
@@ -2920,24 +3217,24 @@ protoOf($serializer_3).deserialize_sy6x50_k$ = function (decoder) {
2920
3217
  tmp8_input.endStructure_1xqz0n_k$(tmp0_desc);
2921
3218
  return ExpenseType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
2922
3219
  };
2923
- protoOf($serializer_3).get_descriptor_wjt6a0_k$ = function () {
3220
+ protoOf($serializer_4).get_descriptor_wjt6a0_k$ = function () {
2924
3221
  return this.descriptor_1;
2925
3222
  };
2926
- protoOf($serializer_3).childSerializers_5ghqw5_k$ = function () {
3223
+ protoOf($serializer_4).childSerializers_5ghqw5_k$ = function () {
2927
3224
  // Inline function 'kotlin.arrayOf' call
2928
3225
  // Inline function 'kotlin.js.unsafeCast' call
2929
3226
  // Inline function 'kotlin.js.asDynamic' call
2930
3227
  return [get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
2931
3228
  };
2932
- var $serializer_instance_3;
2933
- function $serializer_getInstance_6() {
2934
- if ($serializer_instance_3 == null)
2935
- new $serializer_3();
2936
- return $serializer_instance_3;
3229
+ var $serializer_instance_4;
3230
+ function $serializer_getInstance_7() {
3231
+ if ($serializer_instance_4 == null)
3232
+ new $serializer_4();
3233
+ return $serializer_instance_4;
2937
3234
  }
2938
3235
  function ExpenseType_init_$Init$(seen0, description, id, name, tripletexId, serializationConstructorMarker, $this) {
2939
3236
  if (!(6 === (6 & seen0))) {
2940
- throwMissingFieldException(seen0, 6, $serializer_getInstance_6().descriptor_1);
3237
+ throwMissingFieldException(seen0, 6, $serializer_getInstance_7().descriptor_1);
2941
3238
  }
2942
3239
  if (0 === (seen0 & 1))
2943
3240
  $this.description = null;
@@ -3024,8 +3321,8 @@ protoOf(ExpenseType).equals = function (other) {
3024
3321
  function PagedListExpense$Companion$$childSerializers$_anonymous__vrp4mz() {
3025
3322
  return new ArrayListSerializer($serializer_getInstance_3());
3026
3323
  }
3027
- function Companion_6() {
3028
- Companion_instance_7 = this;
3324
+ function Companion_7() {
3325
+ Companion_instance_8 = this;
3029
3326
  var tmp = this;
3030
3327
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3031
3328
  // Inline function 'kotlin.arrayOf' call
@@ -3033,33 +3330,33 @@ function Companion_6() {
3033
3330
  // Inline function 'kotlin.js.asDynamic' call
3034
3331
  tmp.$childSerializers_1 = [lazy(tmp_0, PagedListExpense$Companion$$childSerializers$_anonymous__vrp4mz), null, null];
3035
3332
  }
3036
- var Companion_instance_7;
3037
- function Companion_getInstance_7() {
3038
- if (Companion_instance_7 == null)
3039
- new Companion_6();
3040
- return Companion_instance_7;
3333
+ var Companion_instance_8;
3334
+ function Companion_getInstance_8() {
3335
+ if (Companion_instance_8 == null)
3336
+ new Companion_7();
3337
+ return Companion_instance_8;
3041
3338
  }
3042
- function $serializer_4() {
3043
- $serializer_instance_4 = this;
3339
+ function $serializer_5() {
3340
+ $serializer_instance_5 = this;
3044
3341
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.PagedListExpense', this, 3);
3045
3342
  tmp0_serialDesc.addElement_5pzumi_k$('items', false);
3046
3343
  tmp0_serialDesc.addElement_5pzumi_k$('meta', false);
3047
3344
  tmp0_serialDesc.addElement_5pzumi_k$('paging', false);
3048
3345
  this.descriptor_1 = tmp0_serialDesc;
3049
3346
  }
3050
- protoOf($serializer_4).serialize_feq9t_k$ = function (encoder, value) {
3347
+ protoOf($serializer_5).serialize_feq9t_k$ = function (encoder, value) {
3051
3348
  var tmp0_desc = this.descriptor_1;
3052
3349
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
3053
- var tmp2_cached = Companion_getInstance_7().$childSerializers_1;
3350
+ var tmp2_cached = Companion_getInstance_8().$childSerializers_1;
3054
3351
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.items);
3055
3352
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, $serializer_getInstance_0(), value.meta);
3056
3353
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, $serializer_getInstance_1(), value.paging);
3057
3354
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
3058
3355
  };
3059
- protoOf($serializer_4).serialize_5ase3y_k$ = function (encoder, value) {
3356
+ protoOf($serializer_5).serialize_5ase3y_k$ = function (encoder, value) {
3060
3357
  return this.serialize_feq9t_k$(encoder, value instanceof PagedListExpense ? value : THROW_CCE());
3061
3358
  };
3062
- protoOf($serializer_4).deserialize_sy6x50_k$ = function (decoder) {
3359
+ protoOf($serializer_5).deserialize_sy6x50_k$ = function (decoder) {
3063
3360
  var tmp0_desc = this.descriptor_1;
3064
3361
  var tmp1_flag = true;
3065
3362
  var tmp2_index = 0;
@@ -3068,7 +3365,7 @@ protoOf($serializer_4).deserialize_sy6x50_k$ = function (decoder) {
3068
3365
  var tmp5_local1 = null;
3069
3366
  var tmp6_local2 = null;
3070
3367
  var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
3071
- var tmp8_cached = Companion_getInstance_7().$childSerializers_1;
3368
+ var tmp8_cached = Companion_getInstance_8().$childSerializers_1;
3072
3369
  if (tmp7_input.decodeSequentially_xlblqy_k$()) {
3073
3370
  tmp4_local0 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp8_cached[0].get_value_j01efc_k$(), tmp4_local0);
3074
3371
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -3102,24 +3399,24 @@ protoOf($serializer_4).deserialize_sy6x50_k$ = function (decoder) {
3102
3399
  tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
3103
3400
  return PagedListExpense_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
3104
3401
  };
3105
- protoOf($serializer_4).get_descriptor_wjt6a0_k$ = function () {
3402
+ protoOf($serializer_5).get_descriptor_wjt6a0_k$ = function () {
3106
3403
  return this.descriptor_1;
3107
3404
  };
3108
- protoOf($serializer_4).childSerializers_5ghqw5_k$ = function () {
3405
+ protoOf($serializer_5).childSerializers_5ghqw5_k$ = function () {
3109
3406
  // Inline function 'kotlin.arrayOf' call
3110
3407
  // Inline function 'kotlin.js.unsafeCast' call
3111
3408
  // Inline function 'kotlin.js.asDynamic' call
3112
- return [Companion_getInstance_7().$childSerializers_1[0].get_value_j01efc_k$(), $serializer_getInstance_0(), $serializer_getInstance_1()];
3409
+ return [Companion_getInstance_8().$childSerializers_1[0].get_value_j01efc_k$(), $serializer_getInstance_0(), $serializer_getInstance_1()];
3113
3410
  };
3114
- var $serializer_instance_4;
3115
- function $serializer_getInstance_7() {
3116
- if ($serializer_instance_4 == null)
3117
- new $serializer_4();
3118
- return $serializer_instance_4;
3411
+ var $serializer_instance_5;
3412
+ function $serializer_getInstance_8() {
3413
+ if ($serializer_instance_5 == null)
3414
+ new $serializer_5();
3415
+ return $serializer_instance_5;
3119
3416
  }
3120
3417
  function PagedListExpense_init_$Init$(seen0, items, meta, paging, serializationConstructorMarker, $this) {
3121
3418
  if (!(7 === (7 & seen0))) {
3122
- throwMissingFieldException(seen0, 7, $serializer_getInstance_7().descriptor_1);
3419
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_8().descriptor_1);
3123
3420
  }
3124
3421
  $this.items = items;
3125
3422
  $this.meta = meta;
@@ -3130,7 +3427,7 @@ function PagedListExpense_init_$Create$(seen0, items, meta, paging, serializatio
3130
3427
  return PagedListExpense_init_$Init$(seen0, items, meta, paging, serializationConstructorMarker, objectCreate(protoOf(PagedListExpense)));
3131
3428
  }
3132
3429
  function PagedListExpense(items, meta, paging) {
3133
- Companion_getInstance_7();
3430
+ Companion_getInstance_8();
3134
3431
  this.items = items;
3135
3432
  this.meta = meta;
3136
3433
  this.paging = paging;
@@ -3185,10 +3482,10 @@ protoOf(PagedListExpense).equals = function (other) {
3185
3482
  return true;
3186
3483
  };
3187
3484
  function PagedListExpenseType$Companion$$childSerializers$_anonymous__18fgq3() {
3188
- return new ArrayListSerializer($serializer_getInstance_6());
3485
+ return new ArrayListSerializer($serializer_getInstance_7());
3189
3486
  }
3190
- function Companion_7() {
3191
- Companion_instance_8 = this;
3487
+ function Companion_8() {
3488
+ Companion_instance_9 = this;
3192
3489
  var tmp = this;
3193
3490
  var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
3194
3491
  // Inline function 'kotlin.arrayOf' call
@@ -3196,33 +3493,33 @@ function Companion_7() {
3196
3493
  // Inline function 'kotlin.js.asDynamic' call
3197
3494
  tmp.$childSerializers_1 = [lazy(tmp_0, PagedListExpenseType$Companion$$childSerializers$_anonymous__18fgq3), null, null];
3198
3495
  }
3199
- var Companion_instance_8;
3200
- function Companion_getInstance_8() {
3201
- if (Companion_instance_8 == null)
3202
- new Companion_7();
3203
- return Companion_instance_8;
3496
+ var Companion_instance_9;
3497
+ function Companion_getInstance_9() {
3498
+ if (Companion_instance_9 == null)
3499
+ new Companion_8();
3500
+ return Companion_instance_9;
3204
3501
  }
3205
- function $serializer_5() {
3206
- $serializer_instance_5 = this;
3502
+ function $serializer_6() {
3503
+ $serializer_instance_6 = this;
3207
3504
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.PagedListExpenseType', this, 3);
3208
3505
  tmp0_serialDesc.addElement_5pzumi_k$('items', false);
3209
3506
  tmp0_serialDesc.addElement_5pzumi_k$('meta', false);
3210
3507
  tmp0_serialDesc.addElement_5pzumi_k$('paging', false);
3211
3508
  this.descriptor_1 = tmp0_serialDesc;
3212
3509
  }
3213
- protoOf($serializer_5).serialize_8rjj6t_k$ = function (encoder, value) {
3510
+ protoOf($serializer_6).serialize_8rjj6t_k$ = function (encoder, value) {
3214
3511
  var tmp0_desc = this.descriptor_1;
3215
3512
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
3216
- var tmp2_cached = Companion_getInstance_8().$childSerializers_1;
3513
+ var tmp2_cached = Companion_getInstance_9().$childSerializers_1;
3217
3514
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 0, tmp2_cached[0].get_value_j01efc_k$(), value.items);
3218
3515
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, $serializer_getInstance_0(), value.meta);
3219
3516
  tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 2, $serializer_getInstance_1(), value.paging);
3220
3517
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
3221
3518
  };
3222
- protoOf($serializer_5).serialize_5ase3y_k$ = function (encoder, value) {
3519
+ protoOf($serializer_6).serialize_5ase3y_k$ = function (encoder, value) {
3223
3520
  return this.serialize_8rjj6t_k$(encoder, value instanceof PagedListExpenseType ? value : THROW_CCE());
3224
3521
  };
3225
- protoOf($serializer_5).deserialize_sy6x50_k$ = function (decoder) {
3522
+ protoOf($serializer_6).deserialize_sy6x50_k$ = function (decoder) {
3226
3523
  var tmp0_desc = this.descriptor_1;
3227
3524
  var tmp1_flag = true;
3228
3525
  var tmp2_index = 0;
@@ -3231,7 +3528,7 @@ protoOf($serializer_5).deserialize_sy6x50_k$ = function (decoder) {
3231
3528
  var tmp5_local1 = null;
3232
3529
  var tmp6_local2 = null;
3233
3530
  var tmp7_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
3234
- var tmp8_cached = Companion_getInstance_8().$childSerializers_1;
3531
+ var tmp8_cached = Companion_getInstance_9().$childSerializers_1;
3235
3532
  if (tmp7_input.decodeSequentially_xlblqy_k$()) {
3236
3533
  tmp4_local0 = tmp7_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 0, tmp8_cached[0].get_value_j01efc_k$(), tmp4_local0);
3237
3534
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
@@ -3265,24 +3562,24 @@ protoOf($serializer_5).deserialize_sy6x50_k$ = function (decoder) {
3265
3562
  tmp7_input.endStructure_1xqz0n_k$(tmp0_desc);
3266
3563
  return PagedListExpenseType_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
3267
3564
  };
3268
- protoOf($serializer_5).get_descriptor_wjt6a0_k$ = function () {
3565
+ protoOf($serializer_6).get_descriptor_wjt6a0_k$ = function () {
3269
3566
  return this.descriptor_1;
3270
3567
  };
3271
- protoOf($serializer_5).childSerializers_5ghqw5_k$ = function () {
3568
+ protoOf($serializer_6).childSerializers_5ghqw5_k$ = function () {
3272
3569
  // Inline function 'kotlin.arrayOf' call
3273
3570
  // Inline function 'kotlin.js.unsafeCast' call
3274
3571
  // Inline function 'kotlin.js.asDynamic' call
3275
- return [Companion_getInstance_8().$childSerializers_1[0].get_value_j01efc_k$(), $serializer_getInstance_0(), $serializer_getInstance_1()];
3572
+ return [Companion_getInstance_9().$childSerializers_1[0].get_value_j01efc_k$(), $serializer_getInstance_0(), $serializer_getInstance_1()];
3276
3573
  };
3277
- var $serializer_instance_5;
3278
- function $serializer_getInstance_8() {
3279
- if ($serializer_instance_5 == null)
3280
- new $serializer_5();
3281
- return $serializer_instance_5;
3574
+ var $serializer_instance_6;
3575
+ function $serializer_getInstance_9() {
3576
+ if ($serializer_instance_6 == null)
3577
+ new $serializer_6();
3578
+ return $serializer_instance_6;
3282
3579
  }
3283
3580
  function PagedListExpenseType_init_$Init$(seen0, items, meta, paging, serializationConstructorMarker, $this) {
3284
3581
  if (!(7 === (7 & seen0))) {
3285
- throwMissingFieldException(seen0, 7, $serializer_getInstance_8().descriptor_1);
3582
+ throwMissingFieldException(seen0, 7, $serializer_getInstance_9().descriptor_1);
3286
3583
  }
3287
3584
  $this.items = items;
3288
3585
  $this.meta = meta;
@@ -3293,7 +3590,7 @@ function PagedListExpenseType_init_$Create$(seen0, items, meta, paging, serializ
3293
3590
  return PagedListExpenseType_init_$Init$(seen0, items, meta, paging, serializationConstructorMarker, objectCreate(protoOf(PagedListExpenseType)));
3294
3591
  }
3295
3592
  function PagedListExpenseType(items, meta, paging) {
3296
- Companion_getInstance_8();
3593
+ Companion_getInstance_9();
3297
3594
  this.items = items;
3298
3595
  this.meta = meta;
3299
3596
  this.paging = paging;
@@ -3347,19 +3644,19 @@ protoOf(PagedListExpenseType).equals = function (other) {
3347
3644
  return false;
3348
3645
  return true;
3349
3646
  };
3350
- function Companion_8() {
3647
+ function Companion_9() {
3351
3648
  }
3352
- var Companion_instance_9;
3353
- function Companion_getInstance_9() {
3354
- return Companion_instance_9;
3649
+ var Companion_instance_10;
3650
+ function Companion_getInstance_10() {
3651
+ return Companion_instance_10;
3355
3652
  }
3356
- function $serializer_6() {
3357
- $serializer_instance_6 = this;
3653
+ function $serializer_7() {
3654
+ $serializer_instance_7 = this;
3358
3655
  var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('no.solibo.oss.sdk.api.gen.models.RejectExpenseCommand', this, 1);
3359
3656
  tmp0_serialDesc.addElement_5pzumi_k$('reason', true);
3360
3657
  this.descriptor_1 = tmp0_serialDesc;
3361
3658
  }
3362
- protoOf($serializer_6).serialize_kwbm9e_k$ = function (encoder, value) {
3659
+ protoOf($serializer_7).serialize_kwbm9e_k$ = function (encoder, value) {
3363
3660
  var tmp0_desc = this.descriptor_1;
3364
3661
  var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
3365
3662
  if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.reason == null)) {
@@ -3367,10 +3664,10 @@ protoOf($serializer_6).serialize_kwbm9e_k$ = function (encoder, value) {
3367
3664
  }
3368
3665
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
3369
3666
  };
3370
- protoOf($serializer_6).serialize_5ase3y_k$ = function (encoder, value) {
3667
+ protoOf($serializer_7).serialize_5ase3y_k$ = function (encoder, value) {
3371
3668
  return this.serialize_kwbm9e_k$(encoder, value instanceof RejectExpenseCommand ? value : THROW_CCE());
3372
3669
  };
3373
- protoOf($serializer_6).deserialize_sy6x50_k$ = function (decoder) {
3670
+ protoOf($serializer_7).deserialize_sy6x50_k$ = function (decoder) {
3374
3671
  var tmp0_desc = this.descriptor_1;
3375
3672
  var tmp1_flag = true;
3376
3673
  var tmp2_index = 0;
@@ -3398,24 +3695,24 @@ protoOf($serializer_6).deserialize_sy6x50_k$ = function (decoder) {
3398
3695
  tmp5_input.endStructure_1xqz0n_k$(tmp0_desc);
3399
3696
  return RejectExpenseCommand_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
3400
3697
  };
3401
- protoOf($serializer_6).get_descriptor_wjt6a0_k$ = function () {
3698
+ protoOf($serializer_7).get_descriptor_wjt6a0_k$ = function () {
3402
3699
  return this.descriptor_1;
3403
3700
  };
3404
- protoOf($serializer_6).childSerializers_5ghqw5_k$ = function () {
3701
+ protoOf($serializer_7).childSerializers_5ghqw5_k$ = function () {
3405
3702
  // Inline function 'kotlin.arrayOf' call
3406
3703
  // Inline function 'kotlin.js.unsafeCast' call
3407
3704
  // Inline function 'kotlin.js.asDynamic' call
3408
3705
  return [get_nullable(StringSerializer_getInstance())];
3409
3706
  };
3410
- var $serializer_instance_6;
3411
- function $serializer_getInstance_9() {
3412
- if ($serializer_instance_6 == null)
3413
- new $serializer_6();
3414
- return $serializer_instance_6;
3707
+ var $serializer_instance_7;
3708
+ function $serializer_getInstance_10() {
3709
+ if ($serializer_instance_7 == null)
3710
+ new $serializer_7();
3711
+ return $serializer_instance_7;
3415
3712
  }
3416
3713
  function RejectExpenseCommand_init_$Init$(seen0, reason, serializationConstructorMarker, $this) {
3417
3714
  if (!(0 === (0 & seen0))) {
3418
- throwMissingFieldException(seen0, 0, $serializer_getInstance_9().descriptor_1);
3715
+ throwMissingFieldException(seen0, 0, $serializer_getInstance_10().descriptor_1);
3419
3716
  }
3420
3717
  if (0 === (seen0 & 1))
3421
3718
  $this.reason = null;
@@ -3465,18 +3762,20 @@ protoOf($serializer_1).typeParametersSerializers_fr94fx_k$ = typeParametersSeria
3465
3762
  protoOf($serializer_2).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3466
3763
  defineProp(protoOf(ExpenseProcessingResult), 'name', protoOf(ExpenseProcessingResult).get_name_woqyms_k$);
3467
3764
  defineProp(protoOf(ExpenseProcessingResult), 'ordinal', protoOf(ExpenseProcessingResult).get_ordinal_ip24qg_k$);
3765
+ protoOf($serializer_3).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3468
3766
  defineProp(protoOf(ExpenseStatus), 'name', protoOf(ExpenseStatus).get_name_woqyms_k$);
3469
3767
  defineProp(protoOf(ExpenseStatus), 'ordinal', protoOf(ExpenseStatus).get_ordinal_ip24qg_k$);
3470
- protoOf($serializer_3).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3471
3768
  protoOf($serializer_4).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3472
3769
  protoOf($serializer_5).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3473
3770
  protoOf($serializer_6).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3771
+ protoOf($serializer_7).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
3474
3772
  //endregion
3475
3773
  //region block: init
3476
3774
  Companion_instance_0 = new Companion();
3477
3775
  Companion_instance_2 = new Companion_1();
3478
- Companion_instance_6 = new Companion_5();
3479
- Companion_instance_9 = new Companion_8();
3776
+ Companion_instance_5 = new Companion_4();
3777
+ Companion_instance_7 = new Companion_6();
3778
+ Companion_instance_10 = new Companion_9();
3480
3779
  //endregion
3481
3780
  //region block: exports
3482
3781
  ExpenseApi.create = create;
@@ -3491,7 +3790,7 @@ ExpenseStatus.valueOf = valueOf_0;
3491
3790
  defineProp(ExpenseStatus, 'FOR_APPROVAL', ExpenseStatus_FOR_APPROVAL_getInstance, VOID, true);
3492
3791
  defineProp(ExpenseStatus, 'APPROVED', ExpenseStatus_APPROVED_getInstance, VOID, true);
3493
3792
  defineProp(ExpenseStatus, 'REJECTED', ExpenseStatus_REJECTED_getInstance, VOID, true);
3494
- defineProp(ExpenseStatus, 'Companion', Companion_getInstance_5, VOID, true);
3793
+ defineProp(ExpenseStatus, 'Companion', Companion_getInstance_6, VOID, true);
3495
3794
  export {
3496
3795
  expenseApi as expenseApi,
3497
3796
  ExpenseApi as ExpenseApi,
@@ -3500,6 +3799,7 @@ export {
3500
3799
  ExpenseCount as ExpenseCount,
3501
3800
  ExpenseProcessing as ExpenseProcessing,
3502
3801
  ExpenseProcessingResult as ExpenseProcessingResult,
3802
+ ExpenseReminder as ExpenseReminder,
3503
3803
  ExpenseStatus as ExpenseStatus,
3504
3804
  ExpenseType as ExpenseType,
3505
3805
  PagedListExpense as PagedListExpense,