@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.
- package/client/invoicing.d.mts +1 -1
- package/client/paymentAllocation.d.mts +1 -1
- package/client/paymentAllocation.mjs +19 -0
- package/client-core.mjs +23 -0
- package/client.d.mts +13 -0
- package/operations/invoicing.d.mts +1 -1
- package/operations/paymentAllocation.d.mts +2 -1
- package/operations/paymentAllocation.mjs +5 -0
- package/package.json +1 -1
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.export.d.mts +1 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.mjs +84 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.export.mjs +14 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.mjs +123 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.export.d.mts +61 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.export.mjs +42 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.mjs +186 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.export.d.mts +18 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.mjs +235 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.export.d.mts +28 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.mjs +535 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.export.d.mts +16 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.export.mjs +12 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.mjs +190 -0
- package/solibo-sdk-sdk-api-invoicing.mjs +5 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +130 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import {
|
|
2
|
+
protoOf180f3jzyo7rfj as protoOf,
|
|
3
|
+
objectCreate1ve4bgxiu4x98 as objectCreate,
|
|
4
|
+
equals2au1ep9vhcato as equals,
|
|
5
|
+
} from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
6
|
+
import {
|
|
7
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
8
|
+
initMetadataForObject1cxne3s9w65el as initMetadataForObject,
|
|
9
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
10
|
+
} from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
11
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
12
|
+
import { PluginGeneratedSerialDescriptorqdzeg5asqhfg as PluginGeneratedSerialDescriptor } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs';
|
|
13
|
+
import { $serializer_getInstance2w50y93sh0gpl as $serializer_getInstance } from './PaymentSourceKidInvoice.mjs';
|
|
14
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
15
|
+
import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
|
|
16
|
+
import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
|
|
17
|
+
import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
|
|
18
|
+
import {
|
|
19
|
+
typeParametersSerializers2likxjr48tr7y as typeParametersSerializers,
|
|
20
|
+
GeneratedSerializer1f7t7hssdd2ws as GeneratedSerializer,
|
|
21
|
+
} from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
|
|
22
|
+
import { throwMissingFieldException2cmke0v3ynf14 as throwMissingFieldException } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs';
|
|
23
|
+
import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
24
|
+
import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
|
|
25
|
+
import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
|
|
26
|
+
import { PaymentSourceKidInvoice1vf0rb3ab3eq1 as __soliboType_PaymentSourceKidInvoice } from './PaymentSourceKidInvoice.mjs';
|
|
27
|
+
//region block: imports
|
|
28
|
+
//endregion
|
|
29
|
+
//region block: pre-declaration
|
|
30
|
+
//endregion
|
|
31
|
+
var CompanionClass;
|
|
32
|
+
function Companion() {
|
|
33
|
+
if (CompanionClass === VOID) {
|
|
34
|
+
initMetadataForCompanion($);
|
|
35
|
+
function $() {
|
|
36
|
+
}
|
|
37
|
+
CompanionClass = $;
|
|
38
|
+
}
|
|
39
|
+
return CompanionClass;
|
|
40
|
+
}
|
|
41
|
+
var Companion_instance;
|
|
42
|
+
function Companion_getInstance() {
|
|
43
|
+
return Companion_instance;
|
|
44
|
+
}
|
|
45
|
+
var $serializerClass;
|
|
46
|
+
function $serializer() {
|
|
47
|
+
if ($serializerClass === VOID) {
|
|
48
|
+
initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
|
|
49
|
+
function $() {
|
|
50
|
+
$serializer_instance = this;
|
|
51
|
+
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.PaymentSourceKidInvoiceResponse', this, 1);
|
|
52
|
+
tmp0_serialDesc.addElement_5pzumi_k$('invoice', true);
|
|
53
|
+
this.descriptor_1 = tmp0_serialDesc;
|
|
54
|
+
}
|
|
55
|
+
protoOf($).serialize_3xhbq1_k$ = function (encoder, value) {
|
|
56
|
+
var tmp0_desc = this.descriptor_1;
|
|
57
|
+
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
58
|
+
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.invoice == null)) {
|
|
59
|
+
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, $serializer_getInstance(), value.invoice);
|
|
60
|
+
}
|
|
61
|
+
tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
|
|
62
|
+
};
|
|
63
|
+
protoOf($).serialize_5ase3y_k$ = function (encoder, value) {
|
|
64
|
+
return this.serialize_3xhbq1_k$(encoder, value instanceof PaymentSourceKidInvoiceResponse() ? value : THROW_CCE());
|
|
65
|
+
};
|
|
66
|
+
protoOf($).deserialize_sy6x50_k$ = function (decoder) {
|
|
67
|
+
var tmp0_desc = this.descriptor_1;
|
|
68
|
+
var tmp1_flag = true;
|
|
69
|
+
var tmp2_index = 0;
|
|
70
|
+
var tmp3_bitMask0 = 0;
|
|
71
|
+
var tmp4_local0 = null;
|
|
72
|
+
var tmp5_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
73
|
+
if (tmp5_input.decodeSequentially_xlblqy_k$()) {
|
|
74
|
+
tmp4_local0 = tmp5_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
75
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
76
|
+
} else
|
|
77
|
+
while (tmp1_flag) {
|
|
78
|
+
tmp2_index = tmp5_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
|
|
79
|
+
switch (tmp2_index) {
|
|
80
|
+
case -1:
|
|
81
|
+
tmp1_flag = false;
|
|
82
|
+
break;
|
|
83
|
+
case 0:
|
|
84
|
+
tmp4_local0 = tmp5_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
|
|
85
|
+
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
86
|
+
break;
|
|
87
|
+
default:
|
|
88
|
+
throw UnknownFieldException_init_$Create$(tmp2_index);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
tmp5_input.endStructure_1xqz0n_k$(tmp0_desc);
|
|
92
|
+
return PaymentSourceKidInvoiceResponse_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
93
|
+
};
|
|
94
|
+
protoOf($).get_descriptor_wjt6a0_k$ = function () {
|
|
95
|
+
return this.descriptor_1;
|
|
96
|
+
};
|
|
97
|
+
protoOf($).childSerializers_5ghqw5_k$ = function () {
|
|
98
|
+
// Inline function 'kotlin.arrayOf' call
|
|
99
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
100
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
101
|
+
return [get_nullable($serializer_getInstance())];
|
|
102
|
+
};
|
|
103
|
+
protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
104
|
+
$serializerClass = $;
|
|
105
|
+
}
|
|
106
|
+
return $serializerClass;
|
|
107
|
+
}
|
|
108
|
+
var $serializer_instance;
|
|
109
|
+
function $serializer_getInstance_0() {
|
|
110
|
+
if ($serializer_instance == null)
|
|
111
|
+
new ($serializer())();
|
|
112
|
+
return $serializer_instance;
|
|
113
|
+
}
|
|
114
|
+
function PaymentSourceKidInvoiceResponse_init_$Init$(seen0, invoice, serializationConstructorMarker, $this) {
|
|
115
|
+
if (!(0 === (0 & seen0))) {
|
|
116
|
+
throwMissingFieldException(seen0, 0, $serializer_getInstance_0().descriptor_1);
|
|
117
|
+
}
|
|
118
|
+
if (0 === (seen0 & 1))
|
|
119
|
+
$this.invoice = null;
|
|
120
|
+
else
|
|
121
|
+
$this.invoice = invoice;
|
|
122
|
+
return $this;
|
|
123
|
+
}
|
|
124
|
+
function PaymentSourceKidInvoiceResponse_init_$Create$(seen0, invoice, serializationConstructorMarker) {
|
|
125
|
+
return PaymentSourceKidInvoiceResponse_init_$Init$(seen0, invoice, serializationConstructorMarker, objectCreate(protoOf(PaymentSourceKidInvoiceResponse())));
|
|
126
|
+
}
|
|
127
|
+
var PaymentSourceKidInvoiceResponseClass;
|
|
128
|
+
function PaymentSourceKidInvoiceResponse() {
|
|
129
|
+
if (PaymentSourceKidInvoiceResponseClass === VOID) {
|
|
130
|
+
initMetadataForClass($, 'PaymentSourceKidInvoiceResponse', PaymentSourceKidInvoiceResponse, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
|
|
131
|
+
function $(invoice) {
|
|
132
|
+
var __soliboProps = arguments.length === 1 && typeof invoice === 'object' && invoice !== null && invoice.constructor === Object;
|
|
133
|
+
var __soliboTmp, __soliboConverted = false;
|
|
134
|
+
if (__soliboProps) {
|
|
135
|
+
const props = invoice;
|
|
136
|
+
invoice = ('invoice' in props ? props.invoice : VOID);
|
|
137
|
+
}
|
|
138
|
+
if ((__soliboTmp = __soliboToKt(invoice, ["model","PaymentSourceKidInvoice"])) !== invoice) { invoice = __soliboTmp; __soliboConverted = true; }
|
|
139
|
+
invoice = invoice === VOID ? null : invoice;
|
|
140
|
+
this.invoice = invoice;
|
|
141
|
+
if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
|
|
142
|
+
}
|
|
143
|
+
protoOf($).get_invoice_xolt8k_k$ = function () {
|
|
144
|
+
return this.invoice;
|
|
145
|
+
};
|
|
146
|
+
protoOf($).component1_7eebsc_k$ = function () {
|
|
147
|
+
return this.invoice;
|
|
148
|
+
};
|
|
149
|
+
protoOf($).copy_ckmxo5_k$ = function (invoice) {
|
|
150
|
+
return new (PaymentSourceKidInvoiceResponse())(invoice);
|
|
151
|
+
};
|
|
152
|
+
protoOf($).copy = function (invoice, $super) {
|
|
153
|
+
invoice = invoice === VOID ? this.invoice : invoice;
|
|
154
|
+
return $super === VOID ? this.copy_ckmxo5_k$(invoice) : $super.copy_ckmxo5_k$.call(this, invoice);
|
|
155
|
+
};
|
|
156
|
+
protoOf($).toString = function () {
|
|
157
|
+
return 'PaymentSourceKidInvoiceResponse(invoice=' + toString(this.invoice) + ')';
|
|
158
|
+
};
|
|
159
|
+
protoOf($).hashCode = function () {
|
|
160
|
+
return this.invoice == null ? 0 : this.invoice.hashCode();
|
|
161
|
+
};
|
|
162
|
+
protoOf($).equals = function (other) {
|
|
163
|
+
if (this === other)
|
|
164
|
+
return true;
|
|
165
|
+
if (!(other instanceof PaymentSourceKidInvoiceResponse()))
|
|
166
|
+
return false;
|
|
167
|
+
if (!equals(this.invoice, other.invoice))
|
|
168
|
+
return false;
|
|
169
|
+
return true;
|
|
170
|
+
};
|
|
171
|
+
/* Solibo boundary patches */
|
|
172
|
+
Object.defineProperty($, 'name', { value: "PaymentSourceKidInvoiceResponse", configurable: true });
|
|
173
|
+
__soliboRegisterOwnFields($, {"invoice":["model","PaymentSourceKidInvoice"]});
|
|
174
|
+
__soliboRegisterLookup("PaymentSourceKidInvoiceResponse", () => $);
|
|
175
|
+
PaymentSourceKidInvoiceResponseClass = $;
|
|
176
|
+
}
|
|
177
|
+
return PaymentSourceKidInvoiceResponseClass;
|
|
178
|
+
}
|
|
179
|
+
//region block: init
|
|
180
|
+
Companion_instance = new (Companion())();
|
|
181
|
+
//endregion
|
|
182
|
+
//region block: exports
|
|
183
|
+
export {
|
|
184
|
+
PaymentSourceKidInvoiceResponse as PaymentSourceKidInvoiceResponse1gy74emalme7m,
|
|
185
|
+
};
|
|
186
|
+
//endregion
|
|
187
|
+
|
|
188
|
+
/* Solibo boundary lookups */
|
|
189
|
+
__soliboRegisterLookup("PaymentSourceKidInvoice", () => __soliboType_PaymentSourceKidInvoice());
|
|
190
|
+
|
|
@@ -86,6 +86,7 @@ export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/o
|
|
|
86
86
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/RetryCompanyPaymentSourceAllocationOperation.export.mjs';
|
|
87
87
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ReverseCompanyPaymentSourceAllocationOperation.export.mjs';
|
|
88
88
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/RevokeInvoicingCustomerLedgerPostingApprovalOperation.export.mjs';
|
|
89
|
+
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceKidInvoiceOperation.export.mjs';
|
|
89
90
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceOperation.export.mjs';
|
|
90
91
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowCompanyPaymentSourceReadStatusOperation.export.mjs';
|
|
91
92
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingAdHocGroupLinesOperation.export.mjs';
|
|
@@ -263,6 +264,8 @@ export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/I
|
|
|
263
264
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceTracking.export.mjs';
|
|
264
265
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoiceType.export.mjs';
|
|
265
266
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoicingAccount.export.mjs';
|
|
267
|
+
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoiceClosing.export.mjs';
|
|
268
|
+
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/KidInvoicePayment.export.mjs';
|
|
266
269
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/ManualPaymentRegistration.export.mjs';
|
|
267
270
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/ManualPaymentSourceRequest.export.mjs';
|
|
268
271
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/MassInvoiceOverdueDelayCommand.export.mjs';
|
|
@@ -347,6 +350,8 @@ export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/P
|
|
|
347
350
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentPayerType.export.mjs';
|
|
348
351
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentRecord.export.mjs';
|
|
349
352
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSource.export.mjs';
|
|
353
|
+
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoice.export.mjs';
|
|
354
|
+
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceKidInvoiceResponse.export.mjs';
|
|
350
355
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceListItem.export.mjs';
|
|
351
356
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceOriginClassification.export.mjs';
|
|
352
357
|
export * from './solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentSourceProvenance.export.mjs';
|
|
@@ -28,7 +28,7 @@ function SoliboOpenTelemetry() {
|
|
|
28
28
|
}
|
|
29
29
|
protoOf($).tracer_4zr7of_k$ = function () {
|
|
30
30
|
var tmp0_elvis_lhs = this.installed_1;
|
|
31
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.53.
|
|
31
|
+
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.53.4');
|
|
32
32
|
};
|
|
33
33
|
SoliboOpenTelemetryClass = $;
|
|
34
34
|
}
|
package/solibo-sdk-sdk.d.mts
CHANGED
|
@@ -8355,6 +8355,7 @@ export declare class PaymentAllocationApi extends ApiClient.$metadata$.construct
|
|
|
8355
8355
|
retryCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, idempotencyKey: string, retryPaymentAllocationRequest?: RetryPaymentAllocationRequest | null | undefined): Promise<HttpResponse<PaymentAllocationCommand>>;
|
|
8356
8356
|
reverseCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, idempotencyKey: string, reversePaymentAllocationRequest: ReversePaymentAllocationRequest): Promise<HttpResponse<PaymentAllocationCommand>>;
|
|
8357
8357
|
showCompanyPaymentSource(companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentSource>>;
|
|
8358
|
+
showCompanyPaymentSourceKidInvoice(companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentSourceKidInvoiceResponse>>;
|
|
8358
8359
|
showCompanyPaymentSourceReadStatus(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<PaymentSourceReadStatus>>;
|
|
8359
8360
|
}
|
|
8360
8361
|
export declare namespace PaymentAllocationApi {
|
|
@@ -8445,6 +8446,7 @@ export declare function refreshInvoicingCompanyLedgerOperation(client: ApiClient
|
|
|
8445
8446
|
export declare function retryCompanyPaymentSourceAllocationOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, idempotencyKey: string, retryPaymentAllocationRequest?: RetryPaymentAllocationRequest | null | undefined): Promise<HttpResponse<PaymentAllocationCommand>>;
|
|
8446
8447
|
export declare function reverseCompanyPaymentSourceAllocationOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, idempotencyKey: string, reversePaymentAllocationRequest: ReversePaymentAllocationRequest): Promise<HttpResponse<PaymentAllocationCommand>>;
|
|
8447
8448
|
export declare function revokeInvoicingCustomerLedgerPostingApprovalOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, postingId: string, revokeCustomerLedgerPostingApprovalCommand: RevokeCustomerLedgerPostingApprovalCommand): Promise<HttpResponse<CustomerLedgerPostingApprovalResult>>;
|
|
8449
|
+
export declare function showCompanyPaymentSourceKidInvoiceOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentSourceKidInvoiceResponse>>;
|
|
8448
8450
|
export declare function showCompanyPaymentSourceOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentSource>>;
|
|
8449
8451
|
export declare function showCompanyPaymentSourceReadStatusOperation(client: ApiClient, companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<PaymentSourceReadStatus>>;
|
|
8450
8452
|
export declare function showInvoicingAdHocGroupLinesOperation(client: ApiClient, companyId: bigint, adhocLineGroupId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListAdHocInvoiceLine>>;
|
|
@@ -13225,6 +13227,82 @@ export declare namespace InvoicingAccount {
|
|
|
13225
13227
|
const constructor: abstract new () => InvoicingAccount;
|
|
13226
13228
|
}
|
|
13227
13229
|
}
|
|
13230
|
+
export declare abstract class KidInvoiceClosing {
|
|
13231
|
+
private constructor();
|
|
13232
|
+
static get PAID(): KidInvoiceClosing & {
|
|
13233
|
+
get name(): "PAID";
|
|
13234
|
+
get ordinal(): 0;
|
|
13235
|
+
};
|
|
13236
|
+
static get MANUAL(): KidInvoiceClosing & {
|
|
13237
|
+
get name(): "MANUAL";
|
|
13238
|
+
get ordinal(): 1;
|
|
13239
|
+
};
|
|
13240
|
+
static get CREDITED(): KidInvoiceClosing & {
|
|
13241
|
+
get name(): "CREDITED";
|
|
13242
|
+
get ordinal(): 2;
|
|
13243
|
+
};
|
|
13244
|
+
static get LOSS(): KidInvoiceClosing & {
|
|
13245
|
+
get name(): "LOSS";
|
|
13246
|
+
get ordinal(): 3;
|
|
13247
|
+
};
|
|
13248
|
+
static get Paid(): KidInvoiceClosing & {
|
|
13249
|
+
get name(): "PAID";
|
|
13250
|
+
get ordinal(): 0;
|
|
13251
|
+
};
|
|
13252
|
+
static get Manual(): KidInvoiceClosing & {
|
|
13253
|
+
get name(): "MANUAL";
|
|
13254
|
+
get ordinal(): 1;
|
|
13255
|
+
};
|
|
13256
|
+
static get Credited(): KidInvoiceClosing & {
|
|
13257
|
+
get name(): "CREDITED";
|
|
13258
|
+
get ordinal(): 2;
|
|
13259
|
+
};
|
|
13260
|
+
static get Loss(): KidInvoiceClosing & {
|
|
13261
|
+
get name(): "LOSS";
|
|
13262
|
+
get ordinal(): 3;
|
|
13263
|
+
};
|
|
13264
|
+
static values(): [typeof KidInvoiceClosing.PAID, typeof KidInvoiceClosing.MANUAL, typeof KidInvoiceClosing.CREDITED, typeof KidInvoiceClosing.LOSS];
|
|
13265
|
+
static valueOf(value: string): KidInvoiceClosing;
|
|
13266
|
+
get name(): "PAID" | "MANUAL" | "CREDITED" | "LOSS";
|
|
13267
|
+
get ordinal(): 0 | 1 | 2 | 3;
|
|
13268
|
+
get value(): string;
|
|
13269
|
+
}
|
|
13270
|
+
export declare namespace KidInvoiceClosing {
|
|
13271
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13272
|
+
namespace $metadata$ {
|
|
13273
|
+
const constructor: abstract new () => KidInvoiceClosing;
|
|
13274
|
+
}
|
|
13275
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
13276
|
+
private constructor();
|
|
13277
|
+
}
|
|
13278
|
+
namespace Companion {
|
|
13279
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13280
|
+
namespace $metadata$ {
|
|
13281
|
+
abstract class constructor /* implements SerializerFactory */ {
|
|
13282
|
+
fromValue(value: string): KidInvoiceClosing | null | undefined;
|
|
13283
|
+
private constructor();
|
|
13284
|
+
}
|
|
13285
|
+
}
|
|
13286
|
+
}
|
|
13287
|
+
}
|
|
13288
|
+
export interface KidInvoicePaymentProps {
|
|
13289
|
+
amount: string;
|
|
13290
|
+
payerName?: string | null | undefined;
|
|
13291
|
+
paymentDate: bigint;
|
|
13292
|
+
}
|
|
13293
|
+
export declare class KidInvoicePayment {
|
|
13294
|
+
constructor(props: KidInvoicePaymentProps);
|
|
13295
|
+
constructor(amount: string, payerName: string | null | undefined, paymentDate: bigint);
|
|
13296
|
+
get amount(): string;
|
|
13297
|
+
get payerName(): string | null | undefined;
|
|
13298
|
+
get paymentDate(): bigint;
|
|
13299
|
+
}
|
|
13300
|
+
export declare namespace KidInvoicePayment {
|
|
13301
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
13302
|
+
namespace $metadata$ {
|
|
13303
|
+
const constructor: abstract new () => KidInvoicePayment;
|
|
13304
|
+
}
|
|
13305
|
+
}
|
|
13228
13306
|
export interface ManualPaymentRegistrationProps {
|
|
13229
13307
|
bookkeepingAccount: string;
|
|
13230
13308
|
paymentDocumentId?: bigint | null | undefined;
|
|
@@ -15853,6 +15931,58 @@ export declare namespace PaymentSource {
|
|
|
15853
15931
|
const constructor: abstract new () => PaymentSource;
|
|
15854
15932
|
}
|
|
15855
15933
|
}
|
|
15934
|
+
export interface PaymentSourceKidInvoiceProps {
|
|
15935
|
+
closedAt?: bigint | null | undefined;
|
|
15936
|
+
closedHow?: KidInvoiceClosing | null | undefined;
|
|
15937
|
+
closingNote?: string | null | undefined;
|
|
15938
|
+
dueDate: bigint;
|
|
15939
|
+
invoiceDate: bigint;
|
|
15940
|
+
invoiceId: string;
|
|
15941
|
+
number: bigint;
|
|
15942
|
+
open: boolean;
|
|
15943
|
+
outstanding?: string | null | undefined;
|
|
15944
|
+
payer?: PaymentPayerProps | null | undefined;
|
|
15945
|
+
payerName?: string | null | undefined;
|
|
15946
|
+
payments?: KidInvoicePaymentProps[] | null | undefined;
|
|
15947
|
+
total: string;
|
|
15948
|
+
}
|
|
15949
|
+
export declare class PaymentSourceKidInvoice {
|
|
15950
|
+
constructor(props: PaymentSourceKidInvoiceProps);
|
|
15951
|
+
constructor(closedAt: bigint | null | undefined, closedHow: KidInvoiceClosing | null | undefined, closingNote: string | null | undefined, dueDate: bigint, invoiceDate: bigint, invoiceId: string, number: bigint, open: boolean, outstanding: string | null | undefined, payer: PaymentPayer | null | undefined, payerName: string | null | undefined, payments: KidInvoicePayment[] | null | undefined, total: string);
|
|
15952
|
+
get closedAt(): bigint | null | undefined;
|
|
15953
|
+
get closedHow(): KidInvoiceClosing | null | undefined;
|
|
15954
|
+
get closingNote(): string | null | undefined;
|
|
15955
|
+
get dueDate(): bigint;
|
|
15956
|
+
get invoiceDate(): bigint;
|
|
15957
|
+
get invoiceId(): string;
|
|
15958
|
+
get number(): bigint;
|
|
15959
|
+
get open(): boolean;
|
|
15960
|
+
get outstanding(): string | null | undefined;
|
|
15961
|
+
get payer(): PaymentPayer | null | undefined;
|
|
15962
|
+
get payerName(): string | null | undefined;
|
|
15963
|
+
get payments(): KidInvoicePayment[] | null | undefined;
|
|
15964
|
+
get total(): string;
|
|
15965
|
+
}
|
|
15966
|
+
export declare namespace PaymentSourceKidInvoice {
|
|
15967
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
15968
|
+
namespace $metadata$ {
|
|
15969
|
+
const constructor: abstract new () => PaymentSourceKidInvoice;
|
|
15970
|
+
}
|
|
15971
|
+
}
|
|
15972
|
+
export interface PaymentSourceKidInvoiceResponseProps {
|
|
15973
|
+
invoice?: PaymentSourceKidInvoiceProps | null | undefined;
|
|
15974
|
+
}
|
|
15975
|
+
export declare class PaymentSourceKidInvoiceResponse {
|
|
15976
|
+
constructor(props: PaymentSourceKidInvoiceResponseProps);
|
|
15977
|
+
constructor(invoice?: PaymentSourceKidInvoice | null | undefined);
|
|
15978
|
+
get invoice(): PaymentSourceKidInvoice | null | undefined;
|
|
15979
|
+
}
|
|
15980
|
+
export declare namespace PaymentSourceKidInvoiceResponse {
|
|
15981
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
15982
|
+
namespace $metadata$ {
|
|
15983
|
+
const constructor: abstract new () => PaymentSourceKidInvoiceResponse;
|
|
15984
|
+
}
|
|
15985
|
+
}
|
|
15856
15986
|
export interface PaymentSourceListItemProps {
|
|
15857
15987
|
source: PaymentSourceRecordProps;
|
|
15858
15988
|
workflow?: PaymentAllocationWorkflowProps | null | undefined;
|