@solibo/solibo-sdk 1.52.0 → 1.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/client/task.d.mts +1 -1
  2. package/client/task.mjs +8 -0
  3. package/client.d.mts +13 -6
  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/task.d.mts +1 -1
  7. package/operations/task.mjs +2 -2
  8. package/package.json +1 -1
  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 +47 -56
  12. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.export.d.mts +1 -1
  13. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.mjs +6 -6
  14. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/CreateCompanyInvoiceRecipientOfSectionOperation.export.d.mts +1 -1
  15. package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/CreateCompanyInvoiceRecipientOfSectionOperation.mjs +78 -10
  16. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/apis/SupplierApi.export.d.mts +2 -2
  17. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/apis/SupplierApi.mjs +8 -8
  18. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/CreateCompanySupplierContactOperation.export.d.mts +1 -1
  19. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/CreateCompanySupplierContactOperation.mjs +4 -4
  20. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/UpdateCompanySupplierContactOperation.export.d.mts +1 -1
  21. package/solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/client/operations/UpdateCompanySupplierContactOperation.mjs +4 -4
  22. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/apis/TaskApi.export.d.mts +2 -2
  23. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/apis/TaskApi.mjs +33 -27
  24. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksOperation.export.d.mts +1 -1
  25. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksOperation.export.mjs +4 -2
  26. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksOperation.mjs +20 -10
  27. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksUserOperation.export.d.mts +1 -1
  28. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksUserOperation.export.mjs +4 -2
  29. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/client/operations/IndexTasksUserOperation.mjs +19 -9
  30. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/TaskOrderDirection.export.d.mts +45 -0
  31. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/TaskOrderDirection.export.mjs +36 -0
  32. package/solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/TaskOrderDirection.mjs +168 -0
  33. package/solibo-sdk-sdk-api-task.mjs +1 -0
  34. package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
  35. package/solibo-sdk-sdk.d.mts +52 -10
