@solibo/solibo-sdk 1.32.2 → 1.33.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.
@@ -330,7 +330,7 @@ function addFormatStructureForDate(structure) {
330
330
  function addFormatStructureForTime(structure) {
331
331
  this.addFormatStructureForDateTime_noiy5b_k$(structure);
332
332
  }
333
- initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithDate, WithTime]);
333
+ initMetadataForInterface(AbstractWithDateTimeBuilder, 'AbstractWithDateTimeBuilder', VOID, VOID, [AbstractWithDateBuilder, AbstractWithTimeBuilder, WithTime, WithDate]);
334
334
  initMetadataForClass(Builder_0, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder]);
335
335
  initMetadataForClass(LocalDateTimeFormat, 'LocalDateTimeFormat', VOID, AbstractDateTimeFormat);
336
336
  function set_fractionOfSecond(value) {
package/client.d.mts CHANGED
@@ -279,6 +279,14 @@ import type {
279
279
  CustomerDiscriminator,
280
280
  CustomerMetadata,
281
281
  CustomerType,
282
+ DeleteInvoiceRecipientCommand,
283
+ DeleteInvoiceRecipientCommandProps,
284
+ DeleteSectionCommand,
285
+ DeleteSectionCommandProps,
286
+ DeleteStatusCommand,
287
+ DeleteStatusCommandProps,
288
+ DeregisterDeviceCommand,
289
+ DeregisterDeviceCommandProps,
282
290
  DeviceSrpCommand,
283
291
  DeviceSrpCommandProps,
284
292
  DeviceVerifySrpCommand,
@@ -410,6 +418,8 @@ import type {
410
418
  MagicSMSCommand,
411
419
  MagicSMSCommandProps,
412
420
  MassCommunicationGroups,
421
+ MassDeleteFractionsCommand,
422
+ MassDeleteFractionsCommandProps,
413
423
  MassEditOrganizationCommand,
414
424
  MassEditOrganizationCommandProps,
415
425
  MassEditPersonCommand,
@@ -633,6 +643,8 @@ import type {
633
643
  ResolvedEndpoint,
634
644
  RestoreDocumentCommand,
635
645
  RestoreDocumentCommandProps,
646
+ RevokeTokensCommand,
647
+ RevokeTokensCommandProps,
636
648
  RoleType,
637
649
  Routine,
638
650
  RoutineInterval,
@@ -2082,15 +2094,18 @@ export interface SectionApiFacade {
2082
2094
  deleteSection(params: {
2083
2095
  companyId: Id;
2084
2096
  sectionId: Id;
2097
+ input?: DeleteSectionCommand | SdkInput<DeleteSectionCommandProps> | null | undefined;
2085
2098
  }): Promise<SdkResult<void>>;
2086
2099
  deleteSectionStatus(params: {
2087
2100
  companyId: Id;
2088
2101
  sectionId: Id;
2089
2102
  statusType?: SectionState | "CHECKED_IN" | "EXPLOITATION" | "SQUATTER" | "ILLEGAL_USE" | "SUSPICIOUS_ACTIVITY" | "EMPTY" | null | undefined;
2103
+ input?: DeleteStatusCommand | SdkInput<DeleteStatusCommandProps> | null | undefined;
2090
2104
  }): Promise<SdkResult<void>>;
2091
2105
  deleteTagOnSection(params: {
2092
2106
  companyId: Id;
2093
2107
  sectionId: Id;
2108
+ input: SectionTagCommand | SdkInput<SectionTagCommandProps>;
2094
2109
  }): Promise<SdkResult<void>>;
2095
2110
  exportSectionAssets(params: {
2096
2111
  companyId: Id;
@@ -2188,6 +2203,7 @@ export interface SectionApiFacade {
2188
2203
  fractionType?: FractionType | "OWNER" | "SECTION" | "IN_ONE" | "IN_TWO" | "IN_THREE" | "IN_FOUR" | "WEALTH" | null | undefined;
2189
2204
  sectionIds?: ReadonlyArray<Id> | null | undefined;
2190
2205
  validFrom?: Id | null | undefined;
2206
+ input?: MassDeleteFractionsCommand | SdkInput<MassDeleteFractionsCommandProps> | null | undefined;
2191
2207
  }): Promise<SdkResult<void>>;
2192
2208
  massUpdateSection(params: {
2193
2209
  companyId: Id;
@@ -2799,6 +2815,7 @@ export interface InvoicingApiFacade {
2799
2815
  customerType: string;
2800
2816
  customerId: Id;
2801
2817
  sectionIdToDeleteFrom?: Id | null | undefined;
2818
+ input?: DeleteInvoiceRecipientCommand | SdkInput<DeleteInvoiceRecipientCommandProps> | null | undefined;
2802
2819
  }): Promise<SdkResult<void>>;
2803
2820
  deleteInvoiceLineChange(params: {
2804
2821
  companyId: Id;
@@ -3709,7 +3726,9 @@ export interface AuthApiFacade {
3709
3726
  createTokensSrp(params: {
3710
3727
  input: VerifySrpCommand | SdkInput<VerifySrpCommandProps>;
3711
3728
  }): Promise<SdkResult<SoliboAuthentication>>;
3712
- deregisterFCMDeviceForUser(params?: Record<string, never>): Promise<SdkResult<void>>;
3729
+ deregisterFCMDeviceForUser(params: {
3730
+ input: DeregisterDeviceCommand | SdkInput<DeregisterDeviceCommandProps>;
3731
+ }): Promise<SdkResult<void>>;
3713
3732
  getMfaPreference<F extends string | null | undefined = undefined>(params: {
3714
3733
  fields?: F;
3715
3734
  }): Promise<ProjectionResult<F, MfaPreferenceResult>>;
@@ -3743,6 +3762,7 @@ export interface AuthApiFacade {
3743
3762
  deviceKeyGroup?: string | null | undefined;
3744
3763
  userId?: string | null | undefined;
3745
3764
  refreshToken?: string | null | undefined;
3765
+ input?: RevokeTokensCommand | SdkInput<RevokeTokensCommandProps> | null | undefined;
3746
3766
  }): Promise<SdkResult<void>>;
3747
3767
  verifyCreateTOTPMfa(params: {
3748
3768
  input: VerifyAssociateTotpMfaCommand | SdkInput<VerifyAssociateTotpMfaCommandProps>;
@@ -4045,19 +4065,19 @@ export interface StorageApiFacade {
4045
4065
  companyId: Id;
4046
4066
  storageRoomId: Id;
4047
4067
  organizationId: Id;
4048
- input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
4068
+ input?: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps> | null | undefined;
4049
4069
  }): Promise<SdkResult<void>>;
4050
4070
  unAssignStorageRoomToPerson(params: {
4051
4071
  companyId: Id;
4052
4072
  storageRoomId: Id;
4053
4073
  personId: Id;
4054
- input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
4074
+ input?: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps> | null | undefined;
4055
4075
  }): Promise<SdkResult<void>>;
4056
4076
  unAssignStorageRoomToSection(params: {
4057
4077
  companyId: Id;
4058
4078
  storageRoomId: Id;
4059
4079
  sectionId: Id;
4060
- input: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps>;
4080
+ input?: UnassignStorageRoomCommand | SdkInput<UnassignStorageRoomCommandProps> | null | undefined;
4061
4081
  }): Promise<SdkResult<void>>;
4062
4082
  updateStorageRoom(params: {
4063
4083
  companyId: Id;
@@ -4705,19 +4725,19 @@ export interface ParkingApiFacade {
4705
4725
  companyId: Id;
4706
4726
  parkingSpaceId: Id;
4707
4727
  organizationId: Id;
4708
- input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
4728
+ input?: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps> | null | undefined;
4709
4729
  }): Promise<SdkResult<void>>;
4710
4730
  unAssignParkingSpaceToPerson(params: {
4711
4731
  companyId: Id;
4712
4732
  parkingSpaceId: Id;
4713
4733
  personId: Id;
4714
- input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
4734
+ input?: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps> | null | undefined;
4715
4735
  }): Promise<SdkResult<void>>;
4716
4736
  unAssignParkingSpaceToSection(params: {
4717
4737
  companyId: Id;
4718
4738
  parkingSpaceId: Id;
4719
4739
  sectionId: Id;
4720
- input: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps>;
4740
+ input?: UnassignParkingSpaceCommand | SdkInput<UnassignParkingSpaceCommandProps> | null | undefined;
4721
4741
  }): Promise<SdkResult<void>>;
4722
4742
  updateParkingSpace(params: {
4723
4743
  companyId: Id;
package/client.mjs CHANGED
@@ -3795,10 +3795,14 @@ const DESCRIPTORS = {
3795
3795
  {
3796
3796
  "name": "sectionId",
3797
3797
  "type": "bigint"
3798
+ },
3799
+ {
3800
+ "name": "deleteSectionCommand",
3801
+ "type": "DeleteSectionCommand | null | undefined"
3798
3802
  }
3799
3803
  ],
3800
- "body": null,
3801
- "bodyType": null,
3804
+ "body": "deleteSectionCommand",
3805
+ "bodyType": "DeleteSectionCommand",
3802
3806
  "voidResult": true
3803
3807
  },
3804
3808
  "deleteSectionStatus": {
@@ -3814,10 +3818,14 @@ const DESCRIPTORS = {
3814
3818
  {
3815
3819
  "name": "statusType",
3816
3820
  "type": "SectionState | null | undefined"
3821
+ },
3822
+ {
3823
+ "name": "deleteStatusCommand",
3824
+ "type": "DeleteStatusCommand | null | undefined"
3817
3825
  }
3818
3826
  ],
3819
- "body": null,
3820
- "bodyType": null,
3827
+ "body": "deleteStatusCommand",
3828
+ "bodyType": "DeleteStatusCommand",
3821
3829
  "voidResult": true
3822
3830
  },
3823
3831
  "deleteTagOnSection": {
@@ -3829,10 +3837,14 @@ const DESCRIPTORS = {
3829
3837
  {
3830
3838
  "name": "sectionId",
3831
3839
  "type": "bigint"
3840
+ },
3841
+ {
3842
+ "name": "sectionTagCommand",
3843
+ "type": "SectionTagCommand"
3832
3844
  }
3833
3845
  ],
3834
- "body": null,
3835
- "bodyType": null,
3846
+ "body": "sectionTagCommand",
3847
+ "bodyType": "SectionTagCommand",
3836
3848
  "voidResult": true
3837
3849
  },
3838
3850
  "exportSectionAssets": {
@@ -4245,10 +4257,14 @@ const DESCRIPTORS = {
4245
4257
  {
4246
4258
  "name": "validFrom",
4247
4259
  "type": "bigint | null | undefined"
4260
+ },
4261
+ {
4262
+ "name": "massDeleteFractionsCommand",
4263
+ "type": "MassDeleteFractionsCommand | null | undefined"
4248
4264
  }
4249
4265
  ],
4250
- "body": null,
4251
- "bodyType": null,
4266
+ "body": "massDeleteFractionsCommand",
4267
+ "bodyType": "MassDeleteFractionsCommand",
4252
4268
  "voidResult": true
4253
4269
  },
4254
4270
  "massUpdateSection": {
@@ -6643,10 +6659,14 @@ const DESCRIPTORS = {
6643
6659
  {
6644
6660
  "name": "sectionIdToDeleteFrom",
6645
6661
  "type": "bigint | null | undefined"
6662
+ },
6663
+ {
6664
+ "name": "deleteInvoiceRecipientCommand",
6665
+ "type": "DeleteInvoiceRecipientCommand | null | undefined"
6646
6666
  }
6647
6667
  ],
6648
- "body": null,
6649
- "bodyType": null,
6668
+ "body": "deleteInvoiceRecipientCommand",
6669
+ "bodyType": "DeleteInvoiceRecipientCommand",
6650
6670
  "voidResult": true
6651
6671
  },
6652
6672
  "deleteInvoiceLineChange": {
@@ -10525,9 +10545,14 @@ const DESCRIPTORS = {
10525
10545
  "bodyType": "VerifySrpCommand"
10526
10546
  },
10527
10547
  "deregisterFCMDeviceForUser": {
10528
- "args": [],
10529
- "body": null,
10530
- "bodyType": null,
10548
+ "args": [
10549
+ {
10550
+ "name": "deregisterDeviceCommand",
10551
+ "type": "DeregisterDeviceCommand"
10552
+ }
10553
+ ],
10554
+ "body": "deregisterDeviceCommand",
10555
+ "bodyType": "DeregisterDeviceCommand",
10531
10556
  "voidResult": true
10532
10557
  },
10533
10558
  "getMfaPreference": {
@@ -10651,10 +10676,14 @@ const DESCRIPTORS = {
10651
10676
  {
10652
10677
  "name": "refreshToken",
10653
10678
  "type": "string | null | undefined"
10679
+ },
10680
+ {
10681
+ "name": "revokeTokensCommand",
10682
+ "type": "RevokeTokensCommand | null | undefined"
10654
10683
  }
10655
10684
  ],
10656
- "body": null,
10657
- "bodyType": null,
10685
+ "body": "revokeTokensCommand",
10686
+ "bodyType": "RevokeTokensCommand",
10658
10687
  "voidResult": true
10659
10688
  },
10660
10689
  "verifyCreateTOTPMfa": {
@@ -11851,7 +11880,7 @@ const DESCRIPTORS = {
11851
11880
  },
11852
11881
  {
11853
11882
  "name": "unassignStorageRoomCommand",
11854
- "type": "UnassignStorageRoomCommand"
11883
+ "type": "UnassignStorageRoomCommand | null | undefined"
11855
11884
  }
11856
11885
  ],
11857
11886
  "body": "unassignStorageRoomCommand",
@@ -11874,7 +11903,7 @@ const DESCRIPTORS = {
11874
11903
  },
11875
11904
  {
11876
11905
  "name": "unassignStorageRoomCommand",
11877
- "type": "UnassignStorageRoomCommand"
11906
+ "type": "UnassignStorageRoomCommand | null | undefined"
11878
11907
  }
11879
11908
  ],
11880
11909
  "body": "unassignStorageRoomCommand",
@@ -11897,7 +11926,7 @@ const DESCRIPTORS = {
11897
11926
  },
11898
11927
  {
11899
11928
  "name": "unassignStorageRoomCommand",
11900
- "type": "UnassignStorageRoomCommand"
11929
+ "type": "UnassignStorageRoomCommand | null | undefined"
11901
11930
  }
11902
11931
  ],
11903
11932
  "body": "unassignStorageRoomCommand",
@@ -14467,7 +14496,7 @@ const DESCRIPTORS = {
14467
14496
  },
14468
14497
  {
14469
14498
  "name": "unassignParkingSpaceCommand",
14470
- "type": "UnassignParkingSpaceCommand"
14499
+ "type": "UnassignParkingSpaceCommand | null | undefined"
14471
14500
  }
14472
14501
  ],
14473
14502
  "body": "unassignParkingSpaceCommand",
@@ -14490,7 +14519,7 @@ const DESCRIPTORS = {
14490
14519
  },
14491
14520
  {
14492
14521
  "name": "unassignParkingSpaceCommand",
14493
- "type": "UnassignParkingSpaceCommand"
14522
+ "type": "UnassignParkingSpaceCommand | null | undefined"
14494
14523
  }
14495
14524
  ],
14496
14525
  "body": "unassignParkingSpaceCommand",
@@ -14513,7 +14542,7 @@ const DESCRIPTORS = {
14513
14542
  },
14514
14543
  {
14515
14544
  "name": "unassignParkingSpaceCommand",
14516
- "type": "UnassignParkingSpaceCommand"
14545
+ "type": "UnassignParkingSpaceCommand | null | undefined"
14517
14546
  }
14518
14547
  ],
14519
14548
  "body": "unassignParkingSpaceCommand",
@@ -18685,6 +18714,23 @@ const PROPS = {
18685
18714
  "invoicingZipCode": "string | null | undefined",
18686
18715
  "overdueProcessing": "boolean"
18687
18716
  },
18717
+ "DeleteInvoiceRecipientCommandProps": {
18718
+ "sectionId": "bigint | null | undefined"
18719
+ },
18720
+ "DeleteSectionCommandProps": {
18721
+ "at": "SoliboInstant /* Instant */ | null | undefined"
18722
+ },
18723
+ "DeleteStatusCommandProps": {
18724
+ "note": "string | null | undefined",
18725
+ "referencedOrganizationId": "bigint | null | undefined",
18726
+ "referencedPersonId": "bigint | null | undefined",
18727
+ "statusType": "SectionState"
18728
+ },
18729
+ "DeregisterDeviceCommandProps": {
18730
+ "deviceKey": "string",
18731
+ "deviceKeyGroup": "string",
18732
+ "token": "string"
18733
+ },
18688
18734
  "DeviceProps": {
18689
18735
  "fcmDeviceType": "FcmDeviceType | null | undefined",
18690
18736
  "fcmToken": "string | null | undefined"
@@ -19741,6 +19787,11 @@ const PROPS = {
19741
19787
  "recipient": "string",
19742
19788
  "state": "CommunicationState"
19743
19789
  },
19790
+ "MassDeleteFractionsCommandProps": {
19791
+ "fractionType": "FractionType",
19792
+ "sectionIds": "bigint[] | null | undefined",
19793
+ "validFrom": "SoliboInstant /* Instant */"
19794
+ },
19744
19795
  "MassEditOrganizationProps": {
19745
19796
  "accountNumber": "string | null | undefined",
19746
19797
  "businessAddress": "BusinessAddressProps | null | undefined",
@@ -21364,6 +21415,13 @@ const PROPS = {
21364
21415
  "documentType": "string | null | undefined",
21365
21416
  "parentId": "bigint | null | undefined"
21366
21417
  },
21418
+ "RevokeTokensCommandProps": {
21419
+ "clientId": "string",
21420
+ "deviceKey": "string | null | undefined",
21421
+ "deviceKeyGroup": "string | null | undefined",
21422
+ "refreshToken": "string",
21423
+ "userId": "string | null | undefined"
21424
+ },
21367
21425
  "RoleProps": {
21368
21426
  "companyId": "bigint | null | undefined",
21369
21427
  "id": "bigint",
@@ -22286,11 +22344,9 @@ const PROPS = {
22286
22344
  "typing": "boolean"
22287
22345
  },
22288
22346
  "UnassignParkingSpaceCommandProps": {
22289
- "validFrom": "SoliboInstant /* Instant */ | null | undefined",
22290
22347
  "validTo": "SoliboInstant /* Instant */ | null | undefined"
22291
22348
  },
22292
22349
  "UnassignStorageRoomCommandProps": {
22293
- "validFrom": "SoliboInstant /* Instant */ | null | undefined",
22294
22350
  "validTo": "SoliboInstant /* Instant */ | null | undefined"
22295
22351
  },
22296
22352
  "UpdateActiveManagementProps": {
@@ -22899,6 +22955,11 @@ const PROPS = {
22899
22955
  "httpClientEngine": "any | null | undefined/* HttpClientEngine | null | undefined */",
22900
22956
  "httpClientConfig": "(p0: any/* HttpClientConfig<any> */) => void | null | undefined"
22901
22957
  },
22958
+ "DeviceClientProps": {
22959
+ "baseUrl": "string",
22960
+ "httpClientEngine": "any | null | undefined/* HttpClientEngine | null | undefined */",
22961
+ "httpClientConfig": "(p0: any/* HttpClientConfig<any> */) => void | null | undefined"
22962
+ },
22902
22963
  "UploadDocumentRequestProps": {
22903
22964
  "companyId": "bigint",
22904
22965
  "documentType": "DocumentType",
@@ -119,12 +119,12 @@ function asJsReadonlyMapView() {
119
119
  }
120
120
  initMetadataForInterface(KtMap, 'Map');
121
121
  initMetadataForInterface(MutableIterable, 'MutableIterable');
122
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
122
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
123
123
  initMetadataForCompanion(Companion_2);
124
124
  function asJsArrayView() {
125
125
  return createJsArrayViewFrom(this);
126
126
  }
127
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
127
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
128
128
  initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
129
129
  initMetadataForCompanion(Companion_3);
130
130
  function asJsMapView() {
@@ -155,7 +155,7 @@ initMetadataForClass(asList$1, VOID, VOID, AbstractList, [RandomAccess]);
155
155
  initMetadataForInterface(AutoCloseable, 'AutoCloseable');
156
156
  initMetadataForInterface(Comparator, 'Comparator');
157
157
  initMetadataForObject(Unit, 'Unit');
158
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
158
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
159
159
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
160
160
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
161
161
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -167,7 +167,7 @@ initMetadataForCompanion(Companion_6);
167
167
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
168
168
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
169
169
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
170
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
170
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
171
171
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
172
172
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
173
173
  initMetadataForClass(HashMapKeysDefault$iterator$1);
@@ -8741,11 +8741,15 @@ function toCharArray(_this__u8e3s4) {
8741
8741
  }
8742
8742
  return tmp_1;
8743
8743
  }
8744
+ function decodeToString(_this__u8e3s4) {
8745
+ _init_properties_stringJs_kt__bg7zye();
8746
+ return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
8747
+ }
8744
8748
  function encodeToByteArray(_this__u8e3s4) {
8745
8749
  _init_properties_stringJs_kt__bg7zye();
8746
8750
  return encodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
8747
8751
  }
8748
- function decodeToString(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSequence) {
8752
+ function decodeToString_0(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSequence) {
8749
8753
  startIndex = startIndex === VOID ? 0 : startIndex;
8750
8754
  endIndex = endIndex === VOID ? _this__u8e3s4.length : endIndex;
8751
8755
  throwOnInvalidSequence = throwOnInvalidSequence === VOID ? false : throwOnInvalidSequence;
@@ -8753,10 +8757,6 @@ function decodeToString(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSeque
8753
8757
  Companion_instance_9.checkBoundsIndexes_tsopv1_k$(startIndex, endIndex, _this__u8e3s4.length);
8754
8758
  return decodeUtf8(_this__u8e3s4, startIndex, endIndex, throwOnInvalidSequence);
8755
8759
  }
8756
- function decodeToString_0(_this__u8e3s4) {
8757
- _init_properties_stringJs_kt__bg7zye();
8758
- return decodeUtf8(_this__u8e3s4, 0, _this__u8e3s4.length, false);
8759
- }
8760
8760
  function toCharArray_0(_this__u8e3s4, destination, destinationOffset, startIndex, endIndex) {
8761
8761
  destinationOffset = destinationOffset === VOID ? 0 : destinationOffset;
8762
8762
  startIndex = startIndex === VOID ? 0 : startIndex;
@@ -8827,6 +8827,15 @@ function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
8827
8827
  // Inline function 'kotlin.js.asDynamic' call
8828
8828
  return _this__u8e3s4.replace(tmp2, replacement);
8829
8829
  }
8830
+ function endsWith(_this__u8e3s4, suffix, ignoreCase) {
8831
+ ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8832
+ if (!ignoreCase) {
8833
+ // Inline function 'kotlin.text.nativeEndsWith' call
8834
+ // Inline function 'kotlin.js.asDynamic' call
8835
+ return _this__u8e3s4.endsWith(suffix);
8836
+ } else
8837
+ return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
8838
+ }
8830
8839
  function equals_0(_this__u8e3s4, other, ignoreCase) {
8831
8840
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8832
8841
  if (_this__u8e3s4 == null)
@@ -8852,15 +8861,6 @@ function equals_0(_this__u8e3s4, other, ignoreCase) {
8852
8861
  while (inductionVariable < last);
8853
8862
  return true;
8854
8863
  }
8855
- function endsWith(_this__u8e3s4, suffix, ignoreCase) {
8856
- ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8857
- if (!ignoreCase) {
8858
- // Inline function 'kotlin.text.nativeEndsWith' call
8859
- // Inline function 'kotlin.js.asDynamic' call
8860
- return _this__u8e3s4.endsWith(suffix);
8861
- } else
8862
- return regionMatches(_this__u8e3s4, _this__u8e3s4.length - suffix.length | 0, suffix, 0, suffix.length, ignoreCase);
8863
- }
8864
8864
  function startsWith(_this__u8e3s4, prefix, ignoreCase) {
8865
8865
  ignoreCase = ignoreCase === VOID ? false : ignoreCase;
8866
8866
  if (!ignoreCase) {
@@ -8933,6 +8933,59 @@ function get_REPLACEMENT_BYTE_SEQUENCE() {
8933
8933
  return REPLACEMENT_BYTE_SEQUENCE;
8934
8934
  }
8935
8935
  var REPLACEMENT_BYTE_SEQUENCE;
8936
+ function decodeUtf8(bytes, startIndex, endIndex, throwOnMalformed) {
8937
+ _init_properties_utf8Encoding_kt__9thjs4();
8938
+ // Inline function 'kotlin.require' call
8939
+ // Inline function 'kotlin.require' call
8940
+ if (!(startIndex >= 0 && endIndex <= bytes.length && startIndex <= endIndex)) {
8941
+ var message = 'Failed requirement.';
8942
+ throw IllegalArgumentException_init_$Create$_0(toString_1(message));
8943
+ }
8944
+ var byteIndex = startIndex;
8945
+ var stringBuilder = StringBuilder_init_$Create$_1();
8946
+ while (byteIndex < endIndex) {
8947
+ var _unary__edvuaz = byteIndex;
8948
+ byteIndex = _unary__edvuaz + 1 | 0;
8949
+ var byte = bytes[_unary__edvuaz];
8950
+ if (byte >= 0)
8951
+ stringBuilder.append_58al37_k$(numberToChar(byte));
8952
+ else if (byte >> 5 === -2) {
8953
+ var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
8954
+ if (code <= 0) {
8955
+ stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
8956
+ byteIndex = byteIndex + (-code | 0) | 0;
8957
+ } else {
8958
+ stringBuilder.append_58al37_k$(numberToChar(code));
8959
+ byteIndex = byteIndex + 1 | 0;
8960
+ }
8961
+ } else if (byte >> 4 === -2) {
8962
+ var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
8963
+ if (code_0 <= 0) {
8964
+ stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
8965
+ byteIndex = byteIndex + (-code_0 | 0) | 0;
8966
+ } else {
8967
+ stringBuilder.append_58al37_k$(numberToChar(code_0));
8968
+ byteIndex = byteIndex + 2 | 0;
8969
+ }
8970
+ } else if (byte >> 3 === -2) {
8971
+ var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
8972
+ if (code_1 <= 0) {
8973
+ stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
8974
+ byteIndex = byteIndex + (-code_1 | 0) | 0;
8975
+ } else {
8976
+ var high = (code_1 - 65536 | 0) >> 10 | 55296;
8977
+ var low = code_1 & 1023 | 56320;
8978
+ stringBuilder.append_58al37_k$(numberToChar(high));
8979
+ stringBuilder.append_58al37_k$(numberToChar(low));
8980
+ byteIndex = byteIndex + 3 | 0;
8981
+ }
8982
+ } else {
8983
+ malformed(0, byteIndex, throwOnMalformed);
8984
+ stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
8985
+ }
8986
+ }
8987
+ return stringBuilder.toString();
8988
+ }
8936
8989
  function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
8937
8990
  _init_properties_utf8Encoding_kt__9thjs4();
8938
8991
  // Inline function 'kotlin.require' call
@@ -9002,72 +9055,6 @@ function encodeUtf8(string, startIndex, endIndex, throwOnMalformed) {
9002
9055
  }
9003
9056
  return bytes.length === byteIndex ? bytes : copyOf_1(bytes, byteIndex);
9004
9057
  }
9005
- function decodeUtf8(bytes, startIndex, endIndex, throwOnMalformed) {
9006
- _init_properties_utf8Encoding_kt__9thjs4();
9007
- // Inline function 'kotlin.require' call
9008
- // Inline function 'kotlin.require' call
9009
- if (!(startIndex >= 0 && endIndex <= bytes.length && startIndex <= endIndex)) {
9010
- var message = 'Failed requirement.';
9011
- throw IllegalArgumentException_init_$Create$_0(toString_1(message));
9012
- }
9013
- var byteIndex = startIndex;
9014
- var stringBuilder = StringBuilder_init_$Create$_1();
9015
- while (byteIndex < endIndex) {
9016
- var _unary__edvuaz = byteIndex;
9017
- byteIndex = _unary__edvuaz + 1 | 0;
9018
- var byte = bytes[_unary__edvuaz];
9019
- if (byte >= 0)
9020
- stringBuilder.append_58al37_k$(numberToChar(byte));
9021
- else if (byte >> 5 === -2) {
9022
- var code = codePointFrom2(bytes, byte, byteIndex, endIndex, throwOnMalformed);
9023
- if (code <= 0) {
9024
- stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
9025
- byteIndex = byteIndex + (-code | 0) | 0;
9026
- } else {
9027
- stringBuilder.append_58al37_k$(numberToChar(code));
9028
- byteIndex = byteIndex + 1 | 0;
9029
- }
9030
- } else if (byte >> 4 === -2) {
9031
- var code_0 = codePointFrom3(bytes, byte, byteIndex, endIndex, throwOnMalformed);
9032
- if (code_0 <= 0) {
9033
- stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
9034
- byteIndex = byteIndex + (-code_0 | 0) | 0;
9035
- } else {
9036
- stringBuilder.append_58al37_k$(numberToChar(code_0));
9037
- byteIndex = byteIndex + 2 | 0;
9038
- }
9039
- } else if (byte >> 3 === -2) {
9040
- var code_1 = codePointFrom4(bytes, byte, byteIndex, endIndex, throwOnMalformed);
9041
- if (code_1 <= 0) {
9042
- stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
9043
- byteIndex = byteIndex + (-code_1 | 0) | 0;
9044
- } else {
9045
- var high = (code_1 - 65536 | 0) >> 10 | 55296;
9046
- var low = code_1 & 1023 | 56320;
9047
- stringBuilder.append_58al37_k$(numberToChar(high));
9048
- stringBuilder.append_58al37_k$(numberToChar(low));
9049
- byteIndex = byteIndex + 3 | 0;
9050
- }
9051
- } else {
9052
- malformed(0, byteIndex, throwOnMalformed);
9053
- stringBuilder.append_58al37_k$(_Char___init__impl__6a9atx(65533));
9054
- }
9055
- }
9056
- return stringBuilder.toString();
9057
- }
9058
- function codePointFromSurrogate(string, high, index, endIndex, throwOnMalformed) {
9059
- _init_properties_utf8Encoding_kt__9thjs4();
9060
- if (!(55296 <= high ? high <= 56319 : false) || index >= endIndex) {
9061
- return malformed(0, index, throwOnMalformed);
9062
- }
9063
- // Inline function 'kotlin.code' call
9064
- var this_0 = charCodeAt(string, index);
9065
- var low = Char__toInt_impl_vasixd(this_0);
9066
- if (!(56320 <= low ? low <= 57343 : false)) {
9067
- return malformed(0, index, throwOnMalformed);
9068
- }
9069
- return 65536 + ((high & 1023) << 10) | 0 | low & 1023;
9070
- }
9071
9058
  function codePointFrom2(bytes, byte1, index, endIndex, throwOnMalformed) {
9072
9059
  _init_properties_utf8Encoding_kt__9thjs4();
9073
9060
  if ((byte1 & 30) === 0 || index >= endIndex) {
@@ -9147,6 +9134,19 @@ function malformed(size, index, throwOnMalformed) {
9147
9134
  throw new CharacterCodingException('Malformed sequence starting at ' + (index - 1 | 0));
9148
9135
  return -size | 0;
9149
9136
  }
9137
+ function codePointFromSurrogate(string, high, index, endIndex, throwOnMalformed) {
9138
+ _init_properties_utf8Encoding_kt__9thjs4();
9139
+ if (!(55296 <= high ? high <= 56319 : false) || index >= endIndex) {
9140
+ return malformed(0, index, throwOnMalformed);
9141
+ }
9142
+ // Inline function 'kotlin.code' call
9143
+ var this_0 = charCodeAt(string, index);
9144
+ var low = Char__toInt_impl_vasixd(this_0);
9145
+ if (!(56320 <= low ? low <= 57343 : false)) {
9146
+ return malformed(0, index, throwOnMalformed);
9147
+ }
9148
+ return 65536 + ((high & 1023) << 10) | 0 | low & 1023;
9149
+ }
9150
9150
  var properties_initialized_utf8Encoding_kt_eee1vq;
9151
9151
  function _init_properties_utf8Encoding_kt__9thjs4() {
9152
9152
  if (!properties_initialized_utf8Encoding_kt_eee1vq) {
@@ -18569,7 +18569,7 @@ protoOf(Uuid).toHexDashString_ptqfb7_k$ = function () {
18569
18569
  var tmp$ret$3 = Char__toInt_impl_vasixd(this_3);
18570
18570
  bytes[23] = toByte(tmp$ret$3);
18571
18571
  formatBytesInto(this.leastSignificantBits_1, bytes, 24, 2, 8);
18572
- return decodeToString_0(bytes);
18572
+ return decodeToString(bytes);
18573
18573
  };
18574
18574
  protoOf(Uuid).equals = function (other) {
18575
18575
  if (this === other)
@@ -20006,8 +20006,8 @@ export {
20006
20006
  concatToString_0 as concatToString3cxf0c1gqonpo,
20007
20007
  contains_7 as contains3ue2qo8xhmpf1,
20008
20008
  contains_8 as contains2el4s70rdq4ld,
20009
- decodeToString_0 as decodeToString1x4faah2liw2p,
20010
- decodeToString as decodeToString1dbzcjd620q25,
20009
+ decodeToString as decodeToString1x4faah2liw2p,
20010
+ decodeToString_0 as decodeToString1dbzcjd620q25,
20011
20011
  drop_0 as drop336950s126lmj,
20012
20012
  encodeToByteArray as encodeToByteArray1onwao0uakjfh,
20013
20013
  endsWith_0 as endsWith1a79dp5rc3sfv,