@solibo/solibo-sdk 1.26.11 → 1.27.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.
@@ -4488,10 +4488,11 @@ export interface ConversationEventProps {
4488
4488
  performedById?: bigint | null | undefined;
4489
4489
  performedByName?: string | null | undefined;
4490
4490
  system: boolean;
4491
+ visibility?: ConversationEventVisibility | null | undefined;
4491
4492
  }
4492
4493
  export declare class ConversationEvent {
4493
4494
  constructor(props: ConversationEventProps);
4494
- constructor(childEvents: ConversationEvent[] | null | undefined, description: string | null | undefined, descriptionMeta: Map<string, string | null | undefined>, documents: ConversationEventDocument[] | null | undefined, eventType: ConversationEventType, id: bigint | null | undefined, parentEventId: bigint | null | undefined, performedAt: SoliboInstant /* Instant */, performedBy: Participant | null | undefined, performedByClientUserId: bigint | null | undefined, performedById: bigint | null | undefined, performedByName: string | null | undefined, system: boolean);
4495
+ constructor(childEvents: ConversationEvent[] | null | undefined, description: string | null | undefined, descriptionMeta: Map<string, string | null | undefined>, documents: ConversationEventDocument[] | null | undefined, eventType: ConversationEventType, id: bigint | null | undefined, parentEventId: bigint | null | undefined, performedAt: SoliboInstant /* Instant */, performedBy: Participant | null | undefined, performedByClientUserId: bigint | null | undefined, performedById: bigint | null | undefined, performedByName: string | null | undefined, system: boolean, visibility?: ConversationEventVisibility | null | undefined);
4495
4496
  get childEvents(): ConversationEvent[] | null | undefined;
4496
4497
  get description(): string | null | undefined;
4497
4498
  get descriptionMeta(): Map<string, string | null | undefined>;
@@ -4505,6 +4506,7 @@ export declare class ConversationEvent {
4505
4506
  get performedById(): bigint | null | undefined;
4506
4507
  get performedByName(): string | null | undefined;
4507
4508
  get system(): boolean;
4509
+ get visibility(): ConversationEventVisibility | null | undefined;
4508
4510
  }
4509
4511
  export declare namespace ConversationEvent {
4510
4512
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -4742,6 +4744,48 @@ export declare namespace ConversationEventType {
4742
4744
  }
4743
4745
  }
4744
4746
  }