package/client/task.d.mts CHANGED
@@ -1,3 +1,3 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  export type { TaskApiFacade } from '../client.mjs';
3
- export { BulkImportTaskCommand, BulkImportTaskItemResult, BulkImportTaskItemStatus, BulkImportTasksCommand, BulkImportTasksResult, BulkImportTasksSummary, CompleteTaskCommand, CreateTaskCommand, PagedListTask, PeriodicTaskIntervalMethod, Task, TaskApi, UpdateTaskCommand, completeTaskOperation, createMultipleTasksOperation, createTaskOperation, deleteTaskOperation, indexTasksOperation, indexTasksUserOperation, taskApi, unCompleteTaskOperation, updateTaskOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { BulkImportTaskCommand, BulkImportTaskItemResult, BulkImportTaskItemStatus, BulkImportTasksCommand, BulkImportTasksResult, BulkImportTasksSummary, CompleteTaskCommand, CreateTaskCommand, PagedListTask, PeriodicTaskIntervalMethod, Task, TaskApi, TaskOrderDirection, UpdateTaskCommand, completeTaskOperation, createMultipleTasksOperation, createTaskOperation, deleteTaskOperation, indexTasksOperation, indexTasksUserOperation, taskApi, unCompleteTaskOperation, updateTaskOperation } from '../solibo-sdk-sdk.mjs';
package/client/task.mjs CHANGED
@@ -114,6 +114,10 @@ const DESCRIPTORS = {
114
114
  {
115
115
  "name": "count",
116
116
  "type": "number | null | undefined"
117
+ },
118
+ {
119
+ "name": "orderDirection",
120
+ "type": "TaskOrderDirection | null | undefined"
117
121
  }
118
122
  ],
119
123
  "body": null,
@@ -178,6 +182,10 @@ const DESCRIPTORS = {
178
182
  {
179
183
  "name": "count",
180
184
  "type": "number | null | undefined"
185
+ },
186
+ {
187
+ "name": "orderDirection",
188
+ "type": "TaskOrderDirection | null | undefined"
181
189
  }
182
190
  ],
183
191
  "body": null,
package/client.d.mts CHANGED
@@ -812,6 +812,7 @@ import type {
812
812
  StorageRoomVacant,
813
813
  Supplier,
814
814
  SupplierComment,
815
+ SupplierContact,
815
816
  SupplierContactParticipant,
816
817
  SupplierForCompany,
817
818
  SupplierInvoiceApprovalCounts,
@@ -825,6 +826,7 @@ import type {
825
826
  SyncOverdueDelaysResult,
826
827
  Task,
827
828
  TaskEventType,
829
+ TaskOrderDirection,
828
830
  TenantType,
829
831
  ThirdPartyInformation,
830
832
  ThirdPartyInformationAltinnError,
@@ -1126,6 +1128,7 @@ export type SdkInput<T> =
1126
1128
  T extends StorageRoomOwnerType ? StorageRoomOwnerType | "SECTION" | "PERSON" | "ORGANIZATION" :
1127
1129
  T extends BulkImportTaskItemStatus ? BulkImportTaskItemStatus | "CREATED" | "VALIDATED" :
1128
1130
  T extends PeriodicTaskIntervalMethod ? PeriodicTaskIntervalMethod | "FIXED" | "CONTINUOUS" :
1131
+ T extends TaskOrderDirection ? TaskOrderDirection | "ASC" | "DESC" :
1129
1132
  T extends LeveranseType3po ? LeveranseType3po | "ORDINARY" :
1130
1133
  T extends ThirdPartyInformationStep ? ThirdPartyInformationStep | "GENERATE" | "GENERATE_LETTERS" | "NOTIFY_OWNERS" | "PUBLISH" :
1131
1134
  T extends TransmissionDialogType ? TransmissionDialogType | "Information" | "Acceptance" | "Rejection" | "Request" | "Alert" | "Decision" | "Submission" | "Correction" | "Unknown" :
@@ -4999,7 +5002,7 @@ export interface InvoicingApiFacade {
4999
5002
  customerId: Id;
5000
5003
  input: CreateInvoiceRecipientCommand | SdkInput<CreateInvoiceRecipientCommandProps>;
5001
5004
  sectionIdToDeleteFrom?: Id | null | undefined;
5002
- }): Promise<SdkResult<InvoiceRecipient>>;
5005
+ }): Promise<SdkResult<bigint[]>>;
5003
5006
  createCustomerComment(params: {
5004
5007
  companyId: Id;
5005
5008
  customerType: string;
@@ -5762,7 +5765,7 @@ export interface InvoicingApiOperations {
5762
5765
  customerId: Id;
5763
5766
  input: CreateInvoiceRecipientCommand | SdkInput<CreateInvoiceRecipientCommandProps>;
5764
5767
  sectionIdToDeleteFrom?: Id | null | undefined;
5765
- }): Promise<SdkResult<InvoiceRecipient>>;
5768
+ }): Promise<SdkResult<bigint[]>>;
5766
5769
  createCustomerComment(client: SoliboOperationClient, params: {
5767
5770
  companyId: Id;
5768
5771
  customerType: string;
@@ -8587,6 +8590,7 @@ export interface TaskApiFacade {
8587
8590
  pageToken?: string | null | undefined;
8588
8591
  autoPaginate?: boolean | null | undefined;
8589
8592
  count?: number | null | undefined;
8593
+ orderDirection?: TaskOrderDirection | "ASC" | "DESC" | null | undefined;
8590
8594
  }): Promise<ProjectionResult<F, PagedListTask>>;
8591
8595
  indexTasksUser<F extends string | null | undefined = undefined>(params: {
8592
8596
  search?: string | null | undefined;
@@ -8602,6 +8606,7 @@ export interface TaskApiFacade {
8602
8606
  pageToken?: string | null | undefined;
8603
8607
  autoPaginate?: boolean | null | undefined;
8604
8608
  count?: number | null | undefined;
8609
+ orderDirection?: TaskOrderDirection | "ASC" | "DESC" | null | undefined;
8605
8610
  }): Promise<ProjectionResult<F, PagedListTask>>;
8606
8611
  unCompleteTask(params: {
8607
8612
  companyId: Id;
@@ -8645,6 +8650,7 @@ export interface TaskApiOperations {
8645
8650
  pageToken?: string | null | undefined;
8646
8651
  autoPaginate?: boolean | null | undefined;
8647
8652
  count?: number | null | undefined;
8653
+ orderDirection?: TaskOrderDirection | "ASC" | "DESC" | null | undefined;
8648
8654
  }): Promise<ProjectionResult<F, PagedListTask>>;
8649
8655
  indexTasksUser<F extends string | null | undefined = undefined>(client: SoliboOperationClient, params: {
8650
8656
  search?: string | null | undefined;
@@ -8660,6 +8666,7 @@ export interface TaskApiOperations {
8660
8666
  pageToken?: string | null | undefined;
8661
8667
  autoPaginate?: boolean | null | undefined;
8662
8668
  count?: number | null | undefined;
8669
+ orderDirection?: TaskOrderDirection | "ASC" | "DESC" | null | undefined;
8663
8670
  }): Promise<ProjectionResult<F, PagedListTask>>;
8664
8671
  unCompleteTask(client: SoliboOperationClient, params: {
8665
8672
  companyId: Id;
@@ -9320,7 +9327,7 @@ export interface SupplierApiFacade {
9320
9327
  companyId: Id;
9321
9328
  supplierId: Id;
9322
9329
  input: CreateSupplierContactCommand | SdkInput<CreateSupplierContactCommandProps>;
9323
- }): Promise<SdkResult<Person>>;
9330
+ }): Promise<SdkResult<SupplierContact>>;
9324
9331
  createSupplier(params: {
9325
9332
  input: CreateSupplierCommand | SdkInput<CreateSupplierCommandProps>;
9326
9333
  }): Promise<SdkResult<Supplier>>;
@@ -9428,7 +9435,7 @@ export interface SupplierApiFacade {
9428
9435
  supplierId: Id;
9429
9436
  contactId: Id;
9430
9437
  input: UpdateSupplierContactCommand | SdkInput<UpdateSupplierContactCommandProps>;
9431
- }): Promise<SdkResult<Person>>;
9438
+ }): Promise<SdkResult<SupplierContact>>;
9432
9439
  updateCompanySupplierContactImage(params: {
9433
9440
  companyId: Id;
9434
9441
  supplierId: Id;
@@ -9458,7 +9465,7 @@ export interface SupplierApiOperations {
9458
9465
  companyId: Id;
9459
9466
  supplierId: Id;
9460
9467
  input: CreateSupplierContactCommand | SdkInput<CreateSupplierContactCommandProps>;
9461
- }): Promise<SdkResult<Person>>;
9468
+ }): Promise<SdkResult<SupplierContact>>;
9462
9469
  createSupplier(client: SoliboOperationClient, params: {
9463
9470
  input: CreateSupplierCommand | SdkInput<CreateSupplierCommandProps>;
9464
9471
  }): Promise<SdkResult<Supplier>>;
