@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
@@ -1,12 +1,14 @@
1
- import { indexTasksUserOperation1g5htsu13qpny as indexTasksUserOperation } from './IndexTasksUserOperation.mjs';
1
+ import { indexTasksUserOperation83yvt4pnwp43 as indexTasksUserOperation } from './IndexTasksUserOperation.mjs';
2
2
  import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
3
+ import { TaskOrderDirection21sa7kcx00wx0 as __soliboType_TaskOrderDirection } from '../../models/TaskOrderDirection.mjs';
3
4
  //region block: imports
4
5
  //endregion
5
6
  //region block: pre-declaration
6
7
  //endregion
7
8
  //region block: exports
8
9
  /* Solibo boundary patches */
9
- var indexTasksUserOperation_solibo = __soliboWrapFunction(indexTasksUserOperation, {"result":true,"args":{"2":["list",["bigint"]],"4":["bigint"],"5":["bigint"],"6":["bigint"],"7":["list",["bigint"]]}});
10
+ __soliboRegisterLookup("TaskOrderDirection", () => __soliboType_TaskOrderDirection());
11
+ var indexTasksUserOperation_solibo = __soliboWrapFunction(indexTasksUserOperation, {"result":true,"args":{"2":["list",["bigint"]],"4":["bigint"],"5":["bigint"],"6":["bigint"],"7":["list",["bigint"]],"14":["enum","TaskOrderDirection"]}});
10
12
  export {
11
13
  indexTasksUserOperation_solibo as indexTasksUserOperation,
12
14
  };
@@ -25,12 +25,12 @@ import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } fro
25
25
  //endregion
26
26
  //region block: pre-declaration
27
27
  //endregion