4747
+ export declare abstract class ConversationEventVisibility {
4748
+ private constructor();
4749
+ static get PUBLIC(): ConversationEventVisibility & {
4750
+ get name(): "PUBLIC";
4751
+ get ordinal(): 0;
4752
+ };
4753
+ static get INTERNAL(): ConversationEventVisibility & {
4754
+ get name(): "INTERNAL";
4755
+ get ordinal(): 1;
4756
+ };
4757
+ static get Public(): ConversationEventVisibility & {
4758
+ get name(): "PUBLIC";
4759
+ get ordinal(): 0;
4760
+ };
4761
+ static get Internal(): ConversationEventVisibility & {
4762
+ get name(): "INTERNAL";
4763
+ get ordinal(): 1;
4764
+ };
4765
+ static values(): [typeof ConversationEventVisibility.PUBLIC, typeof ConversationEventVisibility.INTERNAL];
4766
+ static valueOf(value: string): ConversationEventVisibility;
4767
+ get name(): "PUBLIC" | "INTERNAL";
4768
+ get ordinal(): 0 | 1;
4769
+ get value(): string;
4770
+ }
4771
+ export declare namespace ConversationEventVisibility {
4772
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4773
+ namespace $metadata$ {
4774
+ const constructor: abstract new () => ConversationEventVisibility;
4775
+ }
4776
+ abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
4777
+ private constructor();
4778
+ }
4779
+ namespace Companion {
4780
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
4781
+ namespace $metadata$ {
4782
+ abstract class constructor /* implements SerializerFactory */ {
4783
+ fromValue(value: string): ConversationEventVisibility | null | undefined;
4784
+ private constructor();
4785
+ }
4786
+ }
4787
+ }
4788
+ }
4745
4789
  export interface ConversationFolderProps {
4746
4790
  companyId: bigint;
4747
4791
  createdAt: SoliboInstant /* Instant */;
@@ -5618,13 +5662,15 @@ export interface CreateDocumentReferenceCommandProps {
5618
5662
  belongsToId: bigint;
5619
5663
  type: DocumentType;
5620
5664
  uploadGroupId?: string | null | undefined;
5665
+ visibility?: ConversationEventVisibility | null | undefined;
5621
5666
  }
5622
5667
  export declare class CreateDocumentReferenceCommand {
5623
5668
  constructor(props: CreateDocumentReferenceCommandProps);
5624
- constructor(belongsToId: bigint, type: DocumentType, uploadGroupId?: string | null | undefined);
5669
+ constructor(belongsToId: bigint, type: DocumentType, uploadGroupId?: string | null | undefined, visibility?: ConversationEventVisibility | null | undefined);
5625
5670
  get belongsToId(): bigint;
5626
5671
  get type(): DocumentType;
5627
5672
  get uploadGroupId(): string | null | undefined;
5673
+ get visibility(): ConversationEventVisibility | null | undefined;
5628
5674
  }
5629
5675
  export declare namespace CreateDocumentReferenceCommand {
5630
5676
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -26393,7 +26439,7 @@ export declare class DocumentApi extends ApiClient.$metadata$.constructor {
26393
26439
  classifyOffice365ManagedDocumentCandidate(companyId: bigint, candidateId: bigint, office365ManagedDocumentCandidateClassificationRequest: Office365ManagedDocumentCandidateClassificationRequest): Promise<HttpResponse<Office365ManagedDocumentCandidateReview>>;
26394
26440
  copyOffice365ManagedDocument(companyId: bigint, documentId: bigint, office365ManagedDocumentCopyRequest: Office365ManagedDocumentCopyRequest): Promise<HttpResponse<Document>>;
26395
26441
  createDocument(companyId: bigint, documentType: DocumentType, parentId?: bigint | null | undefined, isDirectory?: boolean | null | undefined): Promise<HttpResponse<Document>>;
26396
- createDocumentBelongsTo(companyId: bigint, documentType: string, belongsToId: bigint, parentId?: bigint | null | undefined, uploadGroupId?: string | null | undefined): Promise<HttpResponse<Document>>;
26442
+ createDocumentBelongsTo(companyId: bigint, documentType: string, belongsToId: bigint, parentId?: bigint | null | undefined, uploadGroupId?: string | null | undefined, visibility?: string | null | undefined): Promise<HttpResponse<Document>>;
26397
26443
  createDocumentReference(companyId: bigint, documentId: bigint, createDocumentReferenceCommand: CreateDocumentReferenceCommand): Promise<HttpResponse<Document>>;
26398
26444
  createDocumentUploadTicket(companyId: bigint, contentType: string, contentDisposition: string, xContentLengthUpload: string, contentMd5?: string | null | undefined): Promise<HttpResponse<DocumentUploadTicket>>;
26399
26445
  deleteDocument(companyId: bigint, documentId: bigint): Promise<HttpResponse<void>>;
@@ -27189,7 +27235,7 @@ export declare class UnsubscribeApi extends ApiClient.$metadata$.constructor {
27189
27235
  static create(baseUrl?: string, httpClientEngine?: any | null | undefined/* HttpClientEngine | null | undefined */, httpClientConfig?: (p0: any/* HttpClientConfig<any> */) => void | null | undefined, jsonSerializer?: any/* Json */): UnsubscribeApi;
27190
27236
  static createWithClient(baseUrl: string, httpClient: any/* HttpClient */): UnsubscribeApi;
27191
27237
  getUnsubscribePage(token: string, fields?: string | null | undefined): Promise<HttpResponse<string>>;
27192
- unsubscribe(token: string): Promise<HttpResponse<void>>;
27238
+ unsubscribe(token: string): Promise<HttpResponse<string>>;
27193
27239
  }
27194
27240
  export declare namespace UnsubscribeApi {
27195
27241
  /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
@@ -7927,8 +7927,8 @@ function HomeApi$clientConfigurator$lambda$lambda_11(this$0, $platformName) {
7927
7927
  }
7928
7928
  accept($this$defaultRequest, Application_getInstance().Json_1);
7929
7929
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
7930
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.26.11 (' + $platformName + ')');
7931
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.26.11');
7930
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.27.0 (' + $platformName + ')');
7931
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.27.0');
7932
7932
  return Unit_instance;
7933
7933
  };
7934
7934
  }
@@ -42303,7 +42303,7 @@ function SoliboOpenTelemetry() {
42303
42303
  }
42304
42304
  protoOf(SoliboOpenTelemetry).tracer_4qhv4u_k$ = function () {
42305
42305
  var tmp0_elvis_lhs = this.installed_1;
42306
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.26.11');
42306
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.27.0');
42307
42307
  };
42308
42308
  var SoliboOpenTelemetry_instance;
42309
42309
  function SoliboOpenTelemetry_getInstance() {
@@ -43793,6 +43793,15 @@ if (typeof ConversationEventType !== 'undefined') {
43793
43793
  }
43794
43794
 
43795
43795
 
43796
+ /* Enum aliases for ConversationEventVisibility */
43797
+ if (typeof ConversationEventVisibility !== 'undefined') {
43798
+ Object.defineProperties(ConversationEventVisibility, {
43799
+ "Public": { get() { return ConversationEventVisibility.PUBLIC; }, enumerable: true, configurable: true },
43800
+ "Internal": { get() { return ConversationEventVisibility.INTERNAL; }, enumerable: true, configurable: true }
43801
+ });
43802
+ }
43803
+
43804
+
43796
43805
  /* Enum aliases for ConversationMessageSide */
43797
43806
  if (typeof ConversationMessageSide !== 'undefined') {
43798
43807
  Object.defineProperties(ConversationMessageSide, {