@solibo/solibo-sdk 1.40.1 → 1.40.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.
@@ -4427,8 +4427,8 @@ function HomeApiBase$clientConfigurator$lambda$lambda_12(this$0, $platformName)
4427
4427
  }
4428
4428
  accept($this$defaultRequest, Application_getInstance().Json_1);
4429
4429
  header($this$defaultRequest, 'Accept-Language', buildAcceptLanguage(this$0.userLanguage));
4430
- header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.40.1 (' + $platformName + ')');
4431
- header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.40.1');
4430
+ header($this$defaultRequest, 'User-Agent', 'SoliboSDK/1.40.2 (' + $platformName + ')');
4431
+ header($this$defaultRequest, 'X-Solibo-SDK-Version', '1.40.2');
4432
4432
  return Unit_instance;
4433
4433
  };
4434
4434
  }
@@ -14278,7 +14278,7 @@ function SoliboOpenTelemetry() {
14278
14278
  }
14279
14279
  protoOf(SoliboOpenTelemetry).tracer_4zr7of_k$ = function () {
14280
14280
  var tmp0_elvis_lhs = this.installed_1;
14281
- return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.40.1');
14281
+ return (tmp0_elvis_lhs == null ? get_NoopOpenTelemetry() : tmp0_elvis_lhs).get_tracerProvider_kgfk0p_k$().getTracer$default_y9z64o_k$('no.solibo.oss.sdk', '1.40.2');
14282
14282
  };
14283
14283
  var SoliboOpenTelemetry_instance;
