@solibo/home-api 1.1.57 → 1.1.59

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "main": "solibo-sdk-sdk-home-api.mjs",
3
- "version": "1.1.57",
3
+ "version": "1.1.59",
4
4
  "name": "@solibo/home-api",
5
5
  "dependencies": {
6
6
  "ws": "8.18.3",
@@ -655,13 +655,13 @@ 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<string>);
658
+ constructor(clientId: string, id: string, organizationId: Nullable<bigint> | undefined, personId: Nullable<bigint> | undefined, scopes: KtList<ClientUserScopes>);
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<string>;
664
- copy(clientId?: string, id?: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<string>): ClientUser;
663
+ get scopes(): KtList<ClientUserScopes>;
664
+ copy(clientId?: string, id?: string, organizationId?: Nullable<bigint>, personId?: Nullable<bigint>, scopes?: KtList<ClientUserScopes>): ClientUser;
665
665
  toString(): string;
666
666
  hashCode(): number;
667
667
  equals(other: Nullable<any>): boolean;
@@ -672,6 +672,22 @@ export declare namespace ClientUser {
672
672
  const constructor: abstract new () => ClientUser;
673
673
  }
674
674
  }
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
+ }
675
691
  export declare class CloseInsuranceCommand {
676
692
  constructor(endDate: any/* Instant */);
677
693
  get endDate(): any/* Instant */;
@@ -9614,6 +9630,71 @@ export declare namespace SameieMatrikkelSearchCommand {
9614
9630
  const constructor: abstract new () => SameieMatrikkelSearchCommand;
9615
9631
  }
9616
9632
  }
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
+ }
9617
9698
  export declare class SearchPersonQueryCommand {
9618
9699
  constructor(email?: Nullable<string>, familyName?: Nullable<string>, givenName?: Nullable<string>, id?: Nullable<bigint>, mobile?: Nullable<string>);
9619
9700
  get email(): Nullable<string>;