@solibo/solibo-sdk 1.9.15 → 1.9.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/KmLogging-logging.mjs +98 -98
  2. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
  3. package/KotlinBigInteger-bignum.mjs +1114 -1114
  4. package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
  5. package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
  6. package/Stately-stately-concurrency.mjs +3 -3
  7. package/bitops-library-bits.mjs +33 -33
  8. package/bitops-library-endian.mjs +3 -3
  9. package/client.d.mts +24 -0
  10. package/client.mjs +68 -0
  11. package/core-library-digest.mjs +29 -29
  12. package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
  13. package/cryptography-kotlin-cryptography-core.mjs +47 -47
  14. package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
  15. package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
  16. package/cryptography-kotlin-cryptography-random.mjs +15 -15
  17. package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
  18. package/cryptography-kotlin-cryptography-serialization-asn1.mjs +237 -237
  19. package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
  20. package/hash-library-md.mjs +30 -30
  21. package/index.mjs +6 -0
  22. package/kotlin-kotlin-stdlib.mjs +11 -11
  23. package/kotlin-kotlin-stdlib.mjs.map +1 -1
  24. package/kotlinx-coroutines-core.mjs +1 -1
  25. package/ktor-ktor-client-auth.mjs +224 -224
  26. package/ktor-ktor-client-encoding.mjs +75 -75
  27. package/ktor-ktor-client-logging.mjs +520 -520
  28. package/ktor-ktor-client-mock.mjs +39 -39
  29. package/package.json +1 -1
  30. package/solibo-sdk-sdk-home-api.mjs +41679 -40149
  31. package/solibo-sdk-sdk-home-api.mjs.map +1 -1
  32. package/solibo-sdk-sdk.d.mts +222 -1
  33. package/solibo-sdk-sdk.mjs +3858 -3828
  34. package/solibo-sdk-sdk.mjs.map +1 -1
@@ -4253,6 +4253,68 @@ export declare namespace ConversationParticipantMeta {
4253
4253
  const constructor: abstract new () => ConversationParticipantMeta;
4254
4254
  }
4255
4255
  }
