@solibo/solibo-sdk 1.12.2 → 1.13.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/KmLogging-logging.mjs +98 -98
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/client.d.mts +55 -0
- package/client.mjs +400 -0
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/hash-library-md.mjs +30 -30
- package/kotlin-kotlin-stdlib.mjs +18 -11
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +8 -8
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +53405 -49657
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +525 -0
- package/solibo-sdk-sdk.mjs +9031 -5511
- package/solibo-sdk-sdk.mjs.map +1 -1
package/client.mjs
CHANGED
|
@@ -14108,6 +14108,229 @@ const DESCRIPTORS = {
|
|
|
14108
14108
|
"bodyType": "UpdateServiceCategoriesCommand"
|
|
14109
14109
|
}
|
|
14110
14110
|
},
|
|
14111
|
+
"accounting": {
|
|
14112
|
+
"getAccountingOverview": {
|
|
14113
|
+
"args": [
|
|
14114
|
+
{
|
|
14115
|
+
"name": "companyId",
|
|
14116
|
+
"type": "bigint"
|
|
14117
|
+
},
|
|
14118
|
+
{
|
|
14119
|
+
"name": "periodStart",
|
|
14120
|
+
"type": "string"
|
|
14121
|
+
},
|
|
14122
|
+
{
|
|
14123
|
+
"name": "periodEnd",
|
|
14124
|
+
"type": "string"
|
|
14125
|
+
},
|
|
14126
|
+
{
|
|
14127
|
+
"name": "fields",
|
|
14128
|
+
"type": "string | null | undefined"
|
|
14129
|
+
}
|
|
14130
|
+
],
|
|
14131
|
+
"body": null,
|
|
14132
|
+
"bodyType": null,
|
|
14133
|
+
"requiredProjectionFields": [
|
|
14134
|
+
"company",
|
|
14135
|
+
"dimensions",
|
|
14136
|
+
"liquidity",
|
|
14137
|
+
"periodEnd",
|
|
14138
|
+
"periodStart",
|
|
14139
|
+
"totals"
|
|
14140
|
+
]
|
|
14141
|
+
},
|
|
14142
|
+
"getAccountingPortfolioOverview": {
|
|
14143
|
+
"args": [
|
|
14144
|
+
{
|
|
14145
|
+
"name": "periodStart",
|
|
14146
|
+
"type": "string"
|
|
14147
|
+
},
|
|
14148
|
+
{
|
|
14149
|
+
"name": "periodEnd",
|
|
14150
|
+
"type": "string"
|
|
14151
|
+
},
|
|
14152
|
+
{
|
|
14153
|
+
"name": "companyIds",
|
|
14154
|
+
"type": "bigint[] | null | undefined"
|
|
14155
|
+
},
|
|
14156
|
+
{
|
|
14157
|
+
"name": "count",
|
|
14158
|
+
"type": "number | null | undefined"
|
|
14159
|
+
},
|
|
14160
|
+
{
|
|
14161
|
+
"name": "pageToken",
|
|
14162
|
+
"type": "string | null | undefined"
|
|
14163
|
+
},
|
|
14164
|
+
{
|
|
14165
|
+
"name": "fields",
|
|
14166
|
+
"type": "string | null | undefined"
|
|
14167
|
+
}
|
|
14168
|
+
],
|
|
14169
|
+
"body": null,
|
|
14170
|
+
"bodyType": null,
|
|
14171
|
+
"requiredProjectionFields": [
|
|
14172
|
+
"company",
|
|
14173
|
+
"dimensions",
|
|
14174
|
+
"liquidity",
|
|
14175
|
+
"periodEnd",
|
|
14176
|
+
"periodStart",
|
|
14177
|
+
"totals"
|
|
14178
|
+
]
|
|
14179
|
+
},
|
|
14180
|
+
"getAccountingProject": {
|
|
14181
|
+
"args": [
|
|
14182
|
+
{
|
|
14183
|
+
"name": "companyId",
|
|
14184
|
+
"type": "bigint"
|
|
14185
|
+
},
|
|
14186
|
+
{
|
|
14187
|
+
"name": "projectId",
|
|
14188
|
+
"type": "bigint"
|
|
14189
|
+
},
|
|
14190
|
+
{
|
|
14191
|
+
"name": "periodStart",
|
|
14192
|
+
"type": "string"
|
|
14193
|
+
},
|
|
14194
|
+
{
|
|
14195
|
+
"name": "periodEnd",
|
|
14196
|
+
"type": "string"
|
|
14197
|
+
},
|
|
14198
|
+
{
|
|
14199
|
+
"name": "fields",
|
|
14200
|
+
"type": "string | null | undefined"
|
|
14201
|
+
}
|
|
14202
|
+
],
|
|
14203
|
+
"body": null,
|
|
14204
|
+
"bodyType": null,
|
|
14205
|
+
"requiredProjectionFields": [
|
|
14206
|
+
"company",
|
|
14207
|
+
"periodEnd",
|
|
14208
|
+
"periodStart",
|
|
14209
|
+
"projectId",
|
|
14210
|
+
"totals"
|
|
14211
|
+
]
|
|
14212
|
+
},
|
|
14213
|
+
"listCompanyAccountingEntries": {
|
|
14214
|
+
"args": [
|
|
14215
|
+
{
|
|
14216
|
+
"name": "companyId",
|
|
14217
|
+
"type": "bigint"
|
|
14218
|
+
},
|
|
14219
|
+
{
|
|
14220
|
+
"name": "periodStart",
|
|
14221
|
+
"type": "string"
|
|
14222
|
+
},
|
|
14223
|
+
{
|
|
14224
|
+
"name": "periodEnd",
|
|
14225
|
+
"type": "string"
|
|
14226
|
+
},
|
|
14227
|
+
{
|
|
14228
|
+
"name": "accountNumbers",
|
|
14229
|
+
"type": "number[] | null | undefined"
|
|
14230
|
+
},
|
|
14231
|
+
{
|
|
14232
|
+
"name": "projectIds",
|
|
14233
|
+
"type": "bigint[] | null | undefined"
|
|
14234
|
+
},
|
|
14235
|
+
{
|
|
14236
|
+
"name": "departmentIds",
|
|
14237
|
+
"type": "bigint[] | null | undefined"
|
|
14238
|
+
},
|
|
14239
|
+
{
|
|
14240
|
+
"name": "supplierIds",
|
|
14241
|
+
"type": "bigint[] | null | undefined"
|
|
14242
|
+
},
|
|
14243
|
+
{
|
|
14244
|
+
"name": "search",
|
|
14245
|
+
"type": "string | null | undefined"
|
|
14246
|
+
},
|
|
14247
|
+
{
|
|
14248
|
+
"name": "count",
|
|
14249
|
+
"type": "number | null | undefined"
|
|
14250
|
+
},
|
|
14251
|
+
{
|
|
14252
|
+
"name": "pageToken",
|
|
14253
|
+
"type": "string | null | undefined"
|
|
14254
|
+
},
|
|
14255
|
+
{
|
|
14256
|
+
"name": "fields",
|
|
14257
|
+
"type": "string | null | undefined"
|
|
14258
|
+
}
|
|
14259
|
+
],
|
|
14260
|
+
"body": null,
|
|
14261
|
+
"bodyType": null,
|
|
14262
|
+
"requiredProjectionFields": [
|
|
14263
|
+
"accountNumber",
|
|
14264
|
+
"amount",
|
|
14265
|
+
"companyId",
|
|
14266
|
+
"companyName",
|
|
14267
|
+
"currency",
|
|
14268
|
+
"id",
|
|
14269
|
+
"postingDate",
|
|
14270
|
+
"revision"
|
|
14271
|
+
]
|
|
14272
|
+
},
|
|
14273
|
+
"listAccountingEntries": {
|
|
14274
|
+
"args": [
|
|
14275
|
+
{
|
|
14276
|
+
"name": "periodStart",
|
|
14277
|
+
"type": "string"
|
|
14278
|
+
},
|
|
14279
|
+
{
|
|
14280
|
+
"name": "periodEnd",
|
|
14281
|
+
"type": "string"
|
|
14282
|
+
},
|
|
14283
|
+
{
|
|
14284
|
+
"name": "companyIds",
|
|
14285
|
+
"type": "bigint[] | null | undefined"
|
|
14286
|
+
},
|
|
14287
|
+
{
|
|
14288
|
+
"name": "accountNumbers",
|
|
14289
|
+
"type": "number[] | null | undefined"
|
|
14290
|
+
},
|
|
14291
|
+
{
|
|
14292
|
+
"name": "projectIds",
|
|
14293
|
+
"type": "bigint[] | null | undefined"
|
|
14294
|
+
},
|
|
14295
|
+
{
|
|
14296
|
+
"name": "departmentIds",
|
|
14297
|
+
"type": "bigint[] | null | undefined"
|
|
14298
|
+
},
|
|
14299
|
+
{
|
|
14300
|
+
"name": "supplierIds",
|
|
14301
|
+
"type": "bigint[] | null | undefined"
|
|
14302
|
+
},
|
|
14303
|
+
{
|
|
14304
|
+
"name": "search",
|
|
14305
|
+
"type": "string | null | undefined"
|
|
14306
|
+
},
|
|
14307
|
+
{
|
|
14308
|
+
"name": "count",
|
|
14309
|
+
"type": "number | null | undefined"
|
|
14310
|
+
},
|
|
14311
|
+
{
|
|
14312
|
+
"name": "pageToken",
|
|
14313
|
+
"type": "string | null | undefined"
|
|
14314
|
+
},
|
|
14315
|
+
{
|
|
14316
|
+
"name": "fields",
|
|
14317
|
+
"type": "string | null | undefined"
|
|
14318
|
+
}
|
|
14319
|
+
],
|
|
14320
|
+
"body": null,
|
|
14321
|
+
"bodyType": null,
|
|
14322
|
+
"requiredProjectionFields": [
|
|
14323
|
+
"accountNumber",
|
|
14324
|
+
"amount",
|
|
14325
|
+
"companyId",
|
|
14326
|
+
"companyName",
|
|
14327
|
+
"currency",
|
|
14328
|
+
"id",
|
|
14329
|
+
"postingDate",
|
|
14330
|
+
"revision"
|
|
14331
|
+
]
|
|
14332
|
+
}
|
|
14333
|
+
},
|
|
14111
14334
|
"marketing": {
|
|
14112
14335
|
"contactOkonomi": {
|
|
14113
14336
|
"args": [
|
|
@@ -15518,6 +15741,92 @@ const PROPS = {
|
|
|
15518
15741
|
"taxBalance": "number | null | undefined",
|
|
15519
15742
|
"taxBalanceAt": "SoliboInstant /* Instant */ | null | undefined"
|
|
15520
15743
|
},
|
|
15744
|
+
"AccountingDimensionProps": {
|
|
15745
|
+
"budgetAvailable": "boolean | null | undefined",
|
|
15746
|
+
"budgetStatus": "string",
|
|
15747
|
+
"dimension": "string",
|
|
15748
|
+
"id": "bigint",
|
|
15749
|
+
"name": "string | null | undefined",
|
|
15750
|
+
"totals": "AccountingTotalsProps[]"
|
|
15751
|
+
},
|
|
15752
|
+
"AccountingEntriesProps": {
|
|
15753
|
+
"companies": "AccountingMetadataProps[]",
|
|
15754
|
+
"items": "AccountingEntryProps[]",
|
|
15755
|
+
"meta": "MetaProps",
|
|
15756
|
+
"paging": "PagingProps"
|
|
15757
|
+
},
|
|
15758
|
+
"AccountingEntryProps": {
|
|
15759
|
+
"accountName": "string | null | undefined",
|
|
15760
|
+
"accountNumber": "bigint",
|
|
15761
|
+
"amount": "string",
|
|
15762
|
+
"companyId": "bigint",
|
|
15763
|
+
"companyName": "string",
|
|
15764
|
+
"currency": "string",
|
|
15765
|
+
"departmentId": "bigint | null | undefined",
|
|
15766
|
+
"departmentName": "string | null | undefined",
|
|
15767
|
+
"id": "bigint",
|
|
15768
|
+
"postingDate": "string",
|
|
15769
|
+
"projectId": "bigint | null | undefined",
|
|
15770
|
+
"projectName": "string | null | undefined",
|
|
15771
|
+
"revision": "bigint",
|
|
15772
|
+
"supplierId": "bigint | null | undefined",
|
|
15773
|
+
"supplierName": "string | null | undefined",
|
|
15774
|
+
"voucherId": "bigint | null | undefined"
|
|
15775
|
+
},
|
|
15776
|
+
"AccountingLiquidityProps": {
|
|
15777
|
+
"accountingCashBalance": "string | null | undefined",
|
|
15778
|
+
"cashBalanceDate": "string | null | undefined",
|
|
15779
|
+
"cashBalanceStatus": "string | null | undefined",
|
|
15780
|
+
"currency": "string",
|
|
15781
|
+
"dataAsOf": "string",
|
|
15782
|
+
"netAccountingLiquidity": "string | null | undefined",
|
|
15783
|
+
"openPayables": "string",
|
|
15784
|
+
"openReceivables": "string"
|
|
15785
|
+
},
|
|
15786
|
+
"AccountingMetadataProps": {
|
|
15787
|
+
"budgetAvailable": "boolean | null | undefined",
|
|
15788
|
+
"budgetStatus": "string",
|
|
15789
|
+
"companyId": "bigint",
|
|
15790
|
+
"companyName": "string",
|
|
15791
|
+
"complete": "boolean | null | undefined",
|
|
15792
|
+
"coverageFrom": "string | null | undefined",
|
|
15793
|
+
"coverageTo": "string | null | undefined",
|
|
15794
|
+
"dataAsOf": "string | null | undefined",
|
|
15795
|
+
"dataStatus": "string",
|
|
15796
|
+
"revision": "bigint | null | undefined"
|
|
15797
|
+
},
|
|
15798
|
+
"AccountingOverviewProps": {
|
|
15799
|
+
"company": "AccountingMetadataProps",
|
|
15800
|
+
"dimensions": "AccountingDimensionProps[]",
|
|
15801
|
+
"liquidity": "AccountingLiquidityProps[]",
|
|
15802
|
+
"periodEnd": "string",
|
|
15803
|
+
"periodStart": "string",
|
|
15804
|
+
"totals": "AccountingTotalsProps[]"
|
|
15805
|
+
},
|
|
15806
|
+
"AccountingPortfolioProps": {
|
|
15807
|
+
"items": "AccountingOverviewProps[]",
|
|
15808
|
+
"meta": "MetaProps",
|
|
15809
|
+
"paging": "PagingProps"
|
|
15810
|
+
},
|
|
15811
|
+
"AccountingProjectProps": {
|
|
15812
|
+
"company": "AccountingMetadataProps",
|
|
15813
|
+
"periodEnd": "string",
|
|
15814
|
+
"periodStart": "string",
|
|
15815
|
+
"projectId": "bigint",
|
|
15816
|
+
"projectName": "string | null | undefined",
|
|
15817
|
+
"totals": "AccountingTotalsProps[]"
|
|
15818
|
+
},
|
|
15819
|
+
"AccountingTotalsProps": {
|
|
15820
|
+
"actualExpenses": "string",
|
|
15821
|
+
"actualIncome": "string",
|
|
15822
|
+
"actualNet": "string",
|
|
15823
|
+
"budgetExpenses": "string | null | undefined",
|
|
15824
|
+
"budgetIncome": "string | null | undefined",
|
|
15825
|
+
"budgetNet": "string | null | undefined",
|
|
15826
|
+
"currency": "string",
|
|
15827
|
+
"expenseVariance": "string | null | undefined",
|
|
15828
|
+
"netVariance": "string | null | undefined"
|
|
15829
|
+
},
|
|
15521
15830
|
"ActivateCompanyForTriplewinCommandProps": {
|
|
15522
15831
|
"mode": "InvoicePlanMode | null | undefined"
|
|
15523
15832
|
},
|
|
@@ -20967,6 +21276,11 @@ const PROPS = {
|
|
|
20967
21276
|
"api": "HomeApi",
|
|
20968
21277
|
"auth": "AuthProps"
|
|
20969
21278
|
},
|
|
21279
|
+
"AccountingQueryClientProps": {
|
|
21280
|
+
"baseUrl": "string",
|
|
21281
|
+
"httpClientEngine": "any | null | undefined/* HttpClientEngine | null | undefined */",
|
|
21282
|
+
"httpClientConfig": "(p0: any/* HttpClientConfig<UnknownType *> */) => void | null | undefined"
|
|
21283
|
+
},
|
|
20970
21284
|
"UploadDocumentRequestProps": {
|
|
20971
21285
|
"companyId": "bigint",
|
|
20972
21286
|
"documentType": "DocumentType",
|
|
@@ -21079,6 +21393,92 @@ const PROPS = {
|
|
|
21079
21393
|
"contentType": "string | null | undefined",
|
|
21080
21394
|
"fileName": "string | null | undefined"
|
|
21081
21395
|
},
|
|
21396
|
+
"AccountingTotalsResultProps": {
|
|
21397
|
+
"currency": "string",
|
|
21398
|
+
"actualIncome": "string",
|
|
21399
|
+
"actualExpenses": "string",
|
|
21400
|
+
"actualNet": "string",
|
|
21401
|
+
"budgetIncome": "string | null | undefined",
|
|
21402
|
+
"budgetExpenses": "string | null | undefined",
|
|
21403
|
+
"budgetNet": "string | null | undefined",
|
|
21404
|
+
"expenseVariance": "string | null | undefined",
|
|
21405
|
+
"netVariance": "string | null | undefined"
|
|
21406
|
+
},
|
|
21407
|
+
"AccountingMetadataResultProps": {
|
|
21408
|
+
"companyId": "bigint",
|
|
21409
|
+
"companyName": "string",
|
|
21410
|
+
"revision": "bigint | null | undefined",
|
|
21411
|
+
"dataAsOf": "string | null | undefined",
|
|
21412
|
+
"coverageFrom": "string | null | undefined",
|
|
21413
|
+
"coverageTo": "string | null | undefined",
|
|
21414
|
+
"complete": "boolean | undefined",
|
|
21415
|
+
"dataStatus": "string",
|
|
21416
|
+
"budgetAvailable": "boolean | undefined",
|
|
21417
|
+
"budgetStatus": "string"
|
|
21418
|
+
},
|
|
21419
|
+
"AccountingLiquidityResultProps": {
|
|
21420
|
+
"currency": "string",
|
|
21421
|
+
"dataAsOf": "string",
|
|
21422
|
+
"accountingCashBalance": "string | null | undefined",
|
|
21423
|
+
"cashBalanceStatus": "string | undefined",
|
|
21424
|
+
"openReceivables": "string",
|
|
21425
|
+
"openPayables": "string",
|
|
21426
|
+
"netAccountingLiquidity": "string | null | undefined",
|
|
21427
|
+
"cashBalanceDate": "string | null | undefined"
|
|
21428
|
+
},
|
|
21429
|
+
"AccountingDimensionResultProps": {
|
|
21430
|
+
"dimension": "string",
|
|
21431
|
+
"id": "bigint",
|
|
21432
|
+
"name": "string | null | undefined",
|
|
21433
|
+
"totals": "AccountingTotalsResultProps[]",
|
|
21434
|
+
"budgetAvailable": "boolean | undefined",
|
|
21435
|
+
"budgetStatus": "string"
|
|
21436
|
+
},
|
|
21437
|
+
"AccountingOverviewResultProps": {
|
|
21438
|
+
"company": "AccountingMetadataResultProps",
|
|
21439
|
+
"periodStart": "string",
|
|
21440
|
+
"periodEnd": "string",
|
|
21441
|
+
"totals": "AccountingTotalsResultProps[]",
|
|
21442
|
+
"dimensions": "AccountingDimensionResultProps[]",
|
|
21443
|
+
"liquidity": "AccountingLiquidityResultProps[]"
|
|
21444
|
+
},
|
|
21445
|
+
"AccountingPortfolioResultProps": {
|
|
21446
|
+
"items": "AccountingOverviewResultProps[]",
|
|
21447
|
+
"paging": "PagingProps",
|
|
21448
|
+
"meta": "MetaProps"
|
|
21449
|
+
},
|
|
21450
|
+
"AccountingProjectResultProps": {
|
|
21451
|
+
"company": "AccountingMetadataResultProps",
|
|
21452
|
+
"periodStart": "string",
|
|
21453
|
+
"periodEnd": "string",
|
|
21454
|
+
"projectId": "bigint",
|
|
21455
|
+
"projectName": "string | null | undefined",
|
|
21456
|
+
"totals": "AccountingTotalsResultProps[]"
|
|
21457
|
+
},
|
|
21458
|
+
"AccountingEntryResultProps": {
|
|
21459
|
+
"companyId": "bigint",
|
|
21460
|
+
"companyName": "string",
|
|
21461
|
+
"revision": "bigint",
|
|
21462
|
+
"id": "bigint",
|
|
21463
|
+
"postingDate": "string",
|
|
21464
|
+
"accountNumber": "number",
|
|
21465
|
+
"accountName": "string | null | undefined",
|
|
21466
|
+
"amount": "string",
|
|
21467
|
+
"currency": "string",
|
|
21468
|
+
"voucherId": "bigint | null | undefined",
|
|
21469
|
+
"projectId": "bigint | null | undefined",
|
|
21470
|
+
"projectName": "string | null | undefined",
|
|
21471
|
+
"departmentId": "bigint | null | undefined",
|
|
21472
|
+
"departmentName": "string | null | undefined",
|
|
21473
|
+
"supplierId": "bigint | null | undefined",
|
|
21474
|
+
"supplierName": "string | null | undefined"
|
|
21475
|
+
},
|
|
21476
|
+
"AccountingEntriesResultProps": {
|
|
21477
|
+
"items": "AccountingEntryResultProps[]",
|
|
21478
|
+
"companies": "AccountingMetadataResultProps[]",
|
|
21479
|
+
"paging": "PagingProps",
|
|
21480
|
+
"meta": "MetaProps"
|
|
21481
|
+
},
|
|
21082
21482
|
"CredentialsProps": {
|
|
21083
21483
|
"login": "string",
|
|
21084
21484
|
"pwd": "string"
|
package/core-library-digest.mjs
CHANGED
|
@@ -73,26 +73,26 @@ function Digest_init_$Init$(algorithm, blockSize, digestLength, $this) {
|
|
|
73
73
|
var message_2 = 'digestLength cannot be negative';
|
|
74
74
|
throw InvalidParameterException_init_$Create$(toString(message_2));
|
|
75
75
|
}
|
|
76
|
-
tmp.
|
|
77
|
-
$this.
|
|
78
|
-
$this.
|
|
79
|
-
$this.
|
|
76
|
+
tmp.yyb_1 = _Buffer___init__impl__mrnqm7(new Int8Array(blockSize));
|
|
77
|
+
$this.wyb_1 = algorithm;
|
|
78
|
+
$this.xyb_1 = digestLength;
|
|
79
|
+
$this.zyb_1 = 0;
|
|
80
80
|
return $this;
|
|
81
81
|
}
|
|
82
|
-
protoOf(Digest).
|
|
83
|
-
return this.
|
|
82
|
+
protoOf(Digest).ayc = function () {
|
|
83
|
+
return this.xyb_1;
|
|
84
84
|
};
|
|
85
|
-
protoOf(Digest).
|
|
86
|
-
return this.
|
|
85
|
+
protoOf(Digest).byc = function () {
|
|
86
|
+
return this.wyb_1;
|
|
87
87
|
};
|
|
88
|
-
protoOf(Digest).
|
|
89
|
-
this.
|
|
88
|
+
protoOf(Digest).cyc = function (input) {
|
|
89
|
+
this.dyc(input, 0, input.length);
|
|
90
90
|
};
|
|
91
|
-
protoOf(Digest).
|
|
92
|
-
var tmp0 = this.
|
|
93
|
-
var tmp2 = this.
|
|
91
|
+
protoOf(Digest).eyc = function (dest, destOffset) {
|
|
92
|
+
var tmp0 = this.yyb_1;
|
|
93
|
+
var tmp2 = this.zyb_1;
|
|
94
94
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonDigestInto' call
|
|
95
|
-
var digestLength = this.
|
|
95
|
+
var digestLength = this.xyb_1;
|
|
96
96
|
// Inline function 'kotlin.contracts.contract' call
|
|
97
97
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonCheckArgs' call
|
|
98
98
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -114,16 +114,16 @@ protoOf(Digest).ny2 = function (dest, destOffset) {
|
|
|
114
114
|
}
|
|
115
115
|
fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0, tmp2);
|
|
116
116
|
var p2 = _Buffer___get_value__impl__xxr8tn(tmp0);
|
|
117
|
-
this.
|
|
117
|
+
this.fyc(dest, destOffset, p2, tmp2);
|
|
118
118
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonReset' call
|
|
119
119
|
// Inline function 'kotlin.contracts.contract' call
|
|
120
120
|
fill(_Buffer___get_value__impl__xxr8tn(tmp0), 0);
|
|
121
|
-
this.
|
|
122
|
-
this.
|
|
121
|
+
this.zyb_1 = 0;
|
|
122
|
+
this.gyc();
|
|
123
123
|
return digestLength;
|
|
124
124
|
};
|
|
125
|
-
protoOf(Digest).
|
|
126
|
-
var result = this.
|
|
125
|
+
protoOf(Digest).fyc = function (dest, destOffset, buf, bufPos) {
|
|
126
|
+
var result = this.iyc(buf, bufPos);
|
|
127
127
|
// Inline function 'kotlin.collections.copyInto' call
|
|
128
128
|
var endIndex = result.length;
|
|
129
129
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
@@ -134,9 +134,9 @@ protoOf(Digest).oy2 = function (dest, destOffset, buf, bufPos) {
|
|
|
134
134
|
arrayCopy(tmp, dest, destOffset, 0, endIndex);
|
|
135
135
|
fill(result, 0);
|
|
136
136
|
};
|
|
137
|
-
protoOf(Digest).
|
|
138
|
-
var tmp0 = this.
|
|
139
|
-
var tmp8 = this.
|
|
137
|
+
protoOf(Digest).dyc = function (input, offset, len) {
|
|
138
|
+
var tmp0 = this.yyb_1;
|
|
139
|
+
var tmp8 = this.zyb_1;
|
|
140
140
|
$l$block: {
|
|
141
141
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonUpdate' call
|
|
142
142
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -156,7 +156,7 @@ protoOf(Digest).my2 = function (input, offset, len) {
|
|
|
156
156
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
157
157
|
// Inline function 'kotlin.js.asDynamic' call
|
|
158
158
|
arrayCopy(tmp, buf, tmp4, startIndex, limitInput);
|
|
159
|
-
this.
|
|
159
|
+
this.zyb_1 = posBuf + len | 0;
|
|
160
160
|
break $l$block;
|
|
161
161
|
}
|
|
162
162
|
var needed = blockSize - posBuf | 0;
|
|
@@ -170,7 +170,7 @@ protoOf(Digest).my2 = function (input, offset, len) {
|
|
|
170
170
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
171
171
|
// Inline function 'kotlin.js.asDynamic' call
|
|
172
172
|
arrayCopy(tmp_0, buf, tmp4_0, tmp6, endIndex);
|
|
173
|
-
this.
|
|
173
|
+
this.hyc(buf, 0);
|
|
174
174
|
posBuf = 0;
|
|
175
175
|
posInput = posInput + needed | 0;
|
|
176
176
|
}
|
|
@@ -189,27 +189,27 @@ protoOf(Digest).my2 = function (input, offset, len) {
|
|
|
189
189
|
break $l$loop;
|
|
190
190
|
}
|
|
191
191
|
var p1 = posInput;
|
|
192
|
-
this.
|
|
192
|
+
this.hyc(input, p1);
|
|
193
193
|
posInput = posNext;
|
|
194
194
|
}
|
|
195
|
-
this.
|
|
195
|
+
this.zyb_1 = posBuf;
|
|
196
196
|
}
|
|
197
197
|
};
|
|
198
198
|
protoOf(Digest).equals = function (other) {
|
|
199
199
|
var tmp;
|
|
200
200
|
if (other instanceof Digest) {
|
|
201
|
-
tmp = equals(other.
|
|
201
|
+
tmp = equals(other.yyb_1, this.yyb_1);
|
|
202
202
|
} else {
|
|
203
203
|
tmp = false;
|
|
204
204
|
}
|
|
205
205
|
return tmp;
|
|
206
206
|
};
|
|
207
207
|
protoOf(Digest).hashCode = function () {
|
|
208
|
-
return Buffer__hashCode_impl_3ylui6(this.
|
|
208
|
+
return Buffer__hashCode_impl_3ylui6(this.yyb_1);
|
|
209
209
|
};
|
|
210
210
|
protoOf(Digest).toString = function () {
|
|
211
211
|
// Inline function 'org.kotlincrypto.core.digest.internal.commonToString' call
|
|
212
|
-
return 'Digest[' + this.
|
|
212
|
+
return 'Digest[' + this.byc() + ']@' + this.hashCode();
|
|
213
213
|
};
|
|
214
214
|
function Digest() {
|
|
215
215
|
}
|
|
@@ -36,16 +36,16 @@ initMetadataForClass(BigInt_0, 'BigInt', VOID, Number_0, [Comparable], VOID, VOI
|
|
|
36
36
|
//endregion
|
|
37
37
|
function BigIntAsStringSerializer() {
|
|
38
38
|
BigIntAsStringSerializer_instance = this;
|
|
39
|
-
this.
|
|
39
|
+
this.jy2_1 = PrimitiveSerialDescriptor('BigInt', STRING_getInstance());
|
|
40
40
|
}
|
|
41
41
|
protoOf(BigIntAsStringSerializer).bt = function () {
|
|
42
|
-
return this.
|
|
42
|
+
return this.jy2_1;
|
|
43
43
|
};
|
|
44
|
-
protoOf(BigIntAsStringSerializer).
|
|
44
|
+
protoOf(BigIntAsStringSerializer).ky2 = function (encoder, value) {
|
|
45
45
|
encoder.ux(value.toString());
|
|
46
46
|
};
|
|
47
47
|
protoOf(BigIntAsStringSerializer).ot = function (encoder, value) {
|
|
48
|
-
return this.
|
|
48
|
+
return this.ky2(encoder, value instanceof BigInt_0 ? value : THROW_CCE());
|
|
49
49
|
};
|
|
50
50
|
protoOf(BigIntAsStringSerializer).pt = function (decoder) {
|
|
51
51
|
return toBigInt_3(decoder.mw());
|
|
@@ -57,8 +57,8 @@ function BigIntAsStringSerializer_getInstance() {
|
|
|
57
57
|
return BigIntAsStringSerializer_instance;
|
|
58
58
|
}
|
|
59
59
|
function encodeToByteArray(_this__u8e3s4) {
|
|
60
|
-
var positive = _this__u8e3s4.
|
|
61
|
-
var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.
|
|
60
|
+
var positive = _this__u8e3s4.my2(0) >= 0;
|
|
61
|
+
var bytes = positive ? encodeToByteArray$decodeFromHex(_this__u8e3s4.ly2_1.toString(16)) : invertTwoComplement(encodeToByteArray$decodeFromHex(jsBigIntNegate(_this__u8e3s4.ly2_1).toString(16)));
|
|
62
62
|
var firstBytePositive = bytes[0] >= 0;
|
|
63
63
|
if (positive === firstBytePositive)
|
|
64
64
|
return bytes;
|
|
@@ -77,7 +77,7 @@ function encodeToByteArray(_this__u8e3s4) {
|
|
|
77
77
|
}
|
|
78
78
|
function Companion() {
|
|
79
79
|
Companion_instance = this;
|
|
80
|
-
this.
|
|
80
|
+
this.ny2_1 = new BigInt_0(BigInt(0));
|
|
81
81
|
}
|
|
82
82
|
protoOf(Companion).m6i = function () {
|
|
83
83
|
return BigIntAsStringSerializer_getInstance();
|
|
@@ -91,39 +91,39 @@ function Companion_getInstance() {
|
|
|
91
91
|
function BigInt_0(jsBigInt) {
|
|
92
92
|
Companion_getInstance();
|
|
93
93
|
Number_0.call(this);
|
|
94
|
-
this.
|
|
94
|
+
this.ly2_1 = jsBigInt;
|
|
95
95
|
}
|
|
96
|
-
protoOf(BigInt_0).
|
|
97
|
-
return this.
|
|
96
|
+
protoOf(BigInt_0).my2 = function (other) {
|
|
97
|
+
return this.oy2(toBigInt(other));
|
|
98
98
|
};
|
|
99
|
-
protoOf(BigInt_0).
|
|
100
|
-
return jsBigIntCompareTo(this.
|
|
99
|
+
protoOf(BigInt_0).oy2 = function (other) {
|
|
100
|
+
return jsBigIntCompareTo(this.ly2_1, other.ly2_1);
|
|
101
101
|
};
|
|
102
102
|
protoOf(BigInt_0).d = function (other) {
|
|
103
|
-
return this.
|
|
103
|
+
return this.oy2(other instanceof BigInt_0 ? other : THROW_CCE());
|
|
104
104
|
};
|
|
105
|
-
protoOf(BigInt_0).
|
|
106
|
-
return toByte(jsBigIntAsInt(this.
|
|
105
|
+
protoOf(BigInt_0).py2 = function () {
|
|
106
|
+
return toByte(jsBigIntAsInt(this.ly2_1, 8).toString());
|
|
107
107
|
};
|
|
108
|
-
protoOf(BigInt_0).
|
|
109
|
-
return toShort(jsBigIntAsInt(this.
|
|
108
|
+
protoOf(BigInt_0).qy2 = function () {
|
|
109
|
+
return toShort(jsBigIntAsInt(this.ly2_1, 16).toString());
|
|
110
110
|
};
|
|
111
|
-
protoOf(BigInt_0).
|
|
112
|
-
return toInt(jsBigIntAsInt(this.
|
|
111
|
+
protoOf(BigInt_0).ry2 = function () {
|
|
112
|
+
return toInt(jsBigIntAsInt(this.ly2_1, 32).toString());
|
|
113
113
|
};
|
|
114
|
-
protoOf(BigInt_0).
|
|
115
|
-
return toLong(jsBigIntAsInt(this.
|
|
114
|
+
protoOf(BigInt_0).sy2 = function () {
|
|
115
|
+
return toLong(jsBigIntAsInt(this.ly2_1, 64).toString());
|
|
116
116
|
};
|
|
117
117
|
protoOf(BigInt_0).toString = function () {
|
|
118
|
-
return this.
|
|
118
|
+
return this.ly2_1.toString();
|
|
119
119
|
};
|
|
120
120
|
protoOf(BigInt_0).hashCode = function () {
|
|
121
|
-
return getStringHashCode(this.
|
|
121
|
+
return getStringHashCode(this.ly2_1.toString(36));
|
|
122
122
|
};
|
|
123
123
|
protoOf(BigInt_0).equals = function (other) {
|
|
124
124
|
if (!(other instanceof BigInt_0))
|
|
125
125
|
return false;
|
|
126
|
-
return jsBigIntEquals(this.
|
|
126
|
+
return jsBigIntEquals(this.ly2_1, other.ly2_1);
|
|
127
127
|
};
|
|
128
128
|
function decodeToBigInt(_this__u8e3s4) {
|
|
129
129
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
@@ -134,7 +134,7 @@ function decodeToBigInt(_this__u8e3s4) {
|
|
|
134
134
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
135
135
|
}
|
|
136
136
|
if (_this__u8e3s4.length === 1 && _this__u8e3s4[0] === 0)
|
|
137
|
-
return Companion_getInstance().
|
|
137
|
+
return Companion_getInstance().ny2_1;
|
|
138
138
|
var positive = _this__u8e3s4[0] >= 0;
|
|
139
139
|
var tmp;
|
|
140
140
|
if (positive) {
|
|
@@ -149,7 +149,7 @@ function decodeToBigInt(_this__u8e3s4) {
|
|
|
149
149
|
return new BigInt_0(jsBigInt);
|
|
150
150
|
}
|
|
151
151
|
function toBigInt(_this__u8e3s4) {
|
|
152
|
-
return _this__u8e3s4 === 0 ? Companion_getInstance().
|
|
152
|
+
return _this__u8e3s4 === 0 ? Companion_getInstance().ny2_1 : new BigInt_0(BigInt(_this__u8e3s4));
|
|
153
153
|
}
|
|
154
154
|
function toBigInt_0(_this__u8e3s4) {
|
|
155
155
|
return toBigInt(_this__u8e3s4);
|
|
@@ -158,7 +158,7 @@ function toBigInt_1(_this__u8e3s4) {
|
|
|
158
158
|
return toBigInt(_this__u8e3s4);
|
|
159
159
|
}
|
|
160
160
|
function toBigInt_2(_this__u8e3s4) {
|
|
161
|
-
return _this__u8e3s4 === 0n ? Companion_getInstance().
|
|
161
|
+
return _this__u8e3s4 === 0n ? Companion_getInstance().ny2_1 : new BigInt_0(BigInt(_this__u8e3s4.toString()));
|
|
162
162
|
}
|
|
163
163
|
function toBigInt_3(_this__u8e3s4) {
|
|
164
164
|
// Inline function 'kotlin.text.isNotBlank' call
|