@nomalism-com/types 0.32.9 → 0.32.10

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.
@@ -5,7 +5,7 @@ export interface ICreateRequest {
5
5
  }
6
6
  export interface ICreateResponse {
7
7
  access_token: string;
8
- user: Users.IFindByEmailResponse;
8
+ user: Users.IFindByAccountResponse;
9
9
  refresh_token: string;
10
10
  roles: string[];
11
11
  expiresInToken: number;
@@ -10,10 +10,10 @@ interface IMainPersona extends Persona {
10
10
  reason_for_exemption: ReasonForExemption | null;
11
11
  }
12
12
  interface IStoreOperator extends Pick<StoreOperator, 'id' | 'location_id'> {
13
- main_persona: Pick<Persona, 'name'>;
13
+ main_persona: Pick<Persona, 'name' | 'email'>;
14
14
  theme: Pick<Theme, 'colors'>;
15
15
  }
16
- export interface IFindByEmailResponse extends Entity {
16
+ export interface IFindByAccountResponse extends Pick<Entity, 'id' | 'account'> {
17
17
  store_operator: IStoreOperator;
18
18
  }
19
19
  export interface IFindByIdResponse extends EntityWithoutPassword {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "0.32.9",
12
+ "version": "0.32.10",
13
13
  "main": "./dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [