@solibo/solibo-sdk 1.53.3 → 1.53.4

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.
Files changed (31) hide show
  1. package/client/invoicing.d.mts +1 -1
  2. package/client/paymentAllocation.d.mts +1 -1
  3. package/client/paymentAllocation.mjs +19 -0
  4. package/client-core.mjs +23 -0
  5. package/client.d.mts +13 -0
  6. package/operations/invoicing.d.mts +1 -1
  7. package/operations/paymentAllocation.d.mts +2 -1
  8. package/operations/paymentAllocation.mjs +5 -0
  9. package/package.json +1 -1
  10. package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
  11. package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
  12. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.export.d.mts +1 -0
  13. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.mjs +84 -0
  14. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.export.d.mts +3 -0
  15. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.export.mjs +14 -0
  16. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.mjs +123 -0
  17. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.export.d.mts +61 -0
  18. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.export.mjs +42 -0
  19. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.mjs +186 -0
  20. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.export.d.mts +18 -0
  21. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.export.mjs +12 -0
  22. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.mjs +235 -0
  23. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.export.d.mts +28 -0
  24. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.export.mjs +12 -0
  25. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.mjs +535 -0
  26. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.export.d.mts +16 -0
  27. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.export.mjs +12 -0
  28. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.mjs +190 -0
  29. package/solibo-sdk-sdk-api-invoicing.mjs +5 -0
  30. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
  31. package/solibo-sdk-sdk.d.mts +130 -0
