@solibo/home-api 1.1.59 → 1.1.60

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, Waiter, SelectInstance], [0, 2]);
265
+ initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, SelectInstance, Waiter], [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.59",
3
+ "version": "1.1.60",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -655,13 +655,12 @@ export declare namespace ChangeResponsibleCommand {
655
655
  }
656
656
  }
657
657
  export declare class ClientUser extends AuthUser.$metadata$.constructor {
658
- constructor(clientId: string, id: string, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, scopes: KtList<ClientUserScopes>);
658
+ constructor(clientId: string, id: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>);
659
659
  get clientId(): string;
660
660
  get id(): string;
661
661
  get organizationId(): Nullable<bigint>;
662
662
  get personId(): Nullable<bigint>;
663
- get scopes(): KtList<ClientUserScopes>;
664
- copy(clientId?: string, id?: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<ClientUserScopes>): ClientUser;
663
+ copy(clientId?: string, id?: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>): ClientUser;
665
664
  toString(): string;
666
665
  hashCode(): number;
667
666
  equals(other: Nullable<any>): boolean;
@@ -672,22 +671,6 @@ export declare namespace ClientUser {
672
671
  const constructor: abstract new () => ClientUser;
673
672
  }
674
673
  }
675
- export declare class ClientUserScopes {
676
- constructor(value?: Nullable<string>, action?: Nullable<string>, resource?: Nullable<string>);
677
- get value(): Nullable<string>;
678
- get action(): Nullable<string>;
679
- get resource(): Nullable<string>;
680
- copy(value?: Nullable<string>, action?: Nullable<string>, resource?: Nullable<string>): ClientUserScopes;
681
- toString(): string;
682
- hashCode(): number;
683
- equals(other: Nullable<any>): boolean;
684
- }
685
- export declare namespace ClientUserScopes {
686
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
687
- namespace $metadata$ {
688
- const constructor: abstract new () => ClientUserScopes;
689
- }
690
- }
691
674
  export declare class CloseInsuranceCommand {
692
675
  constructor(endDate: any/* Instant */);
693
676
  get endDate(): any/* Instant */;
@@ -9630,71 +9613,6 @@ export declare namespace SameieMatrikkelSearchCommand {
9630
9613
  const constructor: abstract new () => SameieMatrikkelSearchCommand;
9631
9614
  }
9632
9615
  }
9633
- export declare abstract class Scope {
9634
- protected constructor();
9635
- abstract get value(): string;
9636
- }
9637
- export declare namespace Scope {
9638
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9639
- namespace $metadata$ {
9640
- const constructor: abstract new () => Scope;
9641
- }
9642
- }
9643
- export declare abstract class ScopeGeneric {
9644
- private constructor();
9645
- static get READ(): ScopeGeneric & {
9646
- get name(): "READ";
9647
- get ordinal(): 0;
9648
- };
9649
- static get WRITE(): ScopeGeneric & {
9650
- get name(): "WRITE";
9651
- get ordinal(): 1;
9652
- };
9653
- static get ADMIN(): ScopeGeneric & {
9654
- get name(): "ADMIN";
9655
- get ordinal(): 2;
9656
- };
9657
- get name(): "READ" | "WRITE" | "ADMIN";
9658
- get ordinal(): 0 | 1 | 2;
9659
- get value(): string;
9660
- toString(): string;
9661
- static values(): Array<ScopeGeneric>;
9662
- static valueOf(value: string): ScopeGeneric;
9663
- }
9664
- export declare namespace ScopeGeneric {
9665
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9666
- namespace $metadata$ {
9667
- const constructor: abstract new () => ScopeGeneric;
9668
- }
9669
- abstract class Companion extends KtSingleton<Companion.$metadata$.constructor>() {
9670
- private constructor();
9671
- }
9672
- namespace Companion {
9673
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9674
- namespace $metadata$ {
9675
- abstract class constructor /* implements SerializerFactory */ {
9676
- fromValue(value: string): Nullable<ScopeGeneric>;
9677
- private constructor();
9678
- }
9679
- }
9680
- }
9681
- }
9682
- export declare class ScopeResource extends Scope.$metadata$.constructor {
9683
- constructor(value: string, action: Nullable<string> | undefined, resource: string);
9684
- get value(): string;
9685
- get action(): Nullable<string>;
9686
- get resource(): string;
9687
- copy(value?: string, action?: Nullable<string>, resource?: string): ScopeResource;
9688
- toString(): string;
9689
- hashCode(): number;
9690
- equals(other: Nullable<any>): boolean;
9691
- }
9692
- export declare namespace ScopeResource {
9693
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
9694
- namespace $metadata$ {
9695
- const constructor: abstract new () => ScopeResource;
9696
- }
9697
- }
9698
9616
  export declare class SearchPersonQueryCommand {
9699
9617
  constructor(email?: Nullable<string>, familyName?: Nullable<string>, givenName?: Nullable<string>, id?: Nullable<bigint>, mobile?: Nullable<string>);
9700
9618
  get email(): Nullable<string>;