@solibo/solibo-sdk 1.50.1 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/invoicing.d.mts +1 -1
- package/client/invoicing.mjs +25 -0
- package/client/paymentAllocation.d.mts +1 -1
- package/client.d.mts +16 -0
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +1 -1
- package/operations/invoicing.d.mts +3 -1
- package/operations/invoicing.mjs +10 -0
- package/operations/paymentAllocation.d.mts +1 -1
- package/package.json +1 -1
- package/solibo-cycles/kotlin-kotlin-stdlib-10.mjs +4 -4
- package/solibo-cycles/kotlinx-coroutines-core-16.mjs +5 -5
- package/solibo-cycles/solibo-sdk-sdk-core-52.mjs +2 -2
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.export.d.mts +2 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/apis/InvoicingApi.mjs +161 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/RefreshInvoicingCompanyLedgerOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/RefreshInvoicingCompanyLedgerOperation.export.mjs +14 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/RefreshInvoicingCompanyLedgerOperation.mjs +112 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingCompanyLedgerRefreshOperation.export.d.mts +3 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingCompanyLedgerRefreshOperation.export.mjs +14 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/client/operations/ShowInvoicingCompanyLedgerRefreshOperation.mjs +122 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CustomerLedgerRefreshStatus.export.d.mts +69 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CustomerLedgerRefreshStatus.export.mjs +45 -0
- package/solibo-sdk-sdk-api-invoicing/no/solibo/oss/sdk/api/gen/models/CustomerLedgerRefreshStatus.mjs +195 -0
- package/solibo-sdk-sdk-api-invoicing.mjs +3 -0
- package/solibo-sdk-sdk-core/no/solibo/oss/sdk/telemetry/SoliboOpenTelemetry.mjs +1 -1
- package/solibo-sdk-sdk.d.mts +70 -0
|
@@ -86,6 +86,7 @@ import { putCompanyInvoicesDisableOverdueNoticesOperation1eqnwky5q7wu4 as putCom
|
|
|
86
86
|
import { putCompanyInvoicesEnableOverdueNoticesOperation3757lyio69nz9 as putCompanyInvoicesEnableOverdueNoticesOperation } from '../operations/PutCompanyInvoicesEnableOverdueNoticesOperation.mjs';
|
|
87
87
|
import { putCompanyInvoicesOverdueDelayOperation3tq8gdhrx6a33 as putCompanyInvoicesOverdueDelayOperation } from '../operations/PutCompanyInvoicesOverdueDelayOperation.mjs';
|
|
88
88
|
import { redirectToInvoicingForCompaniesExpiredByCustomerInTripletexOperationff9uwzhhwgk0 as redirectToInvoicingForCompaniesExpiredByCustomerInTripletexOperation } from '../operations/RedirectToInvoicingForCompaniesExpiredByCustomerInTripletexOperation.mjs';
|
|
89
|
+
import { refreshInvoicingCompanyLedgerOperation2tqdvp0gehva1 as refreshInvoicingCompanyLedgerOperation } from '../operations/RefreshInvoicingCompanyLedgerOperation.mjs';
|
|
89
90
|
import { revokeInvoicingCustomerLedgerPostingApprovalOperation284n0p87s25ry as revokeInvoicingCustomerLedgerPostingApprovalOperation } from '../operations/RevokeInvoicingCustomerLedgerPostingApprovalOperation.mjs';
|
|
90
91
|
import { showInvoicingAdHocGroupLinesOperation3cgfry1hebfx5 as showInvoicingAdHocGroupLinesOperation } from '../operations/ShowInvoicingAdHocGroupLinesOperation.mjs';
|
|
91
92
|
import { showInvoicingAdHocGroupPreviewOperation7jxcb8no478d as showInvoicingAdHocGroupPreviewOperation } from '../operations/ShowInvoicingAdHocGroupPreviewOperation.mjs';
|
|
@@ -97,6 +98,7 @@ import { showInvoicingAdHocLinesByPersonOperationa08qqmhov2ig as showInvoicingAd
|
|
|
97
98
|
import { showInvoicingAdHocLinesBySectionOperation20yuhp3qy52ow as showInvoicingAdHocLinesBySectionOperation } from '../operations/ShowInvoicingAdHocLinesBySectionOperation.mjs';
|
|
98
99
|
import { showInvoicingCompanyCustomerLedgerOperation2rjxbbw9s2pmi as showInvoicingCompanyCustomerLedgerOperation } from '../operations/ShowInvoicingCompanyCustomerLedgerOperation.mjs';
|
|
99
100
|
import { showInvoicingCompanyCustomerLedgerSummaryOperation1yoox25d58und as showInvoicingCompanyCustomerLedgerSummaryOperation } from '../operations/ShowInvoicingCompanyCustomerLedgerSummaryOperation.mjs';
|
|
101
|
+
import { showInvoicingCompanyLedgerRefreshOperationx7sar4g56h5o as showInvoicingCompanyLedgerRefreshOperation } from '../operations/ShowInvoicingCompanyLedgerRefreshOperation.mjs';
|
|
100
102
|
import { showInvoicingCustomerOperationz436hybxj165 as showInvoicingCustomerOperation } from '../operations/ShowInvoicingCustomerOperation.mjs';
|
|
101
103
|
import { showInvoicingCustomerInvoiceOverdueFirstPdfOperationpvcpvj5nheox as showInvoicingCustomerInvoiceOverdueFirstPdfOperation } from '../operations/ShowInvoicingCustomerInvoiceOverdueFirstPdfOperation.mjs';
|
|
102
104
|
import { showInvoicingCustomerInvoiceOverdueSecondPdfOperation31fndtjjs00dm as showInvoicingCustomerInvoiceOverdueSecondPdfOperation } from '../operations/ShowInvoicingCustomerInvoiceOverdueSecondPdfOperation.mjs';
|
|
@@ -4448,6 +4450,67 @@ function $redirectToInvoicingForCompaniesExpiredByCustomerInTripletex$suspendBri
|
|
|
4448
4450
|
}
|
|
4449
4451
|
return $redirectToInvoicingForCompaniesExpiredByCustomerInTripletex$suspendBridgeCOROUTINE$Class;
|
|
4450
4452
|
}
|
|
4453
|
+
var $refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$Class;
|
|
4454
|
+
function $refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$() {
|
|
4455
|
+
if ($refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$Class === VOID) {
|
|
4456
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
4457
|
+
function $(_this__u8e3s4, companyId, resultContinuation) {
|
|
4458
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
4459
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
4460
|
+
this.companyId_1 = companyId;
|
|
4461
|
+
}
|
|
4462
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
4463
|
+
var suspendResult = this.result_1;
|
|
4464
|
+
$sm: do
|
|
4465
|
+
try {
|
|
4466
|
+
var tmp = this.state_1;
|
|
4467
|
+
switch (tmp) {
|
|
4468
|
+
case 0:
|
|
4469
|
+
this.exceptionState_1 = 4;
|
|
4470
|
+
if (this._this__u8e3s4__1.refreshInvoicingCompanyLedger === protoOf(InvoicingApi()).refreshInvoicingCompanyLedger) {
|
|
4471
|
+
this.state_1 = 2;
|
|
4472
|
+
suspendResult = this._this__u8e3s4__1.refreshInvoicingCompanyLedger_qag97e_k$(this.companyId_1, this);
|
|
4473
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4474
|
+
return suspendResult;
|
|
4475
|
+
}
|
|
4476
|
+
continue $sm;
|
|
4477
|
+
} else {
|
|
4478
|
+
this.state_1 = 1;
|
|
4479
|
+
suspendResult = await_0(this._this__u8e3s4__1.refreshInvoicingCompanyLedger(this.companyId_1), this);
|
|
4480
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4481
|
+
return suspendResult;
|
|
4482
|
+
}
|
|
4483
|
+
continue $sm;
|
|
4484
|
+
}
|
|
4485
|
+
|
|
4486
|
+
case 1:
|
|
4487
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4488
|
+
this.state_1 = 3;
|
|
4489
|
+
continue $sm;
|
|
4490
|
+
case 2:
|
|
4491
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
4492
|
+
this.state_1 = 3;
|
|
4493
|
+
continue $sm;
|
|
4494
|
+
case 3:
|
|
4495
|
+
return this.WHEN_RESULT0__1;
|
|
4496
|
+
case 4:
|
|
4497
|
+
throw this.exception_1;
|
|
4498
|
+
}
|
|
4499
|
+
} catch ($p) {
|
|
4500
|
+
var e = $p;
|
|
4501
|
+
if (this.exceptionState_1 === 4) {
|
|
4502
|
+
throw e;
|
|
4503
|
+
} else {
|
|
4504
|
+
this.state_1 = this.exceptionState_1;
|
|
4505
|
+
this.exception_1 = e;
|
|
4506
|
+
}
|
|
4507
|
+
}
|
|
4508
|
+
while (true);
|
|
4509
|
+
};
|
|
4510
|
+
$refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$Class = $;
|
|
4511
|
+
}
|
|
4512
|
+
return $refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$Class;
|
|
4513
|
+
}
|
|
4451
4514
|
var $revokeInvoicingCustomerLedgerPostingApproval$suspendBridgeCOROUTINE$Class;
|
|
4452
4515
|
function $revokeInvoicingCustomerLedgerPostingApproval$suspendBridgeCOROUTINE$() {
|
|
4453
4516
|
if ($revokeInvoicingCustomerLedgerPostingApproval$suspendBridgeCOROUTINE$Class === VOID) {
|
|
@@ -5182,6 +5245,68 @@ function $showInvoicingCompanyCustomerLedgerSummary$suspendBridgeCOROUTINE$() {
|
|
|
5182
5245
|
}
|
|
5183
5246
|
return $showInvoicingCompanyCustomerLedgerSummary$suspendBridgeCOROUTINE$Class;
|
|
5184
5247
|
}
|
|
5248
|
+
var $showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$Class;
|
|
5249
|
+
function $showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$() {
|
|
5250
|
+
if ($showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$Class === VOID) {
|
|
5251
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
5252
|
+
function $(_this__u8e3s4, companyId, fields, resultContinuation) {
|
|
5253
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
5254
|
+
this._this__u8e3s4__1 = _this__u8e3s4;
|
|
5255
|
+
this.companyId_1 = companyId;
|
|
5256
|
+
this.fields_1 = fields;
|
|
5257
|
+
}
|
|
5258
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
5259
|
+
var suspendResult = this.result_1;
|
|
5260
|
+
$sm: do
|
|
5261
|
+
try {
|
|
5262
|
+
var tmp = this.state_1;
|
|
5263
|
+
switch (tmp) {
|
|
5264
|
+
case 0:
|
|
5265
|
+
this.exceptionState_1 = 4;
|
|
5266
|
+
if (this._this__u8e3s4__1.showInvoicingCompanyLedgerRefresh === protoOf(InvoicingApi()).showInvoicingCompanyLedgerRefresh) {
|
|
5267
|
+
this.state_1 = 2;
|
|
5268
|
+
suspendResult = this._this__u8e3s4__1.showInvoicingCompanyLedgerRefresh$default_jw656z_k$(this.companyId_1, this.fields_1, this);
|
|
5269
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5270
|
+
return suspendResult;
|
|
5271
|
+
}
|
|
5272
|
+
continue $sm;
|
|
5273
|
+
} else {
|
|
5274
|
+
this.state_1 = 1;
|
|
5275
|
+
suspendResult = await_0(this._this__u8e3s4__1.showInvoicingCompanyLedgerRefresh(this.companyId_1, this.fields_1), this);
|
|
5276
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5277
|
+
return suspendResult;
|
|
5278
|
+
}
|
|
5279
|
+
continue $sm;
|
|
5280
|
+
}
|
|
5281
|
+
|
|
5282
|
+
case 1:
|
|
5283
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5284
|
+
this.state_1 = 3;
|
|
5285
|
+
continue $sm;
|
|
5286
|
+
case 2:
|
|
5287
|
+
this.WHEN_RESULT0__1 = suspendResult;
|
|
5288
|
+
this.state_1 = 3;
|
|
5289
|
+
continue $sm;
|
|
5290
|
+
case 3:
|
|
5291
|
+
return this.WHEN_RESULT0__1;
|
|
5292
|
+
case 4:
|
|
5293
|
+
throw this.exception_1;
|
|
5294
|
+
}
|
|
5295
|
+
} catch ($p) {
|
|
5296
|
+
var e = $p;
|
|
5297
|
+
if (this.exceptionState_1 === 4) {
|
|
5298
|
+
throw e;
|
|
5299
|
+
} else {
|
|
5300
|
+
this.state_1 = this.exceptionState_1;
|
|
5301
|
+
this.exception_1 = e;
|
|
5302
|
+
}
|
|
5303
|
+
}
|
|
5304
|
+
while (true);
|
|
5305
|
+
};
|
|
5306
|
+
$showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$Class = $;
|
|
5307
|
+
}
|
|
5308
|
+
return $showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$Class;
|
|
5309
|
+
}
|
|
5185
5310
|
var $showInvoicingCustomer$suspendBridgeCOROUTINE$Class;
|
|
5186
5311
|
function $showInvoicingCustomer$suspendBridgeCOROUTINE$() {
|
|
5187
5312
|
if ($showInvoicingCustomer$suspendBridgeCOROUTINE$Class === VOID) {
|
|
@@ -8752,6 +8877,21 @@ function InvoicingApi() {
|
|
|
8752
8877
|
tmp.exception_1 = null;
|
|
8753
8878
|
return tmp.doResume_5yljmg_k$();
|
|
8754
8879
|
};
|
|
8880
|
+
protoOf($).refreshInvoicingCompanyLedger_qag97e_k$ = function (companyId, $completion) {
|
|
8881
|
+
return refreshInvoicingCompanyLedgerOperation(this, companyId, $completion);
|
|
8882
|
+
};
|
|
8883
|
+
protoOf($).refreshInvoicingCompanyLedger = function (companyId) {
|
|
8884
|
+
var tmp = this;
|
|
8885
|
+
return promisify(function ($completion) {
|
|
8886
|
+
return tmp.refreshInvoicingCompanyLedger_qag97e_k$(companyId, $completion);
|
|
8887
|
+
});
|
|
8888
|
+
};
|
|
8889
|
+
protoOf($).refreshInvoicingCompanyLedger$suspendBridge_eddbo9_k$ = function (companyId, $completion) {
|
|
8890
|
+
var tmp = new ($refreshInvoicingCompanyLedger$suspendBridgeCOROUTINE$())(this, companyId, $completion);
|
|
8891
|
+
tmp.result_1 = Unit_instance;
|
|
8892
|
+
tmp.exception_1 = null;
|
|
8893
|
+
return tmp.doResume_5yljmg_k$();
|
|
8894
|
+
};
|
|
8755
8895
|
protoOf($).revokeInvoicingCustomerLedgerPostingApproval_m4x9m_k$ = function (companyId, customerType, customerId, postingId, revokeCustomerLedgerPostingApprovalCommand, $completion) {
|
|
8756
8896
|
return revokeInvoicingCustomerLedgerPostingApprovalOperation(this, companyId, customerType, customerId, postingId, revokeCustomerLedgerPostingApprovalCommand, $completion);
|
|
8757
8897
|
};
|
|
@@ -8992,6 +9132,25 @@ function InvoicingApi() {
|
|
|
8992
9132
|
tmp.exception_1 = null;
|
|
8993
9133
|
return tmp.doResume_5yljmg_k$();
|
|
8994
9134
|
};
|
|
9135
|
+
protoOf($).showInvoicingCompanyLedgerRefresh_o3ulqw_k$ = function (companyId, fields, $completion) {
|
|
9136
|
+
return showInvoicingCompanyLedgerRefreshOperation(this, companyId, fields, $completion);
|
|
9137
|
+
};
|
|
9138
|
+
protoOf($).showInvoicingCompanyLedgerRefresh$default_jw656z_k$ = function (companyId, fields, $completion, $super) {
|
|
9139
|
+
fields = fields === VOID ? null : fields;
|
|
9140
|
+
return $super === VOID ? this.showInvoicingCompanyLedgerRefresh_o3ulqw_k$(companyId, fields, $completion) : $super.showInvoicingCompanyLedgerRefresh_o3ulqw_k$.call(this, companyId, fields, $completion);
|
|
9141
|
+
};
|
|
9142
|
+
protoOf($).showInvoicingCompanyLedgerRefresh = function (companyId, fields) {
|
|
9143
|
+
var tmp = this;
|
|
9144
|
+
return promisify(function ($completion) {
|
|
9145
|
+
return tmp.showInvoicingCompanyLedgerRefresh$default_jw656z_k$(companyId, fields, $completion);
|
|
9146
|
+
});
|
|
9147
|
+
};
|
|
9148
|
+
protoOf($).showInvoicingCompanyLedgerRefresh$suspendBridge_aiefhj_k$ = function (companyId, fields, $completion) {
|
|
9149
|
+
var tmp = new ($showInvoicingCompanyLedgerRefresh$suspendBridgeCOROUTINE$())(this, companyId, fields, $completion);
|
|
9150
|
+
tmp.result_1 = Unit_instance;
|
|
9151
|
+
tmp.exception_1 = null;
|
|
9152
|
+
return tmp.doResume_5yljmg_k$();
|
|
9153
|
+
};
|
|
8995
9154
|
protoOf($).showInvoicingCustomer_e6hyrq_k$ = function (companyId, customerType, customerId, sectionIdToDeleteFrom, fields, $completion) {
|
|
8996
9155
|
return showInvoicingCustomerOperation(this, companyId, customerType, customerId, sectionIdToDeleteFrom, fields, $completion);
|
|
8997
9156
|
};
|
|
@@ -9724,6 +9883,7 @@ function InvoicingApi() {
|
|
|
9724
9883
|
__soliboWrapMethod($, "putCompanyInvoicesEnableOverdueNotices", {"args":{"0":["bigint"],"1":["model","MassInvoiceOverdueEnableCommand"]},"result":true});
|
|
9725
9884
|
__soliboWrapMethod($, "putCompanyInvoicesOverdueDelay", {"args":{"0":["bigint"],"1":["model","MassInvoiceOverdueDelayCommand"]},"result":true});
|
|
9726
9885
|
__soliboWrapMethod($, "redirectToInvoicingForCompaniesExpiredByCustomerInTripletex", {"args":{"1":["enum","PayerType"]},"result":true});
|
|
9886
|
+
__soliboWrapMethod($, "refreshInvoicingCompanyLedger", {"args":{"0":["bigint"]},"result":true});
|
|
9727
9887
|
__soliboWrapMethod($, "revokeInvoicingCustomerLedgerPostingApproval", {"args":{"0":["bigint"],"2":["bigint"],"4":["model","RevokeCustomerLedgerPostingApprovalCommand"]},"result":true});
|
|
9728
9888
|
__soliboWrapMethod($, "showInvoicingAdHocGroupLines", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
|
|
9729
9889
|
__soliboWrapMethod($, "showInvoicingAdHocGroupPreview", {"args":{"0":["bigint"],"1":["bigint"]},"result":true});
|
|
@@ -9735,6 +9895,7 @@ function InvoicingApi() {
|
|
|
9735
9895
|
__soliboWrapMethod($, "showInvoicingAdHocLinesBySection", {"args":{"0":["bigint"],"1":["bigint"],"2":["bigint"]},"result":true});
|
|
9736
9896
|
__soliboWrapMethod($, "showInvoicingCompanyCustomerLedger", {"args":{"0":["bigint"],"3":["enum","CustomerLedgerEntryType"],"4":["enum","CustomerType"]},"result":true});
|
|
9737
9897
|
__soliboWrapMethod($, "showInvoicingCompanyCustomerLedgerSummary", {"args":{"0":["bigint"],"3":["enum","CustomerLedgerEntryType"],"4":["enum","CustomerType"]},"result":true});
|
|
9898
|
+
__soliboWrapMethod($, "showInvoicingCompanyLedgerRefresh", {"args":{"0":["bigint"]},"result":true});
|
|
9738
9899
|
__soliboWrapMethod($, "showInvoicingCustomer", {"args":{"0":["bigint"],"2":["bigint"],"3":["bigint"]},"result":true});
|
|
9739
9900
|
__soliboWrapMethod($, "showInvoicingCustomerInvoiceOverdueFirstPdf", {"args":{"0":["bigint"],"2":["bigint"]},"result":true});
|
|
9740
9901
|
__soliboWrapMethod($, "showInvoicingCustomerInvoiceOverdueSecondPdf", {"args":{"0":["bigint"],"2":["bigint"]},"result":true});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { refreshInvoicingCompanyLedgerOperation2gfcklml9fir0 as refreshInvoicingCompanyLedgerOperation } from './RefreshInvoicingCompanyLedgerOperation.mjs';
|
|
2
|
+
import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
|
|
3
|
+
//region block: imports
|
|
4
|
+
//endregion
|
|
5
|
+
//region block: pre-declaration
|
|
6
|
+
//endregion
|
|
7
|
+
//region block: exports
|
|
8
|
+
/* Solibo boundary patches */
|
|
9
|
+
var refreshInvoicingCompanyLedgerOperation_solibo = __soliboWrapFunction(refreshInvoicingCompanyLedgerOperation, {"result":true,"args":{"1":["bigint"]}});
|
|
10
|
+
export {
|
|
11
|
+
refreshInvoicingCompanyLedgerOperation_solibo as refreshInvoicingCompanyLedgerOperation,
|
|
12
|
+
};
|
|
13
|
+
//endregion
|
|
14
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { promisify1z0ncraq1ipzh as promisify } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
2
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
3
|
+
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
|
|
4
|
+
import { listOf1jh22dvmctj1r as listOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
5
|
+
import { EmptyContent_getInstance1v4yj3cymlz7 as EmptyContent_getInstance } from '../../../../../../../../../ktor-ktor-client-core/io/ktor/client/utils/Content.mjs';
|
|
6
|
+
import { LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
|
|
7
|
+
import { RequestMethod_POST_getInstance29fppyvplo8n0 as RequestMethod_POST_getInstance } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestMethod.mjs';
|
|
8
|
+
import { replace3le3ie7l9k8aq as replace } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
|
|
9
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
10
|
+
import { RequestConfig10esd7ix0dbbm as RequestConfig } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestConfig.mjs';
|
|
11
|
+
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
12
|
+
import { CustomerLedgerRefreshStatus13qtav1hxhimz as CustomerLedgerRefreshStatus } from '../../models/CustomerLedgerRefreshStatus.mjs';
|
|
13
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
|
|
14
|
+
import { arrayOf1akklvh2at202 as arrayOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
15
|
+
import { createKType31ecntyyaay3k as createKType } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs';
|
|
16
|
+
import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from '../../../../../../../../../ktor-ktor-utils/io/ktor/util/reflect/Type.mjs';
|
|
17
|
+
import {
|
|
18
|
+
TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
|
|
19
|
+
HttpResponse53ki0v36vqo7 as HttpResponse,
|
|
20
|
+
} from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs';
|
|
21
|
+
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
22
|
+
import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
23
|
+
//region block: imports
|
|
24
|
+
//endregion
|
|
25
|
+
//region block: pre-declaration
|
|
26
|
+
//endregion
|
|
27
|
+
function refreshInvoicingCompanyLedgerOperation(client, companyId) {
|
|
28
|
+
return promisify(function ($completion) {
|
|
29
|
+
return refreshInvoicingCompanyLedgerOperation_0(client, companyId, $completion);
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function refreshInvoicingCompanyLedgerOperation_0(client, companyId, $completion) {
|
|
33
|
+
var tmp = new ($refreshInvoicingCompanyLedgerOperationCOROUTINE$())(client, companyId, $completion);
|
|
34
|
+
tmp.result_1 = Unit_instance;
|
|
35
|
+
tmp.exception_1 = null;
|
|
36
|
+
return tmp.doResume_5yljmg_k$();
|
|
37
|
+
}
|
|
38
|
+
var $refreshInvoicingCompanyLedgerOperationCOROUTINE$Class;
|
|
39
|
+
function $refreshInvoicingCompanyLedgerOperationCOROUTINE$() {
|
|
40
|
+
if ($refreshInvoicingCompanyLedgerOperationCOROUTINE$Class === VOID) {
|
|
41
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
42
|
+
function $(client, companyId, resultContinuation) {
|
|
43
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
44
|
+
this.client_1 = client;
|
|
45
|
+
this.companyId_1 = companyId;
|
|
46
|
+
}
|
|
47
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
48
|
+
var suspendResult = this.result_1;
|
|
49
|
+
$sm: do
|
|
50
|
+
try {
|
|
51
|
+
var tmp = this.state_1;
|
|
52
|
+
switch (tmp) {
|
|
53
|
+
case 0:
|
|
54
|
+
this.exceptionState_1 = 2;
|
|
55
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
56
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
57
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
58
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
59
|
+
var tmp0_method = RequestMethod_POST_getInstance();
|
|
60
|
+
var tmp1_path = replace('/companies/{companyId}/economy/invoicing/customers/ledger/refresh', '{companyId}', this.companyId_1.toString());
|
|
61
|
+
var localVariableConfig = new (RequestConfig())(tmp0_method, tmp1_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
62
|
+
this.state_1 = 1;
|
|
63
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
64
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
65
|
+
return suspendResult;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
continue $sm;
|
|
69
|
+
case 1:
|
|
70
|
+
var this_0 = suspendResult;
|
|
71
|
+
var tmp_0 = getKClass(CustomerLedgerRefreshStatus());
|
|
72
|
+
var tmp_1 = null instanceof CustomerLedgerRefreshStatus();
|
|
73
|
+
var tmp_2;
|
|
74
|
+
try {
|
|
75
|
+
tmp_2 = createKType(getKClass(CustomerLedgerRefreshStatus()), arrayOf([]), false);
|
|
76
|
+
} catch ($p) {
|
|
77
|
+
var tmp_3;
|
|
78
|
+
if ($p instanceof Error) {
|
|
79
|
+
var _unused_var__etf5q3 = $p;
|
|
80
|
+
tmp_3 = null;
|
|
81
|
+
} else {
|
|
82
|
+
throw $p;
|
|
83
|
+
}
|
|
84
|
+
tmp_2 = tmp_3;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
|
|
88
|
+
case 2:
|
|
89
|
+
throw this.exception_1;
|
|
90
|
+
}
|
|
91
|
+
} catch ($p_0) {
|
|
92
|
+
var e = $p_0;
|
|
93
|
+
if (this.exceptionState_1 === 2) {
|
|
94
|
+
throw e;
|
|
95
|
+
} else {
|
|
96
|
+
this.state_1 = this.exceptionState_1;
|
|
97
|
+
this.exception_1 = e;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
while (true);
|
|
101
|
+
};
|
|
102
|
+
$refreshInvoicingCompanyLedgerOperationCOROUTINE$Class = $;
|
|
103
|
+
}
|
|
104
|
+
return $refreshInvoicingCompanyLedgerOperationCOROUTINE$Class;
|
|
105
|
+
}
|
|
106
|
+
//region block: exports
|
|
107
|
+
export {
|
|
108
|
+
refreshInvoicingCompanyLedgerOperation as refreshInvoicingCompanyLedgerOperation2gfcklml9fir0,
|
|
109
|
+
refreshInvoicingCompanyLedgerOperation_0 as refreshInvoicingCompanyLedgerOperation2tqdvp0gehva1,
|
|
110
|
+
};
|
|
111
|
+
//endregion
|
|
112
|
+
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare function showInvoicingCompanyLedgerRefreshOperation(client: ApiClient, companyId: bigint, fields?: Nullable<string>): Promise<HttpResponse<CustomerLedgerRefreshStatus>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { showInvoicingCompanyLedgerRefreshOperation3ryqrhwlatj8g as showInvoicingCompanyLedgerRefreshOperation } from './ShowInvoicingCompanyLedgerRefreshOperation.mjs';
|
|
2
|
+
import { __soliboRegisterLookup, __soliboWrapFunction } from '../../../../../../../../../solibo-boundary.mjs';
|
|
3
|
+
//region block: imports
|
|
4
|
+
//endregion
|
|
5
|
+
//region block: pre-declaration
|
|
6
|
+
//endregion
|
|
7
|
+
//region block: exports
|
|
8
|
+
/* Solibo boundary patches */
|
|
9
|
+
var showInvoicingCompanyLedgerRefreshOperation_solibo = __soliboWrapFunction(showInvoicingCompanyLedgerRefreshOperation, {"result":true,"args":{"1":["bigint"]}});
|
|
10
|
+
export {
|
|
11
|
+
showInvoicingCompanyLedgerRefreshOperation_solibo as showInvoicingCompanyLedgerRefreshOperation,
|
|
12
|
+
};
|
|
13
|
+
//endregion
|
|
14
|
+
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { promisify1z0ncraq1ipzh as promisify } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/IntrinsicsJs.mjs';
|
|
2
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
3
|
+
import { Unit_instance3kz1zqli6gr1r as Unit_instance } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Unit.mjs';
|
|
4
|
+
import { CoroutineImpl2sn3kjnwmfr10 as CoroutineImpl } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/CoroutineImpl.mjs';
|
|
5
|
+
import { listOf1jh22dvmctj1r as listOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/CollectionsKt.mjs';
|
|
6
|
+
import { EmptyContent_getInstance1v4yj3cymlz7 as EmptyContent_getInstance } from '../../../../../../../../../ktor-ktor-client-core/io/ktor/client/utils/Content.mjs';
|
|
7
|
+
import { LinkedHashMap_init_$Create$s27yccuovnls as LinkedHashMap_init_$Create$ } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/LinkedHashMap.mjs';
|
|
8
|
+
import { listOfvhqybd2zx248 as listOf_0 } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/collections/collectionJs.mjs';
|
|
9
|
+
import { RequestMethod_GET_getInstance1hbf807ypkdh8 as RequestMethod_GET_getInstance } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestMethod.mjs';
|
|
10
|
+
import { replace3le3ie7l9k8aq as replace } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/text/stringsCode.mjs';
|
|
11
|
+
import { RequestConfig10esd7ix0dbbm as RequestConfig } from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/RequestConfig.mjs';
|
|
12
|
+
import { get_COROUTINE_SUSPENDED3ujt3p13qm4iy as get_COROUTINE_SUSPENDED } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/coroutines/intrinsics/Intrinsics.mjs';
|
|
13
|
+
import { CustomerLedgerRefreshStatus13qtav1hxhimz as CustomerLedgerRefreshStatus } from '../../models/CustomerLedgerRefreshStatus.mjs';
|
|
14
|
+
import { getKClass3t8tygqu4lcxf as getKClass } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/reflection.mjs';
|
|
15
|
+
import { arrayOf1akklvh2at202 as arrayOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/Library.mjs';
|
|
16
|
+
import { createKType31ecntyyaay3k as createKType } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/reflect/js/internal/KTypeHelpers.mjs';
|
|
17
|
+
import { TypeInfo2nbxsuf4v8os2 as TypeInfo } from '../../../../../../../../../ktor-ktor-utils/io/ktor/util/reflect/Type.mjs';
|
|
18
|
+
import {
|
|
19
|
+
TypedBodyProvider2ertybblisp23 as TypedBodyProvider,
|
|
20
|
+
HttpResponse53ki0v36vqo7 as HttpResponse,
|
|
21
|
+
} from '../../../../../../../../../solibo-sdk-sdk-core/no/solibo/oss/sdk/api/gen/infrastructure/HttpResponse.mjs';
|
|
22
|
+
import { protoOf180f3jzyo7rfj as protoOf } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
23
|
+
import { initMetadataForCoroutine1i7lbatuf5bnt as initMetadataForCoroutine } from '../../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/metadataUtils.mjs';
|
|
24
|
+
//region block: imports
|
|
25
|
+
//endregion
|
|
26
|
+
//region block: pre-declaration
|
|
27
|
+
//endregion
|
|
28
|
+
function showInvoicingCompanyLedgerRefreshOperation(client, companyId, fields) {
|
|
29
|
+
return promisify(function ($completion) {
|
|
30
|
+
return showInvoicingCompanyLedgerRefreshOperation_0(client, companyId, fields, $completion);
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function showInvoicingCompanyLedgerRefreshOperation_0(client, companyId, fields, $completion) {
|
|
34
|
+
fields = fields === VOID ? null : fields;
|
|
35
|
+
var tmp = new ($showInvoicingCompanyLedgerRefreshOperationCOROUTINE$())(client, companyId, fields, $completion);
|
|
36
|
+
tmp.result_1 = Unit_instance;
|
|
37
|
+
tmp.exception_1 = null;
|
|
38
|
+
return tmp.doResume_5yljmg_k$();
|
|
39
|
+
}
|
|
40
|
+
var $showInvoicingCompanyLedgerRefreshOperationCOROUTINE$Class;
|
|
41
|
+
function $showInvoicingCompanyLedgerRefreshOperationCOROUTINE$() {
|
|
42
|
+
if ($showInvoicingCompanyLedgerRefreshOperationCOROUTINE$Class === VOID) {
|
|
43
|
+
initMetadataForCoroutine($, CoroutineImpl());
|
|
44
|
+
function $(client, companyId, fields, resultContinuation) {
|
|
45
|
+
CoroutineImpl().call(this, resultContinuation);
|
|
46
|
+
this.client_1 = client;
|
|
47
|
+
this.companyId_1 = companyId;
|
|
48
|
+
this.fields_1 = fields;
|
|
49
|
+
}
|
|
50
|
+
protoOf($).doResume_5yljmg_k$ = function () {
|
|
51
|
+
var suspendResult = this.result_1;
|
|
52
|
+
$sm: do
|
|
53
|
+
try {
|
|
54
|
+
var tmp = this.state_1;
|
|
55
|
+
switch (tmp) {
|
|
56
|
+
case 0:
|
|
57
|
+
this.exceptionState_1 = 2;
|
|
58
|
+
var localVariableAuthNames = listOf(['cognito', 'cognito-direct']);
|
|
59
|
+
var localVariableBody = EmptyContent_getInstance();
|
|
60
|
+
var localVariableQuery = LinkedHashMap_init_$Create$();
|
|
61
|
+
if (this.fields_1 == null)
|
|
62
|
+
null;
|
|
63
|
+
else {
|
|
64
|
+
var value = listOf_0(this.fields_1);
|
|
65
|
+
localVariableQuery.put_4fpzoq_k$('fields', value);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
var localVariableHeaders = LinkedHashMap_init_$Create$();
|
|
69
|
+
var tmp1_method = RequestMethod_GET_getInstance();
|
|
70
|
+
var tmp2_path = replace('/companies/{companyId}/economy/invoicing/customers/ledger/refresh', '{companyId}', this.companyId_1.toString());
|
|
71
|
+
var localVariableConfig = new (RequestConfig())(tmp1_method, tmp2_path, localVariableHeaders, VOID, localVariableQuery, true);
|
|
72
|
+
this.state_1 = 1;
|
|
73
|
+
suspendResult = this.client_1.executeRequest_c2mqzq_k$(localVariableConfig, localVariableBody, localVariableAuthNames, this);
|
|
74
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
75
|
+
return suspendResult;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
continue $sm;
|
|
79
|
+
case 1:
|
|
80
|
+
var this_0 = suspendResult;
|
|
81
|
+
var tmp_0 = getKClass(CustomerLedgerRefreshStatus());
|
|
82
|
+
var tmp_1 = null instanceof CustomerLedgerRefreshStatus();
|
|
83
|
+
var tmp_2;
|
|
84
|
+
try {
|
|
85
|
+
tmp_2 = createKType(getKClass(CustomerLedgerRefreshStatus()), arrayOf([]), false);
|
|
86
|
+
} catch ($p) {
|
|
87
|
+
var tmp_3;
|
|
88
|
+
if ($p instanceof Error) {
|
|
89
|
+
var _unused_var__etf5q3 = $p;
|
|
90
|
+
tmp_3 = null;
|
|
91
|
+
} else {
|
|
92
|
+
throw $p;
|
|
93
|
+
}
|
|
94
|
+
tmp_2 = tmp_3;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
return new (HttpResponse())(this_0, new (TypedBodyProvider())(new (TypeInfo())(tmp_0, tmp_1, tmp_2)));
|
|
98
|
+
case 2:
|
|
99
|
+
throw this.exception_1;
|
|
100
|
+
}
|
|
101
|
+
} catch ($p_0) {
|
|
102
|
+
var e = $p_0;
|
|
103
|
+
if (this.exceptionState_1 === 2) {
|
|
104
|
+
throw e;
|
|
105
|
+
} else {
|
|
106
|
+
this.state_1 = this.exceptionState_1;
|
|
107
|
+
this.exception_1 = e;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
while (true);
|
|
111
|
+
};
|
|
112
|
+
$showInvoicingCompanyLedgerRefreshOperationCOROUTINE$Class = $;
|
|
113
|
+
}
|
|
114
|
+
return $showInvoicingCompanyLedgerRefreshOperationCOROUTINE$Class;
|
|
115
|
+
}
|
|
116
|
+
//region block: exports
|
|
117
|
+
export {
|
|
118
|
+
showInvoicingCompanyLedgerRefreshOperation as showInvoicingCompanyLedgerRefreshOperation3ryqrhwlatj8g,
|
|
119
|
+
showInvoicingCompanyLedgerRefreshOperation_0 as showInvoicingCompanyLedgerRefreshOperationx7sar4g56h5o,
|
|
120
|
+
};
|
|
121
|
+
//endregion
|
|
122
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
2
|
+
declare function KtSingleton<T>(): T & (abstract new() => any);
|
|
3
|
+
export declare abstract class CustomerLedgerRefreshStatus {
|
|
4
|
+
private constructor();
|
|
5
|
+
static get IDLE(): CustomerLedgerRefreshStatus & {
|
|
6
|
+
get name(): "IDLE";
|
|
7
|
+
get ordinal(): 0;
|
|
8
|
+
};
|
|
9
|
+
static get UPDATING(): CustomerLedgerRefreshStatus & {
|
|
10
|
+
get name(): "UPDATING";
|
|
11
|
+
get ordinal(): 1;
|
|
12
|
+
};
|
|
13
|
+
static get SUCCEEDED(): CustomerLedgerRefreshStatus & {
|
|
14
|
+
get name(): "SUCCEEDED";
|
|
15
|
+
get ordinal(): 2;
|
|
16
|
+
};
|
|
17
|
+
static get FAILED(): CustomerLedgerRefreshStatus & {
|
|
18
|
+
get name(): "FAILED";
|
|
19
|
+
get ordinal(): 3;
|
|
20
|
+
};
|
|
21
|
+
static get PAUSED(): CustomerLedgerRefreshStatus & {
|
|
22
|
+
get name(): "PAUSED";
|
|
23
|
+
get ordinal(): 4;
|
|
24
|
+
};
|
|
25
|
+
static get Idle(): CustomerLedgerRefreshStatus & {
|
|
26
|
+
get name(): "IDLE";
|
|
27
|
+
get ordinal(): 0;
|
|
28
|
+
};
|
|
29
|
+
static get Updating(): CustomerLedgerRefreshStatus & {
|
|
30
|
+
get name(): "UPDATING";
|
|
31
|
+
get ordinal(): 1;
|
|
32
|
+
};
|
|
33
|
+
static get Succeeded(): CustomerLedgerRefreshStatus & {
|
|
34
|
+
get name(): "SUCCEEDED";
|
|
35
|
+
get ordinal(): 2;
|
|
36
|
+
};
|
|
37
|
+
static get Failed(): CustomerLedgerRefreshStatus & {
|
|
38
|
+
get name(): "FAILED";
|
|
39
|
+
get ordinal(): 3;
|
|
40
|
+
};
|
|
41
|
+
static get Paused(): CustomerLedgerRefreshStatus & {
|
|
42
|
+
get name(): "PAUSED";
|
|
43
|
+
get ordinal(): 4;
|
|
44
|
+
};
|
|
45
|
+
static values(): [typeof CustomerLedgerRefreshStatus.IDLE, typeof CustomerLedgerRefreshStatus.UPDATING, typeof CustomerLedgerRefreshStatus.SUCCEEDED, typeof CustomerLedgerRefreshStatus.FAILED, typeof CustomerLedgerRefreshStatus.PAUSED];
|
|
46
|
+
static valueOf(value: string): CustomerLedgerRefreshStatus;
|
|
47
|
+
get name(): "IDLE" | "UPDATING" | "SUCCEEDED" | "FAILED" | "PAUSED";
|
|
48
|
+
get ordinal(): 0 | 1 | 2 | 3 | 4;
|
|
49
|
+
get value(): string;
|
|
50
|
+
toString(): string;
|
|
51
|
+
}
|
|
52
|
+
export declare namespace CustomerLedgerRefreshStatus {
|
|
53
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
54
|
+
namespace $metadata$ {
|
|
55
|
+
const constructor: abstract new () => CustomerLedgerRefreshStatus;
|
|
56
|
+
}
|
|
57
|
+
abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
|
|
58
|
+
private constructor();
|
|
59
|
+
}
|
|
60
|
+
namespace Companion {
|
|
61
|
+
/** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
|
|
62
|
+
namespace $metadata$ {
|
|
63
|
+
abstract class constructor /* implements SerializerFactory */ {
|
|
64
|
+
fromValue(value: string): Nullable<CustomerLedgerRefreshStatus>;
|
|
65
|
+
private constructor();
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CustomerLedgerRefreshStatus13qtav1hxhimz as CustomerLedgerRefreshStatus,
|
|
3
|
+
values34wgrwqrge2k3 as values,
|
|
4
|
+
valueOf26g1zh70or53g as valueOf,
|
|
5
|
+
CustomerLedgerRefreshStatus_IDLE_getInstance2yb34fxle3ixn as CustomerLedgerRefreshStatus_IDLE_getInstance,
|
|
6
|
+
CustomerLedgerRefreshStatus_UPDATING_getInstance3kmrtsq4gn3py as CustomerLedgerRefreshStatus_UPDATING_getInstance,
|
|
7
|
+
CustomerLedgerRefreshStatus_SUCCEEDED_getInstancet85z5zscc030 as CustomerLedgerRefreshStatus_SUCCEEDED_getInstance,
|
|
8
|
+
CustomerLedgerRefreshStatus_FAILED_getInstancekjn1x8evdbf8 as CustomerLedgerRefreshStatus_FAILED_getInstance,
|
|
9
|
+
CustomerLedgerRefreshStatus_PAUSED_getInstance1cpw5o5hkm7se as CustomerLedgerRefreshStatus_PAUSED_getInstance,
|
|
10
|
+
Companion1865b4vwqxyw8 as Companion,
|
|
11
|
+
Companion_getInstance1ly1vqyw8w6f2 as Companion_getInstance,
|
|
12
|
+
} from './CustomerLedgerRefreshStatus.mjs';
|
|
13
|
+
import { defineProp3ur6h3slcvq4x as defineProp } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/coreRuntime.mjs';
|
|
14
|
+
import { VOID3gxj6tk5isa35 as VOID } from '../../../../../../../../kotlin-kotlin-stdlib/kotlin/js/void.mjs';
|
|
15
|
+
import { __soliboWrapAccessor, __soliboWrapMethod } from '../../../../../../../../solibo-boundary.mjs';
|
|
16
|
+
//region block: imports
|
|
17
|
+
//endregion
|
|
18
|
+
//region block: pre-declaration
|
|
19
|
+
//endregion
|
|
20
|
+
//region block: exports
|
|
21
|
+
var CustomerLedgerRefreshStatus_0 = CustomerLedgerRefreshStatus();
|
|
22
|
+
CustomerLedgerRefreshStatus_0.values = values;
|
|
23
|
+
CustomerLedgerRefreshStatus_0.valueOf = valueOf;
|
|
24
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'IDLE', CustomerLedgerRefreshStatus_IDLE_getInstance, VOID, true);
|
|
25
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'UPDATING', CustomerLedgerRefreshStatus_UPDATING_getInstance, VOID, true);
|
|
26
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'SUCCEEDED', CustomerLedgerRefreshStatus_SUCCEEDED_getInstance, VOID, true);
|
|
27
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'FAILED', CustomerLedgerRefreshStatus_FAILED_getInstance, VOID, true);
|
|
28
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'PAUSED', CustomerLedgerRefreshStatus_PAUSED_getInstance, VOID, true);
|
|
29
|
+
defineProp(CustomerLedgerRefreshStatus_0, 'Companion', Companion_getInstance, VOID, true);
|
|
30
|
+
/* Enum aliases for CustomerLedgerRefreshStatus */
|
|
31
|
+
Object.defineProperties(CustomerLedgerRefreshStatus_0, {
|
|
32
|
+
"Idle": { get() { return CustomerLedgerRefreshStatus_0.IDLE; }, enumerable: true, configurable: true },
|
|
33
|
+
"Updating": { get() { return CustomerLedgerRefreshStatus_0.UPDATING; }, enumerable: true, configurable: true },
|
|
34
|
+
"Succeeded": { get() { return CustomerLedgerRefreshStatus_0.SUCCEEDED; }, enumerable: true, configurable: true },
|
|
35
|
+
"Failed": { get() { return CustomerLedgerRefreshStatus_0.FAILED; }, enumerable: true, configurable: true },
|
|
36
|
+
"Paused": { get() { return CustomerLedgerRefreshStatus_0.PAUSED; }, enumerable: true, configurable: true }
|
|
37
|
+
});
|
|
38
|
+
/* Solibo boundary patches */
|
|
39
|
+
__soliboWrapMethod(CustomerLedgerRefreshStatus_0, "values", {"isStatic":true});
|
|
40
|
+
__soliboWrapMethod(CustomerLedgerRefreshStatus_0, "valueOf", {"isStatic":true});
|
|
41
|
+
export {
|
|
42
|
+
CustomerLedgerRefreshStatus_0 as CustomerLedgerRefreshStatus,
|
|
43
|
+
};
|
|
44
|
+
//endregion
|
|
45
|
+
|