@@ -9566,7 +9573,7 @@ export interface SupplierApiOperations {
9566
9573
  supplierId: Id;
9567
9574
  contactId: Id;
9568
9575
  input: UpdateSupplierContactCommand | SdkInput<UpdateSupplierContactCommandProps>;
9569
- }): Promise<SdkResult<Person>>;
9576
+ }): Promise<SdkResult<SupplierContact>>;
9570
9577
  updateCompanySupplierContactImage(client: SoliboOperationClient, params: {
9571
9578
  companyId: Id;
9572
9579
  supplierId: Id;
@@ -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
- SendChannel38sllbxw662ws as SendChannel,
9
8
  ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
9
+ SendChannel38sllbxw662ws as SendChannel,
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(), [SendChannel(), ReceiveChannel()], [1, 0]);
20
+ initMetadataForClass($, 'ChannelCoroutine', VOID, AbstractCoroutine(), [ReceiveChannel(), SendChannel()], [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
- SendChannel38sllbxw662ws as SendChannel,
28
27
  ReceiveChannel24wu5e2tj9lbp as ReceiveChannel,
28
+ SendChannel38sllbxw662ws as SendChannel,
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, [SendChannel(), ReceiveChannel()], [1, 0]);
193
+ initMetadataForClass($, 'BoundedChannel', VOID, VOID, [ReceiveChannel(), SendChannel()], [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;
@@ -1,6 +1,6 @@
1
1
  // Generated by sdk/scripts/generate-js-facade.mjs. Do not edit.
2
2
  import type { TaskApiOperations } from '../client.mjs';
3
- export { BulkImportTaskCommand, BulkImportTaskItemResult, BulkImportTaskItemStatus, BulkImportTasksCommand, BulkImportTasksResult, BulkImportTasksSummary, CompleteTaskCommand, CreateTaskCommand, PagedListTask, PeriodicTaskIntervalMethod, Task, TaskApi, UpdateTaskCommand, completeTaskOperation, createMultipleTasksOperation, createTaskOperation, deleteTaskOperation, indexTasksOperation, indexTasksUserOperation, taskApi, unCompleteTaskOperation, updateTaskOperation } from '../solibo-sdk-sdk.mjs';
3
+ export { BulkImportTaskCommand, BulkImportTaskItemResult, BulkImportTaskItemStatus, BulkImportTasksCommand, BulkImportTasksResult, BulkImportTasksSummary, CompleteTaskCommand, CreateTaskCommand, PagedListTask, PeriodicTaskIntervalMethod, Task, TaskApi, TaskOrderDirection, UpdateTaskCommand, completeTaskOperation, createMultipleTasksOperation, createTaskOperation, deleteTaskOperation, indexTasksOperation, indexTasksUserOperation, taskApi, unCompleteTaskOperation, updateTaskOperation } from '../solibo-sdk-sdk.mjs';
4
4
 
5
5
  export declare const completeTask: TaskApiOperations['completeTask'];
6
6
  export declare const createMultipleTasks: TaskApiOperations['createMultipleTasks'];
@@ -34,11 +34,11 @@ export function deleteTask(client, params) {
34
34
  }
35
35
 
36
36
  export function indexTasks(client, params) {
37
- return invokeOperation(client, "task", indexTasksOperation, {"method":"indexTasks","args":[{"name":"companyId","type":"bigint"},{"name":"search","type":"string | null | undefined"},{"name":"completed","type":"boolean | null | undefined"},{"name":"responsibleId","type":"bigint | null | undefined"},{"name":"dueDateFrom","type":"bigint | null | undefined"},{"name":"dueDateTo","type":"bigint | null | undefined"},{"name":"taskIds","type":"bigint[] | null | undefined"},{"name":"deleted","type":"boolean | null | undefined"},{"name":"includeDeleted","type":"boolean | 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":["companyId","id","log","title"]}, params);
37
+ return invokeOperation(client, "task", indexTasksOperation, {"method":"indexTasks","args":[{"name":"companyId","type":"bigint"},{"name":"search","type":"string | null | undefined"},{"name":"completed","type":"boolean | null | undefined"},{"name":"responsibleId","type":"bigint | null | undefined"},{"name":"dueDateFrom","type":"bigint | null | undefined"},{"name":"dueDateTo","type":"bigint | null | undefined"},{"name":"taskIds","type":"bigint[] | null | undefined"},{"name":"deleted","type":"boolean | null | undefined"},{"name":"includeDeleted","type":"boolean | 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"},{"name":"orderDirection","type":"TaskOrderDirection | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["companyId","id","log","title"]}, params);
38
38
  }
39
39
 
40
40
  export function indexTasksUser(client, params) {
41
- return invokeOperation(client, "task", indexTasksUserOperation, {"method":"indexTasksUser","args":[{"name":"search","type":"string | null | undefined"},{"name":"companyIds","type":"bigint[] | null | undefined"},{"name":"completed","type":"boolean | null | undefined"},{"name":"responsibleId","type":"bigint | null | undefined"},{"name":"dueDateFrom","type":"bigint | null | undefined"},{"name":"dueDateTo","type":"bigint | null | undefined"},{"name":"taskIds","type":"bigint[] | null | undefined"},{"name":"deleted","type":"boolean | null | undefined"},{"name":"includeDeleted","type":"boolean | 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":["companyId","id","log","title"]}, params);
41
+ return invokeOperation(client, "task", indexTasksUserOperation, {"method":"indexTasksUser","args":[{"name":"search","type":"string | null | undefined"},{"name":"companyIds","type":"bigint[] | null | undefined"},{"name":"completed","type":"boolean | null | undefined"},{"name":"responsibleId","type":"bigint | null | undefined"},{"name":"dueDateFrom","type":"bigint | null | undefined"},{"name":"dueDateTo","type":"bigint | null | undefined"},{"name":"taskIds","type":"bigint[] | null | undefined"},{"name":"deleted","type":"boolean | null | undefined"},{"name":"includeDeleted","type":"boolean | 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"},{"name":"orderDirection","type":"TaskOrderDirection | null | undefined"}],"body":null,"bodyType":null,"requiredProjectionFields":["companyId","id","log","title"]}, params);
42
42
  }
43
43
 
44
44
  export function unCompleteTask(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.52.0",
26
+ "version": "1.53.0",
27
27
  "name": "@solibo/solibo-sdk",
28
28
  "dependencies": {
29
29
  "@js-joda/core": "6.1.0",
@@ -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, [SendChannel(), ReceiveChannel()], [1, 4, 0, 3]);
2477
+ initMetadataForClass($, "BufferedChannel", VOID, VOID, [ReceiveChannel(), SendChannel()], [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.52.0 (" + $platformName + ")");
2049
- header($this$defaultRequest, "X-Solibo-SDK-Version", "1.52.0");
2048
+ header($this$defaultRequest, "User-Agent", "SoliboSDK/1.53.0 (" + $platformName + ")");
2049
+ header($this$defaultRequest, "X-Solibo-SDK-Version", "1.53.0");
2050
2050
  return Unit_instance2;
2051
2051
  };
2052
2052
  }
@@ -49,6 +49,8 @@ import { PaymentAllocationMode_MANUAL_getInstanceiutxlb2duw3p as PaymentAllocati
49
49
  import { PaymentAllocationPlan2bew2kemgue5v as PaymentAllocationPlan } from '../../../../../../solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/PaymentAllocationPlan.mjs';
50
50
  import { CustomerLedgerEntryType_INVOICE_getInstance22i1ur9xmhulq as CustomerLedgerEntryType_INVOICE_getInstance } from '../../../../../../solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CustomerLedgerEntryType.mjs';
51
51
  import { CustomerLedgerEntry32jdamcr7fddk as CustomerLedgerEntry } from '../../../../../../solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CustomerLedgerEntry.mjs';
52
+ import { Namefq7jqr1w1zl3 as Name } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs';
53
+ import { SupplierContact3cz3f92ph8k5o as SupplierContact } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContact.mjs';
52
54
  import { Companion_getInstanceu2wrlss616lb as Companion_getInstance_2 } from '../../../../../../ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs';
53
55
  import { Application_getInstance3vhi2qmce4cj0 as Application_getInstance } from '../../../../../../ktor-ktor-http/io/ktor/http/ContentTypes.mjs';
54
56
  import {
@@ -65,7 +67,6 @@ import {
65
67
  } from '../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
66
68
  import { TextContent1rb6ftlpvl1d2 as TextContent } from '../../../../../../ktor-ktor-http/io/ktor/http/content/TextContent.mjs';
67
69
  import { Organization12q9lomw4ny0l as Organization } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Organization.mjs';
68
- import { Namefq7jqr1w1zl3 as Name } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Name.mjs';
69
70
  import { Person2qfwnvdasq352 as Person } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/Person.mjs';
70
71
  import { InvoicePlanType_OTHER_getInstance1f3z6eww7g750 as InvoicePlanType_OTHER_getInstance } from '../../../../../../solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoicePlanType.mjs';
71
72
  import { InvoicePlanSettingsqu6tibb0n7rb as InvoicePlanSettings } from '../../../../../../solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/InvoicePlanSettings.mjs';
@@ -410,7 +411,6 @@ import {
410
411
  toIntOrNull3w2d066r9pvwm as toIntOrNull,
411
412
  toLongOrNullutqivezb0wx1 as toLongOrNull,
412
413
  } from '../../../../../../kotlin-kotlin-stdlib/kotlin/text/StringNumberConversions.mjs';
413
- import { SupplierContact3cz3f92ph8k5o as SupplierContact } from '../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/models/SupplierContact.mjs';
414
414
  import { PagedListSupplierContact2p4k61ld6qecg as PagedListSupplierContact } from '../../../../../../solibo-sdk-sdk-api-supplier/no/solibo/oss/sdk/api/gen/models/PagedListSupplierContact.mjs';
415
415
  import { PagedListThirdPartyInformationYear11upuizhx2t17 as PagedListThirdPartyInformationYear } from '../../../../../../solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/PagedListThirdPartyInformationYear.mjs';
416
416
  import { ThirdPartyInformation3pkzstk43alk1 as ThirdPartyInformation } from '../../../../../../solibo-sdk-sdk-api-third-party-information/no/solibo/oss/sdk/api/gen/models/ThirdPartyInformation.mjs';
@@ -1547,28 +1547,26 @@ function registerHandlers($this) {
1547
1547
  register($this, tmp_497, '/companies/(\\d+)/economy/invoicing/customers/([^/]+)/([^/]+)/invoices', MockBackend$registerHandlers$lambda_497($this));
1548
1548
  var tmp_498 = Companion_getInstance().Get_1;
1549
1549
  register($this, tmp_498, '/companies/(\\d+)/economy/invoicing/sections/(\\d+)/invoices', MockBackend$registerHandlers$lambda_498($this));
1550
- var tmp_499 = Companion_getInstance().Post_1;
1551
- register($this, tmp_499, '/companies/(\\d+)/economy/invoicing/customers/([^/]+)/(\\d+)', MockBackend$registerHandlers$lambda_499($this));
1550
+ var tmp_499 = Companion_getInstance().Get_1;
1551
+ register($this, tmp_499, '/companies/(\\d+)/economy/invoicing/adhocLines', MockBackend$registerHandlers$lambda_499($this));
1552
1552
  var tmp_500 = Companion_getInstance().Get_1;
1553
- register($this, tmp_500, '/companies/(\\d+)/economy/invoicing/adhocLines', MockBackend$registerHandlers$lambda_500($this));
1553
+ register($this, tmp_500, '/companies/(\\d+)/economy/invoicing/adhocLineGroups/(\\d+)/preview', MockBackend$registerHandlers$lambda_500($this));
1554
1554
  var tmp_501 = Companion_getInstance().Get_1;
1555
- register($this, tmp_501, '/companies/(\\d+)/economy/invoicing/adhocLineGroups/(\\d+)/preview', MockBackend$registerHandlers$lambda_501($this));
1555
+ register($this, tmp_501, '/companies/(\\d+)/economy/invoicing/plans/(\\d+)/preview', MockBackend$registerHandlers$lambda_501($this));
1556
1556
  var tmp_502 = Companion_getInstance().Get_1;
1557
- register($this, tmp_502, '/companies/(\\d+)/economy/invoicing/plans/(\\d+)/preview', MockBackend$registerHandlers$lambda_502($this));
1557
+ register($this, tmp_502, '/companies/economy/invoicing/payments/detached', MockBackend$registerHandlers$lambda_502($this));
1558
1558
  var tmp_503 = Companion_getInstance().Get_1;
1559
- register($this, tmp_503, '/companies/economy/invoicing/payments/detached', MockBackend$registerHandlers$lambda_503($this));
1559
+ register($this, tmp_503, '/companies/economy/invoicing/overdue', MockBackend$registerHandlers$lambda_503($this));
1560
1560
  var tmp_504 = Companion_getInstance().Get_1;
1561
- register($this, tmp_504, '/companies/economy/invoicing/overdue', MockBackend$registerHandlers$lambda_504($this));
1561
+ register($this, tmp_504, '/companies/(\\d+)/thirdPartyInformation/dialog/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_504($this));
1562
1562
  var tmp_505 = Companion_getInstance().Get_1;
1563
- register($this, tmp_505, '/companies/(\\d+)/thirdPartyInformation/dialog/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_505($this));
1563
+ register($this, tmp_505, '/companies/(\\d+)/thirdPartyInformation/(\\d+)/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_505($this));
1564
1564
  var tmp_506 = Companion_getInstance().Get_1;
1565
- register($this, tmp_506, '/companies/(\\d+)/thirdPartyInformation/(\\d+)/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_506($this));
1565
+ register($this, tmp_506, '/companies/(\\d+)/thirdPartyInformation/dialog/([^/]+)/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_506($this));
1566
1566
  var tmp_507 = Companion_getInstance().Get_1;
1567
- register($this, tmp_507, '/companies/(\\d+)/thirdPartyInformation/dialog/([^/]+)/letters/sections/(\\d+)/persons/(\\d+)', MockBackend$registerHandlers$lambda_507($this));
1567
+ register($this, tmp_507, '/companies/economy/invoicing/expired/preview', MockBackend$registerHandlers$lambda_507($this));
1568
1568
  var tmp_508 = Companion_getInstance().Get_1;
1569
- register($this, tmp_508, '/companies/economy/invoicing/expired/preview', MockBackend$registerHandlers$lambda_508($this));
1570
- var tmp_509 = Companion_getInstance().Get_1;
1571
- register($this, tmp_509, '/companies/economy/invoicing/expired/tripletexCustomer', MockBackend$registerHandlers$lambda_509($this));
1569
+ register($this, tmp_508, '/companies/economy/invoicing/expired/tripletexCustomer', MockBackend$registerHandlers$lambda_508($this));
1572
1570
  registerFinanceHandlers($this);
1573
1571
  }
1574
1572
  function createIssueDetails($this, issue) {
@@ -1766,6 +1764,14 @@ function createMockPaymentPlan($this, source) {
1766
1764
  function createMockLedgerEntry($this) {
1767
1765
  return new (CustomerLedgerEntry())(VOID, VOID, 100.0, VOID, VOID, 1793491200n, 'Mock common costs', 'mock-ledger-entry-1', 'mock-invoice-1', 1n, VOID, VOID, VOID, true, VOID, CustomerLedgerEntryType_INVOICE_getInstance());
1768
1766
  }
1767
+ function toSupplierContact($this, $receiver, companyId, supplierId) {
1768
+ var tmp1_id = $receiver.id;
1769
+ var tmp0_elvis_lhs = $receiver.name;
1770
+ var tmp2_name = tmp0_elvis_lhs == null ? new (Name())(VOID, 'Contact', 'Mock') : tmp0_elvis_lhs;
1771
+ var tmp3_email = $receiver.email;
1772
+ var tmp4_mobile = $receiver.mobile;
1773
+ return new (SupplierContact())(companyId, tmp3_email, tmp1_id, VOID, tmp4_mobile, tmp2_name, supplierId);
1774
+ }
1769
1775
  function register($this, method, pathRegex, handler) {
1770
1776
  $this.addHandler(MockBackend$register$lambda(method, pathRegex, handler));
1771
1777
  }
@@ -11609,8 +11615,7 @@ function MockBackend$registerHandlers$lambda_340(this$0) {
11609
11615
  var _iterator__ex2g4s_0 = this_0.iterator_jk1svi_k$();
11610
11616
  while (_iterator__ex2g4s_0.hasNext_bitz1p_k$()) {
11611
11617
  var item = _iterator__ex2g4s_0.next_20eer_k$();
11612
- var tmp0_elvis_lhs_1 = item.name;
11613
- var tmp$ret$5 = new (SupplierContact())(VOID, VOID, item.id, VOID, VOID, tmp0_elvis_lhs_1 == null ? new (Name())(VOID, 'Contact', 'Mock') : tmp0_elvis_lhs_1, element.id);
11618
+ var tmp$ret$5 = toSupplierContact(this$0, item, companyId, element.id);
11614
11619
  destination_0.add_utx5q5_k$(tmp$ret$5);
11615
11620
  }
11616
11621
  var list = destination_0;
@@ -15148,17 +15153,18 @@ function MockBackend$registerHandlers$lambda_486(this$0) {
15148
15153
  tmp.add_utx5q5_k$(person);
15149
15154
  // Inline function 'kotlin.collections.set' call
15150
15155
  this$0.persons.put_4fpzoq_k$(id, person);
15156
+ var tmp0 = this$0;
15151
15157
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
15152
- var this_1 = this$0;
15158
+ var content = toSupplierContact(this$0, person, toLong(match.get_groupValues_rkv314_k$().get_c1px32_k$(1)), supplierId);
15153
15159
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
15154
- var this_2 = this_1.json_1;
15160
+ var this_1 = tmp0.json_1;
15155
15161
  // Inline function 'kotlinx.serialization.serializer' call
15156
- var this_3 = this_2.get_serializersModule_piitvg_k$();
15162
+ var this_2 = this_1.get_serializersModule_piitvg_k$();
15157
15163
  // Inline function 'kotlinx.serialization.internal.cast' call
15158
- var this_4 = serializer(this_3, createKType(getKClass(Person()), arrayOf([]), false));
15159
- var tmp$ret$6 = isInterface(this_4, KSerializer()) ? this_4 : THROW_CCE();
15160
- var tmp$ret$5 = this_2.encodeToString_k0apqx_k$(tmp$ret$6, person);
15161
- return respondJson(this_1, $this$register, tmp$ret$5);
15164
+ var this_3 = serializer(this_2, createKType(getKClass(SupplierContact()), arrayOf([]), false));
15165
+ var tmp$ret$6 = isInterface(this_3, KSerializer()) ? this_3 : THROW_CCE();
15166
+ var tmp$ret$5 = this_1.encodeToString_k0apqx_k$(tmp$ret$6, content);
15167
+ return respondJson(tmp0, $this$register, tmp$ret$5);
15162
15168
  };
15163
15169
  }
15164
15170
  function MockBackend$registerHandlers$lambda_487(this$0) {
@@ -15205,17 +15211,18 @@ function MockBackend$registerHandlers$lambda_487(this$0) {
15205
15211
  tmp_0 = tmp0_elvis_lhs;
15206
15212
  }
15207
15213
  var existing = tmp_0;
15214
+ var tmp0 = this$0;
15208
15215
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
15209
- var this_2 = this$0;
15216
+ var content = toSupplierContact(this$0, existing, toLong(match.get_groupValues_rkv314_k$().get_c1px32_k$(1)), supplierId);
15210
15217
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
15211
- var this_3 = this_2.json_1;
15218
+ var this_2 = tmp0.json_1;
15212
15219
  // Inline function 'kotlinx.serialization.serializer' call
15213
- var this_4 = this_3.get_serializersModule_piitvg_k$();
15220
+ var this_3 = this_2.get_serializersModule_piitvg_k$();
15214
15221
  // Inline function 'kotlinx.serialization.internal.cast' call
15215
- var this_5 = serializer(this_4, createKType(getKClass(Person()), arrayOf([]), false));
15216
- var tmp$ret$11 = isInterface(this_5, KSerializer()) ? this_5 : THROW_CCE();
15217
- var tmp$ret$10 = this_3.encodeToString_k0apqx_k$(tmp$ret$11, existing);
15218
- return respondJson(this_2, $this$register, tmp$ret$10);
15222
+ var this_4 = serializer(this_3, createKType(getKClass(SupplierContact()), arrayOf([]), false));
15223
+ var tmp$ret$11 = isInterface(this_4, KSerializer()) ? this_4 : THROW_CCE();
15224
+ var tmp$ret$10 = this_2.encodeToString_k0apqx_k$(tmp$ret$11, content);
15225
+ return respondJson(tmp0, $this$register, tmp$ret$10);
15219
15226
  };
15220
15227
  }
15221
15228
  function MockBackend$registerHandlers$lambda_488(this$0) {
@@ -15599,22 +15606,6 @@ function MockBackend$registerHandlers$lambda_498(this$0) {
15599
15606
  };
15600
15607
  }
15601
15608
  function MockBackend$registerHandlers$lambda_499(this$0) {
15602
- return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15603
- var tmp0 = this$0;
15604
- // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
15605
- var content = new (InvoiceRecipient())(false);
15606
- // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
15607
- var this_0 = tmp0.json_1;
15608
- // Inline function 'kotlinx.serialization.serializer' call
15609
- var this_1 = this_0.get_serializersModule_piitvg_k$();
15610
- // Inline function 'kotlinx.serialization.internal.cast' call
15611
- var this_2 = serializer(this_1, createKType(getKClass(InvoiceRecipient()), arrayOf([]), false));
15612
- var tmp$ret$2 = isInterface(this_2, KSerializer()) ? this_2 : THROW_CCE();
15613
- var tmp$ret$1 = this_0.encodeToString_k0apqx_k$(tmp$ret$2, content);
15614
- return respondJson(tmp0, $this$register, tmp$ret$1);
15615
- };
15616
- }
15617
- function MockBackend$registerHandlers$lambda_500(this$0) {
15618
15609
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15619
15610
  var tmp0 = this$0;
15620
15611
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15630,7 +15621,7 @@ function MockBackend$registerHandlers$lambda_500(this$0) {
15630
15621
  return respondJson(tmp0, $this$register, tmp$ret$1);
15631
15622
  };
15632
15623
  }
15633
- function MockBackend$registerHandlers$lambda_501(this$0) {
15624
+ function MockBackend$registerHandlers$lambda_500(this$0) {
15634
15625
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15635
15626
  var tmp0 = this$0;
15636
15627
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15646,7 +15637,7 @@ function MockBackend$registerHandlers$lambda_501(this$0) {
15646
15637
  return respondJson(tmp0, $this$register, tmp$ret$1);
15647
15638
  };
15648
15639
  }
15649
- function MockBackend$registerHandlers$lambda_502(this$0) {
15640
+ function MockBackend$registerHandlers$lambda_501(this$0) {
15650
15641
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15651
15642
  var tmp0 = this$0;
15652
15643
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15662,7 +15653,7 @@ function MockBackend$registerHandlers$lambda_502(this$0) {
15662
15653
  return respondJson(tmp0, $this$register, tmp$ret$1);
15663
15654
  };
15664
15655
  }
15665
- function MockBackend$registerHandlers$lambda_503(this$0) {
15656
+ function MockBackend$registerHandlers$lambda_502(this$0) {
15666
15657
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15667
15658
  var tmp0 = this$0;
15668
15659
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15678,7 +15669,7 @@ function MockBackend$registerHandlers$lambda_503(this$0) {
15678
15669
  return respondJson(tmp0, $this$register, tmp$ret$1);
15679
15670
  };
15680
15671
  }
15681
- function MockBackend$registerHandlers$lambda_504(this$0) {
15672
+ function MockBackend$registerHandlers$lambda_503(this$0) {
15682
15673
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15683
15674
  var tmp0 = this$0;
15684
15675
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15694,7 +15685,7 @@ function MockBackend$registerHandlers$lambda_504(this$0) {
15694
15685
  return respondJson(tmp0, $this$register, tmp$ret$1);
15695
15686
  };
15696
15687
  }
15697
- function MockBackend$registerHandlers$lambda_505(this$0) {
15688
+ function MockBackend$registerHandlers$lambda_504(this$0) {
15698
15689
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15699
15690
  var tmp0 = this$0;
15700
15691
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15710,7 +15701,7 @@ function MockBackend$registerHandlers$lambda_505(this$0) {
15710
15701
  return respondJson(tmp0, $this$register, tmp$ret$1);
15711
15702
  };
15712
15703
  }
15713
- function MockBackend$registerHandlers$lambda_506(this$0) {
15704
+ function MockBackend$registerHandlers$lambda_505(this$0) {
15714
15705
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15715
15706
  var tmp0 = this$0;
15716
15707
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15726,7 +15717,7 @@ function MockBackend$registerHandlers$lambda_506(this$0) {
15726
15717
  return respondJson(tmp0, $this$register, tmp$ret$1);
15727
15718
  };
15728
15719
  }
15729
- function MockBackend$registerHandlers$lambda_507(this$0) {
15720
+ function MockBackend$registerHandlers$lambda_506(this$0) {
15730
15721
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15731
15722
  var tmp0 = this$0;
15732
15723
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -15742,7 +15733,7 @@ function MockBackend$registerHandlers$lambda_507(this$0) {
15742
15733
  return respondJson(tmp0, $this$register, tmp$ret$1);
15743
15734
  };
15744
15735
  }
15745
- function MockBackend$registerHandlers$lambda_508(this$0) {
15736
+ function MockBackend$registerHandlers$lambda_507(this$0) {
15746
15737
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15747
15738
  var mockMeta = new (InvoiceSubjectMeta())(VOID, VOID, VOID, VOID, VOID, VOID, 'Mock');
15748
15739
  var tmp0 = this$0;
@@ -15759,7 +15750,7 @@ function MockBackend$registerHandlers$lambda_508(this$0) {
15759
15750
  return respondJson(tmp0, $this$register, tmp$ret$1);
15760
15751
  };
15761
15752
  }
15762
- function MockBackend$registerHandlers$lambda_509(this$0) {
15753
+ function MockBackend$registerHandlers$lambda_508(this$0) {
15763
15754
  return function ($this$register, _unused_var__etf5q3, _unused_var__etf5q3_0) {
15764
15755
  var tmp0 = this$0;
15765
15756
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -12,7 +12,7 @@ export declare class InvoicingApi extends ApiClient.$metadata$.constructor {
12
12
  createCompanyCustomerClaim(companyId: bigint, customerType: string, customerId: bigint, createCustomerClaimCommand: CreateCustomerClaimCommand): Promise<HttpResponse<CustomerClaimCreated>>;
13
13
  createCompanyExternalInvoiceRecipient(companyId: bigint, customerType: CustomerType, createExternalCustomerCommand: CreateExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
14
14
  createCompanyExternalInvoiceRecipientById(companyId: bigint, customerType: string, customerId: bigint, addExternalCustomerCommand: AddExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
15
- createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<InvoiceRecipient>>;
15
+ createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<KtList<bigint>>>;
16
16
  createCustomerComment(companyId: bigint, customerType: string, customerId: bigint, createCustomerCommentCommand: CreateCustomerCommentCommand): Promise<HttpResponse<void>>;
17
17
  createInvoicePlan(companyId: bigint, createInvoicePlanCommand: CreateInvoicePlanCommand, active?: Nullable<boolean>, type?: Nullable<InvoicePlanType>): Promise<HttpResponse<InvoicePlan>>;
18
18
  createInvoicePlanDistribution(companyId: bigint, invoicePlanId: bigint, createInvoiceDistributionCommand: CreateInvoiceDistributionCommand): Promise<HttpResponse<InvoicePlanDistribution>>;
@@ -738,7 +738,7 @@ function $createCompanyInvoiceRecipientOfSection$suspendBridgeCOROUTINE$() {
738
738
  this.exceptionState_1 = 4;
739
739
  if (this._this__u8e3s4__1.createCompanyInvoiceRecipientOfSection === protoOf(InvoicingApi()).createCompanyInvoiceRecipientOfSection) {
740
740
  this.state_1 = 2;
741
- suspendResult = this._this__u8e3s4__1.createCompanyInvoiceRecipientOfSection$default_5lvxnw_k$(this.companyId_1, this.customerType_1, this.customerId_1, this.createInvoiceRecipientCommand_1, this.sectionIdToDeleteFrom_1, this);
741
+ suspendResult = this._this__u8e3s4__1.createCompanyInvoiceRecipientOfSection$default_ghcr4b_k$(this.companyId_1, this.customerType_1, this.customerId_1, this.createInvoiceRecipientCommand_1, this.sectionIdToDeleteFrom_1, this);
742
742
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
743
743
  return suspendResult;
744
744
  }
@@ -7822,20 +7822,20 @@ function InvoicingApi() {
7822
7822
  tmp.exception_1 = null;
7823
7823
  return tmp.doResume_5yljmg_k$();
7824
7824
  };
7825
- protoOf($).createCompanyInvoiceRecipientOfSection_twlbat_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) {
7825
+ protoOf($).createCompanyInvoiceRecipientOfSection_7rnkas_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) {
7826
7826
  return createCompanyInvoiceRecipientOfSectionOperation(this, companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7827
7827
  };
7828
- protoOf($).createCompanyInvoiceRecipientOfSection$default_5lvxnw_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion, $super) {
7828
+ protoOf($).createCompanyInvoiceRecipientOfSection$default_ghcr4b_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion, $super) {
7829
7829
  sectionIdToDeleteFrom = sectionIdToDeleteFrom === VOID ? null : sectionIdToDeleteFrom;
7830
- return $super === VOID ? this.createCompanyInvoiceRecipientOfSection_twlbat_k$(companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) : $super.createCompanyInvoiceRecipientOfSection_twlbat_k$.call(this, companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7830
+ return $super === VOID ? this.createCompanyInvoiceRecipientOfSection_7rnkas_k$(companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) : $super.createCompanyInvoiceRecipientOfSection_7rnkas_k$.call(this, companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7831
7831
  };
7832
7832
  protoOf($).createCompanyInvoiceRecipientOfSection = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom) {
7833
7833
  var tmp = this;
7834
7834
  return promisify(function ($completion) {
7835
- return tmp.createCompanyInvoiceRecipientOfSection$default_5lvxnw_k$(companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7835
+ return tmp.createCompanyInvoiceRecipientOfSection$default_ghcr4b_k$(companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7836
7836
  });
7837
7837
  };
7838
- protoOf($).createCompanyInvoiceRecipientOfSection$suspendBridge_v1sz6e_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) {
7838
+ protoOf($).createCompanyInvoiceRecipientOfSection$suspendBridge_54hbk5_k$ = function (companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion) {
7839
7839
  var tmp = new ($createCompanyInvoiceRecipientOfSection$suspendBridgeCOROUTINE$())(this, companyId, customerType, customerId, createInvoiceRecipientCommand, sectionIdToDeleteFrom, $completion);
7840
7840
  tmp.result_1 = Unit_instance;
7841
7841
  tmp.exception_1 = null;
@@ -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 createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<InvoiceRecipient>>;
3
+ export declare function createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: Nullable<bigint>): Promise<HttpResponse<KtList<bigint>>>;