14284
14284
  function SoliboOpenTelemetry_getInstance() {
@@ -13108,11 +13108,12 @@ export interface CreateConversationCategoryCommandProps {
13108
13108
  incomingEmailCategory?: boolean | null | undefined;
13109
13109
  name: string;
13110
13110
  responsible: bigint;
13111
+ staffManaged?: boolean | null | undefined;
13111
13112
  template?: string | null | undefined;
13112
13113
  }
13113
13114
  export declare class CreateConversationCategoryCommand {
13114
13115
  constructor(props: CreateConversationCategoryCommandProps);
13115
- constructor(coResponsibleIds: bigint[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean | null | undefined, description: string | null | undefined, incomingEmailCategory: boolean | null | undefined, name: string, responsible: bigint, template?: string | null | undefined);
13116
+ constructor(coResponsibleIds: bigint[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean | null | undefined, description: string | null | undefined, incomingEmailCategory: boolean | null | undefined, name: string, responsible: bigint, staffManaged?: boolean | null | undefined, template?: string | null | undefined);
13116
13117
  get coResponsibleIds(): bigint[] | null | undefined;
13117
13118
  get color(): CategoryColor | null | undefined;
13118
13119
  get contactCategory(): boolean | null | undefined;
@@ -13120,6 +13121,7 @@ export declare class CreateConversationCategoryCommand {
13120
13121
  get incomingEmailCategory(): boolean | null | undefined;
13121
13122
  get name(): string;
13122
13123
  get responsible(): bigint;
13124
+ get staffManaged(): boolean | null | undefined;
13123
13125
  get template(): string | null | undefined;
13124
13126
  }
13125
13127
  export declare namespace CreateConversationCategoryCommand {
@@ -13611,27 +13613,31 @@ export interface SecureConversationCategoryProps {
13611
13613
  coResponsiblePersons?: PersonProps[] | null | undefined;
13612
13614
  color?: CategoryColor | null | undefined;
13613
13615
  contactCategory: boolean;
13616
+ editable?: boolean | null | undefined;
13614
13617
  id: bigint;
13615
13618
  inUse: boolean;
13616
13619
  incomingEmailCategory: boolean;
13617
13620
  name: string;
13618
13621
  responsible: bigint;
13619
13622
  responsiblePerson?: PersonProps | null | undefined;
13623
+ staffManaged?: boolean | null | undefined;
13620
13624
  template?: string | null | undefined;
13621
13625
  }
13622
13626
  export declare class SecureConversationCategory {
13623
13627
  constructor(props: SecureConversationCategoryProps);
13624
- constructor(coResponsibleIds: bigint[], coResponsiblePersons: Person[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean, id: bigint, inUse: boolean, incomingEmailCategory: boolean, name: string, responsible: bigint, responsiblePerson?: Person | null | undefined, template?: string | null | undefined);
13628
+ constructor(coResponsibleIds: bigint[], coResponsiblePersons: Person[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean, editable: boolean | null | undefined, id: bigint, inUse: boolean, incomingEmailCategory: boolean, name: string, responsible: bigint, responsiblePerson?: Person | null | undefined, staffManaged?: boolean | null | undefined, template?: string | null | undefined);
13625
13629
  get coResponsibleIds(): bigint[];
13626
13630
  get coResponsiblePersons(): Person[] | null | undefined;
13627
13631
  get color(): CategoryColor | null | undefined;
13628
13632
  get contactCategory(): boolean;
13633
+ get editable(): boolean | null | undefined;
13629
13634
  get id(): bigint;
13630
13635
  get inUse(): boolean;
13631
13636
  get incomingEmailCategory(): boolean;
13632
13637
  get name(): string;
13633
13638
  get responsible(): bigint;
13634
13639
  get responsiblePerson(): Person | null | undefined;
13640
+ get staffManaged(): boolean | null | undefined;
13635
13641
  get template(): string | null | undefined;
13636
13642
  }
13637
13643
  export declare namespace SecureConversationCategory {
@@ -13647,17 +13653,19 @@ export interface UpdateConversationCategoryCommandProps {
13647
13653
  description?: string | null | undefined;
13648
13654
  name: string;
13649
13655
  responsible?: bigint | null | undefined;
13656
+ staffManaged?: boolean | null | undefined;
13650
13657
  template?: string | null | undefined;
13651
13658
  }
13652
13659
  export declare class UpdateConversationCategoryCommand {
13653
13660
  constructor(props: UpdateConversationCategoryCommandProps);
13654
- constructor(coResponsibleIds: bigint[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean | null | undefined, description: string | null | undefined, name: string, responsible?: bigint | null | undefined, template?: string | null | undefined);
13661
+ constructor(coResponsibleIds: bigint[] | null | undefined, color: CategoryColor | null | undefined, contactCategory: boolean | null | undefined, description: string | null | undefined, name: string, responsible?: bigint | null | undefined, staffManaged?: boolean | null | undefined, template?: string | null | undefined);
13655
13662
  get coResponsibleIds(): bigint[] | null | undefined;
13656
13663
  get color(): CategoryColor | null | undefined;
13657
13664
  get contactCategory(): boolean | null | undefined;
13658
13665
  get description(): string | null | undefined;
13659
13666
  get name(): string;
13660
13667
  get responsible(): bigint | null | undefined;
13668
+ get staffManaged(): boolean | null | undefined;
13661
13669
  get template(): string | null | undefined;
13662
13670
  }
13663
13671
  export declare namespace UpdateConversationCategoryCommand {
@@ -14780,6 +14788,7 @@ export declare class ExpenseApi extends ApiClient.$metadata$.constructor {
14780
14788
  indexExpenseUnattested(companyId: bigint, fields?: string | null | undefined): Promise<HttpResponse<ExpenseCount>>;
14781
14789
  indexExpenseUser(companyIds?: bigint[] | null | undefined, search?: string | null | undefined, status?: ExpenseStatus[] | null | undefined, dateOfPurchaseFrom?: bigint | null | undefined, dateOfPurchaseTo?: bigint | null | undefined, fields?: string | null | undefined, pageToken?: string | null | undefined, autoPaginate?: boolean | null | undefined, count?: number | null | undefined): Promise<HttpResponse<PagedListExpense>>;
14782
14790
  rejectExpense(companyId: bigint, expenseId: bigint, rejectExpenseCommand: RejectExpenseCommand): Promise<HttpResponse<void>>;
14791
+ remindExpense(companyId: bigint, expenseId: bigint): Promise<HttpResponse<ExpenseReminder>>;
14783
14792
  showExpense(companyId: bigint, expenseId: bigint, fields?: string | null | undefined): Promise<HttpResponse<Expense>>;
14784
14793
  }
14785
14794
  export declare namespace ExpenseApi {
@@ -14825,11 +14834,12 @@ export interface ExpenseProps {
14825
14834
  expenseType: string;
14826
14835
  id: bigint;
14827
14836
  payableTo?: PersonProps | null | undefined;
14837
+ processingHistory?: ExpenseProcessingProps[] | null | undefined;
14828
14838
  status: ExpenseStatus;
14829
14839
  }
14830
14840
  export declare class Expense {
14831
14841
  constructor(props: ExpenseProps);
14832
- constructor(account: string, amount: number, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, dateOfPurchase: SoliboLocalDate /* LocalDate */, description: string | null | undefined, expenseProcessing: ExpenseProcessing[] | null | undefined, expenseType: string, id: bigint, payableTo: Person | null | undefined, status: ExpenseStatus);
14842
+ constructor(account: string, amount: number, createdAt: SoliboInstant /* Instant */, createdBy: bigint | null | undefined, createdByClientUserId: bigint | null | undefined, createdByClientUserName: string | null | undefined, dateOfPurchase: SoliboLocalDate /* LocalDate */, description: string | null | undefined, expenseProcessing: ExpenseProcessing[] | null | undefined, expenseType: string, id: bigint, payableTo: Person | null | undefined, processingHistory: ExpenseProcessing[] | null | undefined, status: ExpenseStatus);
14833
14843
  get account(): string;
14834
14844
  get amount(): number;
14835
14845
  get createdAt(): SoliboInstant /* Instant */;
@@ -14842,6 +14852,7 @@ export declare class Expense {
14842
14852
  get expenseType(): string;
14843
14853
  get id(): bigint;
14844
14854
  get payableTo(): Person | null | undefined;
14855
+ get processingHistory(): ExpenseProcessing[] | null | undefined;
14845
14856
  get status(): ExpenseStatus;
14846
14857
  }
14847
14858
  export declare namespace Expense {
@@ -14932,6 +14943,22 @@ export declare namespace ExpenseProcessingResult {
14932
14943
  }
14933
14944
  }
14934
14945
  }
14946
+ export interface ExpenseReminderProps {
14947
+ remindedCount: bigint;
14948
+ unreachableCount: bigint;
14949
+ }
14950
+ export declare class ExpenseReminder {
14951
+ constructor(props: ExpenseReminderProps);
14952
+ constructor(remindedCount: bigint, unreachableCount: bigint);
14953
+ get remindedCount(): bigint;
14954
+ get unreachableCount(): bigint;
14955
+ }
14956
+ export declare namespace ExpenseReminder {
14957
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
14958
+ namespace $metadata$ {
14959
+ const constructor: abstract new () => ExpenseReminder;
14960
+ }
14961
+ }
14935
14962
  export declare abstract class ExpenseStatus {
14936
14963
  private constructor();
14937
14964
  static get FOR_APPROVAL(): ExpenseStatus & {
@@ -15305,6 +15332,7 @@ export declare class HomepageApi extends ApiClient.$metadata$.constructor {
15305
15332
  finalizeIntegratedPracticalInformationCreate(companyId: bigint, finalizeHomepageDocumentCreateCommand: FinalizeHomepageDocumentCreateCommand): Promise<HttpResponse<IntegratedHomepageMutationResult>>;
15306
15333
  finalizeIntegratedPracticalInformationUpdate(companyId: bigint, informationId: bigint, finalizeHomepageDocumentUpdateCommand: FinalizeHomepageDocumentUpdateCommand): Promise<HttpResponse<IntegratedHomepageMutationResult>>;
15307
15334
  getHomepageFeedPost(companyId: bigint, postId: bigint, purchaseBundleId?: bigint | null | undefined, publishChanges?: boolean | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<Post>>;
15335
+ getHomepagePracticalInformation(companyId: bigint, practicalInformationId: bigint, purchaseBundleId?: bigint | null | undefined, publishChanges?: boolean | null | undefined, fields?: string | null | undefined): Promise<HttpResponse<Post>>;
15308
15336
  homepageRssByDomain(domainName: string): Promise<HttpResponse<string>>;
15309
15337
  homepageRssBySlug(companySlug: string, slug: string): Promise<HttpResponse<string>>;
15310
15338
  homepageRssOppslagByDomain(domainName: string): Promise<HttpResponse<string>>;
@@ -7678,7 +7678,7 @@ function createMockExpense($this, id) {
7678
7678
  var tmp1_status = ExpenseStatus_FOR_APPROVAL_getInstance();
7679
7679
  var tmp2_createdAt = Companion_getInstance_0().fromEpochSeconds$default_a0tgtu_k$(nowSeconds($this));
7680
7680
  var tmp3_dateOfPurchase = LocalDate_init_$Create$(2025, 1, 1);
7681
- return new Expense('1234', 100.0, tmp2_createdAt, 1n, VOID, VOID, tmp3_dateOfPurchase, tmp0_description, VOID, 'OTHER', id, VOID, tmp1_status);
7681
+ return new Expense('1234', 100.0, tmp2_createdAt, 1n, VOID, VOID, tmp3_dateOfPurchase, tmp0_description, VOID, 'OTHER', id, VOID, VOID, tmp1_status);
7682
7682
  }
7683
7683
  function companyAddress($this, id, streetAddress, zipCode, area, countryId) {
7684
7684
  var country = countryId == null ? 160n : countryId;
@@ -9443,7 +9443,7 @@ function MockBackend$registerHandlers$lambda_48(this$0) {
9443
9443
  var tmp5_color = command.color;
9444
9444
  var tmp1_elvis_lhs = command.contactCategory;
9445
9445
  var tmp6_contactCategory = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
9446
- var category = new SecureConversationCategory(tmp4_coResponsibleIds, VOID, tmp5_color, tmp6_contactCategory, id, true, false, tmp2_name, tmp3_responsible);
9446
+ var category = new SecureConversationCategory(tmp4_coResponsibleIds, VOID, tmp5_color, tmp6_contactCategory, VOID, id, true, false, tmp2_name, tmp3_responsible);
9447
9447
  // Inline function 'kotlin.collections.getOrPut' call
9448
9448
  var this_2 = this$0.conversationCategoriesPerCompany;
9449
9449
  var value = this_2.get_wei43m_k$(companyId);
@@ -9526,7 +9526,7 @@ function MockBackend$registerHandlers$lambda_49(this$0) {
9526
9526
  var tmp3_elvis_lhs = command.contactCategory;
9527
9527
  var tmp8_contactCategory = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
9528
9528
  // Inline function 'kotlin.also' call
9529
- var this_3 = new SecureConversationCategory(tmp6_coResponsibleIds, VOID, tmp7_color, tmp8_contactCategory, id, true, false, tmp4_name, tmp5_responsible);
9529
+ var this_3 = new SecureConversationCategory(tmp6_coResponsibleIds, VOID, tmp7_color, tmp8_contactCategory, VOID, id, true, false, tmp4_name, tmp5_responsible);
9530
9530
  categories.add_utx5q5_k$(this_3);
9531
9531
  tmp_0 = this_3;
9532
9532
  }
@@ -9541,7 +9541,7 @@ function MockBackend$registerHandlers$lambda_49(this$0) {
9541
9541
  var tmp17_color = tmp12_elvis_lhs == null ? category.color : tmp12_elvis_lhs;
9542
9542
  var tmp13_elvis_lhs = command.contactCategory;
9543
9543
  var tmp18_contactCategory = tmp13_elvis_lhs == null ? category.contactCategory : tmp13_elvis_lhs;
9544
- var updatedCategory = category.copy(tmp16_coResponsibleIds, VOID, tmp17_color, tmp18_contactCategory, VOID, VOID, VOID, tmp14_name, tmp15_responsible);
9544
+ var updatedCategory = category.copy(tmp16_coResponsibleIds, VOID, tmp17_color, tmp18_contactCategory, VOID, VOID, VOID, VOID, tmp14_name, tmp15_responsible);
9545
9545
  var tmp_1;
9546
9546
  if (!(index_0 === -1)) {
9547
9547
  categories.set_82063s_k$(index_0, updatedCategory);
@@ -14580,7 +14580,7 @@ function MockBackend$registerHandlers$lambda_221(this$0) {
14580
14580
  var index_0 = tmp$ret$3;
14581
14581
  var tmp_0;
14582
14582
  if (!(index_0 === -1)) {
14583
- expenses.set_82063s_k$(index_0, expenses.get_c1px32_k$(index_0).copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, ExpenseStatus_APPROVED_getInstance()));
14583
+ expenses.set_82063s_k$(index_0, expenses.get_c1px32_k$(index_0).copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, ExpenseStatus_APPROVED_getInstance()));
14584
14584
  tmp_0 = Unit_instance;
14585
14585
  }
14586
14586
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call
@@ -14631,7 +14631,7 @@ function MockBackend$registerHandlers$lambda_222(this$0) {
14631
14631
  var index_0 = tmp$ret$3;
14632
14632
  var tmp_0;
14633
14633
  if (!(index_0 === -1)) {
14634
- expenses.set_82063s_k$(index_0, expenses.get_c1px32_k$(index_0).copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, ExpenseStatus_REJECTED_getInstance()));
14634
+ expenses.set_82063s_k$(index_0, expenses.get_c1px32_k$(index_0).copy(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, ExpenseStatus_REJECTED_getInstance()));
14635
14635
  tmp_0 = Unit_instance;
14636
14636
  }
14637
14637
  // Inline function 'no.solibo.oss.sdk.api.MockBackend.respondOk' call