@solibo/solibo-sdk 1.51.0 → 1.51.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/documents.mjs +1 -2
- package/client/invoicing.d.mts +1 -1
- package/client/invoicing.mjs +6 -19
- package/client/paymentAllocation.d.mts +1 -1
- package/client-core.mjs +27 -0
- package/client.d.mts +5 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
- package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
- package/operations/documents.mjs +1 -1
- package/operations/invoicing.d.mts +1 -1
- package/operations/invoicing.mjs +1 -1
- package/operations/paymentAllocation.d.mts +1 -1
- package/package.json +1 -1
- package/solibo-cycles/Kotlin-DateTime-library-kotlinx-datetime-7.mjs +2 -2
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +2 -2
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/apis/DocumentApi.export.d.mts +1 -1
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/apis/DocumentApi.mjs +4 -4
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/MoveDocumentOperation.export.d.mts +1 -1
- package/solibo-sdk-sdk-api-document/no/solibo/oss/sdk/api/gen/client/operations/MoveDocumentOperation.mjs +5 -7
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.export.d.mts +1 -1
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.mjs +6 -6
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingPlanTransactionInvoicesOperation.export.d.mts +1 -1
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingPlanTransactionInvoicesOperation.mjs +4 -4
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceLine.export.d.mts +22 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceLine.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceLine.mjs +331 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceTracking.export.d.mts +26 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceTracking.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceTracking.mjs +490 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PagedListInvoiceTracking.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PagedListInvoiceTracking.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PagedListInvoiceTracking.mjs +253 -0
- package/solibo-sdk-sdk-api-invoicing.mjs +3 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +82 -4
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import { Companion_getInstance23mfgm8z3zxns as Companion_getInstance } from './PayerType.mjs';
|
|
2
|
+
import { $serializer_getInstance2jq1ov66dozav as $serializer_getInstance } from './InvoiceLine.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
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
12
|
+
getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
|
|
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 { InstantSerializer_getInstance1n2pd669tdsta as InstantSerializer_getInstance } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs';
|
|
23
|
+
import {
|
|
24
|
+
StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
|
|
25
|
+
LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
|
|
26
|
+
BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
|
|
27
|
+
} from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
|
|
28
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
29
|
+
import { $serializer_getInstance1vtxrc55p8ua3 as $serializer_getInstance_0 } from './OverdueDelay.mjs';
|
|
30
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
31
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
|
|
32
|
+
import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
|
|
33
|
+
import {
|
|
34
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
35
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
36
|
+
} from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
|
|
37
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
|
|
38
|
+
import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
39
|
+
import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
|
|
40
|
+
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
|
|
41
|
+
import { Companion_getInstance138pnyl3l6agm as __soliboInstantCompanion } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/time/Instant.mjs';
|
|
42
|
+
import { InvoiceLinehct0rfv6azfr as __soliboType_InvoiceLine } from './InvoiceLine.mjs';
|
|
43
|
+
import { OverdueDelay2un0obzl7j4su as __soliboType_OverdueDelay } from './OverdueDelay.mjs';
|
|
44
|
+
import { PayerType3u1alw8xvo36g as __soliboType_PayerType } from './PayerType.mjs';
|
|
45
|
+
//region block: imports
|
|
46
|
+
var imul = Math.imul;
|
|
47
|
+
//endregion
|
|
48
|
+
//region block: pre-declaration
|
|
49
|
+
//endregion
|
|
50
|
+
function InvoiceTracking$Companion$$childSerializers$_anonymous__fzeyl6() {
|
|
51
|
+
return Companion_getInstance().serializer_9w0wvi_k$();
|
|
52
|
+
}
|
|
53
|
+
function InvoiceTracking$Companion$$childSerializers$_anonymous__fzeyl6_0() {
|
|
54
|
+
return new (ArrayListSerializer())($serializer_getInstance());
|
|
55
|
+
}
|
|
56
|
+
var CompanionClass;
|
|
57
|
+
function Companion() {
|
|
58
|
+
if (CompanionClass === VOID) {
|
|
59
|
+
initMetadataForCompanion($);
|
|
60
|
+
function $() {
|
|
61
|
+
Companion_instance = this;
|
|
62
|
+
var tmp = this;
|
|
63
|
+
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
64
|
+
var tmp_1 = lazy(tmp_0, InvoiceTracking$Companion$$childSerializers$_anonymous__fzeyl6);
|
|
65
|
+
var tmp_2 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
66
|
+
// Inline function 'kotlin.arrayOf' call
|
|
67
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
68
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
69
|
+
tmp.$childSerializers_1 = [null, null, null, tmp_1, null, null, null, null, lazy(tmp_2, InvoiceTracking$Companion$$childSerializers$_anonymous__fzeyl6_0), null, null];
|
|
70
|
+
}
|
|
71
|
+
CompanionClass = $;
|
|
72
|
+
}
|
|
73
|
+
return CompanionClass;
|
|
74
|
+
}
|
|
75
|
+
var Companion_instance;
|
|
76
|
+
function Companion_getInstance_0() {
|
|
77
|
+
if (Companion_instance == null)
|
|
78
|
+
new (Companion())();
|
|
79
|
+
return Companion_instance;
|
|
80
|
+
}
|
|
81
|
+
var $serializerClass;
|
|
82
|
+
function $serializer() {
|
|
83
|
+
if ($serializerClass === VOID) {
|
|
84
|
+
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
85
|
+
function $() {
|
|
86
|
+
$serializer_instance = this;
|
|
87
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.InvoiceTracking', this, 11);
|
|
88
|
+
tmp0_serialDesc.addElement_5pzumi_k$('companyId', false);
|
|
89
|
+
tmp0_serialDesc.addElement_5pzumi_k$('createdAt', false);
|
|
90
|
+
tmp0_serialDesc.addElement_5pzumi_k$('customerId', false);
|
|
91
|
+
tmp0_serialDesc.addElement_5pzumi_k$('customerType', false);
|
|
92
|
+
tmp0_serialDesc.addElement_5pzumi_k$('error', true);
|
|
93
|
+
tmp0_serialDesc.addElement_5pzumi_k$('externalReference', false);
|
|
94
|
+
tmp0_serialDesc.addElement_5pzumi_k$('id', false);
|
|
95
|
+
tmp0_serialDesc.addElement_5pzumi_k$('invoicePlanTransactionId', true);
|
|
96
|
+
tmp0_serialDesc.addElement_5pzumi_k$('lines', true);
|
|
97
|
+
tmp0_serialDesc.addElement_5pzumi_k$('overdueDelay', true);
|
|
98
|
+
tmp0_serialDesc.addElement_5pzumi_k$('success', true);
|
|
99
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
100
|
+
}
|
|
101
|
+
protoOf($).serialize_b7jghq_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
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 0, value.companyId);
|
|
106
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 1, InstantSerializer_getInstance(), value.createdAt);
|
|
107
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.customerId);
|
|
108
|
+
tmp1_output.encodeSerializableElement_isqxcl_k$(tmp0_desc, 3, tmp2_cached[3].get_value_j01efc_k$(), value.customerType);
|
|
109
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.error == null)) {
|
|
110
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.error);
|
|
111
|
+
}
|
|
112
|
+
tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 5, value.externalReference);
|
|
113
|
+
tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.id);
|
|
114
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.invoicePlanTransactionId == null)) {
|
|
115
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, LongSerializer_getInstance(), value.invoicePlanTransactionId);
|
|
116
|
+
}
|
|
117
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.lines == null)) {
|
|
118
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, tmp2_cached[8].get_value_j01efc_k$(), value.lines);
|
|
119
|
+
}
|
|
120
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.overdueDelay == null)) {
|
|
121
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, $serializer_getInstance_0(), value.overdueDelay);
|
|
122
|
+
}
|
|
123
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 10) ? true : !(value.success == null)) {
|
|
124
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), value.success);
|
|
125
|
+
}
|
|
126
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
127
|
+
};
|
|
128
|
+
protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
|
|
129
|
+
return this.serialize_b7jghq_k$(encoder, value instanceof InvoiceTracking() ? value : THROW_CCE());
|
|
130
|
+
};
|
|
131
|
+
protoOf($).deserialize_sy6x50_k$ = function (decoder) {
|
|
132
|
+
var tmp0_desc = this.descriptor_1;
|
|
133
|
+
var tmp1_flag = true;
|
|
134
|
+
var tmp2_index = 0;
|
|
135
|
+
var tmp3_bitMask0 = 0;
|
|
136
|
+
var tmp4_local0 = 0n;
|
|
137
|
+
var tmp5_local1 = null;
|
|
138
|
+
var tmp6_local2 = 0n;
|
|
139
|
+
var tmp7_local3 = null;
|
|
140
|
+
var tmp8_local4 = null;
|
|
141
|
+
var tmp9_local5 = null;
|
|
142
|
+
var tmp10_local6 = 0n;
|
|
143
|
+
var tmp11_local7 = null;
|
|
144
|
+
var tmp12_local8 = null;
|
|
145
|
+
var tmp13_local9 = null;
|
|
146
|
+
var tmp14_local10 = null;
|
|
147
|
+
var tmp15_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
148
|
+
var tmp16_cached = Companion_getInstance_0().$childSerializers_1;
|
|
149
|
+
if (tmp15_input.decodeSequentially_xlblqy_k$()) {
|
|
150
|
+
tmp4_local0 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
151
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
152
|
+
tmp5_local1 = tmp15_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
153
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
154
|
+
tmp6_local2 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
155
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
156
|
+
tmp7_local3 = tmp15_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp16_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
157
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
158
|
+
tmp8_local4 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
159
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
160
|
+
tmp9_local5 = tmp15_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
161
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
162
|
+
tmp10_local6 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
163
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
164
|
+
tmp11_local7 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, LongSerializer_getInstance(), tmp11_local7);
|
|
165
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
166
|
+
tmp12_local8 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp16_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
167
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
168
|
+
tmp13_local9 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
|
|
169
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
170
|
+
tmp14_local10 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
171
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
172
|
+
} else
|
|
173
|
+
while (tmp1_flag) {
|
|
174
|
+
tmp2_index = tmp15_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
175
|
+
switch (tmp2_index) {
|
|
176
|
+
case -1:
|
|
177
|
+
tmp1_flag = false;
|
|
178
|
+
break;
|
|
179
|
+
case 0:
|
|
180
|
+
tmp4_local0 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 0);
|
|
181
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
182
|
+
break;
|
|
183
|
+
case 1:
|
|
184
|
+
tmp5_local1 = tmp15_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 1, InstantSerializer_getInstance(), tmp5_local1);
|
|
185
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 2;
|
|
186
|
+
break;
|
|
187
|
+
case 2:
|
|
188
|
+
tmp6_local2 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
|
|
189
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 4;
|
|
190
|
+
break;
|
|
191
|
+
case 3:
|
|
192
|
+
tmp7_local3 = tmp15_input.decodeSerializableElement_uahnnv_k$(tmp0_desc, 3, tmp16_cached[3].get_value_j01efc_k$(), tmp7_local3);
|
|
193
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 8;
|
|
194
|
+
break;
|
|
195
|
+
case 4:
|
|
196
|
+
tmp8_local4 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
|
|
197
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 16;
|
|
198
|
+
break;
|
|
199
|
+
case 5:
|
|
200
|
+
tmp9_local5 = tmp15_input.decodeStringElement_3oenpg_k$(tmp0_desc, 5);
|
|
201
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 32;
|
|
202
|
+
break;
|
|
203
|
+
case 6:
|
|
204
|
+
tmp10_local6 = tmp15_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
|
|
205
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 64;
|
|
206
|
+
break;
|
|
207
|
+
case 7:
|
|
208
|
+
tmp11_local7 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, LongSerializer_getInstance(), tmp11_local7);
|
|
209
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 128;
|
|
210
|
+
break;
|
|
211
|
+
case 8:
|
|
212
|
+
tmp12_local8 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, tmp16_cached[8].get_value_j01efc_k$(), tmp12_local8);
|
|
213
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 256;
|
|
214
|
+
break;
|
|
215
|
+
case 9:
|
|
216
|
+
tmp13_local9 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, $serializer_getInstance_0(), tmp13_local9);
|
|
217
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 512;
|
|
218
|
+
break;
|
|
219
|
+
case 10:
|
|
220
|
+
tmp14_local10 = tmp15_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 10, BooleanSerializer_getInstance(), tmp14_local10);
|
|
221
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1024;
|
|
222
|
+
break;
|
|
223
|
+
default:
|
|
224
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
tmp15_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
228
|
+
return InvoiceTracking_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, null);
|
|
229
|
+
};
|
|
230
|
+
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
231
|
+
return this.descriptor_1;
|
|
232
|
+
};
|
|
233
|
+
protoOf($).childSerializers_5ghqw5_k$ = function () {
|
|
234
|
+
var tmp0_cached = Companion_getInstance_0().$childSerializers_1;
|
|
235
|
+
// Inline function 'kotlin.arrayOf' call
|
|
236
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
237
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
238
|
+
return [LongSerializer_getInstance(), InstantSerializer_getInstance(), LongSerializer_getInstance(), tmp0_cached[3].get_value_j01efc_k$(), get_nullable(StringSerializer_getInstance()), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(LongSerializer_getInstance()), get_nullable(tmp0_cached[8].get_value_j01efc_k$()), get_nullable($serializer_getInstance_0()), get_nullable(BooleanSerializer_getInstance())];
|
|
239
|
+
};
|
|
240
|
+
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
241
|
+
$serializerClass = $;
|
|
242
|
+
}
|
|
243
|
+
return $serializerClass;
|
|
244
|
+
}
|
|
245
|
+
var $serializer_instance;
|
|
246
|
+
function $serializer_getInstance_1() {
|
|
247
|
+
if ($serializer_instance == null)
|
|
248
|
+
new ($serializer())();
|
|
249
|
+
return $serializer_instance;
|
|
250
|
+
}
|
|
251
|
+
function InvoiceTracking_init_$Init$(seen0, companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success, serializationConstructorMarker, $this) {
|
|
252
|
+
if (!(111 === (111 & seen0))) {
|
|
253
|
+
throwMissingFieldException(seen0, 111, $serializer_getInstance_1().descriptor_1);
|
|
254
|
+
}
|
|
255
|
+
$this.companyId = companyId;
|
|
256
|
+
$this.createdAt = createdAt;
|
|
257
|
+
$this.customerId = customerId;
|
|
258
|
+
$this.customerType = customerType;
|
|
259
|
+
if (0 === (seen0 & 16))
|
|
260
|
+
$this.error = null;
|
|
261
|
+
else
|
|
262
|
+
$this.error = error;
|
|
263
|
+
$this.externalReference = externalReference;
|
|
264
|
+
$this.id = id;
|
|
265
|
+
if (0 === (seen0 & 128))
|
|
266
|
+
$this.invoicePlanTransactionId = null;
|
|
267
|
+
else
|
|
268
|
+
$this.invoicePlanTransactionId = invoicePlanTransactionId;
|
|
269
|
+
if (0 === (seen0 & 256))
|
|
270
|
+
$this.lines = null;
|
|
271
|
+
else
|
|
272
|
+
$this.lines = lines;
|
|
273
|
+
if (0 === (seen0 & 512))
|
|
274
|
+
$this.overdueDelay = null;
|
|
275
|
+
else
|
|
276
|
+
$this.overdueDelay = overdueDelay;
|
|
277
|
+
if (0 === (seen0 & 1024))
|
|
278
|
+
$this.success = null;
|
|
279
|
+
else
|
|
280
|
+
$this.success = success;
|
|
281
|
+
return $this;
|
|
282
|
+
}
|
|
283
|
+
function InvoiceTracking_init_$Create$(seen0, companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success, serializationConstructorMarker) {
|
|
284
|
+
return InvoiceTracking_init_$Init$(seen0, companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success, serializationConstructorMarker, objectCreate(protoOf(InvoiceTracking())));
|
|
285
|
+
}
|
|
286
|
+
var InvoiceTrackingClass;
|
|
287
|
+
function InvoiceTracking() {
|
|
288
|
+
if (InvoiceTrackingClass === VOID) {
|
|
289
|
+
initMetadataForClass($, 'InvoiceTracking', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
|
|
290
|
+
function $(companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success) {
|
|
291
|
+
var __soliboProps = arguments.length === 1 && typeof companyId === 'object' && companyId !== null && companyId.constructor === Object;
|
|
292
|
+
var __soliboTmp, __soliboConverted = false;
|
|
293
|
+
if (__soliboProps) {
|
|
294
|
+
const props = companyId;
|
|
295
|
+
companyId = ('companyId' in props ? props.companyId : VOID);
|
|
296
|
+
createdAt = ('createdAt' in props ? props.createdAt : VOID);
|
|
297
|
+
if (typeof createdAt === 'string') {
|
|
298
|
+
if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}$/.test(createdAt)) createdAt += ':00Z';
|
|
299
|
+
else if (/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}$/.test(createdAt)) createdAt += 'Z';
|
|
300
|
+
const companion = __soliboInstantCompanion();
|
|
301
|
+
createdAt = companion.parse_xovy9i_k$(createdAt);
|
|
302
|
+
} else if (createdAt != null && typeof createdAt === 'object' && typeof createdAt.getTime === 'function') {
|
|
303
|
+
const companion = __soliboInstantCompanion();
|
|
304
|
+
createdAt = companion.fromEpochMilliseconds_uaz65_k$(BigInt(createdAt.getTime()));
|
|
305
|
+
}
|
|
306
|
+
customerId = ('customerId' in props ? props.customerId : VOID);
|
|
307
|
+
customerType = ('customerType' in props ? props.customerType : VOID);
|
|
308
|
+
error = ('error' in props ? props.error : VOID);
|
|
309
|
+
externalReference = ('externalReference' in props ? props.externalReference : VOID);
|
|
310
|
+
id = ('id' in props ? props.id : VOID);
|
|
311
|
+
invoicePlanTransactionId = ('invoicePlanTransactionId' in props ? props.invoicePlanTransactionId : VOID);
|
|
312
|
+
lines = ('lines' in props ? props.lines : VOID);
|
|
313
|
+
overdueDelay = ('overdueDelay' in props ? props.overdueDelay : VOID);
|
|
314
|
+
success = ('success' in props ? props.success : VOID);
|
|
315
|
+
}
|
|
316
|
+
if ((__soliboTmp = __soliboToKt(companyId, ["bigint"])) !== companyId) { companyId = __soliboTmp; __soliboConverted = true; }
|
|
317
|
+
if ((__soliboTmp = __soliboToKt(customerId, ["bigint"])) !== customerId) { customerId = __soliboTmp; __soliboConverted = true; }
|
|
318
|
+
if ((__soliboTmp = __soliboToKt(customerType, ["enum","PayerType"])) !== customerType) { customerType = __soliboTmp; __soliboConverted = true; }
|
|
319
|
+
if ((__soliboTmp = __soliboToKt(id, ["bigint"])) !== id) { id = __soliboTmp; __soliboConverted = true; }
|
|
320
|
+
if ((__soliboTmp = __soliboToKt(invoicePlanTransactionId, ["bigint"])) !== invoicePlanTransactionId) { invoicePlanTransactionId = __soliboTmp; __soliboConverted = true; }
|
|
321
|
+
if ((__soliboTmp = __soliboToKt(lines, ["list",["model","InvoiceLine"]])) !== lines) { lines = __soliboTmp; __soliboConverted = true; }
|
|
322
|
+
if ((__soliboTmp = __soliboToKt(overdueDelay, ["model","OverdueDelay"])) !== overdueDelay) { overdueDelay = __soliboTmp; __soliboConverted = true; }
|
|
323
|
+
Companion_getInstance_0();
|
|
324
|
+
error = error === VOID ? null : error;
|
|
325
|
+
invoicePlanTransactionId = invoicePlanTransactionId === VOID ? null : invoicePlanTransactionId;
|
|
326
|
+
lines = lines === VOID ? null : lines;
|
|
327
|
+
overdueDelay = overdueDelay === VOID ? null : overdueDelay;
|
|
328
|
+
success = success === VOID ? null : success;
|
|
329
|
+
this.companyId = companyId;
|
|
330
|
+
this.createdAt = createdAt;
|
|
331
|
+
this.customerId = customerId;
|
|
332
|
+
this.customerType = customerType;
|
|
333
|
+
this.error = error;
|
|
334
|
+
this.externalReference = externalReference;
|
|
335
|
+
this.id = id;
|
|
336
|
+
this.invoicePlanTransactionId = invoicePlanTransactionId;
|
|
337
|
+
this.lines = lines;
|
|
338
|
+
this.overdueDelay = overdueDelay;
|
|
339
|
+
this.success = success;
|
|
340
|
+
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
341
|
+
}
|
|
342
|
+
protoOf($).get_companyId_eumsdt_k$ = function () {
|
|
343
|
+
return this.companyId;
|
|
344
|
+
};
|
|
345
|
+
protoOf($).get_createdAt_ierzpu_k$ = function () {
|
|
346
|
+
return this.createdAt;
|
|
347
|
+
};
|
|
348
|
+
protoOf($).get_customerId_opgpia_k$ = function () {
|
|
349
|
+
return this.customerId;
|
|
350
|
+
};
|
|
351
|
+
protoOf($).get_customerType_jfm4ch_k$ = function () {
|
|
352
|
+
return this.customerType;
|
|
353
|
+
};
|
|
354
|
+
protoOf($).get_error_iqzvfj_k$ = function () {
|
|
355
|
+
return this.error;
|
|
356
|
+
};
|
|
357
|
+
protoOf($).get_externalReference_g01xcn_k$ = function () {
|
|
358
|
+
return this.externalReference;
|
|
359
|
+
};
|
|
360
|
+
protoOf($).get_id_kntnx8_k$ = function () {
|
|
361
|
+
return this.id;
|
|
362
|
+
};
|
|
363
|
+
protoOf($).get_invoicePlanTransactionId_2vp3w4_k$ = function () {
|
|
364
|
+
return this.invoicePlanTransactionId;
|
|
365
|
+
};
|
|
366
|
+
protoOf($).get_lines_iuolhy_k$ = function () {
|
|
367
|
+
return this.lines;
|
|
368
|
+
};
|
|
369
|
+
protoOf($).get_overdueDelay_8odrlg_k$ = function () {
|
|
370
|
+
return this.overdueDelay;
|
|
371
|
+
};
|
|
372
|
+
protoOf($).get_success_tm3zdy_k$ = function () {
|
|
373
|
+
return this.success;
|
|
374
|
+
};
|
|
375
|
+
protoOf($).component1_7eebsc_k$ = function () {
|
|
376
|
+
return this.companyId;
|
|
377
|
+
};
|
|
378
|
+
protoOf($).component2_7eebsb_k$ = function () {
|
|
379
|
+
return this.createdAt;
|
|
380
|
+
};
|
|
381
|
+
protoOf($).component3_7eebsa_k$ = function () {
|
|
382
|
+
return this.customerId;
|
|
383
|
+
};
|
|
384
|
+
protoOf($).component4_7eebs9_k$ = function () {
|
|
385
|
+
return this.customerType;
|
|
386
|
+
};
|
|
387
|
+
protoOf($).component5_7eebs8_k$ = function () {
|
|
388
|
+
return this.error;
|
|
389
|
+
};
|
|
390
|
+
protoOf($).component6_7eebs7_k$ = function () {
|
|
391
|
+
return this.externalReference;
|
|
392
|
+
};
|
|
393
|
+
protoOf($).component7_7eebs6_k$ = function () {
|
|
394
|
+
return this.id;
|
|
395
|
+
};
|
|
396
|
+
protoOf($).component8_7eebs5_k$ = function () {
|
|
397
|
+
return this.invoicePlanTransactionId;
|
|
398
|
+
};
|
|
399
|
+
protoOf($).component9_7eebs4_k$ = function () {
|
|
400
|
+
return this.lines;
|
|
401
|
+
};
|
|
402
|
+
protoOf($).component10_gazzfo_k$ = function () {
|
|
403
|
+
return this.overdueDelay;
|
|
404
|
+
};
|
|
405
|
+
protoOf($).component11_gazzfn_k$ = function () {
|
|
406
|
+
return this.success;
|
|
407
|
+
};
|
|
408
|
+
protoOf($).copy_il3yno_k$ = function (companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success) {
|
|
409
|
+
return new (InvoiceTracking())(companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success);
|
|
410
|
+
};
|
|
411
|
+
protoOf($).copy = function (companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success, $super) {
|
|
412
|
+
companyId = companyId === VOID ? this.companyId : companyId;
|
|
413
|
+
createdAt = createdAt === VOID ? this.createdAt : createdAt;
|
|
414
|
+
customerId = customerId === VOID ? this.customerId : customerId;
|
|
415
|
+
customerType = customerType === VOID ? this.customerType : customerType;
|
|
416
|
+
error = error === VOID ? this.error : error;
|
|
417
|
+
externalReference = externalReference === VOID ? this.externalReference : externalReference;
|
|
418
|
+
id = id === VOID ? this.id : id;
|
|
419
|
+
invoicePlanTransactionId = invoicePlanTransactionId === VOID ? this.invoicePlanTransactionId : invoicePlanTransactionId;
|
|
420
|
+
lines = lines === VOID ? this.lines : lines;
|
|
421
|
+
overdueDelay = overdueDelay === VOID ? this.overdueDelay : overdueDelay;
|
|
422
|
+
success = success === VOID ? this.success : success;
|
|
423
|
+
return $super === VOID ? this.copy_il3yno_k$(companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success) : $super.copy_il3yno_k$.call(this, companyId, createdAt, customerId, customerType, error, externalReference, id, invoicePlanTransactionId, lines, overdueDelay, success);
|
|
424
|
+
};
|
|
425
|
+
protoOf($).toString = function () {
|
|
426
|
+
return 'InvoiceTracking(companyId=' + this.companyId.toString() + ', createdAt=' + this.createdAt.toString() + ', customerId=' + this.customerId.toString() + ', customerType=' + this.customerType.toString() + ', error=' + this.error + ', externalReference=' + this.externalReference + ', id=' + this.id.toString() + ', invoicePlanTransactionId=' + toString(this.invoicePlanTransactionId) + ', lines=' + toString(this.lines) + ', overdueDelay=' + toString(this.overdueDelay) + ', success=' + this.success + ')';
|
|
427
|
+
};
|
|
428
|
+
protoOf($).hashCode = function () {
|
|
429
|
+
var result = getBigIntHashCode(this.companyId);
|
|
430
|
+
result = imul(result, 31) + this.createdAt.hashCode() | 0;
|
|
431
|
+
result = imul(result, 31) + getBigIntHashCode(this.customerId) | 0;
|
|
432
|
+
result = imul(result, 31) + this.customerType.hashCode() | 0;
|
|
433
|
+
result = imul(result, 31) + (this.error == null ? 0 : getStringHashCode(this.error)) | 0;
|
|
434
|
+
result = imul(result, 31) + getStringHashCode(this.externalReference) | 0;
|
|
435
|
+
result = imul(result, 31) + getBigIntHashCode(this.id) | 0;
|
|
436
|
+
result = imul(result, 31) + (this.invoicePlanTransactionId == null ? 0 : getBigIntHashCode(this.invoicePlanTransactionId)) | 0;
|
|
437
|
+
result = imul(result, 31) + (this.lines == null ? 0 : hashCode(this.lines)) | 0;
|
|
438
|
+
result = imul(result, 31) + (this.overdueDelay == null ? 0 : this.overdueDelay.hashCode()) | 0;
|
|
439
|
+
result = imul(result, 31) + (this.success == null ? 0 : getBooleanHashCode(this.success)) | 0;
|
|
440
|
+
return result;
|
|
441
|
+
};
|
|
442
|
+
protoOf($).equals = function (other) {
|
|
443
|
+
if (this === other)
|
|
444
|
+
return true;
|
|
445
|
+
if (!(other instanceof InvoiceTracking()))
|
|
446
|
+
return false;
|
|
447
|
+
if (!(this.companyId === other.companyId))
|
|
448
|
+
return false;
|
|
449
|
+
if (!this.createdAt.equals(other.createdAt))
|
|
450
|
+
return false;
|
|
451
|
+
if (!(this.customerId === other.customerId))
|
|
452
|
+
return false;
|
|
453
|
+
if (!this.customerType.equals(other.customerType))
|
|
454
|
+
return false;
|
|
455
|
+
if (!(this.error == other.error))
|
|
456
|
+
return false;
|
|
457
|
+
if (!(this.externalReference === other.externalReference))
|
|
458
|
+
return false;
|
|
459
|
+
if (!(this.id === other.id))
|
|
460
|
+
return false;
|
|
461
|
+
if (!(this.invoicePlanTransactionId == other.invoicePlanTransactionId))
|
|
462
|
+
return false;
|
|
463
|
+
if (!equals(this.lines, other.lines))
|
|
464
|
+
return false;
|
|
465
|
+
if (!equals(this.overdueDelay, other.overdueDelay))
|
|
466
|
+
return false;
|
|
467
|
+
if (!(this.success == other.success))
|
|
468
|
+
return false;
|
|
469
|
+
return true;
|
|
470
|
+
};
|
|
471
|
+
/* Solibo boundary patches */
|
|
472
|
+
Object.defineProperty($, 'name', { value: "InvoiceTracking", configurable: true });
|
|
473
|
+
__soliboRegisterOwnFields($, {"lines":["list",["model","InvoiceLine"]],"overdueDelay":["model","OverdueDelay"]});
|
|
474
|
+
__soliboRegisterLookup("InvoiceTracking", () => $);
|
|
475
|
+
InvoiceTrackingClass = $;
|
|
476
|
+
}
|
|
477
|
+
return InvoiceTrackingClass;
|
|
478
|
+
}
|
|
479
|
+
//region block: exports
|
|
480
|
+
export {
|
|
481
|
+
$serializer_getInstance_1 as $serializer_getInstancez2n65ggyyozn,
|
|
482
|
+
InvoiceTracking as InvoiceTracking1ronvlvfwcl72,
|
|
483
|
+
};
|
|
484
|
+
//endregion
|
|
485
|
+
|
|
486
|
+
/* Solibo boundary lookups */
|
|
487
|
+
__soliboRegisterLookup("InvoiceLine", () => __soliboType_InvoiceLine());
|
|
488
|
+
__soliboRegisterLookup("OverdueDelay", () => __soliboType_OverdueDelay());
|
|
489
|
+
__soliboRegisterLookup("PayerType", () => __soliboType_PayerType());
|
|
490
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare class PagedListInvoiceTracking {
|
|
4
|
+
constructor(items: KtList<InvoiceTracking>, meta: Meta, paging: Paging);
|
|
5
|
+
get items(): KtList<InvoiceTracking>;
|
|
6
|
+
get meta(): Meta;
|
|
7
|
+
get paging(): Paging;
|
|
8
|
+
copy(items?: KtList<InvoiceTracking>, meta?: Meta, paging?: Paging): PagedListInvoiceTracking;
|
|
9
|
+
toString(): string;
|
|
10
|
+
hashCode(): number;
|
|
11
|
+
equals(other: Nullable<any>): boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace PagedListInvoiceTracking {
|
|
14
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
15
|
+
namespace $metadata$ {
|
|
16
|
+
const constructor: abstract new () => PagedListInvoiceTracking;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PagedListInvoiceTrackinghn8rph1fx1ce as PagedListInvoiceTracking } from './PagedListInvoiceTracking.mjs';
|
|
2
|
+
//region block: imports
|
|
3
|
+
//endregion
|
|
4
|
+
//region block: pre-declaration
|
|
5
|
+
//endregion
|
|
6
|
+
//region block: exports
|
|
7
|
+
var PagedListInvoiceTracking_0 = PagedListInvoiceTracking();
|
|
8
|
+
export {
|
|
9
|
+
PagedListInvoiceTracking_0 as PagedListInvoiceTracking,
|
|
10
|
+
};
|
|
11
|
+
//endregion
|
|
12
|
+
|