@solibo/home-api 1.1.28 → 1.1.29

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.
@@ -37,17 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
- if (typeof Math.trunc === 'undefined') {
41
- Math.trunc = function (x) {
42
- if (isNaN(x)) {
43
- return NaN;
44
- }
45
- if (x > 0) {
46
- return Math.floor(x);
47
- }
48
- return Math.ceil(x);
49
- };
50
- }
51
40
  if (typeof Math.clz32 === 'undefined') {
52
41
  Math.clz32 = function (log, LN2) {
53
42
  return function (x) {
@@ -59,11 +48,16 @@ if (typeof Math.clz32 === 'undefined') {
59
48
  };
60
49
  }(Math.log, Math.LN2);
61
50
  }
62
- if (typeof String.prototype.startsWith === 'undefined') {
63
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
64
- position = position || 0;
65
- return this.lastIndexOf(searchString, position) === position;
66
- }});
51
+ if (typeof Math.trunc === 'undefined') {
52
+ Math.trunc = function (x) {
53
+ if (isNaN(x)) {
54
+ return NaN;
55
+ }
56
+ if (x > 0) {
57
+ return Math.floor(x);
58
+ }
59
+ return Math.ceil(x);
60
+ };
67
61
  }
68
62
  if (typeof String.prototype.endsWith === 'undefined') {
69
63
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -76,6 +70,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
76
70
  return lastIndex !== -1 && lastIndex === position;
77
71
  }});
78
72
  }
73
+ if (typeof String.prototype.startsWith === 'undefined') {
74
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
75
+ position = position || 0;
76
+ return this.lastIndexOf(searchString, position) === position;
77
+ }});
78
+ }
79
79
  //endregion
80
80
  //region block: imports
81
81
  var imul_0 = Math.imul;
@@ -262,7 +262,7 @@ initMetadataForClass(ContextScope, 'ContextScope', VOID, VOID, [CoroutineScope])
262
262
  initMetadataForClass(Symbol, 'Symbol');
263
263
  initMetadataForInterface(SelectInstance, 'SelectInstance');
264
264
  initMetadataForClass(ClauseData, 'ClauseData', VOID, VOID, VOID, [1]);
265
- initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [0, 2]);
265
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
266
266
  initMetadataForClass(TrySelectDetailedResult, 'TrySelectDetailedResult', VOID, Enum);
267
267
  initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [CoroutineDispatcher, Delay], [1]);
268
268
  initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.28",
3
+ "version": "1.1.29",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -11400,6 +11400,22 @@ export declare namespace TransmissionDialogType {
11400
11400
  }
11401
11401
  }
11402
11402
  }
11403
+ export declare class TripletexAccountFractionsResponse {
11404
+ constructor(fractions: KtList<SectionAccountFraction>, isNewCompany: boolean, isTripletex: boolean);
11405
+ get fractions(): KtList<SectionAccountFraction>;
11406
+ get isNewCompany(): boolean;
11407
+ get isTripletex(): boolean;
11408
+ copy(fractions?: KtList<SectionAccountFraction>, isNewCompany?: boolean, isTripletex?: boolean): TripletexAccountFractionsResponse;
11409
+ toString(): string;
11410
+ hashCode(): number;
11411
+ equals(other: Nullable<any>): boolean;
11412
+ }
11413
+ export declare namespace TripletexAccountFractionsResponse {
11414
+ /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
11415
+ namespace $metadata$ {
11416
+ const constructor: abstract new () => TripletexAccountFractionsResponse;
11417
+ }
11418
+ }
11403
11419
  export declare class TriplewinOverdueInvoiceOverview {
11404
11420
  constructor(companyOverviews: KtList<CompanyOverdueInvoiceOverview>, interestDemanded: number, interestDemandedExpired: number, interestDemandedOld: number, interestDemandedOpens: number, interestDemandedOverdue: number, interestToday: number, interestTodayExpired: number, interestTodayOld: number, interestTodayOpens: number, interestTodayOverdue: number, latePaymentFeeDemanded: number, latePaymentFeeDemandedExpired: number, latePaymentFeeDemandedOld: number, latePaymentFeeDemandedOpens: number, latePaymentFeeDemandedOverdue: number, totalOutstanding: number, totalOutstandingExpired: number, totalOutstandingOld: number, totalOutstandingOpens: number, totalOutstandingOverdue: number);
11405
11421
  get companyOverviews(): KtList<CompanyOverdueInvoiceOverview>;
@@ -13394,7 +13410,7 @@ export declare class SectionApi extends ApiClient.$metadata$.constructor {
13394
13410
  deleteTagOnSection(companyId: bigint, sectionId: bigint): Promise<HttpResponse<void>>;
13395
13411
  eierskifteSection(companyId: bigint, sectionId: bigint, ownerChangeSectionCommand: OwnerChangeSectionCommand): Promise<HttpResponse<void>>;
13396
13412
  indexCompanyOwnershipChanges(companyId: bigint): Promise<HttpResponse<KtList<OwnershipChange>>>;
13397
- indexLoansByFraction(companyId: bigint, sectionId: bigint): Promise<HttpResponse<KtList<SectionAccountFraction>>>;
13413
+ indexLoansByFraction(companyId: bigint, sectionId: bigint, at?: Nullable<bigint>): Promise<HttpResponse<TripletexAccountFractionsResponse>>;
13398
13414
  indexOwnershipChanges(): Promise<HttpResponse<KtList<OwnershipChange>>>;
13399
13415
  indexSection(companyId: bigint, status?: Nullable<SectionState>, autoPaginate?: Nullable<boolean>, query?: Nullable<string>, pageToken?: Nullable<string>): Promise<HttpResponse<SectionList>>;
13400
13416
  indexSectionFractions(companyId: bigint, fractionType?: Nullable<FractionType>, sectionIds?: Nullable<KtList<bigint>>, validFrom?: Nullable<bigint>): Promise<HttpResponse<KtMap<string, KtList<SectionFractionSectionFractionMapValue>>>>;