@solibo/solibo-sdk 1.53.2 → 1.53.3

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 (20) hide show
  1. package/client/paymentAllocation.mjs +18 -2
  2. package/client-core.mjs +4 -0
  3. package/client.d.mts +12 -4
  4. package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +2 -2
  5. package/ktor-ktor-websockets/io/ktor/websocket/WebSocketChannelsConfig.mjs +2 -2
  6. package/operations/paymentAllocation.mjs +1 -1
  7. package/package.json +1 -1
  8. package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
  9. package/solibo-cycles/kotlinx-coroutines-core-17.mjs +1 -1
  10. package/solibo-cycles/solibo-sdk-sdk-core-53.mjs +2 -2
  11. package/solibo-sdk-sdk/no/solibo/oss/sdk/api/MockHomeApi.mjs +1 -1
  12. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.export.d.mts +1 -1
  13. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/PaymentAllocationApi.mjs +24 -14
  14. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyPaymentSourceInvoiceCandidatesOperation.export.d.mts +1 -1
  15. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyPaymentSourceInvoiceCandidatesOperation.export.mjs +2 -2
  16. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/IndexCompanyPaymentSourceInvoiceCandidatesOperation.mjs +60 -20
  17. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentAllocationInvoiceCandidate.export.d.mts +6 -2
  18. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentAllocationInvoiceCandidate.mjs +158 -40
  19. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
  20. package/solibo-sdk-sdk.d.mts +11 -3
@@ -116,11 +116,11 @@ const DESCRIPTORS = {
116
116
  },
117
117
  {
118
118
  "name": "payerType",
119
- "type": "string"
119
+ "type": "string | null | undefined"
120
120
  },
121
121
  {
122
122
  "name": "payerId",
123
- "type": "bigint"
123
+ "type": "bigint | null | undefined"
124
124
  },