@@ -0,0 +1,535 @@
1
+ import { Companion_getInstance2lvcnpf5osn9f as Companion_getInstance } from './KidInvoiceClosing.mjs';
2
+ import { $serializer_getInstance3nwh609mpr9it as $serializer_getInstance } from './KidInvoicePayment.mjs';
3
+ import { ArrayListSerializer7k5wnrulb3y6 as ArrayListSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs';
4
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
5
+ import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
6
+ import {
7
+ protoOf180f3jzyo7rfj as protoOf,
8
+ objectCreate1ve4bgxiu4x98 as objectCreate,
9
+ getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
10
+ getStringHashCode26igk1bx568vk as getStringHashCode,
11
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
12
+ hashCodeq5arwsb9dgti as hashCode,
13
+ equals2au1ep9vhcato as equals,
14
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
15
+ import {
16
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
17
+ initMetadataForObject1cxne3s9w65el as initMetadataForObject,
18
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
19
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
20
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
21
+ import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
22
+ import {
23
+ LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
24
+ StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
25
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
26
+ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
27
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
28
+ import { $serializer_getInstance36x3pn0ofbomz as $serializer_getInstance_0 } from './PaymentPayer.mjs';
29
+ import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
30
+ import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
31
+ import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
32
+ import {
33
+ typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
34
+ GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
35
+ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
36
+ import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
37
+ import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
38
+ import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
39
+ import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
40
+ import { KidInvoiceClosing39v1c7nfhbuwx as __soliboType_KidInvoiceClosing } from './KidInvoiceClosing.mjs';
41
+ import { KidInvoicePayment8nwss3gpgr7j as __soliboType_KidInvoicePayment } from './KidInvoicePayment.mjs';
42
+ import { PaymentPayer1of1slm1i215k as __soliboType_PaymentPayer } from './PaymentPayer.mjs';
43
+ //region block: imports
44
+ var imul = Math.imul;
45
+ //endregion
46
+ //region block: pre-declaration
47
+ //endregion
48
+ function PaymentSourceKidInvoice$Companion$$childSerializers$_anonymous__9oqp1e() {
49
+ return Companion_getInstance().serializer_9w0wvi_k$();
50
+ }
51
+ function PaymentSourceKidInvoice$Companion$$childSerializers$_anonymous__9oqp1e_0() {
52
+ return new (ArrayListSerializer())($serializer_getInstance());
53
+ }
54
+ var CompanionClass;
55
+ function Companion() {
56
+ if (CompanionClass === VOID) {
57
+ initMetadataForCompanion($);
58
+ function $() {
59
+ Companion_instance = this;
60
+ var tmp = this;
61
+ var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
62
+ var tmp_1 = lazy(tmp_0, PaymentSourceKidInvoice$Companion$$childSerializers$_anonymous__9oqp1e);
63
+ var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
64
+ // Inline function 'kotlin.arrayOf' call
65
+ // Inline function 'kotlin.js.unsafeCast' call
66
+ // Inline function 'kotlin.js.asDynamic' call
67
+ tmp.$childSerializers_1 = [null, tmp_1, null, null, null, null, null, null, null, null, null, lazy(tmp_2, PaymentSourceKidInvoice$Companion$$childSerializers$_anonymous__9oqp1e_0), null];
68
+ }
69
+ CompanionClass = $;
70
+ }
71
+ return CompanionClass;
72
+ }
73
+ var Companion_instance;
74
+ function Companion_getInstance_0() {
75
+ if (Companion_instance == null)
76
+ new (Companion())();
77
+ return Companion_instance;
78
+ }
79
+ var $serializerClass;
80
+ function $serializer() {
81
+ if ($serializerClass === VOID) {
82
+ initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
83
+ function $() {
84
+ $serializer_instance = this;
85
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.PaymentSourceKidInvoice', this, 13);
86
+ tmp0_serialDesc.addElement_5pzumi_k$('closedAt', true);
87
+ tmp0_serialDesc.addElement_5pzumi_k$('closedHow', true);
88
+ tmp0_serialDesc.addElement_5pzumi_k$('closingNote', true);
89
+ tmp0_serialDesc.addElement_5pzumi_k$('dueDate', false);
90
+ tmp0_serialDesc.addElement_5pzumi_k$('invoiceDate', false);
91
+ tmp0_serialDesc.addElement_5pzumi_k$('invoiceId', false);
92
+ tmp0_serialDesc.addElement_5pzumi_k$('number', false);
93
+ tmp0_serialDesc.addElement_5pzumi_k$('open', false);
94
+ tmp0_serialDesc.addElement_5pzumi_k$('outstanding', true);
95
+ tmp0_serialDesc.addElement_5pzumi_k$('payer', true);
96
+ tmp0_serialDesc.addElement_5pzumi_k$('payerName', true);
97
+ tmp0_serialDesc.addElement_5pzumi_k$('payments', true);
98
+ tmp0_serialDesc.addElement_5pzumi_k$('total', false);
99
+ this.descriptor_1 = tmp0_serialDesc;
100
+ }
101
+ protoOf($).serialize_nszdei_k$ = function (encoder, value) {
102
+ var tmp0_desc = this.descriptor_1;
103
+ var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
104
+ var tmp2_cached = Companion_getInstance_0().$childSerializers_1;
105
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.closedAt == null)) {
106
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, LongSerializer_getInstance(), value.closedAt);
107
+ }
108
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 1) ? true : !(value.closedHow == null)) {
109
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 1, tmp2_cached[1].get_value_j01efc_k$(), value.closedHow);
110
+ }
111
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 2) ? true : !(value.closingNote == null)) {
112
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 2, StringSerializer_getInstance(), value.closingNote);
113
+ }
114
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 3, value.dueDate);
115
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.invoiceDate);
116
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.invoiceId);
117
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.number);
118
+ tmp1_output.encodeBooleanElement_ydht7q_k$(tmp0_desc, 7, value.open);
119
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.outstanding == null)) {
120
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.outstanding);
121
+ }
122
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.payer == null)) {
123
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, $serializer_getInstance_0(), value.payer);
124
+ }
125
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.payerName == null)) {
126
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, StringSerializer_getInstance(), value.payerName);
127
+ }
128
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 11) ? true : !(value.payments == null)) {
129
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 11, tmp2_cached[11].get_value_j01efc_k$(), value.payments);
130
+ }
131
+ tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 12, value.total);
132
+ tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
133
+ };
134
+ protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
135
+ return this.serialize_nszdei_k$(encoder, value instanceof PaymentSourceKidInvoice() ? value : THROW_CCE());
136
+ };
137
+ protoOf($).deserialize_sy6x50_k$ = function (decoder) {
138
+ var tmp0_desc = this.descriptor_1;
139
+ var tmp1_flag = true;
140
+ var tmp2_index = 0;
141
+ var tmp3_bitMask0 = 0;
142
+ var tmp4_local0 = null;
143
+ var tmp5_local1 = null;
144
+ var tmp6_local2 = null;
145
+ var tmp7_local3 = 0n;
146
+ var tmp8_local4 = 0n;
147
+ var tmp9_local5 = null;
148
+ var tmp10_local6 = 0n;
149
+ var tmp11_local7 = false;
150
+ var tmp12_local8 = null;
151
+ var tmp13_local9 = null;
152
+ var tmp14_local10 = null;
153
+ var tmp15_local11 = null;
154
+ var tmp16_local12 = null;
155
+ var tmp17_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
156
+ var tmp18_cached = Companion_getInstance_0().$childSerializers_1;
157
+ if (tmp17_input.decodeSequentially_xlblqy_k$()) {
158
+ tmp4_local0 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
159
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
160
+ tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
161
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
162
+ tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
163
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
164
+ tmp7_local3 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
165
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
166
+ tmp8_local4 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
167
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
168
+ tmp9_local5 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
169
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
170
+ tmp10_local6 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
171
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
172
+ tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
173
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
174
+ tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
175
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
176
+ tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
177
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
178
+ tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
179
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
180
+ tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
181
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
182
+ tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
183
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
184
+ } else
185
+ while (tmp1_flag) {
186
+ tmp2_index = tmp17_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
187
+ switch (tmp2_index) {
188
+ case -1:
189
+ tmp1_flag = false;
190
+ break;
191
+ case 0:
192
+ tmp4_local0 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
193
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
194
+ break;
195
+ case 1:
196
+ tmp5_local1 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, tmp18_cached[1].get_value_j01efc_k$(), tmp5_local1);
197
+ tmp3_bitMask0 = tmp3_bitMask0 | 2;
198
+ break;
199
+ case 2:
200
+ tmp6_local2 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 2, StringSerializer_getInstance(), tmp6_local2);
201
+ tmp3_bitMask0 = tmp3_bitMask0 | 4;
202
+ break;
203
+ case 3:
204
+ tmp7_local3 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 3);
205
+ tmp3_bitMask0 = tmp3_bitMask0 | 8;
206
+ break;
207
+ case 4:
208
+ tmp8_local4 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
209
+ tmp3_bitMask0 = tmp3_bitMask0 | 16;
210
+ break;
211
+ case 5:
212
+ tmp9_local5 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
213
+ tmp3_bitMask0 = tmp3_bitMask0 | 32;
214
+ break;
215
+ case 6:
216
+ tmp10_local6 = tmp17_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
217
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
218
+ break;
219
+ case 7:
220
+ tmp11_local7 = tmp17_input.decodeBooleanElement_vuyhtj_k$(tmp0_desc, 7);
221
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
222
+ break;
223
+ case 8:
224
+ tmp12_local8 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
225
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
226
+ break;
227
+ case 9:
228
+ tmp13_local9 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
229
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
230
+ break;
231
+ case 10:
232
+ tmp14_local10 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, StringSerializer_getInstance(), tmp14_local10);
233
+ tmp3_bitMask0 = tmp3_bitMask0 | 1024;
234
+ break;
235
+ case 11:
236
+ tmp15_local11 = tmp17_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 11, tmp18_cached[11].get_value_j01efc_k$(), tmp15_local11);
237
+ tmp3_bitMask0 = tmp3_bitMask0 | 2048;
238
+ break;
239
+ case 12:
240
+ tmp16_local12 = tmp17_input.decodeStringElement_3oenpg_k$(tmp0_desc, 12);
241
+ tmp3_bitMask0 = tmp3_bitMask0 | 4096;
242
+ break;
243
+ default:
244
+ throw UnknownFieldException_init_$Create$(tmp2_index);
245
+ }
246
+ }
247
+ tmp17_input.endStructure_1xqz0n_k$(tmp0_desc);
248
+ return PaymentSourceKidInvoice_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);
249
+ };
250
+ protoOf($).get_descriptor_wjt6a0_k$ = function () {
251
+ return this.descriptor_1;
252
+ };
253
+ protoOf($).childSerializers_5ghqw5_k$ = function () {
254
+ var tmp0_cached = Companion_getInstance_0().$childSerializers_1;
255
+ // Inline function 'kotlin.arrayOf' call
256
+ // Inline function 'kotlin.js.unsafeCast' call
257
+ // Inline function 'kotlin.js.asDynamic' call
258
+ return [get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[1].get_value_j01efc_k$()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), LongSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable(tmp0_cached[11].get_value_j01efc_k$()), StringSerializer_getInstance()];
259
+ };
260
+ protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
261
+ $serializerClass = $;
262
+ }
263
+ return $serializerClass;
264
+ }
265
+ var $serializer_instance;
266
+ function $serializer_getInstance_1() {
267
+ if ($serializer_instance == null)
268
+ new ($serializer())();
269
+ return $serializer_instance;
270
+ }
271
+ function PaymentSourceKidInvoice_init_$Init$(seen0, closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total, serializationConstructorMarker, $this) {
272
+ if (!(4344 === (4344 & seen0))) {
273
+ throwMissingFieldException(seen0, 4344, $serializer_getInstance_1().descriptor_1);
274
+ }
275
+ if (0 === (seen0 & 1))
276
+ $this.closedAt = null;
277
+ else
278
+ $this.closedAt = closedAt;
279
+ if (0 === (seen0 & 2))
280
+ $this.closedHow = null;
281
+ else
282
+ $this.closedHow = closedHow;
283
+ if (0 === (seen0 & 4))
284
+ $this.closingNote = null;
285
+ else
286
+ $this.closingNote = closingNote;
287
+ $this.dueDate = dueDate;
288
+ $this.invoiceDate = invoiceDate;
289
+ $this.invoiceId = invoiceId;
290
+ $this.number = number;
291
+ $this.open = open;
292
+ if (0 === (seen0 & 256))
293
+ $this.outstanding = null;
294
+ else
295
+ $this.outstanding = outstanding;
296
+ if (0 === (seen0 & 512))
297
+ $this.payer = null;
298
+ else
299
+ $this.payer = payer;
300
+ if (0 === (seen0 & 1024))
301
+ $this.payerName = null;
302
+ else
303
+ $this.payerName = payerName;
304
+ if (0 === (seen0 & 2048))
305
+ $this.payments = null;
306
+ else
307
+ $this.payments = payments;
308
+ $this.total = total;
309
+ return $this;
310
+ }
311
+ function PaymentSourceKidInvoice_init_$Create$(seen0, closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total, serializationConstructorMarker) {
312
+ return PaymentSourceKidInvoice_init_$Init$(seen0, closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total, serializationConstructorMarker, objectCreate(protoOf(PaymentSourceKidInvoice())));
313
+ }
314
+ var PaymentSourceKidInvoiceClass;
315
+ function PaymentSourceKidInvoice() {
316
+ if (PaymentSourceKidInvoiceClass === VOID) {
317
+ initMetadataForClass($, 'PaymentSourceKidInvoice', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
318
+ function $(closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total) {
319
+ var __soliboProps = arguments.length === 1 && typeof closedAt === 'object' && closedAt !== null && closedAt.constructor === Object;
320
+ var __soliboTmp, __soliboConverted = false;
321
+ if (__soliboProps) {
322
+ const props = closedAt;
323
+ closedAt = ('closedAt' in props ? props.closedAt : VOID);
324
+ closedHow = ('closedHow' in props ? props.closedHow : VOID);
325
+ closingNote = ('closingNote' in props ? props.closingNote : VOID);
326
+ dueDate = ('dueDate' in props ? props.dueDate : VOID);
327
+ invoiceDate = ('invoiceDate' in props ? props.invoiceDate : VOID);
328
+ invoiceId = ('invoiceId' in props ? props.invoiceId : VOID);
329
+ number = ('number' in props ? props.number : VOID);
330
+ open = ('open' in props ? props.open : VOID);
331
+ outstanding = ('outstanding' in props ? props.outstanding : VOID);
332
+ payer = ('payer' in props ? props.payer : VOID);
333
+ payerName = ('payerName' in props ? props.payerName : VOID);
334
+ payments = ('payments' in props ? props.payments : VOID);
335
+ total = ('total' in props ? props.total : VOID);
336
+ }
337
+ if ((__soliboTmp = __soliboToKt(closedAt, ["bigint"])) !== closedAt) { closedAt = __soliboTmp; __soliboConverted = true; }
338
+ if ((__soliboTmp = __soliboToKt(closedHow, ["enum","KidInvoiceClosing"])) !== closedHow) { closedHow = __soliboTmp; __soliboConverted = true; }
339
+ if ((__soliboTmp = __soliboToKt(dueDate, ["bigint"])) !== dueDate) { dueDate = __soliboTmp; __soliboConverted = true; }
340
+ if ((__soliboTmp = __soliboToKt(invoiceDate, ["bigint"])) !== invoiceDate) { invoiceDate = __soliboTmp; __soliboConverted = true; }
341
+ if ((__soliboTmp = __soliboToKt(number, ["bigint"])) !== number) { number = __soliboTmp; __soliboConverted = true; }
342
+ if ((__soliboTmp = __soliboToKt(payer, ["model","PaymentPayer"])) !== payer) { payer = __soliboTmp; __soliboConverted = true; }
343
+ if ((__soliboTmp = __soliboToKt(payments, ["list",["model","KidInvoicePayment"]])) !== payments) { payments = __soliboTmp; __soliboConverted = true; }
344
+ Companion_getInstance_0();
345
+ closedAt = closedAt === VOID ? null : closedAt;
346
+ closedHow = closedHow === VOID ? null : closedHow;
347
+ closingNote = closingNote === VOID ? null : closingNote;
348
+ outstanding = outstanding === VOID ? null : outstanding;
349
+ payer = payer === VOID ? null : payer;
350
+ payerName = payerName === VOID ? null : payerName;
351
+ payments = payments === VOID ? null : payments;
352
+ this.closedAt = closedAt;
353
+ this.closedHow = closedHow;
354
+ this.closingNote = closingNote;
355
+ this.dueDate = dueDate;
356
+ this.invoiceDate = invoiceDate;
357
+ this.invoiceId = invoiceId;
358
+ this.number = number;
359
+ this.open = open;
360
+ this.outstanding = outstanding;
361
+ this.payer = payer;
362
+ this.payerName = payerName;
363
+ this.payments = payments;
364
+ this.total = total;
365
+ if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
366
+ }
367
+ protoOf($).get_closedAt_dqamig_k$ = function () {
368
+ return this.closedAt;
369
+ };
370
+ protoOf($).get_closedHow_jj34r_k$ = function () {
371
+ return this.closedHow;
372
+ };
373
+ protoOf($).get_closingNote_h03zku_k$ = function () {
374
+ return this.closingNote;
375
+ };
376
+ protoOf($).get_dueDate_ycxot5_k$ = function () {
377
+ return this.dueDate;
378
+ };
379
+ protoOf($).get_invoiceDate_db4z2_k$ = function () {
380
+ return this.invoiceDate;
381
+ };
382
+ protoOf($).get_invoiceId_k93hj5_k$ = function () {
383
+ return this.invoiceId;
384
+ };
385
+ protoOf($).get_number_hay53m_k$ = function () {
386
+ return this.number;
387
+ };
388
+ protoOf($).get_open_worwk3_k$ = function () {
389
+ return this.open;
390
+ };
391
+ protoOf($).get_outstanding_7r5vin_k$ = function () {
392
+ return this.outstanding;
393
+ };
394
+ protoOf($).get_payer_iwqw4s_k$ = function () {
395
+ return this.payer;
396
+ };
397
+ protoOf($).get_payerName_3h7y6v_k$ = function () {
398
+ return this.payerName;
399
+ };
400
+ protoOf($).get_payments_8xq22y_k$ = function () {
401
+ return this.payments;
402
+ };
403
+ protoOf($).get_total_iz6wij_k$ = function () {
404
+ return this.total;
405
+ };
406
+ protoOf($).component1_7eebsc_k$ = function () {
407
+ return this.closedAt;
408
+ };
409
+ protoOf($).component2_7eebsb_k$ = function () {
410
+ return this.closedHow;
411
+ };
412
+ protoOf($).component3_7eebsa_k$ = function () {
413
+ return this.closingNote;
414
+ };
415
+ protoOf($).component4_7eebs9_k$ = function () {
416
+ return this.dueDate;
417
+ };
418
+ protoOf($).component5_7eebs8_k$ = function () {
419
+ return this.invoiceDate;
420
+ };
421
+ protoOf($).component6_7eebs7_k$ = function () {
422
+ return this.invoiceId;
423
+ };
424
+ protoOf($).component7_7eebs6_k$ = function () {
425
+ return this.number;
426
+ };
427
+ protoOf($).component8_7eebs5_k$ = function () {
428
+ return this.open;
429
+ };
430
+ protoOf($).component9_7eebs4_k$ = function () {
431
+ return this.outstanding;
432
+ };
433
+ protoOf($).component10_gazzfo_k$ = function () {
434
+ return this.payer;
435
+ };
436
+ protoOf($).component11_gazzfn_k$ = function () {
437
+ return this.payerName;
438
+ };
439
+ protoOf($).component12_gazzfm_k$ = function () {
440
+ return this.payments;
441
+ };
442
+ protoOf($).component13_gazzfl_k$ = function () {
443
+ return this.total;
444
+ };
445
+ protoOf($).copy_qi43xb_k$ = function (closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total) {
446
+ return new (PaymentSourceKidInvoice())(closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total);
447
+ };
448
+ protoOf($).copy = function (closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total, $super) {
449
+ closedAt = closedAt === VOID ? this.closedAt : closedAt;
450
+ closedHow = closedHow === VOID ? this.closedHow : closedHow;
451
+ closingNote = closingNote === VOID ? this.closingNote : closingNote;
452
+ dueDate = dueDate === VOID ? this.dueDate : dueDate;
453
+ invoiceDate = invoiceDate === VOID ? this.invoiceDate : invoiceDate;
454
+ invoiceId = invoiceId === VOID ? this.invoiceId : invoiceId;
455
+ number = number === VOID ? this.number : number;
456
+ open = open === VOID ? this.open : open;
457
+ outstanding = outstanding === VOID ? this.outstanding : outstanding;
458
+ payer = payer === VOID ? this.payer : payer;
459
+ payerName = payerName === VOID ? this.payerName : payerName;
460
+ payments = payments === VOID ? this.payments : payments;
461
+ total = total === VOID ? this.total : total;
462
+ return $super === VOID ? this.copy_qi43xb_k$(closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total) : $super.copy_qi43xb_k$.call(this, closedAt, closedHow, closingNote, dueDate, invoiceDate, invoiceId, number, open, outstanding, payer, payerName, payments, total);
463
+ };
464
+ protoOf($).toString = function () {
465
+ return 'PaymentSourceKidInvoice(closedAt=' + toString(this.closedAt) + ', closedHow=' + toString(this.closedHow) + ', closingNote=' + this.closingNote + ', dueDate=' + this.dueDate.toString() + ', invoiceDate=' + this.invoiceDate.toString() + ', invoiceId=' + this.invoiceId + ', number=' + this.number.toString() + ', open=' + this.open + ', outstanding=' + this.outstanding + ', payer=' + toString(this.payer) + ', payerName=' + this.payerName + ', payments=' + toString(this.payments) + ', total=' + this.total + ')';
466
+ };
467
+ protoOf($).hashCode = function () {
468
+ var result = this.closedAt == null ? 0 : getBigIntHashCode(this.closedAt);
469
+ result = imul(result, 31) + (this.closedHow == null ? 0 : this.closedHow.hashCode()) | 0;
470
+ result = imul(result, 31) + (this.closingNote == null ? 0 : getStringHashCode(this.closingNote)) | 0;
471
+ result = imul(result, 31) + getBigIntHashCode(this.dueDate) | 0;
472
+ result = imul(result, 31) + getBigIntHashCode(this.invoiceDate) | 0;
473
+ result = imul(result, 31) + getStringHashCode(this.invoiceId) | 0;
474
+ result = imul(result, 31) + getBigIntHashCode(this.number) | 0;
475
+ result = imul(result, 31) + getBooleanHashCode(this.open) | 0;
476
+ result = imul(result, 31) + (this.outstanding == null ? 0 : getStringHashCode(this.outstanding)) | 0;
477
+ result = imul(result, 31) + (this.payer == null ? 0 : this.payer.hashCode()) | 0;
478
+ result = imul(result, 31) + (this.payerName == null ? 0 : getStringHashCode(this.payerName)) | 0;
479
+ result = imul(result, 31) + (this.payments == null ? 0 : hashCode(this.payments)) | 0;
480
+ result = imul(result, 31) + getStringHashCode(this.total) | 0;
481
+ return result;
482
+ };
483
+ protoOf($).equals = function (other) {
484
+ if (this === other)
485
+ return true;
486
+ if (!(other instanceof PaymentSourceKidInvoice()))
487
+ return false;
488
+ if (!(this.closedAt == other.closedAt))
489
+ return false;
490
+ if (!equals(this.closedHow, other.closedHow))
491
+ return false;
492
+ if (!(this.closingNote == other.closingNote))
493
+ return false;
494
+ if (!(this.dueDate === other.dueDate))
495
+ return false;
496
+ if (!(this.invoiceDate === other.invoiceDate))
497
+ return false;
498
+ if (!(this.invoiceId === other.invoiceId))
499
+ return false;
500
+ if (!(this.number === other.number))
501
+ return false;
502
+ if (!(this.open === other.open))
503
+ return false;
504
+ if (!(this.outstanding == other.outstanding))
505
+ return false;
506
+ if (!equals(this.payer, other.payer))
507
+ return false;
508
+ if (!(this.payerName == other.payerName))
509
+ return false;
510
+ if (!equals(this.payments, other.payments))
511
+ return false;
512
+ if (!(this.total === other.total))
513
+ return false;
514
+ return true;
515
+ };
516
+ /* Solibo boundary patches */
517
+ Object.defineProperty($, 'name', { value: "PaymentSourceKidInvoice", configurable: true });
518
+ __soliboRegisterOwnFields($, {"payer":["model","PaymentPayer"],"payments":["list",["model","KidInvoicePayment"]]});
519
+ __soliboRegisterLookup("PaymentSourceKidInvoice", () => $);
520
+ PaymentSourceKidInvoiceClass = $;
521
+ }
522
+ return PaymentSourceKidInvoiceClass;
523
+ }
524
+ //region block: exports
525
+ export {
526
+ $serializer_getInstance_1 as $serializer_getInstance2w50y93sh0gpl,
527
+ PaymentSourceKidInvoice as PaymentSourceKidInvoice1vf0rb3ab3eq1,
528
+ };
529
+ //endregion
530
+
531
+ /* Solibo boundary lookups */
532
+ __soliboRegisterLookup("KidInvoiceClosing", () => __soliboType_KidInvoiceClosing());
533
+ __soliboRegisterLookup("KidInvoicePayment", () => __soliboType_KidInvoicePayment());
534
+ __soliboRegisterLookup("PaymentPayer", () => __soliboType_PaymentPayer());
535
+
@@ -0,0 +1,16 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare class PaymentSourceKidInvoiceResponse {
4
+ constructor(invoice?: Nullable<PaymentSourceKidInvoice>);
5
+ get invoice(): Nullable<PaymentSourceKidInvoice>;
6
+ copy(invoice?: Nullable<PaymentSourceKidInvoice>): PaymentSourceKidInvoiceResponse;
7
+ toString(): string;
8
+ hashCode(): number;
9
+ equals(other: Nullable<any>): boolean;
10
+ }
11
+ export declare namespace PaymentSourceKidInvoiceResponse {
12
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
13
+ namespace $metadata$ {
14
+ const constructor: abstract new () => PaymentSourceKidInvoiceResponse;
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ import { PaymentSourceKidInvoiceResponse1gy74emalme7m as PaymentSourceKidInvoiceResponse } from './PaymentSourceKidInvoiceResponse.mjs';
2
+ //region block: imports
3
+ //endregion
4
+ //region block: pre-declaration
5
+ //endregion
6
+ //region block: exports
7
+ var PaymentSourceKidInvoiceResponse_0 = PaymentSourceKidInvoiceResponse();
8
+ export {
9
+ PaymentSourceKidInvoiceResponse_0 as PaymentSourceKidInvoiceResponse,
10
+ };
11
+ //endregion
12
+