28
- function indexTasksUserOperation(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count) {
28
+ function indexTasksUserOperation(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection) {
29
29
  return promisify(function ($completion) {
30
- return indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
30
+ return indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
31
31
  });
32
32
  }
33
- function indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion) {
33
+ function indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
34
34
  search = search === VOID ? null : search;
35
35
  companyIds = companyIds === VOID ? null : companyIds;
36
36
  completed = completed === VOID ? null : completed;
@@ -44,7 +44,8 @@ function indexTasksUserOperation_0(client, search, companyIds, completed, respon
44
44
  pageToken = pageToken === VOID ? null : pageToken;
45
45
  autoPaginate = autoPaginate === VOID ? null : autoPaginate;
46
46
  count = count === VOID ? null : count;
47
- var tmp = new ($indexTasksUserOperationCOROUTINE$())(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
47
+ orderDirection = orderDirection === VOID ? null : orderDirection;
48
+ var tmp = new ($indexTasksUserOperationCOROUTINE$())(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
48
49
  tmp.result_1 = Unit_instance;
49
50
  tmp.exception_1 = null;
50
51
  return tmp.doResume_5yljmg_k$();
@@ -53,7 +54,7 @@ var $indexTasksUserOperationCOROUTINE$Class;
53
54
  function $indexTasksUserOperationCOROUTINE$() {
54
55
  if ($indexTasksUserOperationCOROUTINE$Class === VOID) {
55
56
  initMetadataForCoroutine($, CoroutineImpl());
56
- function $(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, resultContinuation) {
57
+ function $(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, resultContinuation) {
57
58
  CoroutineImpl().call(this, resultContinuation);
58
59
  this.client_1 = client;
59
60
  this.search_1 = search;
@@ -69,6 +70,7 @@ function $indexTasksUserOperationCOROUTINE$() {
69
70
  this.pageToken_1 = pageToken;
70
71
  this.autoPaginate_1 = autoPaginate;
71
72
  this.count_1 = count;
73
+ this.orderDirection_1 = orderDirection;
72
74
  }
73
75
  protoOf($).doResume_5yljmg_k$ = function () {
74
76
  var suspendResult = this.result_1;
@@ -182,9 +184,17 @@ function $indexTasksUserOperationCOROUTINE$() {
182
184
  localVariableQuery.put_4fpzoq_k$('count', value_11);
183
185
  }
184
186
 
187
+ if (this.orderDirection_1 == null)
188
+ null;
189
+ else {
190
+ var tmp2_7 = 'orderDirection';
191
+ var value_12 = listOf_0(this.orderDirection_1.value);
192
+ localVariableQuery.put_4fpzoq_k$(tmp2_7, value_12);
193
+ }
194
+
185
195
  var localVariableHeaders = LinkedHashMap_init_$Create$();
186
- var tmp13_method = RequestMethod_GET_getInstance();
187
- var localVariableConfig = new (RequestConfig())(tmp13_method, '/companies/tasks', localVariableHeaders, VOID, localVariableQuery, true);
196
+ var tmp14_method = RequestMethod_GET_getInstance();
197
+ var localVariableConfig = new (RequestConfig())(tmp14_method, '/companies/tasks', localVariableHeaders, VOID, localVariableQuery, true);
188
198
  this.state_1 = 1;
189
199
  suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
190
200
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -231,8 +241,8 @@ function $indexTasksUserOperationCOROUTINE$() {
231
241
  }
232
242
  //region block: exports
233
243
  export {
234
- indexTasksUserOperation as indexTasksUserOperation1g5htsu13qpny,
235
- indexTasksUserOperation_0 as indexTasksUserOperation1nb1mfazonthd,
244
+ indexTasksUserOperation as indexTasksUserOperation83yvt4pnwp43,
245
+ indexTasksUserOperation_0 as indexTasksUserOperation239ks0kftp8hq,
236
246
  };
237
247
  //endregion
238
248
 
@@ -0,0 +1,45 @@
1
+ type Nullable<T> = T | null | undefined
2
+ declare function KtSingleton<T>(): T & (abstract new() => any);
3
+ export declare abstract class TaskOrderDirection {
4
+ private constructor();
5
+ static get ASC(): TaskOrderDirection & {
6
+ get name(): "ASC";
7
+ get ordinal(): 0;
8
+ };
9
+ static get DESC(): TaskOrderDirection & {
10
+ get name(): "DESC";
11
+ get ordinal(): 1;
12
+ };
13
+ static get Asc(): TaskOrderDirection & {
14
+ get name(): "ASC";
15
+ get ordinal(): 0;
16
+ };
17
+ static get Desc(): TaskOrderDirection & {
18
+ get name(): "DESC";
19
+ get ordinal(): 1;
20
+ };
21
+ static values(): [typeof TaskOrderDirection.ASC, typeof TaskOrderDirection.DESC];
22
+ static valueOf(value: string): TaskOrderDirection;
23
+ get name(): "ASC" | "DESC";
24
+ get ordinal(): 0 | 1;
25
+ get value(): string;
26
+ toString(): string;
27
+ }
28
+ export declare namespace TaskOrderDirection {
29
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
30
+ namespace $metadata$ {
31
+ const constructor: abstract new () => TaskOrderDirection;
32
+ }
33
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
34
+ private constructor();
35
+ }
36
+ namespace Companion {
37
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
38
+ namespace $metadata$ {
39
+ abstract class constructor /* implements SerializerFactory */ {
40
+ fromValue(value: string): Nullable<TaskOrderDirection>;
41
+ private constructor();
42
+ }
43
+ }
44
+ }
45
+ }
@@ -0,0 +1,36 @@
1
+ import {
2
+ TaskOrderDirection21sa7kcx00wx0 as TaskOrderDirection,
3
+ valuesyjimfxy69g8u as values,
4
+ valueOffhdgmf8jaymp as valueOf,
5
+ TaskOrderDirection_ASC_getInstance3aislwlsxp4cf as TaskOrderDirection_ASC_getInstance,
6
+ TaskOrderDirection_DESC_getInstance1ovahzlloh18x as TaskOrderDirection_DESC_getInstance,
7
+ Companions3xomj72qo31 as Companion,
8
+ Companion_getInstance15dcx86ir5kxh as Companion_getInstance,
9
+ } from './TaskOrderDirection.mjs';
10
+ import { defineProp3ur6h3slcvq4x as defineProp } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
11
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
12
+ import { __soliboWrapAccessor, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
13
+ //region block: imports
14
+ //endregion
15
+ //region block: pre-declaration
16
+ //endregion
17
+ //region block: exports
18
+ var TaskOrderDirection_0 = TaskOrderDirection();
19
+ TaskOrderDirection_0.values = values;
20
+ TaskOrderDirection_0.valueOf = valueOf;
21
+ defineProp(TaskOrderDirection_0, 'ASC', TaskOrderDirection_ASC_getInstance, VOID, true);
22
+ defineProp(TaskOrderDirection_0, 'DESC', TaskOrderDirection_DESC_getInstance, VOID, true);
23
+ defineProp(TaskOrderDirection_0, 'Companion', Companion_getInstance, VOID, true);
24
+ /* Enum aliases for TaskOrderDirection */
25
+ Object.defineProperties(TaskOrderDirection_0, {
26
+ "Asc": { get() { return TaskOrderDirection_0.ASC; }, enumerable: true, configurable: true },
27
+ "Desc": { get() { return TaskOrderDirection_0.DESC; }, enumerable: true, configurable: true }
28
+ });
29
+ /* Solibo boundary patches */
30
+ __soliboWrapMethod(TaskOrderDirection_0, "values", {"isStatic":true});
31
+ __soliboWrapMethod(TaskOrderDirection_0, "valueOf", {"isStatic":true});
32
+ export {
33
+ TaskOrderDirection_0 as TaskOrderDirection,
34
+ };
35
+ //endregion
36
+
@@ -0,0 +1,168 @@
1
+ import { createAnnotatedEnumSerializer20ay4pme9p2h9 as createAnnotatedEnumSerializer } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs';
2
+ import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
3
+ import {
4
+ Companion_instance13way2il9a8jt as Companion_instance,
5
+ Enum3alwj03lh1n41 as Enum,
6
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Enum.mjs';
7
+ import { collectionSizeOrDefault36dulx8yinfqm as collectionSizeOrDefault } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/Iterables.mjs';
8
+ import { mapCapacity1h45rc3eh9p2l as mapCapacity } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
9
+ import { coerceAtLeast2bkz8m9ik7hep as coerceAtLeast } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/ranges/_Ranges.mjs';
10
+ import { LinkedHashMap_init_$Create$21wpz6bm2n4yn as LinkedHashMap_init_$Create$ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
11
+ import { LazyThreadSafetyMode_PUBLICATION_getInstance23f213579at67 as LazyThreadSafetyMode_PUBLICATION_getInstance } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/Lazy.mjs';
12
+ import { lazy1261dae0bgscp as lazy } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/kotlin.mjs';
13
+ import {
14
+ protoOf180f3jzyo7rfj as protoOf,
15
+ defineProp3ur6h3slcvq4x as defineProp,
16
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
17
+ import { SerializerFactory1qv9hivitncuv as SerializerFactory } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginHelperInterfaces.mjs';
18
+ import {
19
+ initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
20
+ initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
21
+ } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
22
+ import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
23
+ import { THROW_IAE23kobfj9wdoxr as THROW_IAE } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/hacks.mjs';
24
+ import { enumEntries20mr21zbe3az4 as enumEntries } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/enums/EnumEntries.mjs';
25
+ import { SerializableWithd2dap36updxd as SerializableWith } from '../../../../../../../../kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs';
26
+ import { __soliboRegisterLookup } from '../../../../../../../../solibo-boundary.mjs';
27
+ //region block: imports
28
+ //endregion
29
+ //region block: pre-declaration
30
+ //endregion
31
+ function _get_$cachedSerializer__te6jhj($this) {
32
+ return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
33
+ }
34
+ function TaskOrderDirection$Companion$_anonymous__2kekpl() {
35
+ var tmp = values();
36
+ // Inline function 'kotlin.arrayOf' call
37
+ // Inline function 'kotlin.js.unsafeCast' call
38
+ // Inline function 'kotlin.js.asDynamic' call
39
+ var tmp_0 = ['ASC', 'DESC'];
40
+ // Inline function 'kotlin.arrayOf' call
41
+ // Inline function 'kotlin.js.unsafeCast' call
42
+ // Inline function 'kotlin.js.asDynamic' call
43
+ var tmp$ret$3 = [null, null];
44
+ return createAnnotatedEnumSerializer('no.solibo.oss.sdk.api.gen.models.TaskOrderDirection', tmp, tmp_0, tmp$ret$3, null);
45
+ }
46
+ var static_init_called;
47
+ function static_init() {
48
+ if (static_init_called)
49
+ return Unit_instance;
50
+ static_init_called = true;
51
+ TaskOrderDirection_ASC_instance = new (TaskOrderDirection())('ASC', 0, 'ASC');
52
+ TaskOrderDirection_DESC_instance = new (TaskOrderDirection())('DESC', 1, 'DESC');
53
+ if (Companion_instance_0 == null) {
54
+ Companion_instance;
55
+ new (Companion())();
56
+ }
57
+ }
58
+ var TaskOrderDirection_ASC_instance;
59
+ var TaskOrderDirection_DESC_instance;
60
+ var CompanionClass;
61
+ function Companion() {
62
+ if (CompanionClass === VOID) {
63
+ initMetadataForCompanion($, VOID, [SerializerFactory()]);
64
+ function $() {
65
+ Companion_instance_0 = this;
66
+ var tmp = this;
67
+ // Inline function 'kotlin.collections.associateBy' call
68
+ var this_0 = get_entries();
69
+ var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
70
+ // Inline function 'kotlin.collections.associateByTo' call
71
+ var destination = LinkedHashMap_init_$Create$(capacity);
72
+ var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
73
+ while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
74
+ var element = _iterator__ex2g4s.next_20eer_k$();
75
+ var tmp$ret$2 = element.value;
76
+ destination.put_4fpzoq_k$(tmp$ret$2, element);
77
+ }
78
+ tmp.mapping_1 = destination;
79
+ var tmp_0 = this;
80
+ var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
81
+ tmp_0.$cachedSerializer$delegate_1 = lazy(tmp_1, TaskOrderDirection$Companion$_anonymous__2kekpl);
82
+ }
83
+ protoOf($).fromValue = function (value) {
84
+ return this.mapping_1.get_wei43m_k$(value);
85
+ };
86
+ protoOf($).serializer_9w0wvi_k$ = function () {
87
+ return _get_$cachedSerializer__te6jhj(this);
88
+ };
89
+ protoOf($).serializer_nv39qc_k$ = function (typeParamsSerializers) {
90
+ return this.serializer_9w0wvi_k$();
91
+ };
92
+ CompanionClass = $;
93
+ }
94
+ return CompanionClass;
95
+ }
96
+ var Companion_instance_0;
97
+ function Companion_getInstance() {
98
+ static_init();
99
+ return Companion_instance_0;
100
+ }
101
+ function values() {
102
+ static_init();
103
+ return [TaskOrderDirection_ASC_getInstance(), TaskOrderDirection_DESC_getInstance()];
104
+ }
105
+ function valueOf(value) {
106
+ static_init();
107
+ switch (value) {
108
+ case 'ASC':
109
+ return TaskOrderDirection_ASC_getInstance();
110
+ case 'DESC':
111
+ return TaskOrderDirection_DESC_getInstance();
112
+ default:
113
+ THROW_IAE('No enum constant no.solibo.oss.sdk.api.gen.models.TaskOrderDirection.' + value);
114
+ break;
115
+ }
116
+ }
117
+ function get_entries() {
118
+ static_init();
119
+ if ($ENTRIES == null)
120
+ $ENTRIES = enumEntries(values());
121
+ return $ENTRIES;
122
+ }
123
+ var $ENTRIES;
124
+ var TaskOrderDirectionClass;
125
+ function TaskOrderDirection() {
126
+ if (TaskOrderDirectionClass === VOID) {
127
+ initMetadataForClass($, 'TaskOrderDirection', VOID, Enum(), VOID, VOID, VOID, {0: Companion_getInstance});
128
+ function $(name, ordinal, value) {
129
+ Enum().call(this, name, ordinal);
130
+ this.value = value;
131
+ }
132
+ protoOf($).get_value_j01efc_k$ = function () {
133
+ return this.value;
134
+ };
135
+ protoOf($).toString = function () {
136
+ return this.value;
137
+ };
138
+ defineProp(protoOf($), 'name', protoOf($).get_name_woqyms_k$);
139
+ defineProp(protoOf($), 'ordinal', protoOf($).get_ordinal_ip24qg_k$);
140
+ /* Solibo boundary patches */
141
+ Object.defineProperty($, 'name', { value: "TaskOrderDirection", configurable: true });
142
+ if (!Object.prototype.hasOwnProperty.call($, 'values')) $.values = values;
143
+ if (!Object.prototype.hasOwnProperty.call($, 'valueOf')) $.valueOf = valueOf;
144
+ __soliboRegisterLookup("TaskOrderDirection", () => $);
145
+ TaskOrderDirectionClass = $;
146
+ }
147
+ return TaskOrderDirectionClass;
148
+ }
149
+ function TaskOrderDirection_ASC_getInstance() {
150
+ static_init();
151
+ return TaskOrderDirection_ASC_instance;
152
+ }
153
+ function TaskOrderDirection_DESC_getInstance() {
154
+ static_init();
155
+ return TaskOrderDirection_DESC_instance;
156
+ }
157
+ //region block: exports
158
+ export {
159
+ TaskOrderDirection_ASC_getInstance as TaskOrderDirection_ASC_getInstance3aislwlsxp4cf,
160
+ TaskOrderDirection_DESC_getInstance as TaskOrderDirection_DESC_getInstance1ovahzlloh18x,
161
+ Companion_getInstance as Companion_getInstance15dcx86ir5kxh,
162
+ Companion as Companions3xomj72qo31,
163
+ valueOf as valueOffhdgmf8jaymp,
164
+ values as valuesyjimfxy69g8u,
165
+ TaskOrderDirection as TaskOrderDirection21sa7kcx00wx0,
166
+ };
167
+ //endregion
168
+
@@ -22,6 +22,7 @@ export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/Create
22
22
  export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/PagedListTask.export.mjs';
23
23
  export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/PeriodicTaskIntervalMethod.export.mjs';
24
24
  export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/Task.export.mjs';
25
+ export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/TaskOrderDirection.export.mjs';
25
26
  export * from './solibo-sdk-sdk-api-task/no/solibo/oss/sdk/api/gen/models/UpdateTaskCommand.export.mjs';
26
27
  //endregion
27
28
 
@@ -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.52.0');
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.0');
32
32
  };
33
33
  SoliboOpenTelemetryClass = $;
34
34
  }
@@ -8222,7 +8222,7 @@ export declare class InvoicingApi extends ApiClient.$metadata$.constructor {
8222
8222
  createCompanyCustomerClaim(companyId: bigint, customerType: string, customerId: bigint, createCustomerClaimCommand: CreateCustomerClaimCommand): Promise<HttpResponse<CustomerClaimCreated>>;
8223
8223
  createCompanyExternalInvoiceRecipient(companyId: bigint, customerType: CustomerType, createExternalCustomerCommand: CreateExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
8224
8224
  createCompanyExternalInvoiceRecipientById(companyId: bigint, customerType: string, customerId: bigint, addExternalCustomerCommand: AddExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
8225
- createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: bigint | null | undefined): Promise<HttpResponse<InvoiceRecipient>>;
8225
+ createCompanyInvoiceRecipientOfSection(companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: bigint | null | undefined): Promise<HttpResponse<bigint[]>>;
8226
8226
  createCustomerComment(companyId: bigint, customerType: string, customerId: bigint, createCustomerCommentCommand: CreateCustomerCommentCommand): Promise<HttpResponse<void>>;
8227
8227
  createInvoicePlan(companyId: bigint, createInvoicePlanCommand: CreateInvoicePlanCommand, active?: boolean | null | undefined, type?: InvoicePlanType | null | undefined): Promise<HttpResponse<InvoicePlan>>;
8228
8228
  createInvoicePlanDistribution(companyId: bigint, invoicePlanId: bigint, createInvoiceDistributionCommand: CreateInvoiceDistributionCommand): Promise<HttpResponse<InvoicePlanDistribution>>;
@@ -8372,7 +8372,7 @@ export declare function closeCompanyPaymentSourceOperation(client: ApiClient, co
8372
8372
  export declare function createCompanyCustomerClaimOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createCustomerClaimCommand: CreateCustomerClaimCommand): Promise<HttpResponse<CustomerClaimCreated>>;
8373
8373
  export declare function createCompanyExternalInvoiceRecipientByIdOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, addExternalCustomerCommand: AddExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
8374
8374
  export declare function createCompanyExternalInvoiceRecipientOperation(client: ApiClient, companyId: bigint, customerType: CustomerType, createExternalCustomerCommand: CreateExternalCustomerCommand): Promise<HttpResponse<InvoiceRecipient>>;
8375
- export declare function createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: bigint | null | undefined): Promise<HttpResponse<InvoiceRecipient>>;
8375
+ export declare function createCompanyInvoiceRecipientOfSectionOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createInvoiceRecipientCommand: CreateInvoiceRecipientCommand, sectionIdToDeleteFrom?: bigint | null | undefined): Promise<HttpResponse<bigint[]>>;
8376
8376
  export declare function createCompanyManualPaymentSourceOperation(client: ApiClient, companyId: bigint, idempotencyKey: string, manualPaymentSourceRequest: ManualPaymentSourceRequest): Promise<HttpResponse<PaymentSource>>;
8377
8377
  export declare function createCustomerCommentOperation(client: ApiClient, companyId: bigint, customerType: string, customerId: bigint, createCustomerCommentCommand: CreateCustomerCommentCommand): Promise<HttpResponse<void>>;
8378
8378
  export declare function createInvoicePlanDistributionOperation(client: ApiClient, companyId: bigint, invoicePlanId: bigint, createInvoiceDistributionCommand: CreateInvoiceDistributionCommand): Promise<HttpResponse<InvoicePlanDistribution>>;
@@ -24117,7 +24117,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
24117
24117
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): SupplierApi;
24118
24118
  createCompanySupplier(companyId: bigint, createSupplierForCompanyCommand: CreateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
24119
24119
  createCompanySupplierComment(companyId: bigint, supplierId: bigint, createSupplierCommentCommand: CreateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
24120
- createCompanySupplierContact(companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<Person>>;
24120
+ createCompanySupplierContact(companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
24121
24121
  createSupplier(createSupplierCommand: CreateSupplierCommand): Promise<HttpResponse<Supplier>>;
24122
24122
  createSupplierLogo(supplierId: bigint): Promise<HttpResponse<void>>;
24123
24123
  deleteCompanySupplier(companyId: bigint, supplierId: bigint): Promise<HttpResponse<void>>;
@@ -24134,7 +24134,7 @@ export declare class SupplierApi extends ApiClient.$metadata$.constructor {
24134
24134
  updateCompanySupplier(companyId: bigint, supplierId: bigint, updateSupplierForCompanyCommand: UpdateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
24135
24135
  updateCompanySupplierComment(companyId: bigint, supplierId: bigint, commentId: bigint, updateSupplierCommentCommand: UpdateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
24136
24136
  updateCompanySupplierCommentEmoticon(companyId: bigint, supplierId: bigint, commentId: bigint, setSupplierCommentEmoticonCommand: SetSupplierCommentEmoticonCommand): Promise<HttpResponse<void>>;
24137
- updateCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<Person>>;
24137
+ updateCompanySupplierContact(companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
24138
24138
  updateCompanySupplierContactImage(companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
24139
24139
  updateSupplier(supplierId: bigint, updateSupplierCommand: UpdateSupplierCommand): Promise<HttpResponse<Supplier>>;
24140
24140
  updateSupplierServiceCategories(supplierId: bigint, updateServiceCategoriesCommand: UpdateServiceCategoriesCommand): Promise<HttpResponse<void>>;
@@ -24146,7 +24146,7 @@ export declare namespace SupplierApi {
24146
24146
  }
24147
24147
  }
24148
24148
  export declare function createCompanySupplierCommentOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierCommentCommand: CreateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
24149
- export declare function createCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<Person>>;
24149
+ export declare function createCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, createSupplierContactCommand: CreateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
24150
24150
  export declare function createCompanySupplierOperation(client: ApiClient, companyId: bigint, createSupplierForCompanyCommand: CreateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
24151
24151
  export declare function createSupplierLogoOperation(client: ApiClient, supplierId: bigint): Promise<HttpResponse<void>>;
24152
24152
  export declare function createSupplierOperation(client: ApiClient, createSupplierCommand: CreateSupplierCommand): Promise<HttpResponse<Supplier>>;
@@ -24164,7 +24164,7 @@ export declare function showSupplierLogoOperation(client: ApiClient, supplierId:
24164
24164
  export declare function updateCompanySupplierCommentEmoticonOperation(client: ApiClient, companyId: bigint, supplierId: bigint, commentId: bigint, setSupplierCommentEmoticonCommand: SetSupplierCommentEmoticonCommand): Promise<HttpResponse<void>>;
24165
24165
  export declare function updateCompanySupplierCommentOperation(client: ApiClient, companyId: bigint, supplierId: bigint, commentId: bigint, updateSupplierCommentCommand: UpdateSupplierCommentCommand): Promise<HttpResponse<SupplierComment>>;
24166
24166
  export declare function updateCompanySupplierContactImageOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint): Promise<HttpResponse<void>>;
24167
- export declare function updateCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<Person>>;
24167
+ export declare function updateCompanySupplierContactOperation(client: ApiClient, companyId: bigint, supplierId: bigint, contactId: bigint, updateSupplierContactCommand: UpdateSupplierContactCommand): Promise<HttpResponse<SupplierContact>>;
24168
24168
  export declare function updateCompanySupplierOperation(client: ApiClient, companyId: bigint, supplierId: bigint, updateSupplierForCompanyCommand: UpdateSupplierForCompanyCommand): Promise<HttpResponse<SupplierForCompany>>;
24169
24169
  export declare function updateSupplierOperation(client: ApiClient, supplierId: bigint, updateSupplierCommand: UpdateSupplierCommand): Promise<HttpResponse<Supplier>>;
24170
24170
  export declare function updateSupplierServiceCategoriesOperation(client: ApiClient, supplierId: bigint, updateServiceCategoriesCommand: UpdateServiceCategoriesCommand): Promise<HttpResponse<void>>;
@@ -24473,8 +24473,8 @@ export declare class TaskApi extends ApiClient.$metadata$.constructor {
24473
24473
  createMultipleTasks(bulkImportTasksCommand: BulkImportTasksCommand): Promise<HttpResponse<BulkImportTasksResult>>;
24474
24474
  createTask(companyId: bigint, createTaskCommand: CreateTaskCommand): Promise<HttpResponse<Task>>;
24475
24475
  deleteTask(companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
24476
- indexTasks(companyId: bigint, search?: string | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListTask>>;
24477
- indexTasksUser(search?: string | null | undefined, companyIds?: bigint[] | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListTask>>;
24476
+ indexTasks(companyId: bigint, search?: string | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, orderDirection?: TaskOrderDirection | null | undefined): Promise<HttpResponse<PagedListTask>>;
24477
+ indexTasksUser(search?: string | null | undefined, companyIds?: bigint[] | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, orderDirection?: TaskOrderDirection | null | undefined): Promise<HttpResponse<PagedListTask>>;
24478
24478
  unCompleteTask(companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
24479
24479
  updateTask(companyId: bigint, taskId: bigint, updateTaskCommand: UpdateTaskCommand): Promise<HttpResponse<Task>>;
24480
24480
  }
@@ -24488,8 +24488,8 @@ export declare function completeTaskOperation(client: ApiClient, companyId: bigi
24488
24488
  export declare function createMultipleTasksOperation(client: ApiClient, bulkImportTasksCommand: BulkImportTasksCommand): Promise<HttpResponse<BulkImportTasksResult>>;
24489
24489
  export declare function createTaskOperation(client: ApiClient, companyId: bigint, createTaskCommand: CreateTaskCommand): Promise<HttpResponse<Task>>;
24490
24490
  export declare function deleteTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
24491
- export declare function indexTasksOperation(client: ApiClient, companyId: bigint, search?: string | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListTask>>;
24492
- export declare function indexTasksUserOperation(client: ApiClient, search?: string | null | undefined, companyIds?: bigint[] | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListTask>>;
24491
+ export declare function indexTasksOperation(client: ApiClient, companyId: bigint, search?: string | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, orderDirection?: TaskOrderDirection | null | undefined): Promise<HttpResponse<PagedListTask>>;
24492
+ export declare function indexTasksUserOperation(client: ApiClient, search?: string | null | undefined, companyIds?: bigint[] | null | undefined, completed?: boolean | null | undefined, responsibleId?: bigint | null | undefined, dueDateFrom?: bigint | null | undefined, dueDateTo?: bigint | null | undefined, taskIds?: bigint[] | null | undefined, deleted?: boolean | null | undefined, includeDeleted?: boolean | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined, orderDirection?: TaskOrderDirection | null | undefined): Promise<HttpResponse<PagedListTask>>;
24493
24493
  export declare function unCompleteTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint): Promise<HttpResponse<void>>;
24494
24494
  export declare function updateTaskOperation(client: ApiClient, companyId: bigint, taskId: bigint, updateTaskCommand: UpdateTaskCommand): Promise<HttpResponse<Task>>;
24495
24495
  export interface BulkImportTaskCommandProps {
@@ -24798,6 +24798,48 @@ export declare namespace Task {
24798
24798
  const constructor: abstract new () => Task;
24799
24799
  }
24800
24800
  }
24801
+ export declare abstract class TaskOrderDirection {
24802
+ private constructor();
24803
+ static get ASC(): TaskOrderDirection & {
24804
+ get name(): "ASC";
24805
+ get ordinal(): 0;
24806
+ };
24807
+ static get DESC(): TaskOrderDirection & {
24808
+ get name(): "DESC";
24809
+ get ordinal(): 1;
24810
+ };
24811
+ static get Asc(): TaskOrderDirection & {
24812
+ get name(): "ASC";
24813
+ get ordinal(): 0;
24814
+ };
24815
+ static get Desc(): TaskOrderDirection & {
24816
+ get name(): "DESC";
24817
+ get ordinal(): 1;
24818
+ };
24819
+ static values(): [typeof TaskOrderDirection.ASC, typeof TaskOrderDirection.DESC];
24820
+ static valueOf(value: string): TaskOrderDirection;
24821
+ get name(): "ASC" | "DESC";
24822
+ get ordinal(): 0 | 1;
24823
+ get value(): string;
24824
+ }
24825
+ export declare namespace TaskOrderDirection {
24826
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
24827
+ namespace $metadata$ {
24828
+ const constructor: abstract new () => TaskOrderDirection;
24829
+ }
24830
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
24831
+ private constructor();
24832
+ }
24833
+ namespace Companion {
24834
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
24835
+ namespace $metadata$ {
24836
+ abstract class constructor /* implements SerializerFactory */ {
24837
+ fromValue(value: string): TaskOrderDirection | null | undefined;
24838
+ private constructor();
24839
+ }
24840
+ }
24841
+ }
24842
+ }
24801
24843
  export interface UpdateTaskCommandProps {
24802
24844
  description?: string | null | undefined;
24803
24845
  dueDate?: SoliboInstant /* Instant */ | null | undefined;