4256
+ export interface ConversationPushFallbackCadenceProps {
4257
+ expiresAt?: SoliboInstant /* Instant */ | null | undefined;
4258
+ minimumDigestIntervalHours: bigint;
4259
+ preset: ConversationPushFallbackCadencePreset;
4260
+ reminderDelayHours: bigint;
4261
+ }
4262
+ export declare class ConversationPushFallbackCadence {
4263
+ constructor(props: ConversationPushFallbackCadenceProps);
4264
+ constructor(expiresAt: SoliboInstant /* Instant */ | null | undefined, minimumDigestIntervalHours: bigint, preset: ConversationPushFallbackCadencePreset, reminderDelayHours: bigint);
4265
+ get expiresAt(): SoliboInstant /* Instant */ | null | undefined;
4266
+ get minimumDigestIntervalHours(): bigint;
4267
+ get preset(): ConversationPushFallbackCadencePreset;
4268
+ get reminderDelayHours(): bigint;
4269
+ }
4270
+ export declare namespace ConversationPushFallbackCadence {
4271
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4272
+ namespace $metadata$ {
4273
+ const constructor: abstract new () => ConversationPushFallbackCadence;
4274
+ }
4275
+ }
4276
+ export declare abstract class ConversationPushFallbackCadencePreset {
4277
+ private constructor();
4278
+ static get STANDARD(): ConversationPushFallbackCadencePreset & {
4279
+ get name(): "STANDARD";
4280
+ get ordinal(): 0;
4281
+ };
4282
+ static get ACTIVE_PROJECT(): ConversationPushFallbackCadencePreset & {
4283
+ get name(): "ACTIVE_PROJECT";
4284
+ get ordinal(): 1;
4285
+ };
4286
+ static get Standard(): ConversationPushFallbackCadencePreset & {
4287
+ get name(): "STANDARD";
4288
+ get ordinal(): 0;
4289
+ };
4290
+ static get ActiveProject(): ConversationPushFallbackCadencePreset & {
4291
+ get name(): "ACTIVE_PROJECT";
4292
+ get ordinal(): 1;
4293
+ };
4294
+ static values(): [typeof ConversationPushFallbackCadencePreset.STANDARD, typeof ConversationPushFallbackCadencePreset.ACTIVE_PROJECT];
4295
+ static valueOf(value: string): ConversationPushFallbackCadencePreset;
4296
+ get name(): "STANDARD" | "ACTIVE_PROJECT";
4297
+ get ordinal(): 0 | 1;
4298
+ get value(): string;
4299
+ }
4300
+ export declare namespace ConversationPushFallbackCadencePreset {
4301
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4302
+ namespace $metadata$ {
4303
+ const constructor: abstract new () => ConversationPushFallbackCadencePreset;
4304
+ }
4305
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
4306
+ private constructor();
4307
+ }
4308
+ namespace Companion {
4309
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4310
+ namespace $metadata$ {
4311
+ abstract class constructor /* implements SerializerFactory */ {
4312
+ fromValue(value: string): ConversationPushFallbackCadencePreset | null | undefined;
4313
+ private constructor();
4314
+ }
4315
+ }
4316
+ }
4317
+ }
4256
4318
  export declare abstract class ConversationStatus {
4257
4319
  private constructor();
4258
4320
  static get DRAFT(): ConversationStatus & {
@@ -6699,6 +6761,7 @@ export interface DocumentProps {
6699
6761
  isDirectory?: boolean | null | undefined;
6700
6762
  ownedByUser?: boolean | null | undefined;
6701
6763
  parentId?: bigint | null | undefined;
6764
+ sizeBytes?: bigint | null | undefined;
6702
6765
  sourceDocumentId?: bigint | null | undefined;
6703
6766
  type: DocumentType;
6704
6767
  updatedAt?: SoliboInstant /* Instant */ | null | undefined;
@@ -6709,7 +6772,7 @@ export interface DocumentProps {
6709
6772
  }
6710
6773
  export declare class Document {
6711
6774
  constructor(props: DocumentProps);
6712
- constructor(belongsToId: bigint | null | undefined, children: Document[] | null | undefined, companyId: bigint, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, createdByName: string | null | undefined, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletedBy: bigint | null | undefined, deletedByClientUserId: bigint | null | undefined, deletedByClientUserName: string | null | undefined, deletedByName: string | null | undefined, fileName: string, historicPath: string | null | undefined, historicType: DocumentType | null | undefined, id: bigint, isDirectory: boolean | null | undefined, ownedByUser: boolean | null | undefined, parentId: bigint | null | undefined, sourceDocumentId: bigint | null | undefined, type: DocumentType, updatedAt?: SoliboInstant /* Instant */ | null | undefined, updatedBy?: bigint | null | undefined, updatedByClientUserId?: bigint | null | undefined, updatedByClientUserName?: string | null | undefined, updatedByName?: string | null | undefined);
6775
+ constructor(belongsToId: bigint | null | undefined, children: Document[] | null | undefined, companyId: bigint, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, createdByName: string | null | undefined, deletedAt: SoliboInstant /* Instant */ | null | undefined, deletedBy: bigint | null | undefined, deletedByClientUserId: bigint | null | undefined, deletedByClientUserName: string | null | undefined, deletedByName: string | null | undefined, fileName: string, historicPath: string | null | undefined, historicType: DocumentType | null | undefined, id: bigint, isDirectory: boolean | null | undefined, ownedByUser: boolean | null | undefined, parentId: bigint | null | undefined, sizeBytes: bigint | null | undefined, sourceDocumentId: bigint | null | undefined, type: DocumentType, updatedAt?: SoliboInstant /* Instant */ | null | undefined, updatedBy?: bigint | null | undefined, updatedByClientUserId?: bigint | null | undefined, updatedByClientUserName?: string | null | undefined, updatedByName?: string | null | undefined);
6713
6776
  get belongsToId(): bigint | null | undefined;
6714
6777
  get children(): Document[] | null | undefined;
6715
6778
  get companyId(): bigint;
@@ -6730,6 +6793,7 @@ export declare class Document {
6730
6793
  get isDirectory(): boolean | null | undefined;
6731
6794
  get ownedByUser(): boolean | null | undefined;
6732
6795
  get parentId(): bigint | null | undefined;
6796
+ get sizeBytes(): bigint | null | undefined;
6733
6797
  get sourceDocumentId(): bigint | null | undefined;
6734
6798
  get type(): DocumentType;
6735
6799
  get updatedAt(): SoliboInstant /* Instant */ | null | undefined;
@@ -6744,6 +6808,114 @@ export declare namespace Document {
6744
6808
  const constructor: abstract new () => Document;
6745
6809
  }
6746
6810
  }
6811
+ export declare abstract class DocumentContentSearchBackfillReason {
6812
+ private constructor();
6813
+ static get BACKFILL(): DocumentContentSearchBackfillReason & {
6814
+ get name(): "BACKFILL";
6815
+ get ordinal(): 0;
6816
+ };
6817
+ static get REINDEX(): DocumentContentSearchBackfillReason & {
6818
+ get name(): "REINDEX";
6819
+ get ordinal(): 1;
6820
+ };
6821
+ static get Backfill(): DocumentContentSearchBackfillReason & {
6822
+ get name(): "BACKFILL";
6823
+ get ordinal(): 0;
6824
+ };
6825
+ static get Reindex(): DocumentContentSearchBackfillReason & {
6826
+ get name(): "REINDEX";
6827
+ get ordinal(): 1;
6828
+ };
6829
+ static values(): [typeof DocumentContentSearchBackfillReason.BACKFILL, typeof DocumentContentSearchBackfillReason.REINDEX];
6830
+ static valueOf(value: string): DocumentContentSearchBackfillReason;
6831
+ get name(): "BACKFILL" | "REINDEX";
6832
+ get ordinal(): 0 | 1;
6833
+ get value(): string;
6834
+ }
6835
+ export declare namespace DocumentContentSearchBackfillReason {
6836
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6837
+ namespace $metadata$ {
6838
+ const constructor: abstract new () => DocumentContentSearchBackfillReason;
6839
+ }
6840
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
6841
+ private constructor();
6842
+ }
6843
+ namespace Companion {
6844
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6845
+ namespace $metadata$ {
6846
+ abstract class constructor /* implements SerializerFactory */ {
6847
+ fromValue(value: string): DocumentContentSearchBackfillReason | null | undefined;
6848
+ private constructor();
6849
+ }
6850
+ }
6851
+ }
6852
+ }
6853
+ export declare abstract class DocumentContentSearchBackfillStatus {
6854
+ private constructor();
6855
+ static get DISABLED(): DocumentContentSearchBackfillStatus & {
6856
+ get name(): "DISABLED";
6857
+ get ordinal(): 0;
6858
+ };
6859
+ static get PENDING(): DocumentContentSearchBackfillStatus & {
6860
+ get name(): "PENDING";
6861
+ get ordinal(): 1;
6862
+ };
6863
+ static get RUNNING(): DocumentContentSearchBackfillStatus & {
6864
+ get name(): "RUNNING";
6865
+ get ordinal(): 2;
6866
+ };
6867
+ static get COMPLETE(): DocumentContentSearchBackfillStatus & {
6868
+ get name(): "COMPLETE";
6869
+ get ordinal(): 3;
6870
+ };
6871
+ static get FAILED(): DocumentContentSearchBackfillStatus & {
6872
+ get name(): "FAILED";
6873
+ get ordinal(): 4;
6874
+ };
6875
+ static get Disabled(): DocumentContentSearchBackfillStatus & {
6876
+ get name(): "DISABLED";
6877
+ get ordinal(): 0;
6878
+ };
6879
+ static get Pending(): DocumentContentSearchBackfillStatus & {
6880
+ get name(): "PENDING";
6881
+ get ordinal(): 1;
6882
+ };
6883
+ static get Running(): DocumentContentSearchBackfillStatus & {
6884
+ get name(): "RUNNING";
6885
+ get ordinal(): 2;
6886
+ };
6887
+ static get Complete(): DocumentContentSearchBackfillStatus & {
6888
+ get name(): "COMPLETE";
6889
+ get ordinal(): 3;
6890
+ };
6891
+ static get Failed(): DocumentContentSearchBackfillStatus & {
6892
+ get name(): "FAILED";
6893
+ get ordinal(): 4;
6894
+ };
6895
+ static values(): [typeof DocumentContentSearchBackfillStatus.DISABLED, typeof DocumentContentSearchBackfillStatus.PENDING, typeof DocumentContentSearchBackfillStatus.RUNNING, typeof DocumentContentSearchBackfillStatus.COMPLETE, typeof DocumentContentSearchBackfillStatus.FAILED];
6896
+ static valueOf(value: string): DocumentContentSearchBackfillStatus;
6897
+ get name(): "DISABLED" | "PENDING" | "RUNNING" | "COMPLETE" | "FAILED";
6898
+ get ordinal(): 0 | 1 | 2 | 3 | 4;
6899
+ get value(): string;
6900
+ }
6901
+ export declare namespace DocumentContentSearchBackfillStatus {
6902
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6903
+ namespace $metadata$ {
6904
+ const constructor: abstract new () => DocumentContentSearchBackfillStatus;
6905
+ }
6906
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
6907
+ private constructor();
6908
+ }
6909
+ namespace Companion {
6910
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
6911
+ namespace $metadata$ {
6912
+ abstract class constructor /* implements SerializerFactory */ {
6913
+ fromValue(value: string): DocumentContentSearchBackfillStatus | null | undefined;
6914
+ private constructor();
6915
+ }
6916
+ }
6917
+ }
6918
+ }
6747
6919
  export declare abstract class DocumentType {
6748
6920
  private constructor();
6749
6921
  static get ISSUE(): DocumentType & {
@@ -21141,6 +21313,22 @@ export declare namespace UpdateConversationCommand {
21141
21313
  const constructor: abstract new () => UpdateConversationCommand;
21142
21314
  }
21143
21315
  }
21316
+ export interface UpdateConversationPushFallbackCadenceCommandProps {
21317
+ expiresAt?: SoliboInstant /* Instant */ | null | undefined;
21318
+ preset: ConversationPushFallbackCadencePreset;
21319
+ }
21320
+ export declare class UpdateConversationPushFallbackCadenceCommand {
21321
+ constructor(props: UpdateConversationPushFallbackCadenceCommandProps);
21322
+ constructor(expiresAt: SoliboInstant /* Instant */ | null | undefined, preset: ConversationPushFallbackCadencePreset);
21323
+ get expiresAt(): SoliboInstant /* Instant */ | null | undefined;
21324
+ get preset(): ConversationPushFallbackCadencePreset;
21325
+ }
21326
+ export declare namespace UpdateConversationPushFallbackCadenceCommand {
21327
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
21328
+ namespace $metadata$ {
21329
+ const constructor: abstract new () => UpdateConversationPushFallbackCadenceCommand;
21330
+ }
21331
+ }
21144
21332
  export interface UpdateEmployeeCommandProps {
21145
21333
  email?: string | null | undefined;
21146
21334
  mobile?: string | null | undefined;
@@ -21439,6 +21627,36 @@ export declare namespace UpdateLegalObligationsCommand {
21439
21627
  const constructor: abstract new () => UpdateLegalObligationsCommand;
21440
21628
  }
21441
21629
  }
21630
+ export interface UpdateLoanCommandProps {
21631
+ completesAt: SoliboInstant /* Instant */;
21632
+ inAgreement: boolean;
21633
+ initialSum: bigint;
21634
+ interest: number;
21635
+ loanNumber: string;
21636
+ raisedAt: SoliboInstant /* Instant */;
21637
+ supplierId: bigint;
21638
+ tripletexAccount?: string | null | undefined;
21639
+ type: string;
21640
+ }
21641
+ export declare class UpdateLoanCommand {
21642
+ constructor(props: UpdateLoanCommandProps);
21643
+ constructor(completesAt: SoliboInstant /* Instant */, inAgreement: boolean, initialSum: bigint, interest: number, loanNumber: string, raisedAt: SoliboInstant /* Instant */, supplierId: bigint, tripletexAccount: string | null | undefined, type: string);
21644
+ get completesAt(): SoliboInstant /* Instant */;
21645
+ get inAgreement(): boolean;
21646
+ get initialSum(): bigint;
21647
+ get interest(): number;
21648
+ get loanNumber(): string;
21649
+ get raisedAt(): SoliboInstant /* Instant */;
21650
+ get supplierId(): bigint;
21651
+ get tripletexAccount(): string | null | undefined;
21652
+ get type(): string;
21653
+ }
21654
+ export declare namespace UpdateLoanCommand {
21655
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
21656
+ namespace $metadata$ {
21657
+ const constructor: abstract new () => UpdateLoanCommand;
21658
+ }
21659
+ }
21442
21660
  export interface UpdateLoanInterestCommandProps {
21443
21661
  interest: number;
21444
21662
  validFrom?: SoliboInstant /* Instant */ | null | undefined;
@@ -22742,6 +22960,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
22742
22960
  showConversation(companyId: bigint, conversationId: bigint, translateToCountryId?: bigint | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<Conversation>>;
22743
22961
  showConversationFolder(companyId: bigint, folderId: bigint, fields?: string | null | undefined): Promise<HttpResponse<ConversationFolder>>;
22744
22962
  showConversationPublic(companySlug: string, conversationId: bigint, fields?: string | null | undefined): Promise<HttpResponse<PublicConversation>>;
22963
+ showConversationPushFallbackSettings(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<ConversationPushFallbackCadence>>;
22745
22964
  showDocumentPublicConversation(companySlug: string, conversationId: bigint, documentId: bigint, redirect?: boolean | null | undefined, size?: string | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<UrlWrapper>>;
22746
22965
  trashConversation(companyId: bigint, conversationId: bigint): Promise<HttpResponse<void>>;
22747
22966
  trashMultipleConversations(companyId: bigint, batchConversationStateCommand: BatchConversationStateCommand): Promise<HttpResponse<void>>;
@@ -22751,6 +22970,7 @@ export declare class ConversationApi extends ApiClient.$metadata$.constructor {
22751
22970
  updateConversationCategories(companyId: bigint, secureConversationCategory: KtList<SecureConversationCategory>): Promise<HttpResponse<KtList<SecureConversationCategory>>>;
22752
22971
  updateConversationCategory(companyId: bigint, categoryId: bigint, updateConversationCategoryCommand: UpdateConversationCategoryCommand): Promise<HttpResponse<SecureConversationCategory>>;
22753
22972
  updateConversationMessage(companyId: bigint, conversationId: bigint, messageId: bigint, updateMessageCommand: UpdateMessageCommand): Promise<HttpResponse<void>>;
22973
+ updateConversationPushFallbackSettings(companyId: bigint, updateConversationPushFallbackCadenceCommand: UpdateConversationPushFallbackCadenceCommand): Promise<HttpResponse<ConversationPushFallbackCadence>>;
22754
22974
  updateFolder(companyId: bigint, folderId: bigint, updateFolderCommand: UpdateFolderCommand): Promise<HttpResponse<ConversationFolder>>;
22755
22975
  }
22756
22976
  export declare namespace ConversationApi {
@@ -23093,6 +23313,7 @@ export declare class LoanApi extends ApiClient.$metadata$.constructor {
23093
23313
  private constructor();
23094
23314
  static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<UnknownType *> */) => void | null | undefined, jsonSerializer?: any/* Json */): LoanApi;
23095
23315
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): LoanApi;
23316
+ correctLoanDetails(companyId: bigint, loanId: bigint, updateLoanCommand: UpdateLoanCommand): Promise<HttpResponse<Loan>>;
23096
23317
  createLoan(companyId: bigint, createLoanCommand: CreateLoanCommand): Promise<HttpResponse<Loan>>;
23097
23318
  deleteLoan(companyId: bigint, loanId: bigint): Promise<HttpResponse<void>>;
23098
23319
  indexLoanAccounts(companyId: bigint, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListAccount>>;