@solibo/home-api 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.
- package/kotlinx-coroutines-core.mjs +5 -5
- package/package.json +1 -1
- package/solibo-sdk-sdk-api-invoicing.mjs +2695 -2654
- package/solibo-sdk-sdk-api-supplier.mjs +15 -15
- package/solibo-sdk-sdk-api-task.mjs +187 -50
- package/solibo-sdk-sdk-core.mjs +4 -3
- package/solibo-sdk-sdk-home-api.d.mts +53 -10
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
RequestConfig10esd7ix0dbbm as RequestConfig,
|
|
40
40
|
TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
|
|
41
41
|
HttpResponse53ki0v36vqo7 as HttpResponse,
|
|
42
|
-
|
|
42
|
+
SupplierContact3cz3f92ph8k5o as SupplierContact,
|
|
43
43
|
RequestMethod_PUT_getInstance20qfhqm35d9pr as RequestMethod_PUT_getInstance,
|
|
44
44
|
Supplier11k5ssuz2lvhr as Supplier,
|
|
45
45
|
RequestMethod_DELETE_getInstance298derfb6aued as RequestMethod_DELETE_getInstance,
|
|
@@ -320,7 +320,7 @@ protoOf($createCompanySupplierContact$suspendBridgeCOROUTINE$).doResume_5yljmg_k
|
|
|
320
320
|
this.exceptionState_1 = 4;
|
|
321
321
|
if (this._this__u8e3s4__1.createCompanySupplierContact === protoOf(SupplierApi).createCompanySupplierContact) {
|
|
322
322
|
this.state_1 = 2;
|
|
323
|
-
suspendResult = this._this__u8e3s4__1.
|
|
323
|
+
suspendResult = this._this__u8e3s4__1.createCompanySupplierContact_46xyye_k$(this.companyId_1, this.supplierId_1, this.createSupplierContactCommand_1, this);
|
|
324
324
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
325
325
|
return suspendResult;
|
|
326
326
|
}
|
|
@@ -1278,7 +1278,7 @@ protoOf($updateCompanySupplierContact$suspendBridgeCOROUTINE$).doResume_5yljmg_k
|
|
|
1278
1278
|
this.exceptionState_1 = 4;
|
|
1279
1279
|
if (this._this__u8e3s4__1.updateCompanySupplierContact === protoOf(SupplierApi).updateCompanySupplierContact) {
|
|
1280
1280
|
this.state_1 = 2;
|
|
1281
|
-
suspendResult = this._this__u8e3s4__1.
|
|
1281
|
+
suspendResult = this._this__u8e3s4__1.updateCompanySupplierContact_d3ua6w_k$(this.companyId_1, this.supplierId_1, this.contactId_1, this.updateSupplierContactCommand_1, this);
|
|
1282
1282
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1283
1283
|
return suspendResult;
|
|
1284
1284
|
}
|
|
@@ -1509,16 +1509,16 @@ protoOf(SupplierApi).createCompanySupplierComment$suspendBridge_9atlh0_k$ = func
|
|
|
1509
1509
|
tmp.exception_1 = null;
|
|
1510
1510
|
return tmp.doResume_5yljmg_k$();
|
|
1511
1511
|
};
|
|
1512
|
-
protoOf(SupplierApi).
|
|
1512
|
+
protoOf(SupplierApi).createCompanySupplierContact_46xyye_k$ = function (companyId, supplierId, createSupplierContactCommand, $completion) {
|
|
1513
1513
|
return createCompanySupplierContactOperation_0(this, companyId, supplierId, createSupplierContactCommand, $completion);
|
|
1514
1514
|
};
|
|
1515
1515
|
protoOf(SupplierApi).createCompanySupplierContact = function (companyId, supplierId, createSupplierContactCommand) {
|
|
1516
1516
|
var tmp = this;
|
|
1517
1517
|
return promisify(function ($completion) {
|
|
1518
|
-
return tmp.
|
|
1518
|
+
return tmp.createCompanySupplierContact_46xyye_k$(companyId, supplierId, createSupplierContactCommand, $completion);
|
|
1519
1519
|
});
|
|
1520
1520
|
};
|
|
1521
|
-
protoOf(SupplierApi).createCompanySupplierContact$
|
|
1521
|
+
protoOf(SupplierApi).createCompanySupplierContact$suspendBridge_ivkwhh_k$ = function (companyId, supplierId, createSupplierContactCommand, $completion) {
|
|
1522
1522
|
var tmp = new $createCompanySupplierContact$suspendBridgeCOROUTINE$(this, companyId, supplierId, createSupplierContactCommand, $completion);
|
|
1523
1523
|
tmp.result_1 = Unit_instance;
|
|
1524
1524
|
tmp.exception_1 = null;
|
|
@@ -1823,16 +1823,16 @@ protoOf(SupplierApi).updateCompanySupplierCommentEmoticon$suspendBridge_gsxvwr_k
|
|
|
1823
1823
|
tmp.exception_1 = null;
|
|
1824
1824
|
return tmp.doResume_5yljmg_k$();
|
|
1825
1825
|
};
|
|
1826
|
-
protoOf(SupplierApi).
|
|
1826
|
+
protoOf(SupplierApi).updateCompanySupplierContact_d3ua6w_k$ = function (companyId, supplierId, contactId, updateSupplierContactCommand, $completion) {
|
|
1827
1827
|
return updateCompanySupplierContactOperation_0(this, companyId, supplierId, contactId, updateSupplierContactCommand, $completion);
|
|
1828
1828
|
};
|
|
1829
1829
|
protoOf(SupplierApi).updateCompanySupplierContact = function (companyId, supplierId, contactId, updateSupplierContactCommand) {
|
|
1830
1830
|
var tmp = this;
|
|
1831
1831
|
return promisify(function ($completion) {
|
|
1832
|
-
return tmp.
|
|
1832
|
+
return tmp.updateCompanySupplierContact_d3ua6w_k$(companyId, supplierId, contactId, updateSupplierContactCommand, $completion);
|
|
1833
1833
|
});
|
|
1834
1834
|
};
|
|
1835
|
-
protoOf(SupplierApi).updateCompanySupplierContact$
|
|
1835
|
+
protoOf(SupplierApi).updateCompanySupplierContact$suspendBridge_8u7i9l_k$ = function (companyId, supplierId, contactId, updateSupplierContactCommand, $completion) {
|
|
1836
1836
|
var tmp = new $updateCompanySupplierContact$suspendBridgeCOROUTINE$(this, companyId, supplierId, contactId, updateSupplierContactCommand, $completion);
|
|
1837
1837
|
tmp.result_1 = Unit_instance;
|
|
1838
1838
|
tmp.exception_1 = null;
|
|
@@ -2000,11 +2000,11 @@ protoOf($createCompanySupplierContactOperationCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
2000
2000
|
continue $sm;
|
|
2001
2001
|
case 1:
|
|
2002
2002
|
var this_0 = suspendResult;
|
|
2003
|
-
var tmp_0 = getKClass(
|
|
2004
|
-
var tmp_1 = null instanceof
|
|
2003
|
+
var tmp_0 = getKClass(SupplierContact);
|
|
2004
|
+
var tmp_1 = null instanceof SupplierContact;
|
|
2005
2005
|
var tmp_2;
|
|
2006
2006
|
try {
|
|
2007
|
-
tmp_2 = createKType(getKClass(
|
|
2007
|
+
tmp_2 = createKType(getKClass(SupplierContact), arrayOf([]), false);
|
|
2008
2008
|
} catch ($p) {
|
|
2009
2009
|
var tmp_3;
|
|
2010
2010
|
if ($p instanceof Error) {
|
|
@@ -3654,11 +3654,11 @@ protoOf($updateCompanySupplierContactOperationCOROUTINE$).doResume_5yljmg_k$ = f
|
|
|
3654
3654
|
continue $sm;
|
|
3655
3655
|
case 1:
|
|
3656
3656
|
var this_0 = suspendResult;
|
|
3657
|
-
var tmp_0 = getKClass(
|
|
3658
|
-
var tmp_1 = null instanceof
|
|
3657
|
+
var tmp_0 = getKClass(SupplierContact);
|
|
3658
|
+
var tmp_1 = null instanceof SupplierContact;
|
|
3659
3659
|
var tmp_2;
|
|
3660
3660
|
try {
|
|
3661
|
-
tmp_2 = createKType(getKClass(
|
|
3661
|
+
tmp_2 = createKType(getKClass(SupplierContact), arrayOf([]), false);
|
|
3662
3662
|
} catch ($p) {
|
|
3663
3663
|
var tmp_3;
|
|
3664
3664
|
if ($p instanceof Error) {
|
|
@@ -90,7 +90,7 @@ initMetadataForCoroutine($indexTasks$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
|
90
90
|
initMetadataForCoroutine($indexTasksUser$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
91
91
|
initMetadataForCoroutine($unCompleteTask$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
92
92
|
initMetadataForCoroutine($updateTask$suspendBridgeCOROUTINE$, CoroutineImpl);
|
|
93
|
-
initMetadataForClass(TaskApi, 'TaskApi', create, ApiClient, VOID, [3, 1, 2,
|
|
93
|
+
initMetadataForClass(TaskApi, 'TaskApi', create, ApiClient, VOID, [3, 1, 2, 14]);
|
|
94
94
|
initMetadataForCoroutine($completeTaskOperationCOROUTINE$, CoroutineImpl);
|
|
95
95
|
initMetadataForCoroutine($createMultipleTasksOperationCOROUTINE$, CoroutineImpl);
|
|
96
96
|
initMetadataForCoroutine($createTaskOperationCOROUTINE$, CoroutineImpl);
|
|
@@ -130,7 +130,9 @@ initMetadataForClass(PeriodicTaskIntervalMethod, 'PeriodicTaskIntervalMethod', V
|
|
|
130
130
|
initMetadataForCompanion(Companion_9);
|
|
131
131
|
initMetadataForObject($serializer_7, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
132
132
|
initMetadataForClass(Task, 'Task', VOID, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_11});
|
|
133
|
-
initMetadataForCompanion(Companion_10);
|
|
133
|
+
initMetadataForCompanion(Companion_10, VOID, [SerializerFactory]);
|
|
134
|
+
initMetadataForClass(TaskOrderDirection, 'TaskOrderDirection', VOID, Enum, VOID, VOID, VOID, {0: Companion_getInstance_14});
|
|
135
|
+
initMetadataForCompanion(Companion_11);
|
|
134
136
|
initMetadataForObject($serializer_8, '$serializer', VOID, VOID, [GeneratedSerializer]);
|
|
135
137
|
initMetadataForClass(UpdateTaskCommand, 'UpdateTaskCommand', UpdateTaskCommand, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_12});
|
|
136
138
|
//endregion
|
|
@@ -380,7 +382,7 @@ protoOf($deleteTask$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
380
382
|
}
|
|
381
383
|
while (true);
|
|
382
384
|
};
|
|
383
|
-
function $indexTasks$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
385
|
+
function $indexTasks$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, resultContinuation) {
|
|
384
386
|
CoroutineImpl.call(this, resultContinuation);
|
|
385
387
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
386
388
|
this.companyId_1 = companyId;
|
|
@@ -396,6 +398,7 @@ function $indexTasks$suspendBridgeCOROUTINE$(_this__u8e3s4, companyId, search, c
|
|
|
396
398
|
this.pageToken_1 = pageToken;
|
|
397
399
|
this.autoPaginate_1 = autoPaginate;
|
|
398
400
|
this.count_1 = count;
|
|
401
|
+
this.orderDirection_1 = orderDirection;
|
|
399
402
|
}
|
|
400
403
|
protoOf($indexTasks$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
401
404
|
var suspendResult = this.result_1;
|
|
@@ -407,14 +410,14 @@ protoOf($indexTasks$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
407
410
|
this.exceptionState_1 = 4;
|
|
408
411
|
if (this._this__u8e3s4__1.indexTasks === protoOf(TaskApi).indexTasks) {
|
|
409
412
|
this.state_1 = 2;
|
|
410
|
-
suspendResult = this._this__u8e3s4__1.indexTasks$
|
|
413
|
+
suspendResult = this._this__u8e3s4__1.indexTasks$default_xm7edm_k$(this.companyId_1, this.search_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this.orderDirection_1, this);
|
|
411
414
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
412
415
|
return suspendResult;
|
|
413
416
|
}
|
|
414
417
|
continue $sm;
|
|
415
418
|
} else {
|
|
416
419
|
this.state_1 = 1;
|
|
417
|
-
suspendResult = await_0(this._this__u8e3s4__1.indexTasks(this.companyId_1, this.search_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
420
|
+
suspendResult = await_0(this._this__u8e3s4__1.indexTasks(this.companyId_1, this.search_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this.orderDirection_1), this);
|
|
418
421
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
419
422
|
return suspendResult;
|
|
420
423
|
}
|
|
@@ -445,7 +448,7 @@ protoOf($indexTasks$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
445
448
|
}
|
|
446
449
|
while (true);
|
|
447
450
|
};
|
|
448
|
-
function $indexTasksUser$suspendBridgeCOROUTINE$(_this__u8e3s4, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
451
|
+
function $indexTasksUser$suspendBridgeCOROUTINE$(_this__u8e3s4, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, resultContinuation) {
|
|
449
452
|
CoroutineImpl.call(this, resultContinuation);
|
|
450
453
|
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
451
454
|
this.search_1 = search;
|
|
@@ -461,6 +464,7 @@ function $indexTasksUser$suspendBridgeCOROUTINE$(_this__u8e3s4, search, companyI
|
|
|
461
464
|
this.pageToken_1 = pageToken;
|
|
462
465
|
this.autoPaginate_1 = autoPaginate;
|
|
463
466
|
this.count_1 = count;
|
|
467
|
+
this.orderDirection_1 = orderDirection;
|
|
464
468
|
}
|
|
465
469
|
protoOf($indexTasksUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
466
470
|
var suspendResult = this.result_1;
|
|
@@ -472,14 +476,14 @@ protoOf($indexTasksUser$suspendBridgeCOROUTINE$).doResume_5yljmg_k$ = function (
|
|
|
472
476
|
this.exceptionState_1 = 4;
|
|
473
477
|
if (this._this__u8e3s4__1.indexTasksUser === protoOf(TaskApi).indexTasksUser) {
|
|
474
478
|
this.state_1 = 2;
|
|
475
|
-
suspendResult = this._this__u8e3s4__1.indexTasksUser$
|
|
479
|
+
suspendResult = this._this__u8e3s4__1.indexTasksUser$default_hxdla9_k$(this.search_1, this.companyIds_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this.orderDirection_1, this);
|
|
476
480
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
477
481
|
return suspendResult;
|
|
478
482
|
}
|
|
479
483
|
continue $sm;
|
|
480
484
|
} else {
|
|
481
485
|
this.state_1 = 1;
|
|
482
|
-
suspendResult = await_0(this._this__u8e3s4__1.indexTasksUser(this.search_1, this.companyIds_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1), this);
|
|
486
|
+
suspendResult = await_0(this._this__u8e3s4__1.indexTasksUser(this.search_1, this.companyIds_1, this.completed_1, this.responsibleId_1, this.dueDateFrom_1, this.dueDateTo_1, this.taskIds_1, this.deleted_1, this.includeDeleted_1, this.fields_1, this.pageToken_1, this.autoPaginate_1, this.count_1, this.orderDirection_1), this);
|
|
483
487
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
484
488
|
return suspendResult;
|
|
485
489
|
}
|
|
@@ -679,10 +683,10 @@ protoOf(TaskApi).deleteTask$suspendBridge_n06igj_k$ = function (companyId, taskI
|
|
|
679
683
|
tmp.exception_1 = null;
|
|
680
684
|
return tmp.doResume_5yljmg_k$();
|
|
681
685
|
};
|
|
682
|
-
protoOf(TaskApi).
|
|
683
|
-
return indexTasksOperation_0(this, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
686
|
+
protoOf(TaskApi).indexTasks_7ybcxa_k$ = function (companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
687
|
+
return indexTasksOperation_0(this, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
684
688
|
};
|
|
685
|
-
protoOf(TaskApi).indexTasks$
|
|
689
|
+
protoOf(TaskApi).indexTasks$default_xm7edm_k$ = function (companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion, $super) {
|
|
686
690
|
search = search === VOID ? null : search;
|
|
687
691
|
completed = completed === VOID ? null : completed;
|
|
688
692
|
responsibleId = responsibleId === VOID ? null : responsibleId;
|
|
@@ -695,24 +699,25 @@ protoOf(TaskApi).indexTasks$default_ymzzbo_k$ = function (companyId, search, com
|
|
|
695
699
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
696
700
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
697
701
|
count = count === VOID ? null : count;
|
|
698
|
-
|
|
702
|
+
orderDirection = orderDirection === VOID ? null : orderDirection;
|
|
703
|
+
return $super === VOID ? this.indexTasks_7ybcxa_k$(companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) : $super.indexTasks_7ybcxa_k$.call(this, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
699
704
|
};
|
|
700
|
-
protoOf(TaskApi).indexTasks = function (companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count) {
|
|
705
|
+
protoOf(TaskApi).indexTasks = function (companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection) {
|
|
701
706
|
var tmp = this;
|
|
702
707
|
return promisify(function ($completion) {
|
|
703
|
-
return tmp.indexTasks$
|
|
708
|
+
return tmp.indexTasks$default_xm7edm_k$(companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
704
709
|
});
|
|
705
710
|
};
|
|
706
|
-
protoOf(TaskApi).indexTasks$
|
|
707
|
-
var tmp = new $indexTasks$suspendBridgeCOROUTINE$(this, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
711
|
+
protoOf(TaskApi).indexTasks$suspendBridge_qbeqj1_k$ = function (companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
712
|
+
var tmp = new $indexTasks$suspendBridgeCOROUTINE$(this, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
708
713
|
tmp.result_1 = Unit_instance;
|
|
709
714
|
tmp.exception_1 = null;
|
|
710
715
|
return tmp.doResume_5yljmg_k$();
|
|
711
716
|
};
|
|
712
|
-
protoOf(TaskApi).
|
|
713
|
-
return indexTasksUserOperation_0(this, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
717
|
+
protoOf(TaskApi).indexTasksUser_qqkkag_k$ = function (search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
718
|
+
return indexTasksUserOperation_0(this, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
714
719
|
};
|
|
715
|
-
protoOf(TaskApi).indexTasksUser$
|
|
720
|
+
protoOf(TaskApi).indexTasksUser$default_hxdla9_k$ = function (search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion, $super) {
|
|
716
721
|
search = search === VOID ? null : search;
|
|
717
722
|
companyIds = companyIds === VOID ? null : companyIds;
|
|
718
723
|
completed = completed === VOID ? null : completed;
|
|
@@ -726,16 +731,17 @@ protoOf(TaskApi).indexTasksUser$default_deycwn_k$ = function (search, companyIds
|
|
|
726
731
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
727
732
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
728
733
|
count = count === VOID ? null : count;
|
|
729
|
-
|
|
734
|
+
orderDirection = orderDirection === VOID ? null : orderDirection;
|
|
735
|
+
return $super === VOID ? this.indexTasksUser_qqkkag_k$(search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) : $super.indexTasksUser_qqkkag_k$.call(this, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
730
736
|
};
|
|
731
|
-
protoOf(TaskApi).indexTasksUser = function (search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count) {
|
|
737
|
+
protoOf(TaskApi).indexTasksUser = function (search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection) {
|
|
732
738
|
var tmp = this;
|
|
733
739
|
return promisify(function ($completion) {
|
|
734
|
-
return tmp.indexTasksUser$
|
|
740
|
+
return tmp.indexTasksUser$default_hxdla9_k$(search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
735
741
|
});
|
|
736
742
|
};
|
|
737
|
-
protoOf(TaskApi).indexTasksUser$
|
|
738
|
-
var tmp = new $indexTasksUser$suspendBridgeCOROUTINE$(this, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
743
|
+
protoOf(TaskApi).indexTasksUser$suspendBridge_1aaiav_k$ = function (search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
744
|
+
var tmp = new $indexTasksUser$suspendBridgeCOROUTINE$(this, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
739
745
|
tmp.result_1 = Unit_instance;
|
|
740
746
|
tmp.exception_1 = null;
|
|
741
747
|
return tmp.doResume_5yljmg_k$();
|
|
@@ -1059,12 +1065,12 @@ protoOf($deleteTaskOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1059
1065
|
}
|
|
1060
1066
|
while (true);
|
|
1061
1067
|
};
|
|
1062
|
-
function indexTasksOperation(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count) {
|
|
1068
|
+
function indexTasksOperation(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection) {
|
|
1063
1069
|
return promisify(function ($completion) {
|
|
1064
|
-
return indexTasksOperation_0(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
1070
|
+
return indexTasksOperation_0(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
1065
1071
|
});
|
|
1066
1072
|
}
|
|
1067
|
-
function indexTasksOperation_0(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion) {
|
|
1073
|
+
function indexTasksOperation_0(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
1068
1074
|
search = search === VOID ? null : search;
|
|
1069
1075
|
completed = completed === VOID ? null : completed;
|
|
1070
1076
|
responsibleId = responsibleId === VOID ? null : responsibleId;
|
|
@@ -1077,12 +1083,13 @@ function indexTasksOperation_0(client, companyId, search, completed, responsible
|
|
|
1077
1083
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
1078
1084
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
1079
1085
|
count = count === VOID ? null : count;
|
|
1080
|
-
|
|
1086
|
+
orderDirection = orderDirection === VOID ? null : orderDirection;
|
|
1087
|
+
var tmp = new $indexTasksOperationCOROUTINE$(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
1081
1088
|
tmp.result_1 = Unit_instance;
|
|
1082
1089
|
tmp.exception_1 = null;
|
|
1083
1090
|
return tmp.doResume_5yljmg_k$();
|
|
1084
1091
|
}
|
|
1085
|
-
function $indexTasksOperationCOROUTINE$(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1092
|
+
function $indexTasksOperationCOROUTINE$(client, companyId, search, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, resultContinuation) {
|
|
1086
1093
|
CoroutineImpl.call(this, resultContinuation);
|
|
1087
1094
|
this.client_1 = client;
|
|
1088
1095
|
this.companyId_1 = companyId;
|
|
@@ -1098,6 +1105,7 @@ function $indexTasksOperationCOROUTINE$(client, companyId, search, completed, re
|
|
|
1098
1105
|
this.pageToken_1 = pageToken;
|
|
1099
1106
|
this.autoPaginate_1 = autoPaginate;
|
|
1100
1107
|
this.count_1 = count;
|
|
1108
|
+
this.orderDirection_1 = orderDirection;
|
|
1101
1109
|
}
|
|
1102
1110
|
protoOf($indexTasksOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1103
1111
|
var suspendResult = this.result_1;
|
|
@@ -1202,10 +1210,18 @@ protoOf($indexTasksOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1202
1210
|
localVariableQuery.put_4fpzoq_k$('count', value_10);
|
|
1203
1211
|
}
|
|
1204
1212
|
|
|
1213
|
+
if (this.orderDirection_1 == null)
|
|
1214
|
+
null;
|
|
1215
|
+
else {
|
|
1216
|
+
var tmp2_6 = 'orderDirection';
|
|
1217
|
+
var value_11 = listOf_0(this.orderDirection_1.value);
|
|
1218
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_6, value_11);
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1205
1221
|
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1206
|
-
var
|
|
1207
|
-
var
|
|
1208
|
-
var localVariableConfig = new RequestConfig(
|
|
1222
|
+
var tmp13_method = RequestMethod_GET_getInstance();
|
|
1223
|
+
var tmp14_path = replace('/companies/{companyId}/tasks', '{companyId}', this.companyId_1.toString());
|
|
1224
|
+
var localVariableConfig = new RequestConfig(tmp13_method, tmp14_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
1209
1225
|
this.state_1 = 1;
|
|
1210
1226
|
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1211
1227
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1246,12 +1262,12 @@ protoOf($indexTasksOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1246
1262
|
}
|
|
1247
1263
|
while (true);
|
|
1248
1264
|
};
|
|
1249
|
-
function indexTasksUserOperation(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count) {
|
|
1265
|
+
function indexTasksUserOperation(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection) {
|
|
1250
1266
|
return promisify(function ($completion) {
|
|
1251
|
-
return indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion);
|
|
1267
|
+
return indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
1252
1268
|
});
|
|
1253
1269
|
}
|
|
1254
|
-
function indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, $completion) {
|
|
1270
|
+
function indexTasksUserOperation_0(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion) {
|
|
1255
1271
|
search = search === VOID ? null : search;
|
|
1256
1272
|
companyIds = companyIds === VOID ? null : companyIds;
|
|
1257
1273
|
completed = completed === VOID ? null : completed;
|
|
@@ -1265,12 +1281,13 @@ function indexTasksUserOperation_0(client, search, companyIds, completed, respon
|
|
|
1265
1281
|
pageToken = pageToken === VOID ? null : pageToken;
|
|
1266
1282
|
autoPaginate = autoPaginate === VOID ? null : autoPaginate;
|
|
1267
1283
|
count = count === VOID ? null : count;
|
|
1268
|
-
|
|
1284
|
+
orderDirection = orderDirection === VOID ? null : orderDirection;
|
|
1285
|
+
var tmp = new $indexTasksUserOperationCOROUTINE$(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, $completion);
|
|
1269
1286
|
tmp.result_1 = Unit_instance;
|
|
1270
1287
|
tmp.exception_1 = null;
|
|
1271
1288
|
return tmp.doResume_5yljmg_k$();
|
|
1272
1289
|
}
|
|
1273
|
-
function $indexTasksUserOperationCOROUTINE$(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, resultContinuation) {
|
|
1290
|
+
function $indexTasksUserOperationCOROUTINE$(client, search, companyIds, completed, responsibleId, dueDateFrom, dueDateTo, taskIds, deleted, includeDeleted, fields, pageToken, autoPaginate, count, orderDirection, resultContinuation) {
|
|
1274
1291
|
CoroutineImpl.call(this, resultContinuation);
|
|
1275
1292
|
this.client_1 = client;
|
|
1276
1293
|
this.search_1 = search;
|
|
@@ -1286,6 +1303,7 @@ function $indexTasksUserOperationCOROUTINE$(client, search, companyIds, complete
|
|
|
1286
1303
|
this.pageToken_1 = pageToken;
|
|
1287
1304
|
this.autoPaginate_1 = autoPaginate;
|
|
1288
1305
|
this.count_1 = count;
|
|
1306
|
+
this.orderDirection_1 = orderDirection;
|
|
1289
1307
|
}
|
|
1290
1308
|
protoOf($indexTasksUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
1291
1309
|
var suspendResult = this.result_1;
|
|
@@ -1399,9 +1417,17 @@ protoOf($indexTasksUserOperationCOROUTINE$).doResume_5yljmg_k$ = function () {
|
|
|
1399
1417
|
localVariableQuery.put_4fpzoq_k$('count', value_11);
|
|
1400
1418
|
}
|
|
1401
1419
|
|
|
1420
|
+
if (this.orderDirection_1 == null)
|
|
1421
|
+
null;
|
|
1422
|
+
else {
|
|
1423
|
+
var tmp2_7 = 'orderDirection';
|
|
1424
|
+
var value_12 = listOf_0(this.orderDirection_1.value);
|
|
1425
|
+
localVariableQuery.put_4fpzoq_k$(tmp2_7, value_12);
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1402
1428
|
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
1403
|
-
var
|
|
1404
|
-
var localVariableConfig = new RequestConfig(
|
|
1429
|
+
var tmp14_method = RequestMethod_GET_getInstance();
|
|
1430
|
+
var localVariableConfig = new RequestConfig(tmp14_method, '/companies/tasks', localVariableHeaders, VOID, localVariableQuery, true);
|
|
1405
1431
|
this.state_1 = 1;
|
|
1406
1432
|
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
1407
1433
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -4097,23 +4123,126 @@ protoOf(Task).equals = function (other) {
|
|
|
4097
4123
|
return false;
|
|
4098
4124
|
return true;
|
|
4099
4125
|
};
|
|
4100
|
-
function
|
|
4101
|
-
return
|
|
4126
|
+
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
4127
|
+
return $this.$cachedSerializer$delegate_1.get_value_j01efc_k$();
|
|
4102
4128
|
}
|
|
4129
|
+
function TaskOrderDirection$Companion$_anonymous__2kekpl() {
|
|
4130
|
+
var tmp = values_1();
|
|
4131
|
+
// Inline function 'kotlin.arrayOf' call
|
|
4132
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4133
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4134
|
+
var tmp_0 = ['ASC', 'DESC'];
|
|
4135
|
+
// Inline function 'kotlin.arrayOf' call
|
|
4136
|
+
// Inline function 'kotlin.js.unsafeCast' call
|
|
4137
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
4138
|
+
var tmp$ret$3 = [null, null];
|
|
4139
|
+
return createAnnotatedEnumSerializer('no.solibo.oss.sdk.api.gen.models.TaskOrderDirection', tmp, tmp_0, tmp$ret$3, null);
|
|
4140
|
+
}
|
|
4141
|
+
var static_init_called_1;
|
|
4142
|
+
function static_init_1() {
|
|
4143
|
+
if (static_init_called_1)
|
|
4144
|
+
return Unit_instance;
|
|
4145
|
+
static_init_called_1 = true;
|
|
4146
|
+
TaskOrderDirection_ASC_instance = new TaskOrderDirection('ASC', 0, 'ASC');
|
|
4147
|
+
TaskOrderDirection_DESC_instance = new TaskOrderDirection('DESC', 1, 'DESC');
|
|
4148
|
+
if (Companion_instance_11 == null) {
|
|
4149
|
+
Companion_instance;
|
|
4150
|
+
new Companion_10();
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
var TaskOrderDirection_ASC_instance;
|
|
4154
|
+
var TaskOrderDirection_DESC_instance;
|
|
4103
4155
|
function Companion_10() {
|
|
4104
4156
|
Companion_instance_11 = this;
|
|
4105
4157
|
var tmp = this;
|
|
4158
|
+
// Inline function 'kotlin.collections.associateBy' call
|
|
4159
|
+
var this_0 = get_entries_1();
|
|
4160
|
+
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
4161
|
+
// Inline function 'kotlin.collections.associateByTo' call
|
|
4162
|
+
var destination = LinkedHashMap_init_$Create$_0(capacity);
|
|
4163
|
+
var _iterator__ex2g4s = this_0.iterator_jk1svi_k$();
|
|
4164
|
+
while (_iterator__ex2g4s.hasNext_bitz1p_k$()) {
|
|
4165
|
+
var element = _iterator__ex2g4s.next_20eer_k$();
|
|
4166
|
+
var tmp$ret$2 = element.value;
|
|
4167
|
+
destination.put_4fpzoq_k$(tmp$ret$2, element);
|
|
4168
|
+
}
|
|
4169
|
+
tmp.mapping_1 = destination;
|
|
4170
|
+
var tmp_0 = this;
|
|
4171
|
+
var tmp_1 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4172
|
+
tmp_0.$cachedSerializer$delegate_1 = lazy(tmp_1, TaskOrderDirection$Companion$_anonymous__2kekpl);
|
|
4173
|
+
}
|
|
4174
|
+
protoOf(Companion_10).fromValue = function (value) {
|
|
4175
|
+
return this.mapping_1.get_wei43m_k$(value);
|
|
4176
|
+
};
|
|
4177
|
+
protoOf(Companion_10).serializer_9w0wvi_k$ = function () {
|
|
4178
|
+
return _get_$cachedSerializer__te6jhj_1(this);
|
|
4179
|
+
};
|
|
4180
|
+
protoOf(Companion_10).serializer_nv39qc_k$ = function (typeParamsSerializers) {
|
|
4181
|
+
return this.serializer_9w0wvi_k$();
|
|
4182
|
+
};
|
|
4183
|
+
var Companion_instance_11;
|
|
4184
|
+
function Companion_getInstance_14() {
|
|
4185
|
+
static_init_1();
|
|
4186
|
+
return Companion_instance_11;
|
|
4187
|
+
}
|
|
4188
|
+
function values_1() {
|
|
4189
|
+
static_init_1();
|
|
4190
|
+
return [TaskOrderDirection_ASC_getInstance(), TaskOrderDirection_DESC_getInstance()];
|
|
4191
|
+
}
|
|
4192
|
+
function valueOf_1(value) {
|
|
4193
|
+
static_init_1();
|
|
4194
|
+
switch (value) {
|
|
4195
|
+
case 'ASC':
|
|
4196
|
+
return TaskOrderDirection_ASC_getInstance();
|
|
4197
|
+
case 'DESC':
|
|
4198
|
+
return TaskOrderDirection_DESC_getInstance();
|
|
4199
|
+
default:
|
|
4200
|
+
THROW_IAE('No enum constant no.solibo.oss.sdk.api.gen.models.TaskOrderDirection.' + value);
|
|
4201
|
+
break;
|
|
4202
|
+
}
|
|
4203
|
+
}
|
|
4204
|
+
function get_entries_1() {
|
|
4205
|
+
static_init_1();
|
|
4206
|
+
if ($ENTRIES_1 == null)
|
|
4207
|
+
$ENTRIES_1 = enumEntries(values_1());
|
|
4208
|
+
return $ENTRIES_1;
|
|
4209
|
+
}
|
|
4210
|
+
var $ENTRIES_1;
|
|
4211
|
+
function TaskOrderDirection(name, ordinal, value) {
|
|
4212
|
+
Enum.call(this, name, ordinal);
|
|
4213
|
+
this.value = value;
|
|
4214
|
+
}
|
|
4215
|
+
protoOf(TaskOrderDirection).get_value_j01efc_k$ = function () {
|
|
4216
|
+
return this.value;
|
|
4217
|
+
};
|
|
4218
|
+
protoOf(TaskOrderDirection).toString = function () {
|
|
4219
|
+
return this.value;
|
|
4220
|
+
};
|
|
4221
|
+
function TaskOrderDirection_ASC_getInstance() {
|
|
4222
|
+
static_init_1();
|
|
4223
|
+
return TaskOrderDirection_ASC_instance;
|
|
4224
|
+
}
|
|
4225
|
+
function TaskOrderDirection_DESC_getInstance() {
|
|
4226
|
+
static_init_1();
|
|
4227
|
+
return TaskOrderDirection_DESC_instance;
|
|
4228
|
+
}
|
|
4229
|
+
function UpdateTaskCommand$Companion$$childSerializers$_anonymous__uwvx1v() {
|
|
4230
|
+
return Companion_getInstance_0().serializer_9w0wvi_k$();
|
|
4231
|
+
}
|
|
4232
|
+
function Companion_11() {
|
|
4233
|
+
Companion_instance_12 = this;
|
|
4234
|
+
var tmp = this;
|
|
4106
4235
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4107
4236
|
// Inline function 'kotlin.arrayOf' call
|
|
4108
4237
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4109
4238
|
// Inline function 'kotlin.js.asDynamic' call
|
|
4110
4239
|
tmp.$childSerializers_1 = [null, null, null, lazy(tmp_0, UpdateTaskCommand$Companion$$childSerializers$_anonymous__uwvx1v), null, null, null];
|
|
4111
4240
|
}
|
|
4112
|
-
var
|
|
4113
|
-
function
|
|
4114
|
-
if (
|
|
4115
|
-
new
|
|
4116
|
-
return
|
|
4241
|
+
var Companion_instance_12;
|
|
4242
|
+
function Companion_getInstance_15() {
|
|
4243
|
+
if (Companion_instance_12 == null)
|
|
4244
|
+
new Companion_11();
|
|
4245
|
+
return Companion_instance_12;
|
|
4117
4246
|
}
|
|
4118
4247
|
function $serializer_8() {
|
|
4119
4248
|
$serializer_instance_8 = this;
|
|
@@ -4130,7 +4259,7 @@ function $serializer_8() {
|
|
|
4130
4259
|
protoOf($serializer_8).serialize_etyx5x_k$ = function (encoder, value) {
|
|
4131
4260
|
var tmp0_desc = this.descriptor_1;
|
|
4132
4261
|
var tmp1_output = encoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4133
|
-
var tmp2_cached =
|
|
4262
|
+
var tmp2_cached = Companion_getInstance_15().$childSerializers_1;
|
|
4134
4263
|
if (tmp1_output.shouldEncodeElementDefault_x8eyid_k$(tmp0_desc, 0) ? true : !(value.description == null)) {
|
|
4135
4264
|
tmp1_output.encodeNullableSerializableElement_5lquiv_k$(tmp0_desc, 0, StringSerializer_getInstance(), value.description);
|
|
4136
4265
|
}
|
|
@@ -4170,7 +4299,7 @@ protoOf($serializer_8).deserialize_sy6x50_k$ = function (decoder) {
|
|
|
4170
4299
|
var tmp9_local5 = null;
|
|
4171
4300
|
var tmp10_local6 = null;
|
|
4172
4301
|
var tmp11_input = decoder.beginStructure_yljocp_k$(tmp0_desc);
|
|
4173
|
-
var tmp12_cached =
|
|
4302
|
+
var tmp12_cached = Companion_getInstance_15().$childSerializers_1;
|
|
4174
4303
|
if (tmp11_input.decodeSequentially_xlblqy_k$()) {
|
|
4175
4304
|
tmp4_local0 = tmp11_input.decodeNullableSerializableElement_k2y6ab_k$(tmp0_desc, 0, StringSerializer_getInstance(), tmp4_local0);
|
|
4176
4305
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -4232,7 +4361,7 @@ protoOf($serializer_8).get_descriptor_wjt6a0_k$ = function () {
|
|
|
4232
4361
|
return this.descriptor_1;
|
|
4233
4362
|
};
|
|
4234
4363
|
protoOf($serializer_8).childSerializers_5ghqw5_k$ = function () {
|
|
4235
|
-
var tmp0_cached =
|
|
4364
|
+
var tmp0_cached = Companion_getInstance_15().$childSerializers_1;
|
|
4236
4365
|
// Inline function 'kotlin.arrayOf' call
|
|
4237
4366
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
4238
4367
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -4282,7 +4411,7 @@ function UpdateTaskCommand_init_$Create$(seen0, description, dueDate, intervalSt
|
|
|
4282
4411
|
return UpdateTaskCommand_init_$Init$(seen0, description, dueDate, intervalStart, intervalType, intervalValue, responsibleId, title, serializationConstructorMarker, objectCreate(protoOf(UpdateTaskCommand)));
|
|
4283
4412
|
}
|
|
4284
4413
|
function UpdateTaskCommand(description, dueDate, intervalStart, intervalType, intervalValue, responsibleId, title) {
|
|
4285
|
-
|
|
4414
|
+
Companion_getInstance_15();
|
|
4286
4415
|
description = description === VOID ? null : description;
|
|
4287
4416
|
dueDate = dueDate === VOID ? null : dueDate;
|
|
4288
4417
|
intervalStart = intervalStart === VOID ? null : intervalStart;
|
|
@@ -4401,6 +4530,8 @@ protoOf($serializer_6).typeParametersSerializers_fr94fx_k$ = typeParametersSeria
|
|
|
4401
4530
|
defineProp(protoOf(PeriodicTaskIntervalMethod), 'name', protoOf(PeriodicTaskIntervalMethod).get_name_woqyms_k$);
|
|
4402
4531
|
defineProp(protoOf(PeriodicTaskIntervalMethod), 'ordinal', protoOf(PeriodicTaskIntervalMethod).get_ordinal_ip24qg_k$);
|
|
4403
4532
|
protoOf($serializer_7).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
4533
|
+
defineProp(protoOf(TaskOrderDirection), 'name', protoOf(TaskOrderDirection).get_name_woqyms_k$);
|
|
4534
|
+
defineProp(protoOf(TaskOrderDirection), 'ordinal', protoOf(TaskOrderDirection).get_ordinal_ip24qg_k$);
|
|
4404
4535
|
protoOf($serializer_8).typeParametersSerializers_fr94fx_k$ = typeParametersSerializers;
|
|
4405
4536
|
//endregion
|
|
4406
4537
|
//region block: init
|
|
@@ -4421,6 +4552,11 @@ PeriodicTaskIntervalMethod.valueOf = valueOf_0;
|
|
|
4421
4552
|
defineProp(PeriodicTaskIntervalMethod, 'FIXED', PeriodicTaskIntervalMethod_FIXED_getInstance, VOID, true);
|
|
4422
4553
|
defineProp(PeriodicTaskIntervalMethod, 'CONTINUOUS', PeriodicTaskIntervalMethod_CONTINUOUS_getInstance, VOID, true);
|
|
4423
4554
|
defineProp(PeriodicTaskIntervalMethod, 'Companion', Companion_getInstance_12, VOID, true);
|
|
4555
|
+
TaskOrderDirection.values = values_1;
|
|
4556
|
+
TaskOrderDirection.valueOf = valueOf_1;
|
|
4557
|
+
defineProp(TaskOrderDirection, 'ASC', TaskOrderDirection_ASC_getInstance, VOID, true);
|
|
4558
|
+
defineProp(TaskOrderDirection, 'DESC', TaskOrderDirection_DESC_getInstance, VOID, true);
|
|
4559
|
+
defineProp(TaskOrderDirection, 'Companion', Companion_getInstance_14, VOID, true);
|
|
4424
4560
|
export {
|
|
4425
4561
|
taskApi as taskApi,
|
|
4426
4562
|
TaskApi as TaskApi,
|
|
@@ -4443,6 +4579,7 @@ export {
|
|
|
4443
4579
|
PagedListTask as PagedListTask,
|
|
4444
4580
|
PeriodicTaskIntervalMethod as PeriodicTaskIntervalMethod,
|
|
4445
4581
|
Task as Task,
|
|
4582
|
+
TaskOrderDirection as TaskOrderDirection,
|
|
4446
4583
|
UpdateTaskCommand as UpdateTaskCommand,
|
|
4447
4584
|
};
|
|
4448
4585
|
//endregion
|
package/solibo-sdk-sdk-core.mjs
CHANGED
|
@@ -4848,8 +4848,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_13(this$0, $platformName)
|
|
|
4848
4848
|
}
|
|
4849
4849
|
accept($this$defaultRequest, Application_getInstance().Json_1);
|
|
4850
4850
|
header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
|
|
4851
|
-
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.
|
|
4852
|
-
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.
|
|
4851
|
+
header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.53.0 (' + $platformName + ')');
|
|
4852
|
+
header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.53.0');
|
|
4853
4853
|
return Unit_instance;
|
|
4854
4854
|
};
|
|
4855
4855
|
}
|
|
@@ -17598,7 +17598,7 @@ function SoliboOpenTelemetry() {
|
|
|
17598
17598
|
}
|
|
17599
17599
|
protoOf(SoliboOpenTelemetry).tracer_4zr7of_k$ = function () {
|
|
17600
17600
|
var tmp0_elvis_lhs = this.installed_1;
|
|
17601
|
-
return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.
|
|
17601
|
+
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');
|
|
17602
17602
|
};
|
|
17603
17603
|
var SoliboOpenTelemetry_instance;
|
|
17604
17604
|
function SoliboOpenTelemetry_getInstance() {
|
|
@@ -79192,6 +79192,7 @@ export {
|
|
|
79192
79192
|
Person as Person2qfwnvdasq352,
|
|
79193
79193
|
Resident as Resident1usxjju9a7kfe,
|
|
79194
79194
|
SMSBundle as SMSBundle3di961qtgvivn,
|
|
79195
|
+
SupplierContact as SupplierContact3cz3f92ph8k5o,
|
|
79195
79196
|
Supplier as Supplier11k5ssuz2lvhr,
|
|
79196
79197
|
UrlWrapper as UrlWrapper3umakd9cerbkr,
|
|
79197
79198
|
SoliboErrorDetail as SoliboErrorDetailbbmibqr8qbi3,
|