125
125
  {
126
126
  "name": "search",
@@ -130,6 +130,22 @@ const DESCRIPTORS = {
130
130
  "name": "availableAmount",
131
131
  "type": "string | null | undefined"
132
132
  },
133
+ {
134
+ "name": "kid",
135
+ "type": "string | null | undefined"
136
+ },
137
+ {
138
+ "name": "invoiceNumber",
139
+ "type": "bigint | null | undefined"
140
+ },
141
+ {
142
+ "name": "amount",
143
+ "type": "string | null | undefined"
144
+ },
145
+ {
146
+ "name": "customer",
147
+ "type": "string | null | undefined"
148
+ },
133
149
  {
134
150
  "name": "fields",
135
151
  "type": "string | null | undefined"
package/client-core.mjs CHANGED
@@ -3337,7 +3337,11 @@ const PROPS = {
3337
3337
  "description": "string | null | undefined",
3338
3338
  "dueDate": "bigint",
3339
3339
  "id": "string",
3340
+ "kid": "string | null | undefined",
3341
+ "kidMatch": "boolean | null | undefined",
3340
3342
  "number": "bigint",
3343
+ "payer": "PaymentPayerProps | null | undefined",
3344
+ "payerName": "string | null | undefined",
3341
3345
  "suggestedAmount": "string | null | undefined"
3342
3346
  },
3343
3347
  "PaymentAllocationKidInvoiceProps": {
package/client.d.mts CHANGED
@@ -6506,10 +6506,14 @@ export interface PaymentAllocationApiFacade {
6506
6506
  indexCompanyPaymentSourceInvoiceCandidates<F extends string | null | undefined = undefined>(params: {
6507
6507
  companyId: Id;
6508
6508
  paymentSourceId: string;
6509
- payerType: string;
6510
- payerId: Id;
6509
+ payerType?: string | null | undefined;
6510
+ payerId?: Id | null | undefined;
6511
6511
  search?: string | null | undefined;
6512
6512
  availableAmount?: string | null | undefined;
6513
+ kid?: string | null | undefined;
6514
+ invoiceNumber?: Id | null | undefined;
6515
+ amount?: string | null | undefined;
6516
+ customer?: string | null | undefined;
6513
6517
  fields?: F;
6514
6518
  pageToken?: string | null | undefined;
6515
6519
  autoPaginate?: boolean | null | undefined;
@@ -6618,10 +6622,14 @@ export interface PaymentAllocationApiOperations {
6618
6622
  indexCompanyPaymentSourceInvoiceCandidates<F extends string | null | undefined = undefined>(client: SoliboOperationClient, params: {
6619
6623
  companyId: Id;
6620
6624
  paymentSourceId: string;
6621
- payerType: string;
6622
- payerId: Id;
6625
+ payerType?: string | null | undefined;
6626
+ payerId?: Id | null | undefined;
6623
6627
  search?: string | null | undefined;
6624
6628
  availableAmount?: string | null | undefined;
6629
+ kid?: string | null | undefined;
6630
+ invoiceNumber?: Id | null | undefined;
6631
+ amount?: string | null | undefined;
6632
+ customer?: string | null | undefined;
6625
6633
  fields?: F;
6626
6634
  pageToken?: string | null | undefined;
6627
6635
  autoPaginate?: boolean | null | undefined;
@@ -5,8 +5,8 @@ import { protoOf180f3jzyo7rfj as protoOf } from '../../../../kotlin-kotlin-stdli
5
5
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
6
6
  import {
7
7
  close$default2suggcywjwe8g as close$default,
8
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
8
  SendChannel38sllbxw662ws as SendChannel,
9
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
10
10
  } from './Channel.mjs';
11
11
  import { initMetadataForClassbxx6q50dy2s7 as initMetadataForClass } from '../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
12
12
  import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
@@ -17,7 +17,7 @@ import { VOID3gxj6tk5isa35 as VOID } from '../../../../kotlin-kotlin-stdlib/kotl
17
17
  var ChannelCoroutineClass;
18
18
  function ChannelCoroutine() {
19
19
  if (ChannelCoroutineClass === VOID) {
20
- initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [1, 0]);
20
+ initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [SendChannel(), ReceiveChannel()], [1, 0]);
21
21
  function $(parentContext, _channel, initParentJob, active) {
22
22
  AbstractCoroutine().call(this, parentContext, initParentJob, active);
23
23
  this._channel_1 = _channel;
@@ -24,8 +24,8 @@ import {
24
24
  _ChannelResult___get_isClosed__impl__mg7kuul2jcxqhngcqm as _ChannelResult___get_isClosed__impl__mg7kuu,
25
25
  close$default2suggcywjwe8g as close$default,
26
26
  cancel$default3v09jht7i082i as cancel$default,
27
- ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
28
27
  SendChannel38sllbxw662ws as SendChannel,
28
+ ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
29
29
  } from '../../../../kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs';
30
30
  import { Enum3alwj03lh1n41 as Enum } from '../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
31
31
  import { throwUninitializedPropertyAccessException14fok093f3k3t as throwUninitializedPropertyAccessException } from '../../../../kotlin-kotlin-stdlib/kotlin/internal/ThrowHelpers.mjs';
@@ -190,7 +190,7 @@ function Companion_getInstance_1() {
190
190
  var BoundedChannelClass;
191
191
  function BoundedChannel() {
192
192
  if (BoundedChannelClass === VOID) {
193
- initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 0]);
193
+ initMetadataForClass($, 'BoundedChannel', VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 0]);
194
194
  function $(capacity, delegate) {
195
195
  delegate = delegate === VOID ? Companion_instance_1.createDelegate_n5r3h5_k$(capacity) : delegate;
196
196
  this.delegate_1 = delegate;
@@ -45,7 +45,7 @@ export function indexCompanyPaymentSourceHistory(client, params) {
45
45
  }
46
46
 
47
47
  export function indexCompanyPaymentSourceInvoiceCandidates(client, params) {
48
- return invokeOperation(client, "paymentAllocation", indexCompanyPaymentSourceInvoiceCandidatesOperation, {"method":"indexCompanyPaymentSourceInvoiceCandidates","args":[{"name":"companyId","type":"bigint"},{"name":"paymentSourceId","type":"string"},{"name":"payerType","type":"string"},{"name":"payerId","type":"bigint"},{"name":"search","type":"string | null | undefined"},{"name":"availableAmount","type":"string | null | undefined"},{"name":"fields","type":"string | null | undefined"},{"name":"pageToken","type":"string | null | undefined"},{"name":"autoPaginate","type":"boolean | null | undefined"},{"name":"count","type":"number | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["dueDate","id","number"]}, params);
48
+ return invokeOperation(client, "paymentAllocation", indexCompanyPaymentSourceInvoiceCandidatesOperation, {"method":"indexCompanyPaymentSourceInvoiceCandidates","args":[{"name":"companyId","type":"bigint"},{"name":"paymentSourceId","type":"string"},{"name":"payerType","type":"string | null | undefined"},{"name":"payerId","type":"bigint | null | undefined"},{"name":"search","type":"string | null | undefined"},{"name":"availableAmount","type":"string | null | undefined"},{"name":"kid","type":"string | null | undefined"},{"name":"invoiceNumber","type":"bigint | null | undefined"},{"name":"amount","type":"string | null | undefined"},{"name":"customer","type":"string | null | undefined"},{"name":"fields","type":"string | null | undefined"},{"name":"pageToken","type":"string | null | undefined"},{"name":"autoPaginate","type":"boolean | null | undefined"},{"name":"count","type":"number | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["dueDate","id","number"]}, params);
49
49
  }
50
50
 
51
51
  export function indexCompanyPaymentSources(client, params) {
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "url": "git+https://github.com/Solibo-AS/solibo-sdk.git",
24
24
  "directory": "sdk"
25
25
  },
26
- "version": "1.53.2",
26
+ "version": "1.53.3",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -2749,7 +2749,7 @@ function ClauseData() {
2749
2749
  this.indexInSegment_1 = -1;
2750
2750
  };
2751
2751
  initMetadataForClass13($, "ClauseData", VOID18, VOID18, VOID18, [1]);
2752
- protoOf17($).tryRegisterAsWaiter_wnojok_k$ = function(select) {
2752
+ protoOf17($).tryRegisterAsWaiter_kpp8yw_k$ = function(select) {
2753
2753
  this.regFunc_1(this.clauseObject_1, select, this.param_1);
2754
2754
  return select.internalResult_1 === get_NO_RESULT();
2755
2755
  };
@@ -3033,7 +3033,7 @@ function SelectImplementation() {
3033
3033
  this.indexInSegment_1 = -1;
3034
3034
  this.internalResult_1 = get_NO_RESULT();
3035
3035
  };
3036
- initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), SelectInstance(), Waiter2()], [0, 2]);
3036
+ initMetadataForClass13($, "SelectImplementation", VOID18, VOID18, [CancelHandler(), Waiter2(), SelectInstance()], [0, 2]);
3037
3037
  protoOf17($).get_context_h02k06_k$ = function() {
3038
3038
  return this.context_1;
3039
3039
  };
@@ -3044,7 +3044,7 @@ function SelectImplementation() {
3044
3044
  return tmp.doResume_5yljmg_k$();
3045
3045
  };
3046
3046
  protoOf17($).invoke_43nm97_k$ = function(_this__u8e3s4, block) {
3047
- return this.register$default_bbb1nn_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3047
+ return this.register$default_acgh9r_k$(new (ClauseData())(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), get_PARAM_CLAUSE_0(), block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
3048
3048
  };
3049
3049
  protoOf17($).register_4szh8u_k$ = function(_this__u8e3s4, reregister) {
3050
3050
  if (this.state_1.kotlinx$atomicfu$value instanceof ClauseData())
@@ -3052,7 +3052,7 @@ function SelectImplementation() {
3052
3052
  if (!reregister) {
3053
3053
  checkClauseObject(this, _this__u8e3s4.clauseObject_1);
3054
3054
  }
3055
- if (_this__u8e3s4.tryRegisterAsWaiter_wnojok_k$(this)) {
3055
+ if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
3056
3056
  if (!reregister) {
3057
3057
  ensureNotNull2(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
3058
3058
  }
@@ -3064,7 +3064,7 @@ function SelectImplementation() {
3064
3064
  this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
3065
3065
  }
3066
3066
  };
3067
- protoOf17($).register$default_bbb1nn_k$ = function(_this__u8e3s4, reregister, $super) {
3067
+ protoOf17($).register$default_acgh9r_k$ = function(_this__u8e3s4, reregister, $super) {
3068
3068
  reregister = reregister === VOID18 ? false : reregister;
3069
3069
  var tmp;
3070
3070
  if ($super === VOID18) {
@@ -2474,7 +2474,7 @@ function BufferedChannel() {
2474
2474
  this._closeCause_1 = atomic$ref$1(get_NO_CLOSE_CAUSE());
2475
2475
  this.closeHandler_1 = atomic$ref$1(null);
2476
2476
  };
2477
- initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [1, 4, 0, 3]);
2477
+ initMetadataForClass($, "BufferedChannel", VOID, VOID, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2478
2478
  protoOf($).get_sendersCounter_mvbt0m_k$ = function() {
2479
2479
  return this.sendersAndCloseStatus_1.kotlinx$atomicfu$value & 1152921504606846975n;
2480
2480
  };
@@ -2045,8 +2045,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
2045
2045
  }
2046
2046
  accept($this$defaultRequest, Application_getInstance().Json_1);
2047
2047
  header($this$defaultRequest, "Accept-Language", buildAcceptLanguage(this$0.userLanguage));
2048
- header($this$defaultRequest, "User-Agent", "SoliboSDK/1.53.2 (" + $platformName + ")");
2049
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.53.2");
2048
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.53.3 (" + $platformName + ")");
2049
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.53.3");
2050
2050
  return Unit_instance2;
2051
2051
  };
2052
2052
  }
@@ -15955,7 +15955,7 @@ function MockBackend$registerFinanceHandlers$lambda_5(this$0) {
15955
15955
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15956
15956
  var tmp0 = this$0;
15957
15957
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
15958
- var content = new (PagedListPaymentAllocationInvoiceCandidate())(listOf_0(new (PaymentAllocationInvoiceCandidate())(VOID, 'Mock common costs', 1793491200n, 'mock-invoice-1', 1n)), new (Meta())(1n), new (Paging())());
15958
+ var content = new (PagedListPaymentAllocationInvoiceCandidate())(listOf_0(new (PaymentAllocationInvoiceCandidate())(VOID, 'Mock common costs', 1793491200n, 'mock-invoice-1', VOID, VOID, 1n)), new (Meta())(1n), new (Paging())());
15959
15959
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
15960
15960
  var this_0 = tmp0.json_1;
15961
15961
  // Inline function 'kotlinx.serialization.serializer' call
@@ -9,7 +9,7 @@ export declare class PaymentAllocationApi extends ApiClient.$metadata$.construct
9
9
  evaluateCompanyPaymentSourceAllocationDraft(companyId: bigint, paymentSourceId: string, paymentAllocationDraftRequest: PaymentAllocationDraftRequest): Promise<HttpResponse<PaymentAllocationDraft>>;
10
10
  finalizeCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, idempotencyKey: string, finalizePaymentAllocationPlanRequest: FinalizePaymentAllocationPlanRequest): Promise<HttpResponse<PaymentAllocationCommand>>;
11
11
  indexCompanyPaymentSourceHistory(companyId: bigint, paymentSourceId: string, fields?: Nullable<string>): Promise<HttpResponse<PaymentAllocationHistory>>;
12
- indexCompanyPaymentSourceInvoiceCandidates(companyId: bigint, paymentSourceId: string, payerType: string, payerId: bigint, search?: Nullable<string>, availableAmount?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
12
+ indexCompanyPaymentSourceInvoiceCandidates(companyId: bigint, paymentSourceId: string, payerType?: Nullable<string>, payerId?: Nullable<bigint>, search?: Nullable<string>, availableAmount?: Nullable<string>, kid?: Nullable<string>, invoiceNumber?: Nullable<bigint>, amount?: Nullable<string>, customer?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
13
13
  indexCompanyPaymentSources(companyId: bigint, unprocessedOnly?: Nullable<boolean>, state?: Nullable<string>, fromDate?: Nullable<bigint>, toDate?: Nullable<bigint>, payer?: Nullable<string>, kid?: Nullable<string>, sourcePaymentId?: Nullable<string>, transactionId?: Nullable<string>, requestId?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPaymentSourceListItem>>;
14
14
  indexPaymentSourcesForCompanies(companyIds?: Nullable<KtList<bigint>>, unprocessedOnly?: Nullable<boolean>, sourcePaymentId?: Nullable<string>, state?: Nullable<string>, fromDate?: Nullable<bigint>, toDate?: Nullable<bigint>, payer?: Nullable<string>, kid?: Nullable<string>, transactionId?: Nullable<string>, requestId?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListCompanyPaymentSourceListItem>>;
15
15
  previewCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, paymentAllocationPreviewRequest: PaymentAllocationPreviewRequest): Promise<HttpResponse<PaymentAllocationPreview>>;
@@ -25,7 +25,7 @@ import { createCompanyManualPaymentSourceOperation3hlg4lt7anmj6 as createCompany
25
25
  import { evaluateCompanyPaymentSourceAllocationDraftOperation9as2dx6fns2t as evaluateCompanyPaymentSourceAllocationDraftOperation } from '../operations/EvaluateCompanyPaymentSourceAllocationDraftOperation.mjs';
26
26
  import { finalizeCompanyPaymentSourceAllocationOperation21lupql29vxc8 as finalizeCompanyPaymentSourceAllocationOperation } from '../operations/FinalizeCompanyPaymentSourceAllocationOperation.mjs';
27
27
  import { indexCompanyPaymentSourceHistoryOperation3qhzl46mu5vi3 as indexCompanyPaymentSourceHistoryOperation } from '../operations/IndexCompanyPaymentSourceHistoryOperation.mjs';
28
- import { indexCompanyPaymentSourceInvoiceCandidatesOperation246b8mqo2mfpx as indexCompanyPaymentSourceInvoiceCandidatesOperation } from '../operations/IndexCompanyPaymentSourceInvoiceCandidatesOperation.mjs';
28
+ import { indexCompanyPaymentSourceInvoiceCandidatesOperation3r8pj3d49m1ay as indexCompanyPaymentSourceInvoiceCandidatesOperation } from '../operations/IndexCompanyPaymentSourceInvoiceCandidatesOperation.mjs';
29
29
  import { indexCompanyPaymentSourcesOperation2xew5rke2sqwx as indexCompanyPaymentSourcesOperation } from '../operations/IndexCompanyPaymentSourcesOperation.mjs';
30
30
  import { indexPaymentSourcesForCompaniesOperationfhhpd85thq2q as indexPaymentSourcesForCompaniesOperation } from '../operations/IndexPaymentSourcesForCompaniesOperation.mjs';
31
31
  import { previewCompanyPaymentSourceAllocationOperation3q803ne5fsqcp as previewCompanyPaymentSourceAllocationOperation } from '../operations/PreviewCompanyPaymentSourceAllocationOperation.mjs';
@@ -390,7 +390,7 @@ var $indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$Class;
390
390
  function $indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$() {
391
391
  if ($indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$Class === VOID) {
392
392
  initMetadataForCoroutine($, CoroutineImpl());
393
- function $(_this__u8e3s4, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, resultContinuation) {
393
+ function $(_this__u8e3s4, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, resultContinuation) {
394
394
  CoroutineImpl().call(this, resultContinuation);
395
395
  this._this__u8e3s4__1 = _this__u8e3s4;
396
396
  this.companyId_1 = companyId;
@@ -399,6 +399,10 @@ function $indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$() {
399
399
  this.payerId_1 = payerId;
400
400
  this.search_1 = search;
401
401
  this.availableAmount_1 = availableAmount;
402
+ this.kid_1 = kid;
403
+ this.invoiceNumber_1 = invoiceNumber;
404
+ this.amount_1 = amount;
405
+ this.customer_1 = customer;
402
406
  this.fields_1 = fields;
403
407
  this.pageToken_1 = pageToken;
404
408
  this.autoPaginate_1 = autoPaginate;
@@ -414,14 +418,14 @@ function $indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$() {
414
418
  this.exceptionState_1 = 4;
415
419
  if (this._this__u8e3s4__1.indexCompanyPaymentSourceInvoiceCandidates === protoOf(PaymentAllocationApi()).indexCompanyPaymentSourceInvoiceCandidates) {
416
420
  this.state_1 = 2;
417
- suspendResult = this._this__u8e3s4__1.indexCompanyPaymentSourceInvoiceCandidates$default_a2ddfc_k$(this.companyId_1, this.paymentSourceId_1, this.payerType_1, this.payerId_1, this.search_1, this.availableAmount_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
421
+ suspendResult = this._this__u8e3s4__1.indexCompanyPaymentSourceInvoiceCandidates$default_jup2ei_k$(this.companyId_1, this.paymentSourceId_1, this.payerType_1, this.payerId_1, this.search_1, this.availableAmount_1, this.kid_1, this.invoiceNumber_1, this.amount_1, this.customer_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this);
418
422
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
419
423
  return suspendResult;
420
424
  }
421
425
  continue $sm;
422
426
  } else {
423
427
  this.state_1 = 1;
424
- suspendResult = await_0(this._this__u8e3s4__1.indexCompanyPaymentSourceInvoiceCandidates(this.companyId_1, this.paymentSourceId_1, this.payerType_1, this.payerId_1, this.search_1, this.availableAmount_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
428
+ suspendResult = await_0(this._this__u8e3s4__1.indexCompanyPaymentSourceInvoiceCandidates(this.companyId_1, this.paymentSourceId_1, this.payerType_1, this.payerId_1, this.search_1, this.availableAmount_1, this.kid_1, this.invoiceNumber_1, this.amount_1, this.customer_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
425
429
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
426
430
  return suspendResult;
427
431
  }
@@ -1051,7 +1055,7 @@ function $showCompanyPaymentSourceReadStatus$suspendBridgeCOROUTINE$() {
1051
1055
  var PaymentAllocationApiClass;
1052
1056
  function PaymentAllocationApi() {
1053
1057
  if (PaymentAllocationApiClass === VOID) {
1054
- initMetadataForClass($, 'PaymentAllocationApi', create, ApiClient(), VOID, [4, 3, 10, 14, 2]);
1058
+ initMetadataForClass($, 'PaymentAllocationApi', create, ApiClient(), VOID, [4, 3, 14, 2]);
1055
1059
  protoOf($).closeCompanyPaymentSource_gadi1b_k$ = function (companyId, paymentSourceId, idempotencyKey, closePaymentSourceRequest, $completion) {
1056
1060
  return closeCompanyPaymentSourceOperation(this, companyId, paymentSourceId, idempotencyKey, closePaymentSourceRequest, $completion);
1057
1061
  };
@@ -1131,26 +1135,32 @@ function PaymentAllocationApi() {
1131
1135
  tmp.exception_1 = null;
1132
1136
  return tmp.doResume_5yljmg_k$();
1133
1137
  };
1134
- protoOf($).indexCompanyPaymentSourceInvoiceCandidates_zh2uus_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion) {
1135
- return indexCompanyPaymentSourceInvoiceCandidatesOperation(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
1138
+ protoOf($).indexCompanyPaymentSourceInvoiceCandidates_fyhp50_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion) {
1139
+ return indexCompanyPaymentSourceInvoiceCandidatesOperation(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
1136
1140
  };
1137
- protoOf($).indexCompanyPaymentSourceInvoiceCandidates$default_a2ddfc_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion, $super) {
1141
+ protoOf($).indexCompanyPaymentSourceInvoiceCandidates$default_jup2ei_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion, $super) {
1142
+ payerType = payerType === VOID ? null : payerType;
1143
+ payerId = payerId === VOID ? null : payerId;
1138
1144
  search = search === VOID ? null : search;
1139
1145
  availableAmount = availableAmount === VOID ? null : availableAmount;
1146
+ kid = kid === VOID ? null : kid;
1147
+ invoiceNumber = invoiceNumber === VOID ? null : invoiceNumber;
1148
+ amount = amount === VOID ? null : amount;
1149
+ customer = customer === VOID ? null : customer;
1140
1150
  fields = fields === VOID ? null : fields;
1141
1151
  pageToken = pageToken === VOID ? null : pageToken;
1142
1152
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
1143
1153
  count = count === VOID ? null : count;
1144
- return $super === VOID ? this.indexCompanyPaymentSourceInvoiceCandidates_zh2uus_k$(companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion) : $super.indexCompanyPaymentSourceInvoiceCandidates_zh2uus_k$.call(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
1154
+ return $super === VOID ? this.indexCompanyPaymentSourceInvoiceCandidates_fyhp50_k$(companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion) : $super.indexCompanyPaymentSourceInvoiceCandidates_fyhp50_k$.call(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
1145
1155
  };
1146
- protoOf($).indexCompanyPaymentSourceInvoiceCandidates = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count) {
1156
+ protoOf($).indexCompanyPaymentSourceInvoiceCandidates = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count) {
1147
1157
  var tmp = this;
1148
1158
  return promisify(function ($completion) {
1149
- return tmp.indexCompanyPaymentSourceInvoiceCandidates$default_a2ddfc_k$(companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
1159
+ return tmp.indexCompanyPaymentSourceInvoiceCandidates$default_jup2ei_k$(companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
1150
1160
  });
1151
1161
  };
1152
- protoOf($).indexCompanyPaymentSourceInvoiceCandidates$suspendBridge_5utuet_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion) {
1153
- var tmp = new ($indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$())(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
1162
+ protoOf($).indexCompanyPaymentSourceInvoiceCandidates$suspendBridge_z30cp1_k$ = function (companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion) {
1163
+ var tmp = new ($indexCompanyPaymentSourceInvoiceCandidates$suspendBridgeCOROUTINE$())(this, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
1154
1164
  tmp.result_1 = Unit_instance;
1155
1165
  tmp.exception_1 = null;
1156
1166
  return tmp.doResume_5yljmg_k$();
@@ -1344,7 +1354,7 @@ function PaymentAllocationApi() {
1344
1354
  __soliboWrapMethod($, "evaluateCompanyPaymentSourceAllocationDraft", {"args":{"0":["bigint"],"2":["model","PaymentAllocationDraftRequest"]},"result":true});
1345
1355
  __soliboWrapMethod($, "finalizeCompanyPaymentSourceAllocation", {"args":{"0":["bigint"],"3":["model","FinalizePaymentAllocationPlanRequest"]},"result":true});
1346
1356
  __soliboWrapMethod($, "indexCompanyPaymentSourceHistory", {"args":{"0":["bigint"]},"result":true});
1347
- __soliboWrapMethod($, "indexCompanyPaymentSourceInvoiceCandidates", {"args":{"0":["bigint"],"3":["bigint"]},"result":true});
1357
+ __soliboWrapMethod($, "indexCompanyPaymentSourceInvoiceCandidates", {"args":{"0":["bigint"],"3":["bigint"],"7":["bigint"]},"result":true});
1348
1358
  __soliboWrapMethod($, "indexCompanyPaymentSources", {"args":{"0":["bigint"],"3":["bigint"],"4":["bigint"]},"result":true});
1349
1359
  __soliboWrapMethod($, "indexPaymentSourcesForCompanies", {"args":{"0":["list",["bigint"]],"4":["bigint"],"5":["bigint"]},"result":true});
1350
1360
  __soliboWrapMethod($, "previewCompanyPaymentSourceAllocation", {"args":{"0":["bigint"],"2":["model","PaymentAllocationPreviewRequest"]},"result":true});
@@ -1,3 +1,3 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
- export declare function indexCompanyPaymentSourceInvoiceCandidatesOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, payerType: string, payerId: bigint, search?: Nullable<string>, availableAmount?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
3
+ export declare function indexCompanyPaymentSourceInvoiceCandidatesOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, payerType?: Nullable<string>, payerId?: Nullable<bigint>, search?: Nullable<string>, availableAmount?: Nullable<string>, kid?: Nullable<string>, invoiceNumber?: Nullable<bigint>, amount?: Nullable<string>, customer?: Nullable<string>, fields?: Nullable<string>, pageToken?: Nullable<string>, autoPaginate?: Nullable<boolean>, count?: Nullable<number>): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
@@ -1,4 +1,4 @@
1
- import { indexCompanyPaymentSourceInvoiceCandidatesOperation12pvu6vr139fd as indexCompanyPaymentSourceInvoiceCandidatesOperation } from './IndexCompanyPaymentSourceInvoiceCandidatesOperation.mjs';
1
+ import { indexCompanyPaymentSourceInvoiceCandidatesOperation3u914tpj45c4m as indexCompanyPaymentSourceInvoiceCandidatesOperation } from './IndexCompanyPaymentSourceInvoiceCandidatesOperation.mjs';
2
2
  import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
3
3
  //region block: imports
4
4
  //endregion
@@ -6,7 +6,7 @@ import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../
6
6
  //endregion
7
7
  //region block: exports
8
8
  /* Solibo boundary patches */
9
- var indexCompanyPaymentSourceInvoiceCandidatesOperation_solibo = __soliboWrapFunction(indexCompanyPaymentSourceInvoiceCandidatesOperation, {"result":true,"args":{"1":["bigint"],"4":["bigint"]}});
9
+ var indexCompanyPaymentSourceInvoiceCandidatesOperation_solibo = __soliboWrapFunction(indexCompanyPaymentSourceInvoiceCandidatesOperation, {"result":true,"args":{"1":["bigint"],"4":["bigint"],"8":["bigint"]}});
10
10
  export {
11
11
  indexCompanyPaymentSourceInvoiceCandidatesOperation_solibo as indexCompanyPaymentSourceInvoiceCandidatesOperation,
12
12
  };
@@ -25,19 +25,25 @@ import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } fro
25
25
  //endregion
26
26
  //region block: pre-declaration
27
27
  //endregion
28
- function indexCompanyPaymentSourceInvoiceCandidatesOperation(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count) {
28
+ function indexCompanyPaymentSourceInvoiceCandidatesOperation(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count) {
29
29
  return promisify(function ($completion) {
30
- return indexCompanyPaymentSourceInvoiceCandidatesOperation_0(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
30
+ return indexCompanyPaymentSourceInvoiceCandidatesOperation_0(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
31
31
  });
32
32
  }
33
- function indexCompanyPaymentSourceInvoiceCandidatesOperation_0(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion) {
33
+ function indexCompanyPaymentSourceInvoiceCandidatesOperation_0(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion) {
34
+ payerType = payerType === VOID ? null : payerType;
35
+ payerId = payerId === VOID ? null : payerId;
34
36
  search = search === VOID ? null : search;
35
37
  availableAmount = availableAmount === VOID ? null : availableAmount;
38
+ kid = kid === VOID ? null : kid;
39
+ invoiceNumber = invoiceNumber === VOID ? null : invoiceNumber;
40
+ amount = amount === VOID ? null : amount;
41
+ customer = customer === VOID ? null : customer;
36
42
  fields = fields === VOID ? null : fields;
37
43
  pageToken = pageToken === VOID ? null : pageToken;
38
44
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
39
45
  count = count === VOID ? null : count;
40
- var tmp = new ($indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$())(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, $completion);
46
+ var tmp = new ($indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$())(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, $completion);
41
47
  tmp.result_1 = Unit_instance;
42
48
  tmp.exception_1 = null;
43
49
  return tmp.doResume_5yljmg_k$();
@@ -46,7 +52,7 @@ var $indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$Class;
46
52
  function $indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$() {
47
53
  if ($indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$Class === VOID) {
48
54
  initMetadataForCoroutine($, CoroutineImpl());
49
- function $(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, fields, pageToken, autoPaginate, count, resultContinuation) {
55
+ function $(client, companyId, paymentSourceId, payerType, payerId, search, availableAmount, kid, invoiceNumber, amount, customer, fields, pageToken, autoPaginate, count, resultContinuation) {
50
56
  CoroutineImpl().call(this, resultContinuation);
51
57
  this.client_1 = client;
52
58
  this.companyId_1 = companyId;
@@ -55,6 +61,10 @@ function $indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$() {
55
61
  this.payerId_1 = payerId;
56
62
  this.search_1 = search;
57
63
  this.availableAmount_1 = availableAmount;
64
+ this.kid_1 = kid;
65
+ this.invoiceNumber_1 = invoiceNumber;
66
+ this.amount_1 = amount;
67
+ this.customer_1 = customer;
58
68
  this.fields_1 = fields;
59
69
  this.pageToken_1 = pageToken;
60
70
  this.autoPaginate_1 = autoPaginate;
@@ -101,40 +111,70 @@ function $indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$() {
101
111
  localVariableQuery.put_4fpzoq_k$(tmp2_0, value_2);
102
112
  }
103
113
 
114
+ if (this.kid_1 == null)
115
+ null;
116
+ else {
117
+ var value_3 = listOf_0(this.kid_1);
118
+ localVariableQuery.put_4fpzoq_k$('kid', value_3);
119
+ }
120
+
121
+ if (this.invoiceNumber_1 == null)
122
+ null;
123
+ else {
124
+ var tmp2_1 = 'invoiceNumber';
125
+ var value_4 = listOf_0(this.invoiceNumber_1.toString());
126
+ localVariableQuery.put_4fpzoq_k$(tmp2_1, value_4);
127
+ }
128
+
129
+ if (this.amount_1 == null)
130
+ null;
131
+ else {
132
+ var value_5 = listOf_0(this.amount_1);
133
+ localVariableQuery.put_4fpzoq_k$('amount', value_5);
134
+ }
135
+
136
+ if (this.customer_1 == null)
137
+ null;
138
+ else {
139
+ var tmp2_2 = 'customer';
140
+ var value_6 = listOf_0(this.customer_1);
141
+ localVariableQuery.put_4fpzoq_k$(tmp2_2, value_6);
142
+ }
143
+
104
144
  if (this.fields_1 == null)
105
145
  null;
106
146
  else {
107
- var value_3 = listOf_0(this.fields_1);
108
- localVariableQuery.put_4fpzoq_k$('fields', value_3);
147
+ var value_7 = listOf_0(this.fields_1);
148
+ localVariableQuery.put_4fpzoq_k$('fields', value_7);
109
149
  }
110
150
 
111
151
  if (this.pageToken_1 == null)
112
152
  null;
113
153
  else {
114
- var tmp2_1 = 'pageToken';
115
- var value_4 = listOf_0(this.pageToken_1);
116
- localVariableQuery.put_4fpzoq_k$(tmp2_1, value_4);
154
+ var tmp2_3 = 'pageToken';
155
+ var value_8 = listOf_0(this.pageToken_1);
156
+ localVariableQuery.put_4fpzoq_k$(tmp2_3, value_8);
117
157
  }
118
158
 
119
159
  if (this.autoPaginate_1 == null)
120
160
  null;
121
161
  else {
122
- var tmp2_2 = 'autoPaginate';
123
- var value_5 = listOf_0('' + this.autoPaginate_1);
124
- localVariableQuery.put_4fpzoq_k$(tmp2_2, value_5);
162
+ var tmp2_4 = 'autoPaginate';
163
+ var value_9 = listOf_0('' + this.autoPaginate_1);
164
+ localVariableQuery.put_4fpzoq_k$(tmp2_4, value_9);
125
165
  }
126
166
 
127
167
  if (this.count_1 == null)
128
168
  null;
129
169
  else {
130
- var value_6 = listOf_0('' + this.count_1);
131
- localVariableQuery.put_4fpzoq_k$('count', value_6);
170
+ var value_10 = listOf_0('' + this.count_1);
171
+ localVariableQuery.put_4fpzoq_k$('count', value_10);
132
172
  }
133
173
 
134
174
  var localVariableHeaders = LinkedHashMap_init_$Create$();
135
- var tmp8_method = RequestMethod_GET_getInstance();
136
- var tmp9_path = replace(replace('/companies/{companyId}/economy/invoicing/paymentSources/{paymentSourceId}/invoiceCandidates', '{companyId}', this.companyId_1.toString()), '{paymentSourceId}', this.paymentSourceId_1);
137
- var localVariableConfig = new (RequestConfig())(tmp8_method, tmp9_path, localVariableHeaders, VOID, localVariableQuery, true);
175
+ var tmp12_method = RequestMethod_GET_getInstance();
176
+ var tmp13_path = replace(replace('/companies/{companyId}/economy/invoicing/paymentSources/{paymentSourceId}/invoiceCandidates', '{companyId}', this.companyId_1.toString()), '{paymentSourceId}', this.paymentSourceId_1);
177
+ var localVariableConfig = new (RequestConfig())(tmp12_method, tmp13_path, localVariableHeaders, VOID, localVariableQuery, true);
138
178
  this.state_1 = 1;
139
179
  suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
140
180
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -181,8 +221,8 @@ function $indexCompanyPaymentSourceInvoiceCandidatesOperationCOROUTINE$() {
181
221
  }
182
222
  //region block: exports
183
223
  export {
184
- indexCompanyPaymentSourceInvoiceCandidatesOperation as indexCompanyPaymentSourceInvoiceCandidatesOperation12pvu6vr139fd,
185
- indexCompanyPaymentSourceInvoiceCandidatesOperation_0 as indexCompanyPaymentSourceInvoiceCandidatesOperation246b8mqo2mfpx,
224
+ indexCompanyPaymentSourceInvoiceCandidatesOperation as indexCompanyPaymentSourceInvoiceCandidatesOperation3u914tpj45c4m,
225
+ indexCompanyPaymentSourceInvoiceCandidatesOperation_0 as indexCompanyPaymentSourceInvoiceCandidatesOperation3r8pj3d49m1ay,
186
226
  };
187
227
  //endregion
188
228
 
@@ -1,14 +1,18 @@
1
1
  type Nullable<T> = T | null | undefined
2
2
  declare function KtSingleton<T>(): T & (abstract new() => any);
3
3
  export declare class PaymentAllocationInvoiceCandidate {
4
- constructor(balance: Nullable<InvoiceBalance> | undefined, description: Nullable<string> | undefined, dueDate: bigint, id: string, number: bigint, suggestedAmount?: Nullable<string>);
4
+ constructor(balance: Nullable<InvoiceBalance> | undefined, description: Nullable<string> | undefined, dueDate: bigint, id: string, kid: Nullable<string> | undefined, kidMatch: Nullable<boolean> | undefined, number: bigint, payer?: Nullable<PaymentPayer>, payerName?: Nullable<string>, suggestedAmount?: Nullable<string>);
5
5
  get balance(): Nullable<InvoiceBalance>;
6
6
  get description(): Nullable<string>;
7
7
  get dueDate(): bigint;
8
8
  get id(): string;
9
+ get kid(): Nullable<string>;
10
+ get kidMatch(): Nullable<boolean>;
9
11
  get number(): bigint;
12
+ get payer(): Nullable<PaymentPayer>;
13
+ get payerName(): Nullable<string>;
10
14
  get suggestedAmount(): Nullable<string>;
11
- copy(balance?: Nullable<InvoiceBalance>, description?: Nullable<string>, dueDate?: bigint, id?: string, number?: bigint, suggestedAmount?: Nullable<string>): PaymentAllocationInvoiceCandidate;
15
+ copy(balance?: Nullable<InvoiceBalance>, description?: Nullable<string>, dueDate?: bigint, id?: string, kid?: Nullable<string>, kidMatch?: Nullable<boolean>, number?: bigint, payer?: Nullable<PaymentPayer>, payerName?: Nullable<string>, suggestedAmount?: Nullable<string>): PaymentAllocationInvoiceCandidate;
12
16
  toString(): string;
13
17
  hashCode(): number;
14
18
  equals(other: Nullable<any>): boolean;
@@ -3,6 +3,7 @@ import {
3
3
  objectCreate1ve4bgxiu4x98 as objectCreate,
4
4
  getStringHashCode26igk1bx568vk as getStringHashCode,
5
5
  getBigIntHashCode294hi5bdhtj6e as getBigIntHashCode,
6
+ getBooleanHashCode1bbj3u6b3v0a7 as getBooleanHashCode,
6
7
  equals2au1ep9vhcato as equals,
7
8
  } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
8
9
  import {
@@ -16,8 +17,10 @@ import { $serializer_getInstancebm1yzmqbvdvb as $serializer_getInstance } from '
16
17
  import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
17
18
  import {
18
19
  StringSerializer_getInstance1p9zda6r6kb23 as StringSerializer_getInstance,
20
+ BooleanSerializer_getInstance22aja3hu17sxf as BooleanSerializer_getInstance,
19
21
  LongSerializer_getInstancepwtz4tlewrfw as LongSerializer_getInstance,
20
22
  } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs';
23
+ import { $serializer_getInstance36x3pn0ofbomz as $serializer_getInstance_0 } from './PaymentPayer.mjs';
21
24
  import { THROW_CCE2g6jy02ryeudk as THROW_CCE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
22
25
  import { UnknownFieldException_init_$Create$3n7tjepqfwwvc as UnknownFieldException_init_$Create$ } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs';
23
26
  import { get_nullable197rfua9r7fsz as get_nullable } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs';
@@ -30,6 +33,7 @@ import { toString30pk9tzaqopn as toString } from '../../../../../../../../kotlin
30
33
  import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
31
34
  import { __soliboBoundaryState, __soliboRegisterLookup, __soliboRegisterOwnFields, __soliboToJs, __soliboToKt, __soliboWrapAccessor, __soliboWrapFunction, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
32
35
  import { InvoiceBalance1j1khgg8smxou as __soliboType_InvoiceBalance } from '../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/InvoiceBalance.mjs';
36
+ import { PaymentPayer1of1slm1i215k as __soliboType_PaymentPayer } from './PaymentPayer.mjs';
33
37
  //region block: imports
34
38
  var imul = Math.imul;
35
39
  //endregion
@@ -55,12 +59,16 @@ function $serializer() {
55
59
  initMetadataForObject($, '$serializer', VOID, VOID, [GeneratedSerializer()]);
56
60
  function $() {
57
61
  $serializer_instance = this;
58
- var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.PaymentAllocationInvoiceCandidate', this, 6);
62
+ var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('no.solibo.oss.sdk.api.gen.models.PaymentAllocationInvoiceCandidate', this, 10);
59
63
  tmp0_serialDesc.addElement_5pzumi_k$('balance', true);
60
64
  tmp0_serialDesc.addElement_5pzumi_k$('description', true);
61
65
  tmp0_serialDesc.addElement_5pzumi_k$('dueDate', false);
62
66
  tmp0_serialDesc.addElement_5pzumi_k$('id', false);
67
+ tmp0_serialDesc.addElement_5pzumi_k$('kid', true);
68
+ tmp0_serialDesc.addElement_5pzumi_k$('kidMatch', true);
63
69
  tmp0_serialDesc.addElement_5pzumi_k$('number', false);
70
+ tmp0_serialDesc.addElement_5pzumi_k$('payer', true);
71
+ tmp0_serialDesc.addElement_5pzumi_k$('payerName', true);
64
72
  tmp0_serialDesc.addElement_5pzumi_k$('suggestedAmount', true);
65
73
  this.descriptor_1 = tmp0_serialDesc;
66
74
  }
@@ -75,9 +83,21 @@ function $serializer() {
75
83
  }
76
84
  tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 2, value.dueDate);
77
85
  tmp1_output.encodeStringElement_1n5wu2_k$(tmp0_desc, 3, value.id);
78
- tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 4, value.number);
79
- if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.suggestedAmount == null)) {
80
- tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, StringSerializer_getInstance(), value.suggestedAmount);
86
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 4) ? true : !(value.kid == null)) {
87
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 4, StringSerializer_getInstance(), value.kid);
88
+ }
89
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 5) ? true : !(value.kidMatch == null)) {
90
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), value.kidMatch);
91
+ }
92
+ tmp1_output.encodeLongElement_ovnxxh_k$(tmp0_desc, 6, value.number);
93
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 7) ? true : !(value.payer == null)) {
94
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 7, $serializer_getInstance_0(), value.payer);
95
+ }
96
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 8) ? true : !(value.payerName == null)) {
97
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 8, StringSerializer_getInstance(), value.payerName);
98
+ }
99
+ if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 9) ? true : !(value.suggestedAmount == null)) {
100
+ tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 9, StringSerializer_getInstance(), value.suggestedAmount);
81
101
  }
82
102
  tmp1_output.endStructure_1xqz0n_k$(tmp0_desc);
83
103
  };
@@ -93,59 +113,87 @@ function $serializer() {
93
113
  var tmp5_local1 = null;
94
114
  var tmp6_local2 = 0n;
95
115
  var tmp7_local3 = null;
96
- var tmp8_local4 = 0n;
116
+ var tmp8_local4 = null;
97
117
  var tmp9_local5 = null;
98
- var tmp10_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
99
- if (tmp10_input.decodeSequentially_xlblqy_k$()) {
100
- tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
118
+ var tmp10_local6 = 0n;
119
+ var tmp11_local7 = null;
120
+ var tmp12_local8 = null;
121
+ var tmp13_local9 = null;
122
+ var tmp14_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
123
+ if (tmp14_input.decodeSequentially_xlblqy_k$()) {
124
+ tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
101
125
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
102
- tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
126
+ tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
103
127
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
104
- tmp6_local2 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
128
+ tmp6_local2 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
105
129
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
106
- tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
130
+ tmp7_local3 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
107
131
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
108
- tmp8_local4 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
132
+ tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
109
133
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
110
- tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
134
+ tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
111
135
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
136
+ tmp10_local6 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
137
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
138
+ tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, $serializer_getInstance_0(), tmp11_local7);
139
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
140
+ tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
141
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
142
+ tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
143
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
112
144
  } else
113
145
  while (tmp1_flag) {
114
- tmp2_index = tmp10_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
146
+ tmp2_index = tmp14_input.decodeElementIndex_bstkhp_k$(tmp0_desc);
115
147
  switch (tmp2_index) {
116
148
  case -1:
117
149
  tmp1_flag = false;
118
150
  break;
119
151
  case 0:
120
- tmp4_local0 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
152
+ tmp4_local0 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, $serializer_getInstance(), tmp4_local0);
121
153
  tmp3_bitMask0 = tmp3_bitMask0 | 1;
122
154
  break;
123
155
  case 1:
124
- tmp5_local1 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
156
+ tmp5_local1 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 1, StringSerializer_getInstance(), tmp5_local1);
125
157
  tmp3_bitMask0 = tmp3_bitMask0 | 2;
126
158
  break;
127
159
  case 2:
128
- tmp6_local2 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
160
+ tmp6_local2 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 2);
129
161
  tmp3_bitMask0 = tmp3_bitMask0 | 4;
130
162
  break;
131
163
  case 3:
132
- tmp7_local3 = tmp10_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
164
+ tmp7_local3 = tmp14_input.decodeStringElement_3oenpg_k$(tmp0_desc, 3);
133
165
  tmp3_bitMask0 = tmp3_bitMask0 | 8;
134
166
  break;
135
167
  case 4:
136
- tmp8_local4 = tmp10_input.decodeLongElement_994anb_k$(tmp0_desc, 4);
168
+ tmp8_local4 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 4, StringSerializer_getInstance(), tmp8_local4);
137
169
  tmp3_bitMask0 = tmp3_bitMask0 | 16;
138
170
  break;
139
171
  case 5:
140
- tmp9_local5 = tmp10_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, StringSerializer_getInstance(), tmp9_local5);
172
+ tmp9_local5 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 5, BooleanSerializer_getInstance(), tmp9_local5);
141
173
  tmp3_bitMask0 = tmp3_bitMask0 | 32;
142
174
  break;
175
+ case 6:
176
+ tmp10_local6 = tmp14_input.decodeLongElement_994anb_k$(tmp0_desc, 6);
177
+ tmp3_bitMask0 = tmp3_bitMask0 | 64;
178
+ break;
179
+ case 7:
180
+ tmp11_local7 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 7, $serializer_getInstance_0(), tmp11_local7);
181
+ tmp3_bitMask0 = tmp3_bitMask0 | 128;
182
+ break;
183
+ case 8:
184
+ tmp12_local8 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 8, StringSerializer_getInstance(), tmp12_local8);
185
+ tmp3_bitMask0 = tmp3_bitMask0 | 256;
186
+ break;
187
+ case 9:
188
+ tmp13_local9 = tmp14_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 9, StringSerializer_getInstance(), tmp13_local9);
189
+ tmp3_bitMask0 = tmp3_bitMask0 | 512;
190
+ break;
143
191
  default:
144
192
  throw UnknownFieldException_init_$Create$(tmp2_index);
145
193
  }
146
194
  }
147
- tmp10_input.endStructure_1xqz0n_k$(tmp0_desc);
148
- return PaymentAllocationInvoiceCandidate_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, null);
195
+ tmp14_input.endStructure_1xqz0n_k$(tmp0_desc);
196
+ return PaymentAllocationInvoiceCandidate_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, null);
149
197
  };
150
198
  protoOf($).get_descriptor_wjt6a0_k$ = function () {
151
199
  return this.descriptor_1;
@@ -154,7 +202,7 @@ function $serializer() {
154
202
  // Inline function 'kotlin.arrayOf' call
155
203
  // Inline function 'kotlin.js.unsafeCast' call
156
204
  // Inline function 'kotlin.js.asDynamic' call
157
- return [get_nullable($serializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), StringSerializer_getInstance(), LongSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
205
+ return [get_nullable($serializer_getInstance()), get_nullable(StringSerializer_getInstance()), LongSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), LongSerializer_getInstance(), get_nullable($serializer_getInstance_0()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
158
206
  };
159
207
  protoOf($).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
160
208
  $serializerClass = $;
@@ -162,14 +210,14 @@ function $serializer() {
162
210
  return $serializerClass;
163
211
  }
164
212
  var $serializer_instance;
165
- function $serializer_getInstance_0() {
213
+ function $serializer_getInstance_1() {
166
214
  if ($serializer_instance == null)
167
215
  new ($serializer())();
168
216
  return $serializer_instance;
169
217
  }
170
- function PaymentAllocationInvoiceCandidate_init_$Init$(seen0, balance, description, dueDate, id, number, suggestedAmount, serializationConstructorMarker, $this) {
171
- if (!(28 === (28 & seen0))) {
172
- throwMissingFieldException(seen0, 28, $serializer_getInstance_0().descriptor_1);
218
+ function PaymentAllocationInvoiceCandidate_init_$Init$(seen0, balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount, serializationConstructorMarker, $this) {
219
+ if (!(76 === (76 & seen0))) {
220
+ throwMissingFieldException(seen0, 76, $serializer_getInstance_1().descriptor_1);
173
221
  }
174
222
  if (0 === (seen0 & 1))
175
223
  $this.balance = null;
@@ -181,21 +229,37 @@ function PaymentAllocationInvoiceCandidate_init_$Init$(seen0, balance, descripti
181
229
  $this.description = description;
182
230
  $this.dueDate = dueDate;
183
231
  $this.id = id;
184
- $this.number = number;
232
+ if (0 === (seen0 & 16))
233
+ $this.kid = null;
234
+ else
235
+ $this.kid = kid;
185
236
  if (0 === (seen0 & 32))
237
+ $this.kidMatch = null;
238
+ else
239
+ $this.kidMatch = kidMatch;
240
+ $this.number = number;
241
+ if (0 === (seen0 & 128))
242
+ $this.payer = null;
243
+ else
244
+ $this.payer = payer;
245
+ if (0 === (seen0 & 256))
246
+ $this.payerName = null;
247
+ else
248
+ $this.payerName = payerName;
249
+ if (0 === (seen0 & 512))
186
250
  $this.suggestedAmount = null;
187
251
  else
188
252
  $this.suggestedAmount = suggestedAmount;
189
253
  return $this;
190
254
  }
191
- function PaymentAllocationInvoiceCandidate_init_$Create$(seen0, balance, description, dueDate, id, number, suggestedAmount, serializationConstructorMarker) {
192
- return PaymentAllocationInvoiceCandidate_init_$Init$(seen0, balance, description, dueDate, id, number, suggestedAmount, serializationConstructorMarker, objectCreate(protoOf(PaymentAllocationInvoiceCandidate())));
255
+ function PaymentAllocationInvoiceCandidate_init_$Create$(seen0, balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount, serializationConstructorMarker) {
256
+ return PaymentAllocationInvoiceCandidate_init_$Init$(seen0, balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount, serializationConstructorMarker, objectCreate(protoOf(PaymentAllocationInvoiceCandidate())));
193
257
  }
194
258
  var PaymentAllocationInvoiceCandidateClass;
195
259
  function PaymentAllocationInvoiceCandidate() {
196
260
  if (PaymentAllocationInvoiceCandidateClass === VOID) {
197
- initMetadataForClass($, 'PaymentAllocationInvoiceCandidate', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_0});
198
- function $(balance, description, dueDate, id, number, suggestedAmount) {
261
+ initMetadataForClass($, 'PaymentAllocationInvoiceCandidate', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_1});
262
+ function $(balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount) {
199
263
  var __soliboProps = arguments.length === 1 && typeof balance === 'object' && balance !== null && balance.constructor === Object;
200
264
  var __soliboTmp, __soliboConverted = false;
201
265
  if (__soliboProps) {
@@ -204,20 +268,33 @@ function PaymentAllocationInvoiceCandidate() {
204
268
  description = ('description' in props ? props.description : VOID);
205
269
  dueDate = ('dueDate' in props ? props.dueDate : VOID);
206
270
  id = ('id' in props ? props.id : VOID);
271
+ kid = ('kid' in props ? props.kid : VOID);
272
+ kidMatch = ('kidMatch' in props ? props.kidMatch : VOID);
207
273
  number = ('number' in props ? props.number : VOID);
274
+ payer = ('payer' in props ? props.payer : VOID);
275
+ payerName = ('payerName' in props ? props.payerName : VOID);
208
276
  suggestedAmount = ('suggestedAmount' in props ? props.suggestedAmount : VOID);
209
277
  }
210
278
  if ((__soliboTmp = __soliboToKt(balance, ["model","InvoiceBalance"])) !== balance) { balance = __soliboTmp; __soliboConverted = true; }
211
279
  if ((__soliboTmp = __soliboToKt(dueDate, ["bigint"])) !== dueDate) { dueDate = __soliboTmp; __soliboConverted = true; }
212
280
  if ((__soliboTmp = __soliboToKt(number, ["bigint"])) !== number) { number = __soliboTmp; __soliboConverted = true; }
281
+ if ((__soliboTmp = __soliboToKt(payer, ["model","PaymentPayer"])) !== payer) { payer = __soliboTmp; __soliboConverted = true; }
213
282
  balance = balance === VOID ? null : balance;
214
283
  description = description === VOID ? null : description;
284
+ kid = kid === VOID ? null : kid;
285
+ kidMatch = kidMatch === VOID ? null : kidMatch;
286
+ payer = payer === VOID ? null : payer;
287
+ payerName = payerName === VOID ? null : payerName;
215
288
  suggestedAmount = suggestedAmount === VOID ? null : suggestedAmount;
216
289
  this.balance = balance;
217
290
  this.description = description;
218
291
  this.dueDate = dueDate;
219
292
  this.id = id;
293
+ this.kid = kid;
294
+ this.kidMatch = kidMatch;
220
295
  this.number = number;
296
+ this.payer = payer;
297
+ this.payerName = payerName;
221
298
  this.suggestedAmount = suggestedAmount;
222
299
  if (__soliboConverted && !__soliboBoundaryState.internalConstruction) return __soliboToJs(this);
223
300
  }
@@ -233,9 +310,21 @@ function PaymentAllocationInvoiceCandidate() {
233
310
  protoOf($).get_id_kntnx8_k$ = function () {
234
311
  return this.id;
235
312
  };
313
+ protoOf($).get_kid_18j25f_k$ = function () {
314
+ return this.kid;
315
+ };
316
+ protoOf($).get_kidMatch_oytz6w_k$ = function () {
317
+ return this.kidMatch;
318
+ };
236
319
  protoOf($).get_number_hay53m_k$ = function () {
237
320
  return this.number;
238
321
  };
322
+ protoOf($).get_payer_iwqw4s_k$ = function () {
323
+ return this.payer;
324
+ };
325
+ protoOf($).get_payerName_3h7y6v_k$ = function () {
326
+ return this.payerName;
327
+ };
239
328
  protoOf($).get_suggestedAmount_19ephq_k$ = function () {
240
329
  return this.suggestedAmount;
241
330
  };
@@ -252,32 +341,52 @@ function PaymentAllocationInvoiceCandidate() {
252
341
  return this.id;
253
342
  };
254
343
  protoOf($).component5_7eebs8_k$ = function () {
255
- return this.number;
344
+ return this.kid;
256
345
  };
257
346
  protoOf($).component6_7eebs7_k$ = function () {
347
+ return this.kidMatch;
348
+ };
349
+ protoOf($).component7_7eebs6_k$ = function () {
350
+ return this.number;
351
+ };
352
+ protoOf($).component8_7eebs5_k$ = function () {
353
+ return this.payer;
354
+ };
355
+ protoOf($).component9_7eebs4_k$ = function () {
356
+ return this.payerName;
357
+ };
358
+ protoOf($).component10_gazzfo_k$ = function () {
258
359
  return this.suggestedAmount;
259
360
  };
260
- protoOf($).copy_oj80bg_k$ = function (balance, description, dueDate, id, number, suggestedAmount) {
261
- return new (PaymentAllocationInvoiceCandidate())(balance, description, dueDate, id, number, suggestedAmount);
361
+ protoOf($).copy_tqakyx_k$ = function (balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount) {
362
+ return new (PaymentAllocationInvoiceCandidate())(balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount);
262
363
  };
263
- protoOf($).copy = function (balance, description, dueDate, id, number, suggestedAmount, $super) {
364
+ protoOf($).copy = function (balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount, $super) {
264
365
  balance = balance === VOID ? this.balance : balance;
265
366
  description = description === VOID ? this.description : description;
266
367
  dueDate = dueDate === VOID ? this.dueDate : dueDate;
267
368
  id = id === VOID ? this.id : id;
369
+ kid = kid === VOID ? this.kid : kid;
370
+ kidMatch = kidMatch === VOID ? this.kidMatch : kidMatch;
268
371
  number = number === VOID ? this.number : number;
372
+ payer = payer === VOID ? this.payer : payer;
373
+ payerName = payerName === VOID ? this.payerName : payerName;
269
374
  suggestedAmount = suggestedAmount === VOID ? this.suggestedAmount : suggestedAmount;
270
- return $super === VOID ? this.copy_oj80bg_k$(balance, description, dueDate, id, number, suggestedAmount) : $super.copy_oj80bg_k$.call(this, balance, description, dueDate, id, number, suggestedAmount);
375
+ return $super === VOID ? this.copy_tqakyx_k$(balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount) : $super.copy_tqakyx_k$.call(this, balance, description, dueDate, id, kid, kidMatch, number, payer, payerName, suggestedAmount);
271
376
  };
272
377
  protoOf($).toString = function () {
273
- return 'PaymentAllocationInvoiceCandidate(balance=' + toString(this.balance) + ', description=' + this.description + ', dueDate=' + this.dueDate.toString() + ', id=' + this.id + ', number=' + this.number.toString() + ', suggestedAmount=' + this.suggestedAmount + ')';
378
+ return 'PaymentAllocationInvoiceCandidate(balance=' + toString(this.balance) + ', description=' + this.description + ', dueDate=' + this.dueDate.toString() + ', id=' + this.id + ', kid=' + this.kid + ', kidMatch=' + this.kidMatch + ', number=' + this.number.toString() + ', payer=' + toString(this.payer) + ', payerName=' + this.payerName + ', suggestedAmount=' + this.suggestedAmount + ')';
274
379
  };
275
380
  protoOf($).hashCode = function () {
276
381
  var result = this.balance == null ? 0 : this.balance.hashCode();
277
382
  result = imul(result, 31) + (this.description == null ? 0 : getStringHashCode(this.description)) | 0;
278
383
  result = imul(result, 31) + getBigIntHashCode(this.dueDate) | 0;
279
384
  result = imul(result, 31) + getStringHashCode(this.id) | 0;
385
+ result = imul(result, 31) + (this.kid == null ? 0 : getStringHashCode(this.kid)) | 0;
386
+ result = imul(result, 31) + (this.kidMatch == null ? 0 : getBooleanHashCode(this.kidMatch)) | 0;
280
387
  result = imul(result, 31) + getBigIntHashCode(this.number) | 0;
388
+ result = imul(result, 31) + (this.payer == null ? 0 : this.payer.hashCode()) | 0;
389
+ result = imul(result, 31) + (this.payerName == null ? 0 : getStringHashCode(this.payerName)) | 0;
281
390
  result = imul(result, 31) + (this.suggestedAmount == null ? 0 : getStringHashCode(this.suggestedAmount)) | 0;
282
391
  return result;
283
392
  };
@@ -294,15 +403,23 @@ function PaymentAllocationInvoiceCandidate() {
294
403
  return false;
295
404
  if (!(this.id === other.id))
296
405
  return false;
406
+ if (!(this.kid == other.kid))
407
+ return false;
408
+ if (!(this.kidMatch == other.kidMatch))
409
+ return false;
297
410
  if (!(this.number === other.number))
298
411
  return false;
412
+ if (!equals(this.payer, other.payer))
413
+ return false;
414
+ if (!(this.payerName == other.payerName))
415
+ return false;
299
416
  if (!(this.suggestedAmount == other.suggestedAmount))
300
417
  return false;
301
418
  return true;
302
419
  };
303
420
  /* Solibo boundary patches */
304
421
  Object.defineProperty($, 'name', { value: "PaymentAllocationInvoiceCandidate", configurable: true });
305
- __soliboRegisterOwnFields($, {"balance":["model","InvoiceBalance"]});
422
+ __soliboRegisterOwnFields($, {"balance":["model","InvoiceBalance"],"payer":["model","PaymentPayer"]});
306
423
  __soliboRegisterLookup("PaymentAllocationInvoiceCandidate", () => $);
307
424
  PaymentAllocationInvoiceCandidateClass = $;
308
425
  }
@@ -313,11 +430,12 @@ Companion_instance = new (Companion())();
313
430
  //endregion
314
431
  //region block: exports
315
432
  export {
316
- $serializer_getInstance_0 as $serializer_getInstance16a5kgeesozgs,
433
+ $serializer_getInstance_1 as $serializer_getInstance16a5kgeesozgs,
317
434
  PaymentAllocationInvoiceCandidate as PaymentAllocationInvoiceCandidates9u8vet4vbaj,
318
435
  };
319
436
  //endregion
320
437
 
321
438
  /* Solibo boundary lookups */
322
439
  __soliboRegisterLookup("InvoiceBalance", () => __soliboType_InvoiceBalance());
440
+ __soliboRegisterLookup("PaymentPayer", () => __soliboType_PaymentPayer());
323
441
 
@@ -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.2');
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.3');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -8346,7 +8346,7 @@ export declare class PaymentAllocationApi extends ApiClient.$metadata$.construct
8346
8346
  evaluateCompanyPaymentSourceAllocationDraft(companyId: bigint, paymentSourceId: string, paymentAllocationDraftRequest: PaymentAllocationDraftRequest): Promise<HttpResponse<PaymentAllocationDraft>>;
8347
8347
  finalizeCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, idempotencyKey: string, finalizePaymentAllocationPlanRequest: FinalizePaymentAllocationPlanRequest): Promise<HttpResponse<PaymentAllocationCommand>>;
8348
8348
  indexCompanyPaymentSourceHistory(companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentAllocationHistory>>;
8349
- indexCompanyPaymentSourceInvoiceCandidates(companyId: bigint, paymentSourceId: string, payerType: string, payerId: bigint, search?: string | null | undefined, availableAmount?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
8349
+ indexCompanyPaymentSourceInvoiceCandidates(companyId: bigint, paymentSourceId: string, payerType?: string | null | undefined, payerId?: bigint | null | undefined, search?: string | null | undefined, availableAmount?: string | null | undefined, kid?: string | null | undefined, invoiceNumber?: bigint | null | undefined, amount?: string | null | undefined, customer?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
8350
8350
  indexCompanyPaymentSources(companyId: bigint, unprocessedOnly?: boolean | null | undefined, state?: string | null | undefined, fromDate?: bigint | null | undefined, toDate?: bigint | null | undefined, payer?: string | null | undefined, kid?: string | null | undefined, sourcePaymentId?: string | null | undefined, transactionId?: string | null | undefined, requestId?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentSourceListItem>>;
8351
8351
  indexPaymentSourcesForCompanies(companyIds?: bigint[] | null | undefined, unprocessedOnly?: boolean | null | undefined, sourcePaymentId?: string | null | undefined, state?: string | null | undefined, fromDate?: bigint | null | undefined, toDate?: bigint | null | undefined, payer?: string | null | undefined, kid?: string | null | undefined, transactionId?: string | null | undefined, requestId?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListCompanyPaymentSourceListItem>>;
8352
8352
  previewCompanyPaymentSourceAllocation(companyId: bigint, paymentSourceId: string, paymentAllocationPreviewRequest: PaymentAllocationPreviewRequest): Promise<HttpResponse<PaymentAllocationPreview>>;
@@ -8394,7 +8394,7 @@ export declare function evaluateCompanyPaymentSourceAllocationDraftOperation(cli
8394
8394
  export declare function faktureringForCompanyIsActiveOperation(client: ApiClient, companyId: bigint): Promise<HttpResponse<void>>;
8395
8395
  export declare function finalizeCompanyPaymentSourceAllocationOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, idempotencyKey: string, finalizePaymentAllocationPlanRequest: FinalizePaymentAllocationPlanRequest): Promise<HttpResponse<PaymentAllocationCommand>>;
8396
8396
  export declare function indexCompanyPaymentSourceHistoryOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, fields?: string | null | undefined): Promise<HttpResponse<PaymentAllocationHistory>>;
8397
- export declare function indexCompanyPaymentSourceInvoiceCandidatesOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, payerType: string, payerId: bigint, search?: string | null | undefined, availableAmount?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
8397
+ export declare function indexCompanyPaymentSourceInvoiceCandidatesOperation(client: ApiClient, companyId: bigint, paymentSourceId: string, payerType?: string | null | undefined, payerId?: bigint | null | undefined, search?: string | null | undefined, availableAmount?: string | null | undefined, kid?: string | null | undefined, invoiceNumber?: bigint | null | undefined, amount?: string | null | undefined, customer?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentAllocationInvoiceCandidate>>;
8398
8398
  export declare function indexCompanyPaymentSourcesOperation(client: ApiClient, companyId: bigint, unprocessedOnly?: boolean | null | undefined, state?: string | null | undefined, fromDate?: bigint | null | undefined, toDate?: bigint | null | undefined, payer?: string | null | undefined, kid?: string | null | undefined, sourcePaymentId?: string | null | undefined, transactionId?: string | null | undefined, requestId?: string | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListPaymentSourceListItem>>;
8399
8399
  export declare function indexInvoicingAccountsOperation(client: ApiClient, companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListInvoicingAccount>>;
8400
8400
  export declare function indexInvoicingCustomerInvoicesOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListInvoice>>;
@@ -15040,17 +15040,25 @@ export interface PaymentAllocationInvoiceCandidateProps {
15040
15040
  description?: string | null | undefined;
15041
15041
  dueDate: bigint;
15042
15042
  id: string;
15043
+ kid?: string | null | undefined;
15044
+ kidMatch?: boolean | null | undefined;
15043
15045
  number: bigint;
15046
+ payer?: PaymentPayerProps | null | undefined;
15047
+ payerName?: string | null | undefined;
15044
15048
  suggestedAmount?: string | null | undefined;
15045
15049
  }
15046
15050
  export declare class PaymentAllocationInvoiceCandidate {
15047
15051
  constructor(props: PaymentAllocationInvoiceCandidateProps);
15048
- constructor(balance: InvoiceBalance | null | undefined, description: string | null | undefined, dueDate: bigint, id: string, number: bigint, suggestedAmount?: string | null | undefined);
15052
+ constructor(balance: InvoiceBalance | null | undefined, description: string | null | undefined, dueDate: bigint, id: string, kid: string | null | undefined, kidMatch: boolean | null | undefined, number: bigint, payer?: PaymentPayer | null | undefined, payerName?: string | null | undefined, suggestedAmount?: string | null | undefined);
15049
15053
  get balance(): InvoiceBalance | null | undefined;
15050
15054
  get description(): string | null | undefined;
15051
15055
  get dueDate(): bigint;
15052
15056
  get id(): string;
15057
+ get kid(): string | null | undefined;
15058
+ get kidMatch(): boolean | null | undefined;
15053
15059
  get number(): bigint;
15060
+ get payer(): PaymentPayer | null | undefined;
15061
+ get payerName(): string | null | undefined;
15054
15062
  get suggestedAmount(): string | null | undefined;
15055
15063
  }
15056
15064
  export declare namespace PaymentAllocationInvoiceCandidate {